A utility class with static methods to parse style files.
More...
#include <stylefileparser.h>
|
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. More...
|
|
static void | parseCssStyleFile (const std::string &name, FormatterFactory *formatterFactory, std::string &bodyBgColor) |
| Parses the specified css style file, and creates the corresponding formatters, using the passed FormatterFactory. More...
|
|
static void | parseStyleFile (const std::string &path, const std::string &name, FormatterFactory *formatterFactory, std::string &bodyBgColor) |
| Parses the specified style file, in the specified path, and creates the corresponding formatters, using the passed FormatterFactory. More...
|
|
static void | parseCssStyleFile (const std::string &path, const std::string &name, FormatterFactory *formatterFactory, std::string &bodyBgColor) |
| Parses the specified css style file, in the specified path, and creates the corresponding formatters, using the passed FormatterFactory. More...
|
|
A utility class with static methods to parse style files.
void srchilite::StyleFileParser::parseCssStyleFile |
( |
const std::string & |
name, |
|
|
FormatterFactory * |
formatterFactory, |
|
|
std::string & |
bodyBgColor |
|
) |
| |
|
static |
Parses the specified css 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 css style file name |
formatterFactory | |
bodyBgColor | the background color for the document (output parameter) |
- Exceptions
-
void srchilite::StyleFileParser::parseCssStyleFile |
( |
const std::string & |
path, |
|
|
const std::string & |
name, |
|
|
FormatterFactory * |
formatterFactory, |
|
|
std::string & |
bodyBgColor |
|
) |
| |
|
static |
Parses the specified css style file, in the specified path, and creates the corresponding formatters, using the passed FormatterFactory.
- Parameters
-
path | where to look for the file |
name | the css style file name |
formatterFactory | |
bodyBgColor | the background color for the document (output parameter) |
- Exceptions
-
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
-
void srchilite::StyleFileParser::parseStyleFile |
( |
const std::string & |
path, |
|
|
const std::string & |
name, |
|
|
FormatterFactory * |
formatterFactory, |
|
|
std::string & |
bodyBgColor |
|
) |
| |
|
static |
Parses the specified style file, in the specified path, and creates the corresponding formatters, using the passed FormatterFactory.
- Parameters
-
path | where to look for the file |
name | the style file name |
formatterFactory | |
bodyBgColor | the background color for the document (output parameter) |
- Exceptions
-
The documentation for this class was generated from the following files:
- /home/bettini/work/source-highlight/src-highlite/lib/srchilite/stylefileparser.h
- /home/bettini/work/source-highlight/src-highlite/lib/srchilite/stylefileparser.cpp