GdaReportItemReport

## GdaReportItemReport GdaReportItemReport — |

## Synopsis

    GdaReportItem* gda_report_item_report_new   (GdaReportValid *valid);
    GdaReportItem* gda_report_item_report_new_from_dom
                                                (xmlNodePtr node);
    gboolean    gda_report_item_report_add_sqlquery
                                                (GdaReportItem *report,
                                                 GdaReportItem *sqlquery);
    GdaReportItem* gda_report_item_report_get_sqlquery
                                                (GdaReportItem *report,
                                                 const char *id);
    gboolean    gda_report_item_report_set_reportheader
                                                (GdaReportItem *report,
                                                 GdaReportItem *header);
    GdaReportItem* gda_report_item_report_get_reportheader
                                                (GdaReportItem *item);
    gboolean    gda_report_item_report_set_reportfooter
                                                (GdaReportItem *report,
                                                 GdaReportItem *footer);
    GdaReportItem* gda_report_item_report_get_reportfooter
                                                (GdaReportItem *item);
    gint        gda_report_item_report_get_pageheaderlist_length
                                                (GdaReportItem *report);
    gboolean    gda_report_item_report_add_nth_pageheader
                                                (GdaReportItem *report,
                                                 GdaReportItem *pageheader,
                                                 gint position);
    GdaReportItem* gda_report_item_report_get_nth_pageheader
                                                (GdaReportItem *report,
                                                 gint position);
    gint        gda_report_item_report_get_pagefooterlist_length
                                                (GdaReportItem *report);
    gboolean    gda_report_item_report_add_nth_pagefooter
                                                (GdaReportItem *report,
                                                 GdaReportItem *pagefooter,
                                                 gint position);
    GdaReportItem* gda_report_item_report_get_nth_pagefooter
                                                (GdaReportItem *report,
                                                 gint position);
    gboolean    gda_report_item_report_set_detail
                                                (GdaReportItem *report,
                                                 GdaReportItem *detail);
    GdaReportItem* gda_report_item_report_get_detail
                                                (GdaReportItem *item);
    GdaReportItem* gda_report_item_report_get_label_by_id
                                                (GdaReportItem *report,
                                                 const gchar *id);
    GdaReportItem* gda_report_item_report_get_repfield_by_id
                                                (GdaReportItem *report,
                                                 const gchar *id);
    gboolean    gda_report_item_report_set_reportstyle
                                                (GdaReportItem *item,
                                                 const gchar *value);
    gchar*      gda_report_item_report_get_reportstyle
                                                (GdaReportItem *item);
    gboolean    gda_report_item_report_set_pagesize
                                                (GdaReportItem *item,
                                                 const gchar *value);
    gchar*      gda_report_item_report_get_pagesize
                                                (GdaReportItem *item);
    gboolean    gda_report_item_report_set_orientation
                                                (GdaReportItem *item,
                                                 const gchar *value);
    gchar*      gda_report_item_report_get_orientation
                                                (GdaReportItem *item);
    gboolean    gda_report_item_report_set_units
                                                (GdaReportItem *item,
                                                 const gchar *value);
    gchar*      gda_report_item_report_get_units
                                                (GdaReportItem *item);
    gboolean    gda_report_item_report_set_topmargin
                                                (GdaReportItem *item,
                                                 GdaReportNumber *number);
    GdaReportNumber* gda_report_item_report_get_topmargin
                                                (GdaReportItem *item);
    gboolean    gda_report_item_report_set_bottommargin
                                                (GdaReportItem *item,
                                                 GdaReportNumber *number);
    GdaReportNumber* gda_report_item_report_get_bottommargin
                                                (GdaReportItem *item);
    gboolean    gda_report_item_report_set_leftmargin
                                                (GdaReportItem *item,
                                                 GdaReportNumber *number);
    GdaReportNumber* gda_report_item_report_get_leftmargin
                                                (GdaReportItem *item);
    gboolean    gda_report_item_report_set_rightmargin
                                                (GdaReportItem *item,
                                                 GdaReportNumber *number);
    GdaReportNumber* gda_report_item_report_get_rightmargin
                                                (GdaReportItem *item);
    gboolean    gda_report_item_report_set_bgcolor
                                                (GdaReportItem *item,
                                                 GdaReportColor *color);
    GdaReportColor* gda_report_item_report_get_bgcolor
                                                (GdaReportItem *item);
    gboolean    gda_report_item_report_set_fgcolor
                                                (GdaReportItem *item,
                                                 GdaReportColor *color);
    GdaReportColor* gda_report_item_report_get_fgcolor
                                                (GdaReportItem *item);
    gboolean    gda_report_item_report_set_bordercolor
                                                (GdaReportItem *item,
                                                 GdaReportColor *color);
    GdaReportColor* gda_report_item_report_get_bordercolor
                                                (GdaReportItem *item);
    gboolean    gda_report_item_report_set_borderwidth
                                                (GdaReportItem *item,
                                                 GdaReportNumber *number);
    GdaReportNumber* gda_report_item_report_get_borderwidth
                                                (GdaReportItem *item);
    gboolean    gda_report_item_report_set_borderstyle
                                                (GdaReportItem *item,
                                                 const gchar *value);
    gchar*      gda_report_item_report_get_borderstyle
                                                (GdaReportItem *item);
    gboolean    gda_report_item_report_set_fontfamily
                                                (GdaReportItem *item,
                                                 const gchar *value);
    gchar*      gda_report_item_report_get_fontfamily
                                                (GdaReportItem *item);
    gboolean    gda_report_item_report_set_fontsize
                                                (GdaReportItem *item,
                                                 GdaReportNumber *number);
    GdaReportNumber* gda_report_item_report_get_fontsize
                                                (GdaReportItem *item);
    gboolean    gda_report_item_report_set_fontweight
                                                (GdaReportItem *item,
                                                 const gchar *value);
    gchar*      gda_report_item_report_get_fontweight
                                                (GdaReportItem *item);
    gboolean    gda_report_item_report_set_fontitalic
                                                (GdaReportItem *item,
                                                 const gchar *value);
    gchar*      gda_report_item_report_get_fontitalic
                                                (GdaReportItem *item);
    gboolean    gda_report_item_report_set_halignment
                                                (GdaReportItem *item,
                                                 const gchar *value);
    gchar*      gda_report_item_report_get_halignment
                                                (GdaReportItem *item);
    gboolean    gda_report_item_report_set_valignment
                                                (GdaReportItem *item,
                                                 const gchar *value);
    gchar*      gda_report_item_report_get_valignment
                                                (GdaReportItem *item);
    gboolean    gda_report_item_report_set_wordwrap
                                                (GdaReportItem *item,
                                                 const gchar *value);
    gchar*      gda_report_item_report_get_wordwrap
                                                (GdaReportItem *item);
    gboolean    gda_report_item_report_set_negvaluecolor
                                                (GdaReportItem *item,
                                                 GdaReportColor *color);
    GdaReportColor* gda_report_item_report_get_negvaluecolor
                                                (GdaReportItem *item);
    gboolean    gda_report_item_report_set_dateformat
                                                (GdaReportItem *item,
                                                 const gchar *value);
    gchar*      gda_report_item_report_get_dateformat
                                                (GdaReportItem *item);
    gboolean    gda_report_item_report_set_precision
                                                (GdaReportItem *item,
                                                 GdaReportNumber *number);
    GdaReportNumber* gda_report_item_report_get_precision
                                                (GdaReportItem *item);
    gboolean    gda_report_item_report_set_currency
                                                (GdaReportItem *item,
                                                 const gchar *value);
    gchar*      gda_report_item_report_get_currency
                                                (GdaReportItem *item);
    gboolean    gda_report_item_report_set_commaseparator
                                                (GdaReportItem *item,
                                                 const gchar *value);
    gchar*      gda_report_item_report_get_commaseparator
                                                (GdaReportItem *item);
    gboolean    gda_report_item_report_set_linewidth
                                                (GdaReportItem *item,
                                                 GdaReportNumber *number);
    GdaReportNumber* gda_report_item_report_get_linewidth
                                                (GdaReportItem *item);
    gboolean    gda_report_item_report_set_linecolor
                                                (GdaReportItem *item,
                                                 GdaReportColor *color);
    GdaReportColor* gda_report_item_report_get_linecolor
                                                (GdaReportItem *item);
    gboolean    gda_report_item_report_set_linestyle
                                                (GdaReportItem *item,
                                                 const gchar *value);
    gchar*      gda_report_item_report_get_linestyle
                                                (GdaReportItem *item);

