TxtOfficeMathExportMode

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

FieldDescription
LATEXExport OfficeMath as LaTeX.
TEXTExport OfficeMath as plain text.
length

Methods

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

ParameterTypeDescription
txtOfficeMathExportModeNamejava.lang.String

Returns: int

getName(int txtOfficeMathExportMode)

public static String getName(int txtOfficeMathExportMode)

Parameters:

ParameterTypeDescription
txtOfficeMathExportModeint

Returns: java.lang.String

getValues()

public static int[] getValues()

Returns: int[]

toString(int txtOfficeMathExportMode)

public static String toString(int txtOfficeMathExportMode)

Parameters:

ParameterTypeDescription
txtOfficeMathExportModeint

Returns: java.lang.String