klfbackend.h File Reference

Definition of class KLFBackend. More...

#include <qstring.h>
#include <QByteArray>
#include <qimage.h>

Include dependency graph for klfbackend.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  KLFBackend
 The main engine for KLatexFormula. More...
struct  KLFBackend::klfSettings
 General settings for KLFBackend::getLatexFormula(). More...
struct  KLFBackend::klfInput
 Specific input to KLFBackend::getLatexFormula(). More...
struct  KLFBackend::klfOutput
 KLFBackend::getLatexFormula() result. More...

Defines

#define KLFERR_NOERROR   0
 No Error.
#define KLFERR_MISSINGLATEXFORMULA   -1
 No LaTeX formula is specified (empty string).
#define KLFERR_MISSINGMATHMODETHREEDOTS   -2
 The "..." is missing in math mode string.
#define KLFERR_TEXWRITEFAIL   -3
 Error while opening .tex file for writing.
#define KLFERR_NOLATEXPROG   -4
 Error while launching the given latex program.
#define KLFERR_LATEXNONORMALEXIT   -5
 latex program did not exit properly (program killed) (see also KLFERR_PROGERR_LATEX)
#define KLFERR_NODVIFILE   -6
 No .dvi file appeared after runnig latex program.
#define KLFERR_NODVIPSPROG   -7
 Error while launching the given dvips program.
#define KLFERR_DVIPSNONORMALEXIT   -8
 dvips program did not exit properly (program killed) (see also KLFERR_PROGERR_DVIPS)
#define KLFERR_NOEPSFILE   -9
 no .eps file appeared after running dvips program
#define KLFERR_EPSREADFAIL   -10
 Error while opening .eps file for reading.
#define KLFERR_NOEPSBBOX   -11
 Error while searching file for %BoundingBox instruction in EPS.
#define KLFERR_BADEPSBBOX   -12
 Error while parsing value for %BoundingBox instruction in EPS.
#define KLFERR_EPSWRITEFAIL   -13
 Error while opening ...-good.eps file for writing.
#define KLFERR_NOGSPROG   -14
 Error while launching the given gs program.
#define KLFERR_GSNONORMALEXIT   -15
 gs program did not exit properly (program killed) (see also KLFERR_PROGERR_GS)
#define KLFERR_NOPNGFILE   -16
 No .png file appeared after running gs program.
#define KLFERR_PNGREADFAIL   -17
 Error while opening .png file for reading.
#define KLFERR_NOEPSTOPDFPROG   -18
 Error while launching the given epstopdf program (if given).
#define KLFERR_EPSTOPDFNONORMALEXIT   -19
 epstopdf program did not exit properly (program killed) (see also KLFERR_PROGERR_EPSTOPDF)
#define KLFERR_NOPDFFILE   -20
 No .pdf file appeared after running epstopdf program.
#define KLFERR_PDFREADFAIL   -21
 Error while opening .pdf file for reading.
#define KLFERR_PROGERR_LATEX   1
 latex exited with a non-zero status
#define KLFERR_PROGERR_DVIPS   2
 dvips exited with a non-zero status
#define KLFERR_PROGERR_GS   3
 gs exited with a non-zero status
#define KLFERR_PROGERR_EPSTOPDF   4
 epstopdf exited with non-zero status (if epstopdf is to be used)


Detailed Description

Definition of class KLFBackend.

This file defines the KLFBackend class, which is the base engine providing our core functionality of transforming LaTeX code into graphics.

Definition in file klfbackend.h.


Define Documentation

#define KLFERR_NOERROR   0

No Error.

Definition at line 58 of file klfbackend.h.

Referenced by KLFBackend::getLatexFormula().

#define KLFERR_MISSINGLATEXFORMULA   -1

No LaTeX formula is specified (empty string).

Definition at line 61 of file klfbackend.h.

Referenced by KLFBackend::getLatexFormula().

#define KLFERR_MISSINGMATHMODETHREEDOTS   -2

The "..." is missing in math mode string.

Definition at line 63 of file klfbackend.h.

Referenced by KLFBackend::getLatexFormula().

#define KLFERR_TEXWRITEFAIL   -3

Error while opening .tex file for writing.

Definition at line 65 of file klfbackend.h.

Referenced by KLFBackend::getLatexFormula().

#define KLFERR_NOLATEXPROG   -4

Error while launching the given latex program.

Definition at line 67 of file klfbackend.h.

Referenced by KLFBackend::getLatexFormula().

