|  |  |  | GNOME Data Access 5 manual |  | 
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Properties | ||||
struct GdaReportDocument; void gda_report_document_set_template (GdaReportDocument *doc,const gchar *file); gboolean gda_report_document_run_as_html (GdaReportDocument *doc,const gchar *filename,GError **error); gboolean gda_report_document_run_as_pdf (GdaReportDocument *doc,const gchar *filename,GError **error);
GObject +----GdaReportDocument +----GdaReportRmlDocument +----GdaReportDocbookDocument
The GdaReportDocument wraps the usage of a GdaReportEngine for specific HTML or PDF targets. This class is abstract (no instance be created directly), and one of its subclasses has to be used.
void gda_report_document_set_template (GdaReportDocument *doc,const gchar *file);
Instructs doc to use the file RML file as a template
| 
 | a GdaReportDocument object | 
| 
 | a RML file name, or NULL | 
gboolean gda_report_document_run_as_html (GdaReportDocument *doc,const gchar *filename,GError **error);
Creates the report document and saves it as an HTML file into filename
| 
 | a GdaReportDocument object | 
| 
 | the name of a filename to save to | 
| 
 | a place to store errors, or NULL | 
| Returns : | TRUE if no error occurred | 
gboolean gda_report_document_run_as_pdf (GdaReportDocument *doc,const gchar *filename,GError **error);
Creates the report document and saves it as a PDF file into filename
| 
 | a GdaReportDocument object | 
| 
 | the name of a filename to save to | 
| 
 | a place to store errors, or NULL | 
| Returns : | TRUE if no error occurred |