FoDocPDFlib

FoDocPDFlib —

Synopsis




struct      FoDocPDFLIB;
struct      FoDocPDFLIBClass;
FoDoc*      fo_doc_pdflib_new               (void);
void        fo_doc_pdflib_set_parameter     (FoDoc *fo_doc,
                                             const gchar *key,
                                             const gchar *value);
void        fo_doc_pdflib_set_value         (FoDoc *fo_doc,
                                             const gchar *key,
                                             gfloat value);
void        fo_doc_pdflib_set_info          (FoDoc *fo_doc,
                                             const gchar *key,
                                             const gchar *value);
void        fo_doc_pdflib_open_file         (FoDoc *fo_doc,
                                             const gchar *filename,
                                             GError **error);

Description

Details

struct FoDocPDFLIB

struct FoDocPDFLIB;


struct FoDocPDFLIBClass

struct FoDocPDFLIBClass;


fo_doc_pdflib_new ()

FoDoc*      fo_doc_pdflib_new               (void);

Creates a new FoDoc.

Returns : the newly created FoDoc.

fo_doc_pdflib_set_parameter ()

void        fo_doc_pdflib_set_parameter     (FoDoc *fo_doc,
                                             const gchar *key,
                                             const gchar *value);

Set the parameter of fo_doc named key with string type to value.

fo_doc : FoDoc.
key : Name of string parameter.
value : String parameter value.

fo_doc_pdflib_set_value ()

void        fo_doc_pdflib_set_value         (FoDoc *fo_doc,
                                             const gchar *key,
                                             gfloat value);

Set the parameter of fo_doc named key with numeric type to value.

fo_doc : FoDoc.
key : Name of numeric parameter.
value : Numeric parameter value.

fo_doc_pdflib_set_info ()

void        fo_doc_pdflib_set_info          (FoDoc *fo_doc,
                                             const gchar *key,
                                             const gchar *value);

Set the document information field of fo_doc named key to value.

fo_doc : FoDoc.
key : Document information item name.
value : Document information item value.

fo_doc_pdflib_open_file ()

void        fo_doc_pdflib_open_file         (FoDoc *fo_doc,
                                             const gchar *filename,
                                             GError **error);

Open filename as the output file for fo_doc.

fo_doc : FoDoc.
filename : File to open as output.
error : GError that is set if an error occurs.