com.aspose.pdf

Interfaces

Classes

Enums

Exceptions

com.aspose.pdf

Class LatexFragment

  • All Implemented Interfaces:
    com.aspose.ms.System.ICloneable


    public final class LatexFragment
    extends FormattedFragment

    Represents LaTeX fragment.

    • Constructor Detail

      • LatexFragment

        public LatexFragment(String text)

        Initializes a new instance of the HtmlFragment class.

        Parameters:
        text - The fragment text
      • LatexFragment

        public LatexFragment(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

      • getLatexLoadOptionsOfInstance

        public LatexLoadOptions getLatexLoadOptionsOfInstance()

        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.

        Returns:
        LatexLoadOptions instance
      • setLatexLoadOptionsOfInstance

        public void setLatexLoadOptionsOfInstance(LatexLoadOptions 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 - LatexLoadOptions 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