#include <config.h>
Public Member Functions | |
| Config (const Config &) | |
| bool | isKwordStyleUsed () const |
| bool | isEmbeded () const |
| TQString | getClass () const |
| TQString | getQuality () const |
| unsigned int | getDefaultFontSize () const |
| bool | convertPictures () const |
| TQString | getPicturesDir () const |
| bool | mustUseUnicode () const |
| bool | mustUseLatin1 () const |
| TQString | getEncoding () const |
| TQStringList | getLanguagesList () const |
| TQString | getDefaultLanguage () const |
| int | getTabSize () const |
| int | getIndentation () const |
| void | setTabSize (int size) |
| void | useLatexStyle () |
| void | useKwordStyle () |
| void | setEmbeded (bool emb) |
| void | setClass (const TQString &lclass) |
| void | setQuality (const TQString &quality) |
| void | setDefaultFontSize (int size) |
| void | convertPictures (bool state) |
| void | setPicturesDir (const TQString &dir) |
| void | setEncoding (const TQString &enc) |
| void | addLanguage (const TQString &l) |
| void | setDefaultLanguage (const TQString &l) |
| void | setIndentation (int indent) |
| void | indent () |
| void | desindent () |
| void | writeIndent (TQTextStream &out) |
| Config (const Config &) | |
| bool | isKwordStyleUsed () const |
| bool | isEmbeded () const |
| TQString | getClass () const |
| TQString | getQuality () const |
| unsigned int | getDefaultFontSize () const |
| bool | convertPictures () const |
| TQString | getPicturesDir () const |
| bool | mustUseUnicode () const |
| bool | mustUseLatin1 () const |
| TQString | getEncoding () const |
| TQStringList | getLanguagesList () const |
| TQString | getDefaultLanguage () const |
| int | getTabSize () const |
| int | getIndentation () const |
| void | setTabSize (int size) |
| void | useLatexStyle () |
| void | useKwordStyle () |
| void | setEmbeded (bool emb) |
| void | setClass (const TQString &lclass) |
| void | setQuality (const TQString &quality) |
| void | setDefaultFontSize (int size) |
| void | convertPictures (bool state) |
| void | setPicturesDir (const TQString &dir) |
| void | setEncoding (const TQString &enc) |
| void | addLanguage (const TQString &l) |
| void | setDefaultLanguage (const TQString &l) |
| void | setIndentation (int indent) |
| void | indent () |
| void | desindent () |
| void | writeIndent (TQTextStream &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 = 0 |
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.
Constructor & Destructor Documentation
◆ Config() [1/3]
| Config::Config | ( | const Config & | config | ) |
Definition at line 41 of file kspread/latex/export/config.cpp.
◆ ~Config()
|
virtual |
Definition at line 55 of file kspread/latex/export/config.cpp.
◆ Config() [2/3]
|
protected |
Constructors.
Creates a new instance of Config. Initialise param. at default value.
Definition at line 32 of file kspread/latex/export/config.cpp.
◆ Config() [3/3]
|
protected |
Constructors.
Creates a new instance of Config. Initialise param. at default value.
Member Function Documentation
◆ addLanguage() [1/2]
|
inline |
Definition at line 121 of file kspread/latex/export/config.h.
◆ addLanguage() [2/2]
|
inline |
Definition at line 121 of file kword/latex/export/config.h.
◆ convertPictures() [1/4]
|
inline |
Definition at line 84 of file kspread/latex/export/config.h.
◆ convertPictures() [2/4]
|
inline |
Definition at line 84 of file kword/latex/export/config.h.
◆ convertPictures() [3/4]
|
inline |
Definition at line 117 of file kspread/latex/export/config.h.
◆ convertPictures() [4/4]
|
inline |
Definition at line 117 of file kword/latex/export/config.h.
◆ desindent()
| void Config::desindent | ( | ) |
Definition at line 65 of file kspread/latex/export/config.cpp.
◆ getClass() [1/2]
|
inline |
Definition at line 80 of file kspread/latex/export/config.h.
◆ getClass() [2/2]
|
inline |
Definition at line 80 of file kword/latex/export/config.h.
◆ getDefaultFontSize() [1/2]
|
inline |
Definition at line 82 of file kspread/latex/export/config.h.
◆ getDefaultFontSize() [2/2]
|
inline |
Definition at line 82 of file kword/latex/export/config.h.
◆ getDefaultLanguage() [1/2]
|
inline |
Definition at line 91 of file kspread/latex/export/config.h.
◆ getDefaultLanguage() [2/2]
|
inline |
Definition at line 91 of file kword/latex/export/config.h.
◆ getEncoding() [1/3]
|
inline |
Definition at line 89 of file kspread/latex/export/config.h.
◆ getEncoding() [2/3]
|
inline |
Definition at line 89 of file kword/latex/export/config.h.
◆ getEncoding() [3/3]
|
inline |
Definition at line 32 of file kword/latex/import/config.h.
◆ getIndentation() [1/2]
|
inline |
Definition at line 94 of file kspread/latex/export/config.h.
◆ getIndentation() [2/2]
|
inline |
Definition at line 94 of file kword/latex/export/config.h.
◆ getLanguagesList() [1/2]
|
inline |
Definition at line 90 of file kspread/latex/export/config.h.
◆ getLanguagesList() [2/2]
|
inline |
Definition at line 90 of file kword/latex/export/config.h.
◆ getPicturesDir() [1/2]
|
inline |
Definition at line 85 of file kspread/latex/export/config.h.
◆ getPicturesDir() [2/2]
|
inline |
Definition at line 85 of file kword/latex/export/config.h.
◆ getQuality() [1/2]
|
inline |
Definition at line 81 of file kspread/latex/export/config.h.
◆ getQuality() [2/2]
|
inline |
Definition at line 81 of file kword/latex/export/config.h.
◆ getTabSize() [1/2]
|
inline |
Definition at line 93 of file kspread/latex/export/config.h.
◆ getTabSize() [2/2]
|
inline |
Definition at line 93 of file kword/latex/export/config.h.
◆ getType()
|
inline |
Definition at line 30 of file kword/latex/import/config.h.
◆ indent()
| void Config::indent | ( | ) |
Definition at line 59 of file kspread/latex/export/config.cpp.
◆ instance()
|
static |
Definition at line 87 of file kspread/latex/export/config.cpp.
◆ isEmbeded() [1/2]
|
inline |
Definition at line 79 of file kspread/latex/export/config.h.
◆ isEmbeded() [2/2]
|
inline |
Definition at line 79 of file kword/latex/export/config.h.
◆ isKwordStyleUsed() [1/2]
|
inline |
Return the value of a tabulation.
Definition at line 78 of file kspread/latex/export/config.h.
◆ isKwordStyleUsed() [2/2]
|
inline |
Return the value of a tabulation.
Definition at line 78 of file kword/latex/export/config.h.
◆ mustUseLatin1() [1/2]
|
inline |
Definition at line 88 of file kspread/latex/export/config.h.
◆ mustUseLatin1() [2/2]
|
inline |
Definition at line 88 of file kword/latex/export/config.h.
◆ mustUseUnicode() [1/2]
|
inline |
Definition at line 87 of file kspread/latex/export/config.h.
◆ mustUseUnicode() [2/2]
|
inline |
Definition at line 87 of file kword/latex/export/config.h.
◆ setClass() [1/2]
|
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.
◆ setClass() [2/2]
|
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.
◆ setDefaultFontSize() [1/2]
|
inline |
Definition at line 115 of file kspread/latex/export/config.h.
◆ setDefaultFontSize() [2/2]
|
inline |
Definition at line 115 of file kword/latex/export/config.h.
◆ setDefaultLanguage() [1/2]
|
inline |
Definition at line 122 of file kspread/latex/export/config.h.
◆ setDefaultLanguage() [2/2]
|
inline |
Definition at line 122 of file kword/latex/export/config.h.
◆ setEmbeded() [1/2]
|
inline |
Definition at line 110 of file kspread/latex/export/config.h.
◆ setEmbeded() [2/2]
|
inline |
Definition at line 110 of file kword/latex/export/config.h.
◆ setEncoding() [1/3]
|
inline |
Definition at line 120 of file kspread/latex/export/config.h.
◆ setEncoding() [2/3]
|
inline |
Definition at line 120 of file kword/latex/export/config.h.
◆ setEncoding() [3/3]
|
inline |
Definition at line 36 of file kword/latex/import/config.h.
◆ setIndentation() [1/2]
|
inline |
Definition at line 124 of file kspread/latex/export/config.h.
◆ setIndentation() [2/2]
|
inline |
Definition at line 124 of file kword/latex/export/config.h.
◆ setPicturesDir() [1/2]
|
inline |
Definition at line 118 of file kspread/latex/export/config.h.
◆ setPicturesDir() [2/2]
|
inline |
Definition at line 118 of file kword/latex/export/config.h.
◆ setQuality() [1/2]
|
inline |
Definition at line 114 of file kspread/latex/export/config.h.
◆ setQuality() [2/2]
|
inline |
Definition at line 114 of file kword/latex/export/config.h.
◆ setTabSize() [1/2]
|
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.
◆ setTabSize() [2/2]
|
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.
◆ setType()
|
inline |
Definition at line 34 of file kword/latex/import/config.h.
◆ useKwordStyle() [1/2]
|
inline |
Definition at line 109 of file kspread/latex/export/config.h.
◆ useKwordStyle() [2/2]
|
inline |
Definition at line 109 of file kword/latex/export/config.h.
◆ useLatexStyle() [1/2]
|
inline |
Definition at line 108 of file kspread/latex/export/config.h.
◆ useLatexStyle() [2/2]
|
inline |
Definition at line 108 of file kword/latex/export/config.h.
◆ writeIndent()
| void Config::writeIndent | ( | TQTextStream & | out | ) |
Definition at line 79 of file kspread/latex/export/config.cpp.
Member Data Documentation
◆ _instance
|
staticprotected |
Definition at line 141 of file kspread/latex/export/config.h.
◆ SPACE_CHAR
|
static |
Definition at line 62 of file kspread/latex/export/config.h.
The documentation for this class was generated from the following files:
