KLFBackend::klfOutput Struct Reference

KLFBackend::getLatexFormula() result. More...

#include <klfbackend.h>

List of all members.

Public Attributes

int status
QString errorstr
QImage result
QByteArray pngdata
QByteArray epsdata
QByteArray pdfdata


Detailed Description

KLFBackend::getLatexFormula() result.

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.


Member Data Documentation

int KLFBackend::klfOutput::status
 

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().

QString KLFBackend::klfOutput::errorstr
 

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().

QImage KLFBackend::klfOutput::result
 

The actual result image.

Definition at line 120 of file klfbackend.h.

Referenced by KLFBackend::getLatexFormula().

QByteArray KLFBackend::klfOutput::pngdata
 

the data for a png file (exact content)

Definition at line 121 of file klfbackend.h.

Referenced by KLFBackend::getLatexFormula().

QByteArray KLFBackend::klfOutput::epsdata
 

data for an (eps-)postscript file

Definition at line 122 of file klfbackend.h.

Referenced by KLFBackend::getLatexFormula().

QByteArray KLFBackend::klfOutput::pdfdata
 

data for a pdf file, if klfSettings::epstopdfexec is non-empty.

Definition at line 123 of file klfbackend.h.

Referenced by KLFBackend::getLatexFormula().


The documentation for this struct was generated from the following file:
Generated on Sat Apr 28 14:14:02 2007 for KLatexFormula-Library-Backend by  doxygen 1.4.6