103 if (mark && mark !=
markup) {
105 ModMap::const_iterator
module;
116 switch (module->second->getMarkup()) {
121 module->second->removeRenderFilter(oldthml);
124 module->second->replaceRenderFilter(oldthml,
fromthml);
128 module->second->addRenderFilter(
fromthml);
137 module->second->removeRenderFilter(oldgbf);
140 module->second->replaceRenderFilter(oldgbf,
fromgbf);
144 module->second->addRenderFilter(
fromgbf);
153 module->second->removeRenderFilter(oldplain);
156 module->second->replaceRenderFilter(oldplain,
fromplain);
160 module->second->addRenderFilter(
fromplain);
169 module->second->removeRenderFilter(oldosis);
172 module->second->replaceRenderFilter(oldosis,
fromosis);
176 module->second->addRenderFilter(
fromosis);
185 module->second->removeRenderFilter(oldtei);
188 module->second->replaceRenderFilter(oldtei,
fromtei);
192 module->second->addRenderFilter(
fromtei);
#define SWORD_NAMESPACE_START
MarkupFilterMgr(char markup=FMT_THML, char encoding=ENC_UTF8)
virtual SWModule & addRenderFilter(SWFilter *newFilter)
void createFilters(char markup)
virtual void addRenderFilters(SWModule *module, ConfigEntMap §ion)
virtual SWMgr * getParentMgr()
SWORD_NAMESPACE_START typedef multimapwithdefault< SWBuf, SWBuf, std::less< SWBuf > > ConfigEntMap
#define SWORD_NAMESPACE_END