## Description

## Details

### gda_report_item_report_new ()

    GdaReportItem* gda_report_item_report_new   (GdaReportValid *valid);

`valid` : |
Returns : |

### gda_report_item_report_new_from_dom ()

    GdaReportItem* gda_report_item_report_new_from_dom
                                                (xmlNodePtr node);

`node` : |
Returns : |

### gda_report_item_report_add_sqlquery ()

    gboolean    gda_report_item_report_add_sqlquery
                                                (GdaReportItem *report,
                                                 GdaReportItem *sqlquery);

`report` : |
`sqlquery` : |
Returns : |

### gda_report_item_report_get_sqlquery ()

    GdaReportItem* gda_report_item_report_get_sqlquery
                                                (GdaReportItem *report,
                                                 const char *id);

`report` : |
`id` : |
Returns : |

### gda_report_item_report_set_reportheader ()

    gboolean    gda_report_item_report_set_reportheader
                                                (GdaReportItem *report,
                                                 GdaReportItem *header);

`report` : |
`header` : |
Returns : |

### gda_report_item_report_get_reportheader ()

    GdaReportItem* gda_report_item_report_get_reportheader
                                                (GdaReportItem *item);

`item` : |
Returns : |

### gda_report_item_report_set_reportfooter ()

    gboolean    gda_report_item_report_set_reportfooter
                                                (GdaReportItem *report,
                                                 GdaReportItem *footer);

