public final class LatexLoadOptions extends LoadOptions
Represents options for loading/importing TeX file into PDF document.
LoadOptions.MarginsAreaUsageModes, LoadOptions.PageSizeAdjustmentModes, LoadOptions.ResourceLoadingResult, LoadOptions.ResourceLoadingStrategy
Constructor and Description |
---|
LatexLoadOptions()
Creates default load options for converting TeX file into PDF document.
|
Modifier and Type | Method and Description |
---|---|
String |
getMathFontName()
Gets name of the font used for rendering math formulas.
|
IResourceLoadingCallback |
getResourceLoadingCallback()
Resource loading callback.
|
String |
getSpecSymbolsFontName()
Gets name of the font used for rendering special symbols, e.g.
|
String |
getTextFontName()
Gets name of the font used for rendering math formulas.
|
boolean |
getUseTempFile()
Sets/Gets the value indicating whether the LaTeX parser should save normalized content into a temp file or into memory.
|
WarningCallback |
getWarningCallback()
Gets callback object for info/errors notification.
|
void |
setMathFontName(String value) |
void |
setResourceLoadingCallback(IResourceLoadingCallback value)
Resource loading callback.
|
void |
setSpecSymbolsFontName(String value)
Sets name of the font used for rendering special symbols, e.g.
|
void |
setTextFontName(String value)
Sets name of the font used for rendering math formulas.
|
void |
setUseTempFile(boolean value)
Sets/Gets the value indicating whether the LaTeX parser should save normalized content into a temp file or into memory.
|
void |
setWarningCallback(WarningCallback value)
Sets callback object for info/errors notification.
|
getLoadFormat, getWarningHandler, setWarningHandler
public LatexLoadOptions()
Creates default load options for converting TeX file into PDF document.
public String getTextFontName()
Gets name of the font used for rendering math formulas.
public void setTextFontName(String value)
Sets name of the font used for rendering math formulas.
value
- String valuepublic IResourceLoadingCallback getResourceLoadingCallback()
Resource loading callback.
public void setResourceLoadingCallback(IResourceLoadingCallback value)
Resource loading callback.
value
- IResourceLoadingCallback objectpublic WarningCallback getWarningCallback()
Gets callback object for info/errors notification.
public void setWarningCallback(WarningCallback value)
Sets callback object for info/errors notification.
value
- IWarningCallback valuepublic String getMathFontName()
Gets name of the font used for rendering math formulas.
public void setMathFontName(String value)
public String getSpecSymbolsFontName()
Gets name of the font used for rendering special symbols, e.g. \sigma, \textbraceright, \vdots, etc.
public void setSpecSymbolsFontName(String value)
Sets name of the font used for rendering special symbols, e.g. \sigma, \textbraceright, \vdots, etc.
value
- String valuepublic final boolean getUseTempFile()
Sets/Gets the value indicating whether the LaTeX parser should save normalized content into a temp file or into memory.
public final void setUseTempFile(boolean value)
Sets/Gets the value indicating whether the LaTeX parser should save normalized content into a temp file or into memory.
value
- boolean value