Top | ![]() |
![]() |
![]() |
![]() |
enum | FoFlagsFormat |
#define | FO_TYPE_FLAGS_FORMAT |
enum | FoEnumFontEmbed |
#define | FO_TYPE_ENUM_FONT_EMBED |
FoLibfoContextClass |
Collected information about the processing context in which to do the formatting.
This context contains parameters that are not part of the XML for the FO, e.g., whether or not to validate the input and whether or not to embed fonts in the output.
GType
fo_libfo_context_get_type (void
);
Register the FoLibfoContext type if not already registered and return its GType value.
gboolean
fo_libfo_context_get_continue_after_error
(FoLibfoContext *libfo_context
);
Get the 'continue' property of libfo_context
.
void fo_libfo_context_set_continue_after_error (FoLibfoContext *libfo_context
,gboolean continue_after_error
);
Set the 'continue' property of libfo_context
.
FoFlagsFormat
fo_libfo_context_get_format (FoLibfoContext *libfo_context
);
Get the 'format' property of libfo_context
.
void fo_libfo_context_set_format (FoLibfoContext *libfo_context
,FoFlagsFormat format
);
Set the 'format' property of libfo_context
.
If more that one flag value is set in format
, only the first
(lowest) set value will be used.
FoEnumFontEmbed
fo_libfo_context_get_font_embed (FoLibfoContext *libfo_context
);
Get the 'font-embed' property of libfo_context
.
void fo_libfo_context_set_font_embed (FoLibfoContext *libfo_context
,FoEnumFontEmbed font_embed
);
Set the 'font-embed' property of libfo_context
.
gboolean
fo_libfo_context_get_validation (FoLibfoContext *libfo_context
);
Get the 'validation' property of libfo_context
.
void fo_libfo_context_set_validation (FoLibfoContext *libfo_context
,gboolean validation
);
Set the 'validation' property of libfo_context
.
FoWarningFlag
fo_libfo_context_get_warning_mode (FoLibfoContext *libfo_context
);
Get the 'warning_mode' property of libfo_context
.
void fo_libfo_context_set_warning_mode (FoLibfoContext *libfo_context
,FoWarningFlag warning_mode
);
Set the 'warning-mode' property of libfo_context
.
FoDebugFlag
fo_libfo_context_get_debug_mode (FoLibfoContext *libfo_context
);
Get the 'debug_mode' property of libfo_context
.
void fo_libfo_context_set_debug_mode (FoLibfoContext *libfo_context
,FoDebugFlag debug_mode
);
Set the 'debug-mode' property of libfo_context
.
Output file format. Used both for specifying which format to use and to identify formats supported by a particular backend.
Which categories of fonts to embed in the output file, useful only where the output format and the backend both support control of embedding or not embedding those fonts.