GdaReportDocument

## GdaReportDocument GdaReportDocument — Management of libgda's report format |

## Synopsis

    #define     GDA_REPORT_DOCUMENT             (obj)
                GdaReportDocumentPrivate;
    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` : |

### GdaReportDocumentPrivate

    typedef struct _GdaReportDocumentPrivate GdaReportDocumentPrivate;

### 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` : | 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);

`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 : |