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) |
| |
|
|
string | title |
| |
|
bool | gen_source_highlight_version |
| |
|
string | input_file_name |
| |
|
string | doc_header |
| |
|
string | doc_footer |
| |
|
string | css_url |
| |
|
string | doc_background |
| |
|
bool | entire_doc |
| |
|
string | input_lang |
| |
|
DocTemplate | docTemplate |
| |
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:
- source-highlight-3.1.9/lib/srchilite/docgenerator.h
- source-highlight-3.1.9/lib/srchilite/docgenerator.cc