MarkdownListExportMode

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

FieldDescription
MARKDOWN_SYNTAXExport list items compatible with Markdown syntax.
PLAIN_TEXTExport list items as plain text.
length

Methods

MethodDescription
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:

ParameterTypeDescription
markdownListExportModeNamejava.lang.String

Returns: int

getName(int markdownListExportMode)

public static String getName(int markdownListExportMode)

Parameters:

ParameterTypeDescription
markdownListExportModeint

Returns: java.lang.String

getValues()

public static int[] getValues()

Returns: int[]

toString(int markdownListExportMode)

public static String toString(int markdownListExportMode)

Parameters:

ParameterTypeDescription
markdownListExportModeint

Returns: java.lang.String