xmlroff Reference Manual |
---|
fo-doc —
struct FoDoc; struct FoDocClass; #define FO_DOC_ERRORGQuark fo_doc_error_quark (void); enum FoDocError; enum FoDocLineCap; enum FoDocLineJoin; FoDoc* fo_doc_new (void); FoDoc* fo_doc_new_from_type (constgchar *type); void fo_doc_open_file (FoDoc *fo_doc, constgchar *filename,GError **error); FoLayout* fo_doc_get_new_layout (FoDoc *fo_doc); constgchar * fo_doc_get_language (FoDoc *fo_doc); void fo_doc_set_language (FoDoc *fo_doc, constgchar *language);FoEnumAreaDirection fo_doc_get_base_dir (FoDoc *fo_doc); void fo_doc_set_base_dir (FoDoc *fo_doc,FoEnumAreaDirection base_dir);
GQuark fo_doc_error_quark (void);
Get the error quark for FoDoc.
If the quark does not yet exist, create it.
Returns : | Quark associated with FoDoc errors. |
typedef enum { FO_DOC_ERROR_FAILED, FO_DOC_ERROR_OPEN_FAILED, /* Cannot open output document */ FO_DOC_ERROR_LAST } FoDocError;
typedef enum { FO_DOC_LINE_CAP_INVALID, FO_DOC_LINE_CAP_BUTT, FO_DOC_LINE_CAP_ROUND, FO_DOC_LINE_CAP_SQUARE, FO_DOC_LINE_CAP_LIMIT } FoDocLineCap;
typedef enum { FO_DOC_LINE_JOIN_INVALID, FO_DOC_LINE_JOIN_MITER, FO_DOC_LINE_JOIN_ROUND, FO_DOC_LINE_JOIN_BEVEL, FO_DOC_LINE_JOIN_LIMIT } FoDocLineJoin;
void fo_doc_open_file (FoDoc *fo_doc, constgchar *filename,GError **error);
fo_doc : | |
filename : | |
error : |
FoLayout* fo_doc_get_new_layout (FoDoc *fo_doc);
Get a new FoLayout for use with fo_doc.
constgchar * fo_doc_get_language (FoDoc *fo_doc);
Get the language in fo_doc.
fo_doc : | FoDoc |
Returns : | Language of file parsed to make fo_doc. |
void fo_doc_set_language (FoDoc *fo_doc, constgchar *language);
Set the language in fo_doc.
fo_doc : | FoDoc. |
language : | Language. |
FoEnumAreaDirection fo_doc_get_base_dir (FoDoc *fo_doc);
Get the
fo_doc : | FoDoc. |
Returns : | |
<< Other Objects | FoDocGP >> |