FoInlineFoIface

FoInlineFoIface

Synopsis

#define             FO_INLINE_FO_IFACE                  (obj)
                    FoInlineFo;
                    FoInlineFoIface;
void                fo_inline_fo_get_text_attr_list     (FoFo *fo_inline_fo,
                                                         FoDoc *fo_doc,
                                                         GString *text,
                                                         GList **attr_glist,
                                                         guint debug_level);
gboolean            fo_inline_fo_is_linefeed            (const gchar *string);
gboolean            fo_inline_fo_is_non_linefeed_white_space
                                                        (const gchar *string);
gboolean            fo_inline_fo_is_white_space         (const gchar *string);

Object Hierarchy

  GInterface
   +----FoInlineFoIface

Prerequisites

FoInlineFoIface requires FoFo.

Known Implementations

FoInlineFoIface is implemented by FoInlineContainer, FoBasicLink, FoLeader, FoInstreamForeignObject, FoPageNumber, FoText, FoExternalGraphic, FoMultiToggle, FoPageNumberCitation, FoFootnote, FoInline, FoBidiOverride, FoCharacter and FoWrapperInline.

Description

Details

FO_INLINE_FO_IFACE()

#define FO_INLINE_FO_IFACE(obj)      (G_TYPE_CHECK_CLASS_CAST ((obj), FO_TYPE_INLINE_FO, FoInlineFoIface))

obj :


FoInlineFo

typedef struct _FoInlineFo FoInlineFo;


FoInlineFoIface

typedef struct _FoInlineFoIface FoInlineFoIface;


fo_inline_fo_get_text_attr_list ()

void                fo_inline_fo_get_text_attr_list     (FoFo *fo_inline_fo,
                                                         FoDoc *fo_doc,
                                                         GString *text,
                                                         GList **attr_glist,
                                                         guint debug_level);

Gets the text of the inline FO and its associated list of Pango attributes

fo_inline_fo :

The FoInlineFo object

fo_doc :

The FoDoc that will render fo_inline_fo.

text :

The text of the inline FO

attr_glist :

The list of Pango attributes for the inline FO

debug_level :

Debug level

fo_inline_fo_is_linefeed ()

gboolean            fo_inline_fo_is_linefeed            (const gchar *string);

string :

the string

Returns :

TRUE if the current character is a linefeed character, otherwise FALSE

fo_inline_fo_is_non_linefeed_white_space ()

gboolean            fo_inline_fo_is_non_linefeed_white_space
                                                        (const gchar *string);

From http://www.w3.org/TR/xml/sec-common-syn

[3] S ::= (x20 | x9 | xD | xA)+

string :

the string

Returns :

TRUE if the current character is an white space character, otherwise FALSE

fo_inline_fo_is_white_space ()

gboolean            fo_inline_fo_is_white_space         (const gchar *string);

From http://www.w3.org/TR/xml/sec-common-syn

[3] S ::= (x20 | x9 | xD | xA)+

string :

the string

Returns :

TRUE if the current character is an white space character, otherwise FALSE