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

#include <utf8nfc.h>

+ Inheritance diagram for UTF8NFC:
+ Collaboration diagram for UTF8NFC:

Public Member Functions

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

Private Attributes

UConverter * conv
 
UErrorCode err
 

Detailed Description

This filter normalizes UTF-8 encoded text to NFC (Normal Form Composed)

Definition at line 38 of file utf8nfc.h.

Constructor & Destructor Documentation

UTF8NFC::UTF8NFC ( )
UTF8NFC::~UTF8NFC ( )

Member Function Documentation

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

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 ""; }
virtual char UTF8NFC::processText ( SWBuf text,
const SWKey key = 0,
const SWModule module = 0 
)
virtual

This method processes and appropriately modifies the text given it for a particular filter task

Parameters
textThe text to be filtered/converted
keyCurrent key That was used.
moduleCurrent module.
Returns
0

Implements SWFilter.

Member Data Documentation

UConverter* UTF8NFC::conv
private

Definition at line 41 of file utf8nfc.h.

UErrorCode UTF8NFC::err
private

Definition at line 42 of file utf8nfc.h.


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