TxtOfficeMathExportMode
Contents
[
Hide
]Inheritance: java.lang.Object
public class TxtOfficeMathExportMode
Specifies how Aspose.Words exports OfficeMath to SaveFormat.TEXT.
Examples:
Shows how to export OfficeMath object as Latex in TXT.
Document doc = new Document(getMyDir() + "Office math.docx");
TxtSaveOptions saveOptions = new TxtSaveOptions();
saveOptions.setOfficeMathExportMode(TxtOfficeMathExportMode.LATEX);
doc.save(getArtifactsDir() + "TxtSaveOptions.ExportOfficeMathAsLatexToText.txt", saveOptions);
Fields
Field | Description |
---|---|
LATEX | Export OfficeMath as LaTeX. |
TEXT | Export OfficeMath as plain text. |
length |
Methods
Method | Description |
---|---|
fromName(String txtOfficeMathExportModeName) | |
getName(int txtOfficeMathExportMode) | |
getValues() | |
toString(int txtOfficeMathExportMode) |
LATEX
public static int LATEX
Export OfficeMath as LaTeX.
TEXT
public static int TEXT
Export OfficeMath as plain text.
length
public static int length
fromName(String txtOfficeMathExportModeName)
public static int fromName(String txtOfficeMathExportModeName)
Parameters:
Parameter | Type | Description |
---|---|---|
txtOfficeMathExportModeName | java.lang.String |
Returns: int
getName(int txtOfficeMathExportMode)
public static String getName(int txtOfficeMathExportMode)
Parameters:
Parameter | Type | Description |
---|---|---|
txtOfficeMathExportMode | int |
Returns: java.lang.String
getValues()
public static int[] getValues()
Returns: int[]
toString(int txtOfficeMathExportMode)
public static String toString(int txtOfficeMathExportMode)
Parameters:
Parameter | Type | Description |
---|---|---|
txtOfficeMathExportMode | int |
Returns: java.lang.String