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

SWMarkupMgr Class Reference

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

#include <swmarkupmgr.h>

Inheritance diagram for SWMarkupMgr::

SWEncodingMgr SWMgr List of all members.

Public Methods

 SWMarkupMgr (SWConfig *iconfig=0, SWConfig *isysconfig=0, bool autoload=true, char encoding=ENC_UTF8, char markup=FMT_THML)
 Constructor of SWMarkupMgr. More...

 ~SWMarkupMgr ()
 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

SWFilterfromthml
SWFilterfromgbf
SWFilterfromplain
SWFilterfromosis
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 swmarkupmgr.h.


Constructor & Destructor Documentation

SWMarkupMgr::SWMarkupMgr SWConfig * iconfig = 0,
SWConfig * isysconfig = 0,
bool autoload = true,
char encoding = ENC_UTF8,
char markup = FMT_THML
 

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

Reimplemented from SWMgr.

char SWMarkupMgr::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 Oct 30 16:04:54 2001 for The Sword Project by doxygen1.2.9.1 written by Dimitri van Heesch, © 1997-2001