Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

MarkupFilterMgr Class Reference

This class is like a normal SWEncodingMgr, but you can additonally specify which markup you want to use. More...

#include <markupfiltmgr.h>

Inheritance diagram for MarkupFilterMgr::

EncodingFilterMgr List of all members.

Public Methods

 MarkupFilterMgr (char markup=FMT_THML, char encoding=ENC_UTF8)
 Constructor of SWMarkupMgr. More...

 ~MarkupFilterMgr ()
 The destructor of SWMarkupMgr.

char Markup (char m=FMT_UNKNOWN)
 Markup sets/gets the markup after initialization. More...

virtual void AddRenderFilters (SWModule *module, ConfigEntMap &section)
 Adds the render filters which are defined in "section" to the SWModule object "module". More...


Protected Methods

void CreateFilters (char markup)

Protected Attributes

SWFilter * fromthml
SWFilter * fromgbf
SWFilter * fromplain
SWFilter * fromosis
char markup

Detailed Description

This class is like a normal SWEncodingMgr, but you can additonally specify which markup you want to use.

Definition at line 31 of file markupfiltmgr.h.


Constructor & Destructor Documentation

MarkupFilterMgr::MarkupFilterMgr char markup = FMT_THML,
char encoding = ENC_UTF8
 

Constructor of SWMarkupMgr.

Parameters:
iconfig  
isysconfig  
autoload   If this bool is true the constructor starts loading the installed modules. If you reimplemented SWMgr you can set autoload=false to load the modules with your own reimplemented function.
encoding   The desired encoding.
markup   The desired markup format.


Member Function Documentation

virtual void MarkupFilterMgr::AddRenderFilters SWModule * module,
ConfigEntMap & section
[virtual]
 

Adds the render filters which are defined in "section" to the SWModule object "module".

Parameters:
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

char MarkupFilterMgr::Markup char m = FMT_UNKNOWN
 

Markup sets/gets the markup after initialization.

Parameters:
m   The new markup or FMT_UNKNOWN if you just want to get the current markup.
Returns:
The current (possibly changed) markup format.


The documentation for this class was generated from the following file:
Generated at Tue Jan 22 14:52:49 2002 for The Sword Project by doxygen1.2.9.1 written by Dimitri van Heesch, © 1997-2001