com.aspose.tex

Class MathRendererOptions

    • Constructor Detail

      • MathRendererOptions

        public MathRendererOptions()

        Creates a new instance.

    • Method Detail

      • getPreamble

        public String getPreamble()

        Gets LaTeX document preamble.

        Returns:
        LaTeX document preamble.
      • setPreamble

        public void setPreamble(String value)

        Sets LaTeX document preamble.

        Parameters:
        value - The LaTeX document preamble.
      • getScale

        public int getScale()

        Gets the scale. 1000 means 100%, 1200 means 120%, etc.

        Returns:
        The scale. 1000 means 100%, 1200 means 120%, etc.
      • setScale

        public void setScale(int value)

        Sets the scale. 1000 means 100%, 1200 means 120%, etc.

        Parameters:
        value - The scale. 1000 means 100%, 1200 means 120%, etc.
      • getTextColor

        public Color getTextColor()

        Gets the formula text color.

        Returns:
        The formula text color.
      • setTextColor

        public void setTextColor(Color value)

        Sets the formula text color.

        Parameters:
        value - The formula text color.
      • getBackgroundColor

        public Color getBackgroundColor()

        Gets the background color.

        Returns:
        The background color.
      • setBackgroundColor

        public void setBackgroundColor(Color value)

        Sets the background color.

        Parameters:
        value - background color.
      • getLogStream

        public OutputStream getLogStream()

        Gets the stream to write log output to.

        Returns:
        The stream to write log output to.
      • setLogStream

        public void setLogStream(OutputStream value)

        Sets the stream to write log output to.

        Parameters:
        value - The stream to write log output to.
      • showTerminal

        public boolean showTerminal()

        Gets the flag that controls terminal output. If true then terminal output is written to console.

        Returns:
        The flag that controls terminal output.
      • showTerminal

        public void showTerminal(boolean value)

        Sets the flag that controls terminal output. If true then terminal output is written to console.

        Parameters:
        value - The flag that controls terminal output.
      • getErrorReport

        public String getErrorReport()

        Gets the error report.

        Returns:
        The error report.