MarkdownOfficeMathExportMode
Contents
[
Hide
]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);
Shows how to export OfficeMath object as Latex.
Document doc = new Document(getMyDir() + "Office math.docx");
MarkdownSaveOptions saveOptions = new MarkdownSaveOptions();
saveOptions.setOfficeMathExportMode(MarkdownOfficeMathExportMode.LATEX);
doc.save(getArtifactsDir() + "MarkdownSaveOptions.ExportOfficeMathAsLatex.md", saveOptions);
Fields
| Field | Description |
|---|---|
| IMAGE | Export OfficeMath as image. |
| LATEX | Export OfficeMath as LaTeX. |
| MATH_ML | Export OfficeMath as MathML. |
| TEXT | Export OfficeMath as plain text. |
| length |
Methods
| Method | Description |
|---|---|
| fromName(String markdownOfficeMathExportModeName) | |
| getName(int markdownOfficeMathExportMode) | |
| getValues() | |
| toString(int markdownOfficeMathExportMode) |
IMAGE
public static int IMAGE
Export OfficeMath as image.
LATEX
public static int LATEX
Export OfficeMath as LaTeX.
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:
| Parameter | Type | Description |
|---|---|---|
| markdownOfficeMathExportModeName | java.lang.String |
Returns: int
getName(int markdownOfficeMathExportMode)
public static String getName(int markdownOfficeMathExportMode)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| markdownOfficeMathExportMode | int |
Returns: java.lang.String
getValues()
public static int[] getValues()
Returns: int[]
toString(int markdownOfficeMathExportMode)
public static String toString(int markdownOfficeMathExportMode)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| markdownOfficeMathExportMode | int |
Returns: java.lang.String