![]() |
![]() |
![]() |
LibRepTool Reference Manual | |
---|---|---|---|---|
RptPrint; enum RptPrintOutputType; RptPrint* rpt_print_new_from_xml (xmlDoc *xdoc); RptPrint* rpt_print_new_from_file (const gchar *filename); void rpt_print_print (RptPrint *rpt_print); void rpt_print_set_output_filename (RptPrint *rpt_print, const gchar *output_filename); void rpt_print_set_output_type (RptPrint *rpt_print, RptPrintOutputType output_type);
"output-filename" gchararray : Read / Write "output-type" gint : Read / Write / Construct
typedef enum { RPTP_OUTPUT_PNG, RPTP_OUTPUT_PDF, RPTP_OUTPUT_PS, RPTP_OUTPUT_SVG, RPTP_OUTPUT_GTK } RptPrintOutputType;
RptPrint* rpt_print_new_from_xml (xmlDoc *xdoc);
Creates a new RptPrint object.
xdoc : |
an xmlDoc. |
Returns : | the newly created RptPrint object. |
RptPrint* rpt_print_new_from_file (const gchar *filename);
Creates a new RptPrint object.
filename : |
the path of the xml file to load. |
Returns : | the newly created RptPrint object. |
void rpt_print_set_output_filename (RptPrint *rpt_print, const gchar *output_filename);
rpt_print : |
an RptPrint object. |
output_filename : |
void rpt_print_set_output_type (RptPrint *rpt_print, RptPrintOutputType output_type);
rpt_print : |
an RptPrint object. |
output_type : |