The SWORD Project  1.9.0.svnversion
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SWFilter Class Referenceabstract

#include <swfilter.h>

+ Inheritance diagram for SWFilter:
+ Collaboration diagram for SWFilter:

Public Member Functions

virtual const char * getHeader () const
 
virtual char processText (SWBuf &text, const SWKey *key=0, const SWModule *module=0)=0
 
virtual ~SWFilter ()
 

Detailed Description

Base class for all filters in sword. Filters are used to filter/convert text between different formats like GBF, HTML, RTF ...

Definition at line 45 of file swfilter.h.

Constructor & Destructor Documentation

virtual SWFilter::~SWFilter ( )
inlinevirtual

Definition at line 47 of file swfilter.h.

47 {}

Member Function Documentation

virtual const char* SWFilter::getHeader ( ) const
inlinevirtual

This method can supply a header associated with the processing done with this filter. A typical example is a suggested CSS style block for classed containers.

Reimplemented in OSISLaTeX, OSISXHTML, ThMLLaTeX, ThMLXHTML, TEIXHTML, GBFLaTeX, and GBFXHTML.

Definition at line 62 of file swfilter.h.

62 { return ""; }

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