Given a DocTemplate it generates the start of the document and the end, using variables such as title, file_name, header, etc.
More...
#include <docgenerator.h>
|
|
| DocGenerator (const string &s, const string &i, const string &h, const string &f, const string &c, const string &back, bool entire, const string &inputlang, const string &start_tmpl, const string &end_tmpl) |
|
| DocGenerator (const string &start_tmpl, const string &end_tmpl) |
| void | generate_start_doc (std::ostream *sout) |
| | Generates the start of the document into the passed ostream.
|
| void | generate_end_doc (std::ostream *sout) |
| | Generates the end of the document into the passed ostream.
|
|
void | set_gen_version (bool b) |
| | Sets the version of the generator (i.e., of source-highlight).
|
|
void | setInputFileName (const std::string &filename) |
|
void | setTitle (const std::string &_title) |
|
void | setInputLang (const std::string &_input_lang) |
|
void | setBackgroundColor (const std::string &bg) |
|
void | setCss (const std::string &css) |
|
void | setHeader (const std::string &_header) |
|
void | setFooter (const std::string &_footer) |
Given a DocTemplate it generates the start of the document and the end, using variables such as title, file_name, header, etc.
◆ generate_end_doc()
| void srchilite::DocGenerator::generate_end_doc |
( |
std::ostream * | sout | ) |
|
Generates the end of the document into the passed ostream.
- Parameters
-
| sout | the stream for generating the output |
◆ generate_start_doc()
| void srchilite::DocGenerator::generate_start_doc |
( |
std::ostream * | sout | ) |
|
Generates the start of the document into the passed ostream.
- Parameters
-
| sout | the stream for generating the output |
The documentation for this class was generated from the following files:
- /cygdrive/d/a/scallywag/source-highlight/source-highlight-3.1.9-1.x86_64/src/source-highlight-3.1.9/lib/srchilite/docgenerator.h
- /cygdrive/d/a/scallywag/source-highlight/source-highlight-3.1.9-1.x86_64/src/source-highlight-3.1.9/lib/srchilite/docgenerator.cc