GdaReportDocument

Name

GdaReportDocument -- Management of libgda's report format

Synopsis



#define     GDA_REPORT_DOCUMENT             (obj)
struct      GdaReportDocumentPrivate;
struct      GdaReportValidator;
struct      GdaReportValidatorPrivate;
GdaReportDocument* gda_report_document_new  (GdaReportValid *valid);
GdaReportDocument* gda_report_document_new_from_string
                                            (const gchar *xml,
                                             GdaReportValid *valid);
GdaReportDocument* gda_report_document_new_from_uri
                                            (const gchar *uri,
                                             GdaReportValid *valid);
xmlDocPtr   gda_report_document_to_dom      (GdaReportDocument *document);
GdaReportValid* gda_report_document_get_valid
                                            (GdaReportDocument *document);
gboolean    gda_report_document_set_root_item
                                            (GdaReportDocument *document,
                                             GdaReportItem *item);
GdaReportItem* gda_report_document_get_root_item
                                            (GdaReportDocument *document);
gboolean    gda_report_document_save_file   (const char *filename,
                                             GdaReportDocument *document);

Description

Details

GDA_REPORT_DOCUMENT()

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

obj :


struct GdaReportDocumentPrivate

struct GdaReportDocumentPrivate;


struct GdaReportValidator

struct GdaReportValidator {

	GdaReportValidatorPrivate *priv;
};


struct GdaReportValidatorPrivate

struct GdaReportValidatorPrivate;


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.

valid :

Returns :

the newly created object.


gda_report_document_new_from_string ()

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

xml :

valid :

Returns :


gda_report_document_new_from_uri ()

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

uri :

valid :

Returns :


gda_report_document_to_dom ()

xmlDocPtr   gda_report_document_to_dom      (GdaReportDocument *document);

document :

Returns :


gda_report_document_get_valid ()

GdaReportValid* gda_report_document_get_valid
                                            (GdaReportDocument *document);

document :

Returns :


gda_report_document_set_root_item ()

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

document :

item :

Returns :


gda_report_document_get_root_item ()

GdaReportItem* gda_report_document_get_root_item
                                            (GdaReportDocument *document);

document :

Returns :


gda_report_document_save_file ()

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

filename :

document :

Returns :