`report` : |
`footer` : |
Returns : |

### gda_report_item_report_get_reportfooter ()

    GdaReportItem* gda_report_item_report_get_reportfooter
                                                (GdaReportItem *item);

`item` : |
Returns : |

### gda_report_item_report_get_pageheaderlist_length ()

    gint        gda_report_item_report_get_pageheaderlist_length
                                                (GdaReportItem *report);

`report` : |
Returns : |

### gda_report_item_report_add_nth_pageheader ()

    gboolean    gda_report_item_report_add_nth_pageheader
                                                (GdaReportItem *report,
                                                 GdaReportItem *pageheader,
                                                 gint position);

Sets pageheader in the nth position of the pageheaderlist of report If position is greater than the last pageheader, the last position will be assumed. If a pageheader exists in position, it will be moved to next position

`report` : | the report where to set the pageheader
`pageheader` : | the pageheader to be assigned
`position` : | the position in the pageheaderlist. first position = 0
Returns : | TRUE if all is ok, FALSE otherwise

### gda_report_item_report_get_nth_pageheader ()

    GdaReportItem* gda_report_item_report_get_nth_pageheader
                                                (GdaReportItem *report,
                                                 gint position);

`report` : |
`position` : |
Returns : |

### gda_report_item_report_get_pagefooterlist_length ()

    gint        gda_report_item_report_get_pagefooterlist_length
                                                (GdaReportItem *report);

`report` : |
Returns : |

### gda_report_item_report_add_nth_pagefooter ()

    gboolean    gda_report_item_report_add_nth_pagefooter
                                                (GdaReportItem *report,
                                                 GdaReportItem *pagefooter,
                                                 gint position);

Sets pagefooter in the nth position of the pagefooterlist of report If position is greater than the last pagefooter, the last position will be assumed. If a pagefooter exists in position, it will be moved to next position

`report` : | the report where to set the pagefooter
`pagefooter` : | the pagefooter to be assigned
`position` : | the position in the pagefooterlist. first position = 0
Returns : | TRUE if all is ok, FALSE otherwise

