srchilite::StyleFileParser Class Reference

A utility class with static methods to parse style files. More...

#include <stylefileparser.h>

List of all members.

Static Public Member Functions

static void parseStyleFile (const std::string &name, FormatterFactory *formatterFactory, std::string &bodyBgColor)
 Parses the specified style file, and creates the corresponding formatters, using the passed FormatterFactory.


Detailed Description

A utility class with static methods to parse style files.

Member Function Documentation

void srchilite::StyleFileParser::parseStyleFile ( const std::string &  name,
FormatterFactory *  formatterFactory,
std::string &  bodyBgColor 
) [static]

Parses the specified style file, and creates the corresponding formatters, using the passed FormatterFactory.

(For the default searching path, it uses the hardcoded data dir).

Parameters:
name the style file name
formatterFactory 
bodyBgColor the background color for the document (output parameter)
Exceptions:
ParserException in case of parsing error


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

Generated on Wed May 20 21:05:30 2009 for Source-highlight Library by  doxygen 1.5.6