GdaReportDocument

GdaReportDocument — Management of libgda's report format

Functions

#define GDA_REPORT_DOCUMENT()
GdaReportDocument * gda_report_document_new ()
GdaReportDocument * gda_report_document_new_from_string ()
GdaReportDocument * gda_report_document_new_from_uri ()
xmlDocPtr gda_report_document_to_dom ()
GdaReportValid * gda_report_document_get_valid ()
gboolean gda_report_document_set_root_item ()
GdaReportItem * gda_report_document_get_root_item ()
gboolean gda_report_document_save_file ()

Types and Values

Description

Functions

GDA_REPORT_DOCUMENT()

#define GDA_REPORT_DOCUMENT(obj)            (G_TYPE_CHECK_INSTANCE_CAST (obj, GDA_TYPE_REPORT_DOCUMENT, GdaReportDocument))


gda_report_document_new ()

GdaReportDocument *
gda_report_document_new (GdaReportValid *valid);

Create a new GdaReportDocument object, which is a wrapper that lets you easily manage the XML format used in the GDA report engine.

Parameters

valid

Validator for the document (nowadays a DTD), or NULL to use the default one

 

Returns

the newly created object.


gda_report_document_new_from_string ()

GdaReportDocument *
gda_report_document_new_from_string (const gchar *xml,
                                     GdaReportValid *valid);

gda_report_document_new_from_uri ()

GdaReportDocument *
gda_report_document_new_from_uri (const gchar *uri,
                                  GdaReportValid *valid);

gda_report_document_to_dom ()

xmlDocPtr
gda_report_document_to_dom (GdaReportDocument *document);


gda_report_document_get_valid ()

GdaReportValid *
gda_report_document_get_valid (GdaReportDocument *document);


gda_report_document_set_root_item ()

gboolean
gda_report_document_set_root_item (GdaReportDocument *document,
                                   GdaReportItem *item);


gda_report_document_get_root_item ()

GdaReportItem *
gda_report_document_get_root_item (GdaReportDocument *document);


gda_report_document_save_file ()

gboolean
gda_report_document_save_file (const char *filename,
                               GdaReportDocument *document);

Types and Values

GdaReportDocumentPrivate

typedef struct _GdaReportDocumentPrivate GdaReportDocumentPrivate;