GdaReportDocument

Name

GdaReportDocument -- Management of libgda's report format

Synopsis



struct      GdaReportDocumentPrivate;
GdaReportDocument* gda_report_document_new  (void);
GdaReportDocument* gda_report_document_new_from_string
                                            (const gchar *xml);
GdaReportDocument* gda_report_document_new_from_uri
                                            (const gchar *uri);
GdaReportStyle gda_report_document_get_reportstyle
                                            (GdaReportDocument *document);
void        gda_report_document_set_reportstyle
                                            (GdaReportDocument *document,
                                             GdaReportStyle reportstyle);
GdaReportPageSize gda_report_document_get_pagesize
                                            (GdaReportDocument *document);
void        gda_report_document_set_pagesize
                                            (GdaReportDocument *document,
                                             GdaReportPageSize pagesize);
GdaReportOrientation gda_report_document_get_orientation
                                            (GdaReportDocument *document);
void        gda_report_document_set_orientation
                                            (GdaReportDocument *document,
                                             GdaReportOrientationorientation);
GdaReportUnits gda_report_document_get_units
                                            (GdaReportDocument *document);
void        gda_report_document_set_units   (GdaReportDocument *document,
                                             GdaReportUnits units);
gfloat      gda_report_document_get_topmargin
                                            (GdaReportDocument *document);
void        gda_report_document_set_topmargin
                                            (GdaReportDocument *document,
                                             gfloat topmargin);
gfloat      gda_report_document_get_bottommargin
                                            (GdaReportDocument *document);
void        gda_report_document_set_bottommargin
                                            (GdaReportDocument *document,
                                             gfloat bottommargin);
gfloat      gda_report_document_get_leftmargin
                                            (GdaReportDocument *document);
void        gda_report_document_set_leftmargin
                                            (GdaReportDocument *document,
                                             gfloat leftmargin);
gfloat      gda_report_document_get_rightmargin
                                            (GdaReportDocument *document);
void        gda_report_document_set_rightmargin
                                            (GdaReportDocument *document,
                                             gfloat rightmargin);
GdaReportColor* gda_report_document_get_bgcolor
                                            (GdaReportDocument *document);
void        gda_report_document_set_bgcolor (GdaReportDocument *document,
                                             GdaReportColor *bgcolor);
GdaReportColor* gda_report_document_get_fgcolor
                                            (GdaReportDocument *document);
void        gda_report_document_set_fgcolor (GdaReportDocument *document,
                                             GdaReportColor *fgcolor);
GdaReportColor* gda_report_document_get_bordercolor
                                            (GdaReportDocument *document);
void        gda_report_document_set_bordercolor
                                            (GdaReportDocument *document,
                                             GdaReportColor *bordercolor);
gfloat      gda_report_document_get_borderwidth
                                            (GdaReportDocument *document);
void        gda_report_document_set_borderwidth
                                            (GdaReportDocument *document,
                                             gfloat borderwidth);
GdaReportLineStyle gda_report_document_get_borderstyle
                                            (GdaReportDocument *document);
void        gda_report_document_set_borderstyle
                                            (GdaReportDocument *document,
                                             GdaReportLineStyleborderstyle);
gchar*      gda_report_document_get_fontfamily
                                            (GdaReportDocument *document);
void        gda_report_document_set_fontfamily
                                            (GdaReportDocument *document,
                                             gchar *fontfamily);
gint        gda_report_document_get_fontsize
                                            (GdaReportDocument *document);
void        gda_report_document_set_fontsize
                                            (GdaReportDocument *document,
                                             gint fontsize);
GdaReportFontWeight gda_report_document_get_fontweight
                                            (GdaReportDocument *document);
void        gda_report_document_set_fontweight
                                            (GdaReportDocument *document,
                                             GdaReportFontWeight fontweight);
gboolean    gda_report_document_get_fontitalic
                                            (GdaReportDocument *document);
void        gda_report_document_set_fontitalic
                                            (GdaReportDocument *document,
                                             gboolean fontitalic);
GdaReportHAlignment gda_report_document_get_halignment
                                            (GdaReportDocument *document);
void        gda_report_document_set_halignment
                                            (GdaReportDocument *document,
                                             GdaReportHAlignment alignment);
GdaReportVAlignment gda_report_document_get_valignment
                                            (GdaReportDocument *document);
void        gda_report_document_set_valignment
                                            (GdaReportDocument *document,
                                             GdaReportVAlignment alignment);
gboolean    gda_report_document_get_wordwrap
                                            (GdaReportDocument *document);
void        gda_report_document_set_wordwrap
                                            (GdaReportDocument *document,
                                             gboolean wordwrap);
GdaReportColor* gda_report_document_get_negvaluecolor
                                            (GdaReportDocument *document);
void        gda_report_document_set_negvaluecolor
                                            (GdaReportDocument *document,
                                             GdaReportColor *negvaluecolor);
gchar*      gda_report_document_get_dateformat
                                            (GdaReportDocument *document);
