COOPY » Guide
version 0.6.5
|
#include <CsvRender.h>
Public Member Functions | |
CsvRender () | |
void | setDecorate (bool flag) |
void | setFull (bool flag) |
void | setHeader (bool flag) |
void | setDox (bool flag) |
void | setCaption (bool flag) |
std::string | renderHtml (const coopy::store::DataSheet &sheet, const std::string &title="") |
Definition at line 6 of file CsvRender.h.
CsvRender::CsvRender | ( | ) | [inline] |
Definition at line 14 of file CsvRender.h.
string CsvRender::renderHtml | ( | const coopy::store::DataSheet & | sheet, |
const std::string & | title = "" |
||
) |
Definition at line 42 of file CsvRender.cpp.
References coopy::store::DataSheet::cellString(), csv2html_css(), coopy::store::SheetSchema::getColumnCount(), coopy::store::SheetSchema::getColumnInfo(), coopy::store::ColumnInfo::getName(), coopy::store::DataSheet::getSchema(), coopy::store::DataSheet::height(), ml_encode(), NULL, and coopy::store::DataSheet::width().
Referenced by csv_render(), and main().
void CsvRender::setCaption | ( | bool | flag | ) | [inline] |
Definition at line 24 of file CsvRender.h.
Referenced by main().
void CsvRender::setDecorate | ( | bool | flag | ) | [inline] |
Definition at line 20 of file CsvRender.h.
Referenced by csv_render(), and main().
void CsvRender::setDox | ( | bool | flag | ) | [inline] |
Definition at line 23 of file CsvRender.h.
Referenced by main().
void CsvRender::setFull | ( | bool | flag | ) | [inline] |
Definition at line 21 of file CsvRender.h.
Referenced by csv_render(), and main().
void CsvRender::setHeader | ( | bool | flag | ) | [inline] |
Definition at line 22 of file CsvRender.h.
Referenced by main().