MarkdownOfficeMathExportMode

Inheritance: java.lang.Object

public class MarkdownOfficeMathExportMode

Specifies how Aspose.Words exports OfficeMath to Markdown.

Examples:

Shows how OfficeMath will be written to the document.


 Document doc = new Document(getMyDir() + "Office math.docx");

 MarkdownSaveOptions saveOptions = new MarkdownSaveOptions();
 saveOptions.setOfficeMathExportMode(MarkdownOfficeMathExportMode.IMAGE);

 doc.save(getArtifactsDir() + "MarkdownSaveOptions.OfficeMathExportMode.md", saveOptions);
 

Fields

FieldDescription
IMAGEExport OfficeMath as image.
MATH_MLExport OfficeMath as MathML.
TEXTExport OfficeMath as plain text.
length

Methods

MethodDescription
fromName(String markdownOfficeMathExportModeName)
getName(int markdownOfficeMathExportMode)
getValues()
toString(int markdownOfficeMathExportMode)

IMAGE

public static int IMAGE

Export OfficeMath as image.

MATH_ML

public static int MATH_ML

Export OfficeMath as MathML.

TEXT

public static int TEXT

Export OfficeMath as plain text.

length

public static int length

fromName(String markdownOfficeMathExportModeName)

public static int fromName(String markdownOfficeMathExportModeName)

Parameters:

ParameterTypeDescription
markdownOfficeMathExportModeNamejava.lang.String

Returns: int

getName(int markdownOfficeMathExportMode)

public static String getName(int markdownOfficeMathExportMode)

Parameters:

ParameterTypeDescription
markdownOfficeMathExportModeint

Returns: java.lang.String

getValues()

public static int[] getValues()

Returns: int[]

toString(int markdownOfficeMathExportMode)

public static String toString(int markdownOfficeMathExportMode)

Parameters:

ParameterTypeDescription
markdownOfficeMathExportModeint

Returns: java.lang.String