Home | Modules | Class Hierarchy | Alphabetical List | Compound List | Related Pages

TextHRDMapper Class Reference
[Handlers]

Inheritance diagram for TextHRDMapper:

RegionMapperImpl RegionMapper

Detailed Description

HRD files reader.

HRD Files format contains mappings of HRC syntax regions into text indention information. For example, HTML indention (stext, sback, etext, eback) allows to create colorized HTML code.


Public Member Functions

void loadRegionMappings (InputSource *is)
 Loads region defines from is InputSource.
void saveRegionMappings (Writer *writer) const
 Saves all loaded region defines into writer.
void setRegionDefine (const String &region, const RegionDefine *rdnew)
 Changes specified region definition to rdnew.


Member Function Documentation

void TextHRDMapper::loadRegionMappings InputSource is  )  [virtual]
 

Loads region defines from is InputSource.

Multiple files could be loaded.

Implements RegionMapperImpl.

void TextHRDMapper::saveRegionMappings Writer writer  )  const [virtual]
 

Saves all loaded region defines into writer.

Note, that result document would not be equal to input one, because there could be multiple input documents.

Implements RegionMapperImpl.

void TextHRDMapper::setRegionDefine const String region,
const RegionDefine rdnew
[virtual]
 

Changes specified region definition to rdnew.

Parameters:
region Region full qualified name.
rdnew New region definition to replace old one

Implements RegionMapperImpl.



Colorer-take5 Library. Copyright © 1999-2006 Igor Russkih.
Generated at Fri Nov 24 17:13:14 2006 by doxygen 1.4.6.