sword::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 sword::MarkupFilterMgr:

Inheritance graph
[legend]
Collaboration diagram for sword::MarkupFilterMgr:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 MarkupFilterMgr (char markup=FMT_THML, char encoding=ENC_UTF8)
 Constructor of SWMarkupMgr.
 ~MarkupFilterMgr ()
 The destructor of SWMarkupMgr.
char Markup (char m=FMT_UNKNOWN)
 Markup sets/gets the markup after initialization.
virtual void AddRenderFilters (SWModule *module, ConfigEntMap &section)
 Adds the render filters which are defined in "section" to the SWModule object "module".

Protected Member Functions

void CreateFilters (char markup)

Protected Attributes

SWFilterfromthml
SWFilterfromgbf
SWFilterfromplain
SWFilterfromosis
SWFilterfromtei
char markup
 current markup value

Detailed Description

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

Definition at line 33 of file markupfiltmgr.h.


Constructor & Destructor Documentation

sword::MarkupFilterMgr::MarkupFilterMgr ( char  markup = FMT_THML,
char  encoding = ENC_UTF8 
)

Constructor of SWMarkupMgr.

Parameters:
encoding The desired encoding.
markup The desired markup format.


Member Function Documentation

char sword::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.

virtual void sword::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

Reimplemented from sword::SWFilterMgr.


The documentation for this class was generated from the following file: