Add a division to html.
More...
#include <html_utils.h>
| HtmlDivisionWriter::HtmlDivisionWriter |
( |
| ) |
|
|
inline |
| void HtmlDivisionWriter::addHeader |
( |
std::string |
header, |
|
|
int |
level = 1 |
|
) |
| |
|
inline |
Add a header inside division.
- Parameters
-
| header | Text to put in header |
| level | The integer level can be 1 to 5 corresponding to h1 to h5 |
| void HtmlDivisionWriter::addText |
( |
std::string |
text | ) |
|
|
inline |
Add text to the division.
- Parameters
-
| std::string HtmlDivisionWriter::getDivisionText |
( |
| ) |
|
|
inline |
Create a divsion html in string format.
- Returns
- return string of html division
The documentation for this class was generated from the following file: