public abstract class MathRendererOptions extends Object
Math formula common rendering options.
Constructor and Description |
---|
MathRendererOptions()
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
Color |
getBackgroundColor()
Gets the background color.
|
String |
getErrorReport()
Gets the error report.
|
OutputStream |
getLogStream()
Gets the stream to write log output to.
|
String |
getPreamble()
Gets LaTeX document preamble.
|
int |
getScale()
Gets the scale. 1000 means 100%, 1200 means 120%, etc.
|
Color |
getTextColor()
Gets the formula text color.
|
void |
setBackgroundColor(Color value)
Sets the background color.
|
void |
setLogStream(OutputStream value)
Sets the stream to write log output to.
|
void |
setPreamble(String value)
Sets LaTeX document preamble.
|
void |
setScale(int value)
Sets the scale. 1000 means 100%, 1200 means 120%, etc.
|
void |
setTextColor(Color value)
Sets the formula text color.
|
boolean |
showTerminal()
Gets the flag that controls terminal output.
|
void |
showTerminal(boolean value)
Sets the flag that controls terminal output.
|
public String getPreamble()
Gets LaTeX document preamble.
public void setPreamble(String value)
Sets LaTeX document preamble.
value
- The LaTeX document preamble.public int getScale()
Gets the scale. 1000 means 100%, 1200 means 120%, etc.
public void setScale(int value)
Sets the scale. 1000 means 100%, 1200 means 120%, etc.
value
- The scale. 1000 means 100%, 1200 means 120%, etc.public Color getTextColor()
Gets the formula text color.
public void setTextColor(Color value)
Sets the formula text color.
value
- The formula text color.public Color getBackgroundColor()
Gets the background color.
public void setBackgroundColor(Color value)
Sets the background color.
value
- background color.public OutputStream getLogStream()
Gets the stream to write log output to.
public void setLogStream(OutputStream value)
Sets the stream to write log output to.
value
- The stream to write log output to.public boolean showTerminal()
Gets the flag that controls terminal output. If true
then terminal output is written to console.
public void showTerminal(boolean value)
Sets the flag that controls terminal output. If true
then terminal output is written to console.
value
- The flag that controls terminal output.public String getErrorReport()
Gets the error report.
Copyright © 2022 Aspose. All Rights Reserved.