![]() | ![]() | ![]() | xmlroff Reference Manual | ![]() |
---|
FoXslFormatter —
#define FO_XSL_FORMATTER_ERRORGQuark fo_xsl_formatter_error_quark (void); enum FoXslFormatterError; struct FoXslFormatter; FoXslFormatter* fo_xsl_formatter_new (void); FoXslFormatter* fo_xsl_formatter_ref (FoXslFormatter *fo_xsl_formatter); void fo_xsl_formatter_unref (FoXslFormatter *fo_xsl_formatter);gboolean fo_xsl_formatter_format (FoXslFormatter *fo_xsl_formatter, FoLibfoContext *libfo_context,GError **error); void fo_xsl_formatter_set_result_tree (FoXslFormatter *fo_xsl_formatter,FoXmlDoc *result_tree); void fo_xsl_formatter_set_fo_doc (FoXslFormatter *fo_xsl_formatter, FoDoc *fo_doc);GObject * fo_xsl_formatter_get_fo_tree (FoXslFormatter *fo_xsl_formatter);GObject * fo_xsl_formatter_get_area_tree (FoXslFormatter *fo_xsl_formatter);
GQuark fo_xsl_formatter_error_quark (void);
Get the error quark for FoXslFormatter.
If the quark does not yet exist, create it.
Returns : | |
typedef enum { FO_XSL_FORMATTER_ERROR_FAILED, FO_XSL_FORMATTER_ERROR_FORMAT_FAILED, FO_XSL_FORMATTER_ERROR_PARSE_FAILED, FO_XSL_FORMATTER_ERROR_NO_RESULT_TREE, FO_XSL_FORMATTER_ERROR_NO_FO_DOC, FO_XSL_FORMATTER_ERROR_NOT_FO_DOC, FO_XSL_FORMATTER_ERROR_NO_SGML_CATALOG_FILES } FoXslFormatterError;
FoXslFormatter* fo_xsl_formatter_ref (FoXslFormatter *fo_xsl_formatter);
Make a copy of a FoXslFormatter.
fo_xsl_formatter : | a FoXslFormatter |
Returns : | a newly allocated FoXslFormatter. This value must be freed using fo_xsl_formatter_unref(). |
void fo_xsl_formatter_unref (FoXslFormatter *fo_xsl_formatter);
Unref and possibly free a FoXslFormatter.
fo_xsl_formatter : | FoXslFormatter. |
gboolean fo_xsl_formatter_format (FoXslFormatter *fo_xsl_formatter, FoLibfoContext *libfo_context,GError **error);
Formats fo_xsl_formatter.
fo_xsl_formatter : | FoXslFormatter. |
libfo_context : | FoLibfoContext. |
error : | |
Returns : | Success indication. |
void fo_xsl_formatter_set_result_tree (FoXslFormatter *fo_xsl_formatter,FoXmlDoc *result_tree);
Set the result tree in fo_xsl_formatter. Voids the current FO and area trees.
fo_xsl_formatter : | FoXslFormatter |
result_tree : | Result of previous parse or transformation. |
void fo_xsl_formatter_set_fo_doc (FoXslFormatter *fo_xsl_formatter, FoDoc *fo_doc);
Set the FoDoc in fo_xsl_formatter. Voids the current FO and area trees.
fo_xsl_formatter : | FoXslFormatter |
fo_doc : | FoDoc for use as output of formatter. |
GObject * fo_xsl_formatter_get_fo_tree (FoXslFormatter *fo_xsl_formatter);
Get the FoFo tree created by fo_xsl_formatter.
fo_xsl_formatter : | FoXslFormatter |
Returns : | FoFo tree created by fo_xsl_formatter. |
GObject * fo_xsl_formatter_get_area_tree (FoXslFormatter *fo_xsl_formatter);
Get the FoArea tree created by fo_xsl_formatter.
fo_xsl_formatter : | FoXslFormatter |
Returns : | FoArea tree created by fo_xsl_formatter. |
<< fo-doc | FoXsltTransformer >> |