The SWORD Project
1.9.0.svnversion
|
#include <markupfiltmgr.h>
Public Member Functions | |
virtual void | addEncodingFilters (SWModule *module, ConfigEntMap §ion) |
virtual void | addGlobalOptions (SWModule *module, ConfigEntMap §ion, ConfigEntMap::iterator start, ConfigEntMap::iterator end) |
virtual void | addLocalOptions (SWModule *module, ConfigEntMap §ion, ConfigEntMap::iterator start, ConfigEntMap::iterator end) |
virtual void | addRawFilters (SWModule *module, ConfigEntMap §ion) |
virtual void | addRenderFilters (SWModule *module, ConfigEntMap §ion) |
virtual void | addStripFilters (SWModule *module, ConfigEntMap §ion) |
char | Encoding (char enc) |
char | getEncoding () const |
char | getMarkup () const |
virtual SWMgr * | getParentMgr () |
SWDEPRECATED char | Markup (char m=FMT_UNKNOWN) |
MarkupFilterMgr (char markup=FMT_THML, char encoding=ENC_UTF8) | |
void | setEncoding (char enc) |
void | setMarkup (char m) |
virtual void | setParentMgr (SWMgr *parentMgr) |
~MarkupFilterMgr () | |
Protected Member Functions | |
void | createFilters (char markup) |
Protected Attributes | |
char | encoding |
SWFilter * | fromgbf |
SWFilter * | fromosis |
SWFilter * | fromplain |
SWFilter * | fromtei |
SWFilter * | fromthml |
SWFilter * | latin1utf8 |
char | markup |
SWFilter * | scsuutf8 |
SWFilter * | targetenc |
SWFilter * | utf16utf8 |
This class is like a normal SWEncodingMgr, but you can additonally specify which markup you want to use.
Definition at line 34 of file markupfiltmgr.h.
SWORD_NAMESPACE_START MarkupFilterMgr::MarkupFilterMgr | ( | char | markup = FMT_THML , |
char | encoding = ENC_UTF8 |
||
) |
Constructor of SWMarkupMgr.
encoding | The desired encoding. |
markup | The desired markup format. |
Definition at line 73 of file markupfiltmgr.cpp.
MarkupFilterMgr::~MarkupFilterMgr | ( | ) |
|
virtualinherited |
Adds the encoding filters which are defined in "section" to the SWModule object "module".
module | To this module the encoding filter(s) are added |
section | We use this section to get a list of filters we should apply to the module |
Reimplemented from SWFilterMgr.
Definition at line 106 of file encfiltmgr.cpp.
|
virtualinherited |
Definition at line 48 of file swfiltermgr.cpp.
|
virtualinherited |
Definition at line 52 of file swfiltermgr.cpp.
|
virtualinherited |
Adds the raw filters which are defined in "section" to the SWModule object "module".
module | To this module the raw filter(s) are added |
section | We use this section to get a list of filters we should apply to the module |
Reimplemented from SWFilterMgr.
Definition at line 89 of file encfiltmgr.cpp.
|
virtual |
Adds the render filters which are defined in "section" to the SWModule object "module".
module | To this module the render filter(s) are added |
section | We use this section to get a list of filters we should apply to the module |
Reimplemented from SWFilterMgr.
Definition at line 208 of file markupfiltmgr.cpp.
|
virtualinherited |
Adds the strip filters which are defined in "section" to the SWModule object "module".
module | To this module the strip filter(s) are added |
section | We use this section to get a list of filters we should apply to the module |
Definition at line 82 of file swfiltermgr.cpp.
|
protected |
Definition at line 234 of file markupfiltmgr.cpp.
|
inlineinherited |
Encoding sets/gets the encoding after initialization
DEPRECATED: use setEncoding / getEncoding
Definition at line 75 of file encfiltmgr.h.
|
inlineinherited |
getEncoding gets the encoding after initialization
Definition at line 81 of file encfiltmgr.h.
|
inline |
getMarkup gets the markup after initialization
Definition at line 76 of file markupfiltmgr.h.
|
virtualinherited |
Definition at line 43 of file swfiltermgr.cpp.
|
inline |
Markup sets/gets the markup after initialization
m | The new markup |
Definition at line 70 of file markupfiltmgr.h.
|
inherited |
setEncoding sets the encoding after initialization
enc | The new encoding or ENC_UNKNOWN if you just want to get the current markup. |
Definition at line 119 of file encfiltmgr.cpp.
void MarkupFilterMgr::setMarkup | ( | char | m | ) |
setMarkup sets the markup after initialization
m | The new markup |
Definition at line 102 of file markupfiltmgr.cpp.
|
virtualinherited |
Definition at line 38 of file swfiltermgr.cpp.
|
protectedinherited |
Definition at line 52 of file encfiltmgr.h.
|
protected |
Definition at line 38 of file markupfiltmgr.h.
|
protected |
Definition at line 40 of file markupfiltmgr.h.
|
protected |
Definition at line 39 of file markupfiltmgr.h.
|
protected |
Definition at line 41 of file markupfiltmgr.h.
|
protected |
Definition at line 37 of file markupfiltmgr.h.
|
protectedinherited |
Definition at line 43 of file encfiltmgr.h.
|
protected |
current markup value
Definition at line 46 of file markupfiltmgr.h.
|
protectedinherited |
Definition at line 44 of file encfiltmgr.h.
|
protectedinherited |
Definition at line 46 of file encfiltmgr.h.
|
protectedinherited |
Definition at line 45 of file encfiltmgr.h.