TeXFragment

Inheritance: java.lang.Object, com.aspose.pdf.BaseParagraph, com.aspose.pdf.FormattedFragment

public class TeXFragment extends FormattedFragment

Represents LaTeX fragment.

Constructors

ConstructorDescription
TeXFragment(String text)Initializes a new instance of the HtmlFragment class.
TeXFragment(String text, boolean removeIndents)Initializes a new instance of the HtmlFragment class.

Methods

MethodDescription
getTeXLoadOptionsOfInstance()Gets or sets TeXLoadOptions that will be used for loading (and rendering) of LaTeX into this instance of class.
setTeXLoadOptionsOfInstance(TeXLoadOptions value)Gets or sets LatexLoadOptions that will be used for loading (and rendering) of LaTeX into this instance of class.
getLatexLoadOptionsOfInstance()Gets or sets TeXLoadOptions that will be used for loading (and rendering) of LaTeX into this instance of class.
setLatexLoadOptionsOfInstance(TeXLoadOptions value)Gets or sets TeXLoadOptions that will be used for loading (and rendering) of LaTeX into this instance of class.
deepClone()Clones fragment.

TeXFragment(String text)

public TeXFragment(String text)

Initializes a new instance of the HtmlFragment class.

Parameters:

ParameterTypeDescription
textjava.lang.StringThe fragment text

TeXFragment(String text, boolean removeIndents)

public TeXFragment(String text, boolean removeIndents)

Initializes a new instance of the HtmlFragment class.

Parameters:

ParameterTypeDescription
textjava.lang.StringThe fragment text
removeIndentsbooleanDetermines whether not to make indents while typesetting LaTeX fragment

getTeXLoadOptionsOfInstance()

public TeXLoadOptions getTeXLoadOptionsOfInstance()

Gets or sets TeXLoadOptions that will be used for loading (and rendering) of LaTeX into this instance of class. Please use it when it’s necessary use specific setting for import of LaTeX for this or that instance (f.e when this or that instance should use specific BasePath for imported LaTeX or should use specific loader of external resources) If parameter is default (null), then standard LaTeX loading options will be used.

Returns: TeXLoadOptions - TeXLoadOptions instance

setTeXLoadOptionsOfInstance(TeXLoadOptions value)

public void setTeXLoadOptionsOfInstance(TeXLoadOptions value)

Gets or sets LatexLoadOptions that will be used for loading (and rendering) of LaTeX into this instance of class. Please use it when it’s necessary use specific setting for import of LaTeX for this or that instance (f.e when this or that instance should use specific BasePath for imported LaTeX or should use specific loader of external resources) If parameter is default (null), then standard LaTeX loading options will be used.

Parameters:

ParameterTypeDescription
valueTeXLoadOptionsTeXLoadOptions instance

getLatexLoadOptionsOfInstance()

public final TeXLoadOptions getLatexLoadOptionsOfInstance()

Gets or sets TeXLoadOptions that will be used for loading (and rendering) of LaTeX into this instance of class. Please use it when it’s necessary use specific setting for import of LaTeX for this or that instance (f.e when this or that instance should use specific BasePath for imported LaTeX or should use specific loader of external resources) If parameter is default (null), then standard LaTeX loading options will be used.

Returns: TeXLoadOptions - TeXLoadOptions instance

setLatexLoadOptionsOfInstance(TeXLoadOptions value)

public final void setLatexLoadOptionsOfInstance(TeXLoadOptions value)

Gets or sets TeXLoadOptions that will be used for loading (and rendering) of LaTeX into this instance of class. Please use it when it’s necessary use specific setting for import of LaTeX for this or that instance (f.e when this or that instance should use specific BasePath for imported LaTeX or should use specific loader of external resources) If parameter is default (null), then standard LaTeX loading options will be used.

Parameters:

ParameterTypeDescription
valueTeXLoadOptionsTeXLoadOptions instance

deepClone()

public Object deepClone()

Clones fragment.

Returns: java.lang.Object - Cloned fragment.