00001
00002
00003
00004
00005
00006
00007
00008
00009 #ifndef STYLEFILEPARSER_H_
00010 #define STYLEFILEPARSER_H_
00011
00012 #include <string>
00013
00014 #include "formatterfactory.h"
00015
00016 namespace srchilite {
00017
00021 class StyleFileParser {
00022 public:
00033 static void parseStyleFile(const std::string &name,
00034 FormatterFactory *formatterFactory, std::string &bodyBgColor);
00035
00046 static void parseCssStyleFile(const std::string &name,
00047 FormatterFactory *formatterFactory, std::string &bodyBgColor);
00048
00059 static void parseStyleFile(const std::string &path, const std::string &name,
00060 FormatterFactory *formatterFactory, std::string &bodyBgColor);
00061
00072 static void parseCssStyleFile(const std::string &path, const std::string &name,
00073 FormatterFactory *formatterFactory, std::string &bodyBgColor);
00074 };
00075
00076 }
00077
00078 #endif