00001
00011 #ifndef _DOCTEMPLATE_H_
00012 #define _DOCTEMPLATE_H_
00013
00014 #include <string>
00015
00016 namespace srchilite {
00017
00018 class DocTemplate {
00019 std::string begin_repr, end_repr;
00020 public:
00021 DocTemplate(const std::string &begin = "", const std::string &end = "");
00022
00023 std::string output_begin(const std::string &title, const std::string &cs,
00024 const std::string &add, const std::string &header,
00025 const std::string &footer, const std::string &background);
00026 std::string output_end(const std::string &title, const std::string &cs,
00027 const std::string &add, const std::string &header,
00028 const std::string &footer, const std::string &background);
00029
00030 const std::string &toStringBegin() const {
00031 return begin_repr;
00032 }
00033 const std::string &toStringEnd() const {
00034 return end_repr;
00035 }
00036 };
00037
00038 }
00039
00040 #endif