MarkdownListExportMode
Contents
[
Hide
]Inheritance: java.lang.Object
public class MarkdownListExportMode
Specifies how lists are exported into Markdown.
Examples:
Shows how to list items will be written to the markdown document.
Document doc = new Document(getMyDir() + "List item.docx");
// Use MarkdownListExportMode.PlainText or MarkdownListExportMode.MarkdownSyntax to export list.
MarkdownSaveOptions options = new MarkdownSaveOptions(); { options.setListExportMode(markdownListExportMode); }
doc.save(getArtifactsDir() + "MarkdownSaveOptions.ListExportMode.md", options);
Fields
Field | Description |
---|---|
MARKDOWN_SYNTAX | Export list items compatible with Markdown syntax. |
PLAIN_TEXT | Export list items as plain text. |
length |
Methods
Method | Description |
---|---|
fromName(String markdownListExportModeName) | |
getName(int markdownListExportMode) | |
getValues() | |
toString(int markdownListExportMode) |
MARKDOWN_SYNTAX
public static int MARKDOWN_SYNTAX
Export list items compatible with Markdown syntax.
PLAIN_TEXT
public static int PLAIN_TEXT
Export list items as plain text.
length
public static int length
fromName(String markdownListExportModeName)
public static int fromName(String markdownListExportModeName)
Parameters:
Parameter | Type | Description |
---|---|---|
markdownListExportModeName | java.lang.String |
Returns: int
getName(int markdownListExportMode)
public static String getName(int markdownListExportMode)
Parameters:
Parameter | Type | Description |
---|---|---|
markdownListExportMode | int |
Returns: java.lang.String
getValues()
public static int[] getValues()
Returns: int[]
toString(int markdownListExportMode)
public static String toString(int markdownListExportMode)
Parameters:
Parameter | Type | Description |
---|---|---|
markdownListExportMode | int |
Returns: java.lang.String