### gda_report_item_report_get_nth_pagefooter ()

    GdaReportItem* gda_report_item_report_get_nth_pagefooter
                                                (GdaReportItem *report,
                                                 gint position);

`report` : |
`position` : |
Returns : |

### gda_report_item_report_set_detail ()

    gboolean    gda_report_item_report_set_detail
                                                (GdaReportItem *report,
                                                 GdaReportItem *detail);

`report` : |
`detail` : |
Returns : |

### gda_report_item_report_get_detail ()

    GdaReportItem* gda_report_item_report_get_detail
                                                (GdaReportItem *item);

`item` : |
Returns : |

### gda_report_item_report_get_label_by_id ()

    GdaReportItem* gda_report_item_report_get_label_by_id
                                                (GdaReportItem *report,
                                                 const gchar *id);

`report` : |
`id` : |
Returns : |

### gda_report_item_report_get_repfield_by_id ()

    GdaReportItem* gda_report_item_report_get_repfield_by_id
                                                (GdaReportItem *report,
                                                 const gchar *id);

`report` : |
`id` : |
Returns : |

### gda_report_item_report_set_reportstyle ()

    gboolean    gda_report_item_report_set_reportstyle
                                                (GdaReportItem *item,
                                                 const gchar *value);

`item` : |
`value` : |
Returns : |

### gda_report_item_report_get_reportstyle ()

    gchar*      gda_report_item_report_get_reportstyle
                                                (GdaReportItem *item);

`item` : |
Returns : |

### gda_report_item_report_set_pagesize ()

    gboolean    gda_report_item_report_set_pagesize
                                                (GdaReportItem *item,
                                                 const gchar *value);

`item` : |
`value` : |
Returns : |

### gda_report_item_report_get_pagesize ()

    gchar*      gda_report_item_report_get_pagesize
                                                (GdaReportItem *item);

`item` : |
Returns : |

### gda_report_item_report_set_orientation ()

    gboolean    gda_report_item_report_set_orientation
                                                (GdaReportItem *item,
                                                 const gchar *value);

`item` : |
`value` : |
Returns : |

### gda_report_item_report_get_orientation ()

    gchar*      gda_report_item_report_get_orientation
                                                (GdaReportItem *item);

`item` : |
Returns : |

### gda_report_item_report_set_units ()

    gboolean    gda_report_item_report_set_units
                                                (GdaReportItem *item,
                                                 const gchar *value);

`item` : |
`value` : |
Returns : |

### gda_report_item_report_get_units ()

    gchar*      gda_report_item_report_get_units
                                                (GdaReportItem *item);

`item` : |
Returns : |

### gda_report_item_report_set_topmargin ()

    gboolean    gda_report_item_report_set_topmargin
                                                (GdaReportItem *item,
                                                 GdaReportNumber *number);

`item` : |
`number` : |
Returns : |

### gda_report_item_report_get_topmargin ()

    GdaReportNumber* gda_report_item_report_get_topmargin
                                                (GdaReportItem *item);

`item` : |
Returns : |

### gda_report_item_report_set_bottommargin ()

    gboolean    gda_report_item_report_set_bottommargin
                                                (GdaReportItem *item,
                                                 GdaReportNumber *number);

`item` : |
`number` : |
Returns : |

### gda_report_item_report_get_bottommargin ()

    GdaReportNumber* gda_report_item_report_get_bottommargin
                                                (GdaReportItem *item);

`item` : |
Returns : |

### gda_report_item_report_set_leftmargin ()

    gboolean    gda_report_item_report_set_leftmargin
                                                (GdaReportItem *item,
                                                 GdaReportNumber *number);

`item` : |
`number` : |
Returns : |

### gda_report_item_report_get_leftmargin ()

    GdaReportNumber* gda_report_item_report_get_leftmargin
                                                (GdaReportItem *item);

`item` : |
Returns : |

### gda_report_item_report_set_rightmargin ()

    gboolean    gda_report_item_report_set_rightmargin
                                                (GdaReportItem *item,
                                                 GdaReportNumber *number);

`item` : |
`number` : |
Returns : |

