com.aspose.pdf

Interfaces

Classes

Enums

Exceptions

com.aspose.pdf

Class TeXFragment

  • All Implemented Interfaces:
    com.aspose.ms.System.ICloneable
    Direct Known Subclasses:
    LatexFragment


    public class TeXFragment
    extends FormattedFragment

    Represents LaTeX fragment.

    • Constructor Detail

      • TeXFragment

        public TeXFragment(String text)

        Initializes a new instance of the HtmlFragment class.

        Parameters:
        text - The fragment text
      • TeXFragment

        public TeXFragment(String text,
                           boolean removeIndents)

        Initializes a new instance of the HtmlFragment class.

        Parameters:
        text - The fragment text
        removeIndents - Determines whether not to make indents while typesetting LaTeX fragment
    • Method Detail

      • 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 instance
      • setTeXLoadOptionsOfInstance

        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:
        value - TeXLoadOptions instance
      • getLatexLoadOptionsOfInstance

        @Deprecated
        public final TeXLoadOptions getLatexLoadOptionsOfInstance()
        Deprecated. Please us TeXLoadOptionsOfInstance instead.

        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 instance
      • setLatexLoadOptionsOfInstance

        @Deprecated
        public final void setLatexLoadOptionsOfInstance(TeXLoadOptions value)
        Deprecated. Please us TeXLoadOptionsOfInstance instead.

        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:
        value - TeXLoadOptions instance
      • deepClone

        public Object deepClone()
        Description copied from class: BaseParagraph

        Clones this instance. Virtual method. Always return null.

        Specified by:
        deepClone in interface com.aspose.ms.System.ICloneable
        Overrides:
        deepClone in class BaseParagraph
        Returns:
        Cloned object