RptPrint

RptPrint — Produces the report/print.

Synopsis




                    RptPrint;
enum                RptPrintOutputType;
RptPrint*           rpt_print_new_from_xml              (xmlDoc *xdoc,
                                                         RptPrintOutputType output_type,
                                                         const gchar *out_filename);
RptPrint*           rpt_print_new_from_file             (const gchar *filename,
                                                         RptPrintOutputType output_type,
                                                         const gchar *out_filename);

Object Hierarchy


  GObject
   +----RptPrint

Description

Details

RptPrint

typedef struct _RptPrint RptPrint;


enum RptPrintOutputType

typedef enum
{
	RPTP_OUTPUT_PNG,
	RPTP_OUTPUT_PDF,
	RPTP_OUTPUT_PS,
	RPTP_OUTPUT_SVG
} RptPrintOutputType;


rpt_print_new_from_xml ()

RptPrint*           rpt_print_new_from_xml              (xmlDoc *xdoc,
                                                         RptPrintOutputType output_type,
                                                         const gchar *out_filename);

xdoc : an xmlDoc.
output_type :
out_filename :
Returns : the newly created RptPrint object.

rpt_print_new_from_file ()

RptPrint*           rpt_print_new_from_file             (const gchar *filename,
                                                         RptPrintOutputType output_type,
                                                         const gchar *out_filename);

filename : the path of the xml file to load.
output_type :
out_filename :
Returns : the newly created RptPrint object.