public class MarkdownOfficeMathExportMode
extends java.lang.Object
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);
| Modifier and Type | Field and Description |
|---|---|
static int |
IMAGE
Export OfficeMath as image.
|
static int |
LATEX
Export OfficeMath as LaTeX.
|
static int |
length |
static int |
MATH_ML
Export OfficeMath as MathML.
|
static int |
TEXT
Export OfficeMath as plain text.
|
| Modifier and Type | Method and Description |
|---|---|
static int |
fromName(java.lang.String markdownOfficeMathExportModeName) |
static java.lang.String |
getName(int markdownOfficeMathExportMode) |
static int[] |
getValues() |
static java.lang.String |
toString(int markdownOfficeMathExportMode) |
public static int TEXT
public static int IMAGE
public static int MATH_ML
public static int LATEX
public static int length
public static java.lang.String getName(int markdownOfficeMathExportMode)
public static java.lang.String toString(int markdownOfficeMathExportMode)
public static int fromName(java.lang.String markdownOfficeMathExportModeName)
public static int[] getValues()