FoLibfoContext

FoLibfoContext —

Synopsis




enum        FoEnumFormat;
#define     FO_TYPE_ENUM_FORMAT
enum        FoEnumFontEmbed;
GType       fo_enum_font_embed_get_type     (void);
#define     FO_TYPE_ENUM_FONT_EMBED
struct      FoLibfoContextClass;
GType       fo_libfo_context_get_type       (void);
FoLibfoContext* fo_libfo_context_new        (void);
FoEnumFormat fo_libfo_context_get_format    (FoLibfoContext *libfo_context);
void        fo_libfo_context_set_format     (FoLibfoContext *libfo_context,
                                             FoEnumFormat format);
FoEnumFontEmbed fo_libfo_context_get_font_embed
                                            (FoLibfoContext *libfo_context);
void        fo_libfo_context_set_font_embed (FoLibfoContext *libfo_context,
                                             FoEnumFontEmbed font_embed);
gboolean    fo_libfo_context_get_validation (FoLibfoContext *libfo_context);
void        fo_libfo_context_set_validation (FoLibfoContext *libfo_context,
                                             gboolean validation);
gboolean    fo_libfo_context_get_sgml_catalogs
                                            (FoLibfoContext *libfo_context);
void        fo_libfo_context_set_sgml_catalogs
                                            (FoLibfoContext *libfo_context,
                                             gboolean use_sgml_catalogs);
gint        fo_libfo_context_get_warning_mode
                                            (FoLibfoContext *libfo_context);
void        fo_libfo_context_set_warning_mode
                                            (FoLibfoContext *libfo_context,
                                             FoWarningFlag warning_mode);
gint        fo_libfo_context_get_debug_mode (FoLibfoContext *libfo_context);
void        fo_libfo_context_set_debug_mode (FoLibfoContext *libfo_context,
                                             FoDebugFlag debug_mode);

Description

Details

enum FoEnumFormat

typedef enum
{
  FO_ENUM_FORMAT_UNKNOWN,
  FO_ENUM_FORMAT_PDF
} FoEnumFormat;


FO_TYPE_ENUM_FORMAT

#define     FO_TYPE_ENUM_FORMAT


enum FoEnumFontEmbed

typedef enum {
  FO_ENUM_FONT_EMBED_INVALID,
  FO_ENUM_FONT_EMBED_ALL,
  FO_ENUM_FONT_EMBED_NONBASE,
  FO_ENUM_FONT_EMBED_NONE
} FoEnumFontEmbed;


fo_enum_font_embed_get_type ()

GType       fo_enum_font_embed_get_type     (void);

Returns :

FO_TYPE_ENUM_FONT_EMBED

#define     FO_TYPE_ENUM_FONT_EMBED


struct FoLibfoContextClass

struct FoLibfoContextClass;


fo_libfo_context_get_type ()

GType       fo_libfo_context_get_type       (void);

Register the FoLibfoContext type if not already registered and return its GType value.

Returns : GType of FoLibfoContext.

fo_libfo_context_new ()

FoLibfoContext* fo_libfo_context_new        (void);

Creates a new FoLibfoContext initialized to default value.

Returns : The new FoLibfoContext.

fo_libfo_context_get_format ()

FoEnumFormat fo_libfo_context_get_format    (FoLibfoContext *libfo_context);

Get the 'format' property of libfo_context.

libfo_context : FoLibfoContext.
Returns : Value of the 'format' property of libfo_context.

fo_libfo_context_set_format ()

void        fo_libfo_context_set_format     (FoLibfoContext *libfo_context,
                                             FoEnumFormat format);

Set the 'format' property of libfo_context.

libfo_context : FoLibfoContext.
format : New 'format' value for libfo_context.

fo_libfo_context_get_font_embed ()

FoEnumFontEmbed fo_libfo_context_get_font_embed
                                            (FoLibfoContext *libfo_context);

Get the 'font-embed' property of libfo_context.

libfo_context : FoLibfoContext.
Returns : Value of the 'font-embed' property of libfo_context.

fo_libfo_context_set_font_embed ()

void        fo_libfo_context_set_font_embed (FoLibfoContext *libfo_context,
                                             FoEnumFontEmbed font_embed);

Set the 'font-embed' property of libfo_context.

libfo_context : FoLibfoContext.
font_embed : New 'font-embed' value for libfo_context.

fo_libfo_context_get_validation ()

gboolean    fo_libfo_context_get_validation (FoLibfoContext *libfo_context);

Get the 'validation' property of libfo_context.

libfo_context : FoLibfoContext.
Returns : Value of the 'validation' property of libfo_context.

fo_libfo_context_set_validation ()

void        fo_libfo_context_set_validation (FoLibfoContext *libfo_context,
                                             gboolean validation);

Set the 'validation' property of libfo_context.

libfo_context : FoLibfoContext.
validation : New 'validation' value for libfo_context.

fo_libfo_context_get_sgml_catalogs ()

gboolean    fo_libfo_context_get_sgml_catalogs
                                            (FoLibfoContext *libfo_context);

Get the 'sgml-catalogs' property of libfo_context.

libfo_context : FoLibfoContext.
Returns : Value of the 'sgml-catalogs' property of libfo_context.

fo_libfo_context_set_sgml_catalogs ()

void        fo_libfo_context_set_sgml_catalogs
                                            (FoLibfoContext *libfo_context,
                                             gboolean use_sgml_catalogs);

Set the 'sgml-catalogs' property of libfo_context.

libfo_context : FoLibfoContext.
use_sgml_catalogs : New 'sgml-catalogs' value for libfo_context.

fo_libfo_context_get_warning_mode ()

gint        fo_libfo_context_get_warning_mode
                                            (FoLibfoContext *libfo_context);

Get the 'warning_mode' property of libfo_context.

libfo_context : FoLibfoContext.
Returns : Value of the 'warning_mode' property of libfo_context.

fo_libfo_context_set_warning_mode ()

void        fo_libfo_context_set_warning_mode
                                            (FoLibfoContext *libfo_context,
                                             FoWarningFlag warning_mode);

Set the 'warning-mode' property of libfo_context.

libfo_context : FoLibfoContext.
warning_mode : New 'warning-mode' value for libfo_context.

fo_libfo_context_get_debug_mode ()

gint        fo_libfo_context_get_debug_mode (FoLibfoContext *libfo_context);

Get the 'debug_mode' property of libfo_context.

libfo_context : FoLibfoContext.
Returns : Value of the 'debug_mode' property of libfo_context.

fo_libfo_context_set_debug_mode ()

void        fo_libfo_context_set_debug_mode (FoLibfoContext *libfo_context,
                                             FoDebugFlag debug_mode);

Set the 'debug-mode' property of libfo_context.

libfo_context : FoLibfoContext.
debug_mode : New 'debug-mode' value for libfo_context.