libglom-1.30: Glom::ReportBuilder Class Reference

libglom-1.30 1.30.3

- Main Page
- Namespaces
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Static Public Member Functions | List of all members
Glom::ReportBuilder Class Reference

## Public Member Functions
| ReportBuilder (const std::locale& locale)
virtual | ~ReportBuilder ()
void | set_document (Document* document)
Glib::ustring | report_build (const FoundSet& found_set, const std::shared_ptr< const Report >& report)
std::string | report_build_and_save (const FoundSet& found_set, const std::shared_ptr< const Report >& report)

## Static Public Member Functions
static std::shared_ptr< Report > | create_standard_list_report (const Document* document, const Glib::ustring& table_name)

## Constructor & Destructor Documentation

Glom::ReportBuilder::ReportBuilder | ( | const std::locale & | locale | ) |
| explicit

virtual Glom::ReportBuilder::~ReportBuilder | ( |  | ) |
| virtual

## Member Function Documentation

static std::shared_ptr<Report> Glom::ReportBuilder::create_standard_list_report | ( | const Document* | document,
|  | const Glib::ustring & | table_name
| ) |  |
| static

Glib::ustring Glom::ReportBuilder::report_build | ( | const FoundSet& | found_set,
|  | const std::shared_ptr< const Report >& | report
| ) |  |

Returns
  The HTML of the generated report.

std::string Glom::ReportBuilder::report_build_and_save | ( | const FoundSet& | found_set,
|  | const std::shared_ptr< const Report >& | report
| ) |  |

Returns
  The filepath of a temporary file containing the generated HTML file.

void Glom::ReportBuilder::set_document | ( | Document* | document | ) |

The documentation for this class was generated from the following file:

- libglom/report_builder.h