#define KLFERR_LATEXNONORMALEXIT   -5

latex program did not exit properly (program killed) (see also KLFERR_PROGERR_LATEX)

Definition at line 69 of file klfbackend.h.

Referenced by KLFBackend::getLatexFormula().

#define KLFERR_NODVIFILE   -6

No .dvi file appeared after runnig latex program.

Definition at line 71 of file klfbackend.h.

Referenced by KLFBackend::getLatexFormula().

#define KLFERR_NODVIPSPROG   -7

Error while launching the given dvips program.

Definition at line 73 of file klfbackend.h.

Referenced by KLFBackend::getLatexFormula().

#define KLFERR_DVIPSNONORMALEXIT   -8

dvips program did not exit properly (program killed) (see also KLFERR_PROGERR_DVIPS)

Definition at line 75 of file klfbackend.h.

Referenced by KLFBackend::getLatexFormula().

#define KLFERR_NOEPSFILE   -9

no .eps file appeared after running dvips program

Definition at line 77 of file klfbackend.h.

Referenced by KLFBackend::getLatexFormula().

#define KLFERR_EPSREADFAIL   -10

Error while opening .eps file for reading.

Definition at line 79 of file klfbackend.h.

Referenced by KLFBackend::getLatexFormula().

#define KLFERR_NOEPSBBOX   -11

Error while searching file for %BoundingBox instruction in EPS.

Definition at line 81 of file klfbackend.h.

Referenced by KLFBackend::getLatexFormula().

#define KLFERR_BADEPSBBOX   -12

Error while parsing value for %BoundingBox instruction in EPS.

Definition at line 83 of file klfbackend.h.

Referenced by KLFBackend::getLatexFormula().

#define KLFERR_EPSWRITEFAIL   -13

Error while opening ...-good.eps file for writing.

Definition at line 85 of file klfbackend.h.

Referenced by KLFBackend::getLatexFormula().

#define KLFERR_NOGSPROG   -14

Error while launching the given gs program.

Definition at line 87 of file klfbackend.h.

Referenced by KLFBackend::getLatexFormula().

#define KLFERR_GSNONORMALEXIT   -15

gs program did not exit properly (program killed) (see also KLFERR_PROGERR_GS)

Definition at line 89 of file klfbackend.h.

Referenced by KLFBackend::getLatexFormula().

#define KLFERR_NOPNGFILE   -16

No .png file appeared after running gs program.

Definition at line 91 of file klfbackend.h.

Referenced by KLFBackend::getLatexFormula().

#define KLFERR_PNGREADFAIL   -17

Error while opening .png file for reading.

Definition at line 93 of file klfbackend.h.

Referenced by KLFBackend::getLatexFormula().

#define KLFERR_NOEPSTOPDFPROG   -18

Error while launching the given epstopdf program (if given).

Definition at line 95 of file klfbackend.h.

Referenced by KLFBackend::getLatexFormula().

#define KLFERR_EPSTOPDFNONORMALEXIT   -19

epstopdf program did not exit properly (program killed) (see also KLFERR_PROGERR_EPSTOPDF)

Definition at line 97 of file klfbackend.h.

Referenced by KLFBackend::getLatexFormula().

#define KLFERR_NOPDFFILE   -20

No .pdf file appeared after running epstopdf program.

Definition at line 99 of file klfbackend.h.

Referenced by KLFBackend::getLatexFormula().

#define KLFERR_PDFREADFAIL   -21

Error while opening .pdf file for reading.

Definition at line 101 of file klfbackend.h.

Referenced by KLFBackend::getLatexFormula().

#define KLFERR_PROGERR_LATEX   1

latex exited with a non-zero status

Definition at line 104 of file klfbackend.h.

Referenced by KLFBackend::getLatexFormula().

#define KLFERR_PROGERR_DVIPS   2

dvips exited with a non-zero status

Definition at line 106 of file klfbackend.h.

Referenced by KLFBackend::getLatexFormula().

#define KLFERR_PROGERR_GS   3

gs exited with a non-zero status

Definition at line 108 of file klfbackend.h.

Referenced by KLFBackend::getLatexFormula().

#define KLFERR_PROGERR_EPSTOPDF   4

epstopdf exited with non-zero status (if epstopdf is to be used)

Definition at line 110 of file klfbackend.h.

Referenced by KLFBackend::getLatexFormula().


Generated on Mon May 4 01:27:08 2009 for KLFBackend by  doxygen 1.5.3