filters

kword/latex/import/config.h
1
2#ifndef __LATEXFILTER_CONFIG_H__
3#define __LATEXFILTER_CONFIG_H__
4
5
6enum _ELatexType
7{
8 TYPE_UNKNOWN,
9 TYPE_DOC,
10 TYPE_EMBEDED
11};
12
13enum _ELatexEncoding
14{
15 ENC_UNKNOWN,
16 ENC_LATIN1,
17 ENC_UNICODE
18};
19
20typedef enum _ELatexType ELatexType;
21typedef enum _ELatexEncoding ELatexEncoding;
22
23class Config
24{
25 public:
26 Config();
27
28 ~Config();
29
30 ELatexType getType() const { return _type; }
31
32 ELatexEncoding getEncoding() const { return _encoding; }
33
34 void setType(ELatexType type) { _type = type; }
35
36 void setEncoding(ELatexEncoding encoding) { _encoding = encoding; }
37
38 private:
39 static ELatexType _type;
40 static ELatexEncoding _encoding;
41
42};
43
44#endif /* __LATEXFILTER_CONFIG_H__ */
This class hold all parameters and configuration from a file or from the filter configuration dialog ...
Config()
Constructors.