RptPrint

RptPrint — Produces the report/print.

Synopsis




                    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);

Object Hierarchy


  GObject
   +----RptPrint

Properties


  "output-filename"          gchararray            : Read / Write
  "output-type"              gint                  : Read / Write / Construct

Description

Details

RptPrint

typedef struct _RptPrint RptPrint;


enum RptPrintOutputType

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


rpt_print_new_from_xml ()

RptPrint*           rpt_print_new_from_xml              (xmlDoc *xdoc);

Creates a new RptPrint object.

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

rpt_print_new_from_file ()

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.

rpt_print_print ()

void                rpt_print_print                     (RptPrint *rpt_print);

rpt_print : an RptPrint object.

rpt_print_set_output_filename ()

void                rpt_print_set_output_filename       (RptPrint *rpt_print,
                                                         const gchar *output_filename);

rpt_print : an RptPrint object.
output_filename :

rpt_print_set_output_type ()

void                rpt_print_set_output_type           (RptPrint *rpt_print,
                                                         RptPrintOutputType output_type);

rpt_print : an RptPrint object.
output_type :

Property Details

The "output-filename" property

  "output-filename"          gchararray            : Read / Write

The output file's name.

Default value: ""


The "output-type" property

  "output-type"              gint                  : Read / Write / Construct

The output type.

Allowed values: [0,4]

Default value: 1