### gda_report_item_report_get_rightmargin ()

    GdaReportNumber* gda_report_item_report_get_rightmargin
                                                (GdaReportItem *item);

`item` : |
Returns : |

### gda_report_item_report_set_bgcolor ()

    gboolean    gda_report_item_report_set_bgcolor
                                                (GdaReportItem *item,
                                                 GdaReportColor *color);

`item` : |
`color` : |
Returns : |

### gda_report_item_report_get_bgcolor ()

    GdaReportColor* gda_report_item_report_get_bgcolor
                                                (GdaReportItem *item);

`item` : |
Returns : |

### gda_report_item_report_set_fgcolor ()

    gboolean    gda_report_item_report_set_fgcolor
                                                (GdaReportItem *item,
                                                 GdaReportColor *color);

`item` : |
`color` : |
Returns : |

### gda_report_item_report_get_fgcolor ()

    GdaReportColor* gda_report_item_report_get_fgcolor
                                                (GdaReportItem *item);

`item` : |
Returns : |

### gda_report_item_report_set_bordercolor ()

    gboolean    gda_report_item_report_set_bordercolor
                                                (GdaReportItem *item,
                                                 GdaReportColor *color);

`item` : |
`color` : |
Returns : |

### gda_report_item_report_get_bordercolor ()

    GdaReportColor* gda_report_item_report_get_bordercolor
                                                (GdaReportItem *item);

`item` : |
Returns : |

### gda_report_item_report_set_borderwidth ()

    gboolean    gda_report_item_report_set_borderwidth
                                                (GdaReportItem *item,
                                                 GdaReportNumber *number);

`item` : |
`number` : |
Returns : |

### gda_report_item_report_get_borderwidth ()

    GdaReportNumber* gda_report_item_report_get_borderwidth
                                                (GdaReportItem *item);

`item` : |
Returns : |

### gda_report_item_report_set_borderstyle ()

    gboolean    gda_report_item_report_set_borderstyle
                                                (GdaReportItem *item,
                                                 const gchar *value);

`item` : |
`value` : |
Returns : |

### gda_report_item_report_get_borderstyle ()

    gchar*      gda_report_item_report_get_borderstyle
                                                (GdaReportItem *item);

`item` : |
Returns : |

### gda_report_item_report_set_fontfamily ()

    gboolean    gda_report_item_report_set_fontfamily
                                                (GdaReportItem *item,
                                                 const gchar *value);

`item` : |
`value` : |
Returns : |

### gda_report_item_report_get_fontfamily ()

    gchar*      gda_report_item_report_get_fontfamily
                                                (GdaReportItem *item);

`item` : |
Returns : |

### gda_report_item_report_set_fontsize ()

    gboolean    gda_report_item_report_set_fontsize
                                                (GdaReportItem *item,
                                                 GdaReportNumber *number);

`item` : |
`number` : |
Returns : |

### gda_report_item_report_get_fontsize ()

    GdaReportNumber* gda_report_item_report_get_fontsize
                                                (GdaReportItem *item);

`item` : |
Returns : |

### gda_report_item_report_set_fontweight ()

    gboolean    gda_report_item_report_set_fontweight
                                                (GdaReportItem *item,
                                                 const gchar *value);

`item` : |
`value` : |
Returns : |

### gda_report_item_report_get_fontweight ()

    gchar*      gda_report_item_report_get_fontweight
                                                (GdaReportItem *item);

`item` : |
Returns : |

### gda_report_item_report_set_fontitalic ()

    gboolean    gda_report_item_report_set_fontitalic
                                                (GdaReportItem *item,
                                                 const gchar *value);

`item` : |
`value` : |
Returns : |

### gda_report_item_report_get_fontitalic ()

    gchar*      gda_report_item_report_get_fontitalic
                                                (GdaReportItem *item);

`item` : |
Returns : |

### gda_report_item_report_set_halignment ()

    gboolean    gda_report_item_report_set_halignment
                                                (GdaReportItem *item,
                                                 const gchar *value);

`item` : |
`value` : |
Returns : |

