filters
Config Class Reference
#include <config.h>
Inheritance diagram for Config:

Detailed Description
This class hold all parameters and configuration from a file or from the filter configuration dialog box.it's a singleton, so you may use the instance() method to get this instance.
Definition at line 37 of file kspread/latex/export/config.h.
Public Member Functions | |
| Config (const Config &) | |
| virtual | ~Config () |
| bool | isKwordStyleUsed () const |
| bool | isEmbeded () const |
| QString | getClass () const |
| QString | getQuality () const |
| unsigned int | getDefaultFontSize () const |
| bool | convertPictures () const |
| QString | getPicturesDir () const |
| bool | mustUseUnicode () const |
| bool | mustUseLatin1 () const |
| QString | getEncoding () const |
| QStringList | getLanguagesList () const |
| QString | getDefaultLanguage () const |
| int | getTabSize () const |
| int | getIndentation () const |
| void | setTabSize (int size) |
| void | useLatexStyle () |
| void | useKwordStyle () |
| void | setEmbeded (bool emb) |
| void | setClass (const QString &lclass) |
| void | setQuality (const QString &quality) |
| void | setDefaultFontSize (int size) |
| void | convertPictures (bool state) |
| void | setPicturesDir (const QString &dir) |
| void | setEncoding (const QString &enc) |
| void | addLanguage (const QString &l) |
| void | setDefaultLanguage (const QString &l) |
| void | setIndentation (int indent) |
| void | indent () |
| void | desindent () |
| void | writeIndent (QTextStream &out) |
| Config (const Config &) | |
| bool | isKwordStyleUsed () const |
| bool | isEmbeded () const |
| QString | getClass () const |
| QString | getQuality () const |
| unsigned int | getDefaultFontSize () const |
| bool | convertPictures () const |
| QString | getPicturesDir () const |
| bool | mustUseUnicode () const |
| bool | mustUseLatin1 () const |
| QString | getEncoding () const |
| QStringList | getLanguagesList () const |
| QString | getDefaultLanguage () const |
| int | getTabSize () const |
| int | getIndentation () const |
| void | setTabSize (int size) |
| void | useLatexStyle () |
| void | useKwordStyle () |
| void | setEmbeded (bool emb) |
| void | setClass (const QString &lclass) |
| void | setQuality (const QString &quality) |
| void | setDefaultFontSize (int size) |
| void | convertPictures (bool state) |
| void | setPicturesDir (const QString &dir) |
| void | setEncoding (const QString &enc) |
| void | addLanguage (const QString &l) |
| void | setDefaultLanguage (const QString &l) |
| void | setIndentation (int indent) |
| void | indent () |
| void | desindent () |
| void | writeIndent (QTextStream &out) |
| ELatexType | getType () const |
| ELatexEncoding | getEncoding () const |
| void | setType (ELatexType type) |
| void | setEncoding (ELatexEncoding encoding) |
Static Public Member Functions | |
| static Config * | instance (void) |
| static Config * | instance (void) |
Static Public Attributes | |
| static const char | SPACE_CHAR |
Protected Member Functions | |
| Config () | |
| Config () | |
Static Protected Attributes | |
| static Config * | _instance |
| static Config * | _instance |
Constructor & Destructor Documentation
| Config::Config | ( | ) | [protected] |
Constructors.
Creates a new instance of Config. Initialise param. at default value.
Definition at line 32 of file kspread/latex/export/config.cc.
| Config::Config | ( | ) | [protected] |
Constructors.
Creates a new instance of Config. Initialise param. at default value.
Member Function Documentation
| bool Config::isKwordStyleUsed | ( | ) | const [inline] |
| void Config::setTabSize | ( | int | size | ) | [inline] |
Initialise the tab size.
- Parameters:
-
size New size. Must be superior or eguals to 0.
Definition at line 102 of file kspread/latex/export/config.h.
| void Config::setClass | ( | const QString & | lclass | ) | [inline] |
The class can be article, book, letter, report or slides.
It's the type of the latex document.
Definition at line 113 of file kspread/latex/export/config.h.
| bool Config::isKwordStyleUsed | ( | ) | const [inline] |
| void Config::setTabSize | ( | int | size | ) | [inline] |
Initialise the tab size.
- Parameters:
-
size New size. Must be superior or eguals to 0.
Definition at line 102 of file kword/latex/export/config.h.
| void Config::setClass | ( | const QString & | lclass | ) | [inline] |
The class can be article, book, letter, report or slides.
It's the type of the latex document.
Definition at line 113 of file kword/latex/export/config.h.
The documentation for this class was generated from the following files:

