General settings for KLFBackend::getLatexFormula() More...
#include <klfbackend.h>
Public Member Functions | |
klfSettings () | |
Public Attributes | |
QString | tempdir |
QString | latexexec |
QString | dvipsexec |
QString | gsexec |
QString | epstopdfexec |
double | tborderoffset |
double | rborderoffset |
double | bborderoffset |
double | lborderoffset |
bool | calcEpsBoundingBox |
bool | outlineFonts |
bool | wantRaw |
bool | wantPDF |
bool | wantSVG |
QStringList | execenv |
TemplateGenerator * | templateGenerator |
QMap< QString, QString > | userScriptInterpreters |
General settings for KLFBackend::getLatexFormula()
Some global settings to pass on when calling getLatexFormula(). In this struct you specify some system settings, like a temp directory and some paths
klfclspath
field was removed, because we no longer use klatexformula.cls. Definition at line 218 of file klfbackend.h.
KLFBackend::klfSettings::klfSettings | ( | ) | [inline] |
A default constructor assigning default (empty) values to all fields
Definition at line 221 of file klfbackend.h.
The number of postscript points to add to bottom side of the resulting EPS boundingbox
double
is just an anticipation of hi-resolution bounding box adjustment. Definition at line 256 of file klfbackend.h.
Referenced by KLFBackend::detectSettings(), and KLFBackend::getLatexFormula().
Call GS to recalculate EPS bounding box instead of assuming dvips' one. This setting is ignored with a non-white or non-transparent background color.
Definition at line 264 of file klfbackend.h.
Referenced by KLFBackend::getLatexFormula().
the dvips executable, path incl. if not in $PATH
Definition at line 231 of file klfbackend.h.
Referenced by KLFBackend::detectSettings(), and KLFBackend::getLatexFormula().
the epstopdf executable, path incl. if not in $PATH. This isn't mandatory to get PNG so you may leave this to Null or Empty string to instruct getLatexFormula() to NOT attempt to generate PDF. If, though, you do specify an epstopdf executable here, epstopdf errors will be reported as real errors.
Definition at line 243 of file klfbackend.h.
Referenced by KLFBackend::detectSettings().
Extra environment variables to set (list of "NAME=value"
) when executing latex, dvips, gs.
Definition at line 289 of file klfbackend.h.
Referenced by KLFBackend::getLatexFormula(), and klf_detect_execenv().
the gs executable, path incl. if not in $PATH
Definition at line 233 of file klfbackend.h.
Referenced by KLFBackend::detectOptionSettings(), KLFBackend::detectSettings(), KLFBackend::getLatexFormula(), and klf_detect_execenv().
the latex executable, path incl. if not in $PATH
Definition at line 229 of file klfbackend.h.
Referenced by KLFBackend::detectSettings(), and KLFBackend::getLatexFormula().
The number of postscript points to add to left side of the resulting EPS boundingbox
double
is just an anticipation of hi-resolution bounding box adjustment. Definition at line 260 of file klfbackend.h.
Referenced by KLFBackend::detectSettings(), and KLFBackend::getLatexFormula().
Strip away fonts in favor of vectorially outlining them with gs.
Use this option to produce output that doens't embed fonts, eg. for Adobe Illustrator.
gs
just rasterizes the fonts very uglyly (!!). Definition at line 273 of file klfbackend.h.
Referenced by KLFBackend::getLatexFormula().
The number of postscript points to add to right side of the resulting EPS boundingbox
double
is just an anticipation of hi-resolution bounding box adjustment. Definition at line 252 of file klfbackend.h.
Referenced by KLFBackend::detectSettings(), and KLFBackend::getLatexFormula().
The number of postscript points to add to top side of the resulting EPS boundingbox.
double
is just an anticipation of hi-resolution bounding box adjustment. Definition at line 248 of file klfbackend.h.
Referenced by KLFBackend::detectSettings(), and KLFBackend::getLatexFormula().
A temporary directory in which we have write access, e.g. /tmp/
Definition at line 227 of file klfbackend.h.
Referenced by KLFBackend::detectSettings(), and KLFBackend::getLatexFormula().
The TemplateGenerator object that will be used to generate the base document template. Can be NULL
, in which case the default generator is used, see DefaultTemplateGenerator.
Definition at line 294 of file klfbackend.h.
Referenced by KLFBackend::getLatexFormula().
Path to interpreters to use for different script formats. The key is the filename extension of the script (e.g. "py"), and the value is the path to the corresponding interpreter (e.g. "/usr/bin/python")
Definition at line 300 of file klfbackend.h.
If set to false, PDF will not be generated. This is useful if you don't want to waste resources generating a PDF file that you will not need.
Definition at line 281 of file klfbackend.h.
Referenced by KLFBackend::detectSettings(), KLFBackend::getLatexFormula(), and KLFContLatexPreview::setSettings().
If set to false, then klfOutput::pngdata_raw and klfOutput::epsdata_raw will not be initialized. This is the default, to save resources.
Definition at line 277 of file klfbackend.h.
Referenced by KLFBackend::getLatexFormula(), and KLFContLatexPreview::setSettings().
If set to false, SVG will not be generated. This is useful if you don't want to waste resources generating an SVG file that you will not need.
Definition at line 285 of file klfbackend.h.
Referenced by KLFBackend::detectOptionSettings(), KLFBackend::detectSettings(), KLFBackend::getLatexFormula(), and KLFContLatexPreview::setSettings().