### gda_report_item_report_get_halignment ()

    gchar*      gda_report_item_report_get_halignment
                                                (GdaReportItem *item);

`item` : |
Returns : |

### gda_report_item_report_set_valignment ()

    gboolean    gda_report_item_report_set_valignment
                                                (GdaReportItem *item,
                                                 const gchar *value);

`item` : |
`value` : |
Returns : |

### gda_report_item_report_get_valignment ()

    gchar*      gda_report_item_report_get_valignment
                                                (GdaReportItem *item);

`item` : |
Returns : |

### gda_report_item_report_set_wordwrap ()

    gboolean    gda_report_item_report_set_wordwrap
                                                (GdaReportItem *item,
                                                 const gchar *value);

`item` : |
`value` : |
Returns : |

### gda_report_item_report_get_wordwrap ()

    gchar*      gda_report_item_report_get_wordwrap
                                                (GdaReportItem *item);

`item` : |
Returns : |

### gda_report_item_report_set_negvaluecolor ()

    gboolean    gda_report_item_report_set_negvaluecolor
                                                (GdaReportItem *item,
                                                 GdaReportColor *color);

`item` : |
`color` : |
Returns : |

### gda_report_item_report_get_negvaluecolor ()

    GdaReportColor* gda_report_item_report_get_negvaluecolor
                                                (GdaReportItem *item);

`item` : |
Returns : |

### gda_report_item_report_set_dateformat ()

    gboolean    gda_report_item_report_set_dateformat
                                                (GdaReportItem *item,
                                                 const gchar *value);

`item` : |
`value` : |
Returns : |

### gda_report_item_report_get_dateformat ()

    gchar*      gda_report_item_report_get_dateformat
                                                (GdaReportItem *item);

`item` : |
Returns : |

### gda_report_item_report_set_precision ()

    gboolean    gda_report_item_report_set_precision
                                                (GdaReportItem *item,
                                                 GdaReportNumber *number);

`item` : |
`number` : |
Returns : |

### gda_report_item_report_get_precision ()

    GdaReportNumber* gda_report_item_report_get_precision
                                                (GdaReportItem *item);

`item` : |
Returns : |

### gda_report_item_report_set_currency ()

    gboolean    gda_report_item_report_set_currency
                                                (GdaReportItem *item,
                                                 const gchar *value);

`item` : |
`value` : |
Returns : |

### gda_report_item_report_get_currency ()

    gchar*      gda_report_item_report_get_currency
                                                (GdaReportItem *item);

`item` : |
Returns : |

### gda_report_item_report_set_commaseparator ()

    gboolean    gda_report_item_report_set_commaseparator
                                                (GdaReportItem *item,
                                                 const gchar *value);

`item` : |
`value` : |
Returns : |

### gda_report_item_report_get_commaseparator ()

    gchar*      gda_report_item_report_get_commaseparator
                                                (GdaReportItem *item);

`item` : |
Returns : |

### gda_report_item_report_set_linewidth ()

    gboolean    gda_report_item_report_set_linewidth
                                                (GdaReportItem *item,
                                                 GdaReportNumber *number);

`item` : |
`number` : |
Returns : |

### gda_report_item_report_get_linewidth ()

    GdaReportNumber* gda_report_item_report_get_linewidth
                                                (GdaReportItem *item);

`item` : |
Returns : |

### gda_report_item_report_set_linecolor ()

    gboolean    gda_report_item_report_set_linecolor
                                                (GdaReportItem *item,
                                                 GdaReportColor *color);

`item` : |
`color` : |
Returns : |

### gda_report_item_report_get_linecolor ()

    GdaReportColor* gda_report_item_report_get_linecolor
                                                (GdaReportItem *item);

`item` : |
Returns : |

### gda_report_item_report_set_linestyle ()

    gboolean    gda_report_item_report_set_linestyle
                                                (GdaReportItem *item,
                                                 const gchar *value);

`item` : |
`value` : |
Returns : |

### gda_report_item_report_get_linestyle ()

    gchar*      gda_report_item_report_get_linestyle
                                                (GdaReportItem *item);

`item` : |
Returns : |