#include <klfbackend.h>
Public Attributes | |
| int | status |
| QString | errorstr |
| QImage | result |
| QByteArray | pngdata |
| QByteArray | epsdata |
| QByteArray | pdfdata |
This struct contains data that is returned from getLatexFormula(). This includes error handling information, the resulting image (as a QImage) as well as data for PNG, (E)PS and PDF files
Definition at line 112 of file klfbackend.h.
|
|
An integer describing the status of the request. A zero value means success for everything. A positive value (status>0) means that a program (latex, dvips, ...) returned a non-zero code and the stderr/stdout are transmitted to errorstr. In that case, errorstr is formatted in HTML suitable to be used in a QTextBrowser Definition at line 113 of file klfbackend.h. Referenced by KLFBackend::getLatexFormula(). |
|
|
An explicit error string. If status is positive (ie. latex/dvips/... error) then this text is HTML-formatted suitable for a QTextBrowser. Definition at line 117 of file klfbackend.h. Referenced by KLFBackend::getLatexFormula(). |
|
|
The actual result image. Definition at line 120 of file klfbackend.h. Referenced by KLFBackend::getLatexFormula(). |
|
|
the data for a png file (exact content) Definition at line 121 of file klfbackend.h. Referenced by KLFBackend::getLatexFormula(). |
|
|
data for an (eps-)postscript file Definition at line 122 of file klfbackend.h. Referenced by KLFBackend::getLatexFormula(). |
|
|
data for a pdf file, if klfSettings::epstopdfexec is non-empty. Definition at line 123 of file klfbackend.h. Referenced by KLFBackend::getLatexFormula(). |
1.4.6