void        gda_report_document_set_dateformat
                                            (GdaReportDocument *document,
                                             gchar *dateformat);
gint8       gda_report_document_get_precision
                                            (GdaReportDocument *document);
void        gda_report_document_set_precision
                                            (GdaReportDocument *document,
                                             gint8 precision);
gchar*      gda_report_document_get_currency
                                            (GdaReportDocument *document);
void        gda_report_document_set_currency
                                            (GdaReportDocument *document,
                                             gchar *currency);
gboolean    gda_report_document_get_commaseparator
                                            (GdaReportDocument *document);
void        gda_report_document_set_commaseparator
                                            (GdaReportDocument *document,
                                             gboolean commaseparator);
gfloat      gda_report_document_get_linewidth
                                            (GdaReportDocument *document);
void        gda_report_document_set_linewidth
                                            (GdaReportDocument *document,
                                             gfloat linewidth);
GdaReportColor* gda_report_document_get_linecolor
                                            (GdaReportDocument *document);
void        gda_report_document_set_linecolor
                                            (GdaReportDocument *document,
                                             GdaReportColor *linecolor);
GdaReportLineStyle gda_report_document_get_linestyle
                                            (GdaReportDocument *document);
void        gda_report_document_set_linestyle
                                            (GdaReportDocument *document,
                                             GdaReportLineStyle linestyle);

Description

Details

struct GdaReportDocumentPrivate

struct GdaReportDocumentPrivate;


gda_report_document_new ()

GdaReportDocument* gda_report_document_new  (void);

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


gda_report_document_new_from_string ()

GdaReportDocument* gda_report_document_new_from_string
                                            (const gchar *xml);


gda_report_document_new_from_uri ()

GdaReportDocument* gda_report_document_new_from_uri
                                            (const gchar *uri);


gda_report_document_get_reportstyle ()

GdaReportStyle gda_report_document_get_reportstyle
                                            (GdaReportDocument *document);


gda_report_document_set_reportstyle ()

void        gda_report_document_set_reportstyle
                                            (GdaReportDocument *document,
                                             GdaReportStyle reportstyle);


gda_report_document_get_pagesize ()

GdaReportPageSize gda_report_document_get_pagesize
                                            (GdaReportDocument *document);


gda_report_document_set_pagesize ()

void        gda_report_document_set_pagesize
                                            (GdaReportDocument *document,
                                             GdaReportPageSize pagesize);


gda_report_document_get_orientation ()

GdaReportOrientation gda_report_document_get_orientation
                                            (GdaReportDocument *document);


gda_report_document_set_orientation ()

void        gda_report_document_set_orientation
                                            (GdaReportDocument *document,
                                             GdaReportOrientationorientation);


gda_report_document_get_units ()

GdaReportUnits gda_report_document_get_units
                                            (GdaReportDocument *document);


gda_report_document_set_units ()

void        gda_report_document_set_units   (GdaReportDocument *document,
                                             GdaReportUnits units);


gda_report_document_get_topmargin ()

gfloat      gda_report_document_get_topmargin
                                            (GdaReportDocument *document);


gda_report_document_set_topmargin ()

void        gda_report_document_set_topmargin
                                            (GdaReportDocument *document,
                                             gfloat topmargin);


gda_report_document_get_bottommargin ()

gfloat      gda_report_document_get_bottommargin
                                            (GdaReportDocument *document);


gda_report_document_set_bottommargin ()

void        gda_report_document_set_bottommargin
                                            (GdaReportDocument *document,
                                             gfloat bottommargin);


gda_report_document_get_leftmargin ()

gfloat      gda_report_document_get_leftmargin
                                            (GdaReportDocument *document);


gda_report_document_set_leftmargin ()

void        gda_report_document_set_leftmargin
                                            (GdaReportDocument *document,
                                             gfloat leftmargin);


gda_report_document_get_rightmargin ()

gfloat      gda_report_document_get_rightmargin
                                            (GdaReportDocument *document);


gda_report_document_set_rightmargin ()

void        gda_report_document_set_rightmargin
                                            (GdaReportDocument *document,
                                             gfloat rightmargin);


gda_report_document_get_bgcolor ()

GdaReportColor* gda_report_document_get_bgcolor
                                            (GdaReportDocument *document);


gda_report_document_set_bgcolor ()

void        gda_report_document_set_bgcolor (GdaReportDocument *document,
                                             GdaReportColor *bgcolor);


gda_report_document_get_fgcolor ()

GdaReportColor* gda_report_document_get_fgcolor
                                            (GdaReportDocument *document);


gda_report_document_set_fgcolor ()

void        gda_report_document_set_fgcolor (GdaReportDocument *document,
                                             GdaReportColor *fgcolor);


gda_report_document_get_bordercolor ()

GdaReportColor* gda_report_document_get_bordercolor
                                            (GdaReportDocument *document);


gda_report_document_set_bordercolor ()

void        gda_report_document_set_bordercolor
                                            (GdaReportDocument *document,
                                             GdaReportColor *bordercolor);


gda_report_document_get_borderwidth ()

gfloat      gda_report_document_get_borderwidth
                                            (GdaReportDocument *document);


gda_report_document_set_borderwidth ()

void        gda_report_document_set_borderwidth
                                            (GdaReportDocument *document,
                                             gfloat borderwidth);


gda_report_document_get_borderstyle ()

GdaReportLineStyle gda_report_document_get_borderstyle
                                            (GdaReportDocument *document);


gda_report_document_set_borderstyle ()

void        gda_report_document_set_borderstyle
                                            (GdaReportDocument *document,
                                             GdaReportLineStyleborderstyle);


gda_report_document_get_fontfamily ()

gchar*      gda_report_document_get_fontfamily
                                            (GdaReportDocument *document);


gda_report_document_set_fontfamily ()

void        gda_report_document_set_fontfamily
                                            (GdaReportDocument *document,
                                             gchar *fontfamily);


gda_report_document_get_fontsize ()

gint        gda_report_document_get_fontsize
                                            (GdaReportDocument *document);


gda_report_document_set_fontsize ()

void        gda_report_document_set_fontsize
                                            (GdaReportDocument *document,
                                             gint fontsize);


gda_report_document_get_fontweight ()

GdaReportFontWeight gda_report_document_get_fontweight
                                            (GdaReportDocument *document);


gda_report_document_set_fontweight ()

void        gda_report_document_set_fontweight
                                            (GdaReportDocument *document,
                                             GdaReportFontWeight fontweight);


gda_report_document_get_fontitalic ()

gboolean    gda_report_document_get_fontitalic
                                            (GdaReportDocument *document);


gda_report_document_set_fontitalic ()

void        gda_report_document_set_fontitalic
                                            (GdaReportDocument *document,
                                             gboolean fontitalic);


gda_report_document_get_halignment ()

GdaReportHAlignment gda_report_document_get_halignment
                                            (GdaReportDocument *document);


gda_report_document_set_halignment ()

void        gda_report_document_set_halignment
                                            (GdaReportDocument *document,
                                             GdaReportHAlignment alignment);


gda_report_document_get_valignment ()

GdaReportVAlignment gda_report_document_get_valignment
                                            (GdaReportDocument *document);


gda_report_document_set_valignment ()

void        gda_report_document_set_valignment
                                            (GdaReportDocument *document,
                                             GdaReportVAlignment alignment);


gda_report_document_get_wordwrap ()

gboolean    gda_report_document_get_wordwrap
                                            (GdaReportDocument *document);


gda_report_document_set_wordwrap ()

void        gda_report_document_set_wordwrap
                                            (GdaReportDocument *document,
                                             gboolean wordwrap);


gda_report_document_get_negvaluecolor ()

GdaReportColor* gda_report_document_get_negvaluecolor
                                            (GdaReportDocument *document);


gda_report_document_set_negvaluecolor ()

void        gda_report_document_set_negvaluecolor
                                            (GdaReportDocument *document,
                                             GdaReportColor *negvaluecolor);


gda_report_document_get_dateformat ()

gchar*      gda_report_document_get_dateformat
                                            (GdaReportDocument *document);


gda_report_document_set_dateformat ()

void        gda_report_document_set_dateformat
                                            (GdaReportDocument *document,
                                             gchar *dateformat);


gda_report_document_get_precision ()

gint8       gda_report_document_get_precision
                                            (GdaReportDocument *document);


gda_report_document_set_precision ()

void        gda_report_document_set_precision
                                            (GdaReportDocument *document,
                                             gint8 precision);


gda_report_document_get_currency ()

gchar*      gda_report_document_get_currency
                                            (GdaReportDocument *document);


gda_report_document_set_currency ()

void        gda_report_document_set_currency
                                            (GdaReportDocument *document,
                                             gchar *currency);


gda_report_document_get_commaseparator ()

gboolean    gda_report_document_get_commaseparator
                                            (GdaReportDocument *document);


gda_report_document_set_commaseparator ()

void        gda_report_document_set_commaseparator
                                            (GdaReportDocument *document,
                                             gboolean commaseparator);


gda_report_document_get_linewidth ()

gfloat      gda_report_document_get_linewidth
                                            (GdaReportDocument *document);


gda_report_document_set_linewidth ()

void        gda_report_document_set_linewidth
                                            (GdaReportDocument *document,
                                             gfloat linewidth);


gda_report_document_get_linecolor ()

GdaReportColor* gda_report_document_get_linecolor
                                            (GdaReportDocument *document);


gda_report_document_set_linecolor ()

void        gda_report_document_set_linecolor
                                            (GdaReportDocument *document,
                                             GdaReportColor *linecolor);


gda_report_document_get_linestyle ()

GdaReportLineStyle gda_report_document_get_linestyle
                                            (GdaReportDocument *document);


gda_report_document_set_linestyle ()

void        gda_report_document_set_linestyle
                                            (GdaReportDocument *document,
                                             GdaReportLineStyle linestyle);