![]() |
![]() |
![]() |
xmlroff Reference Manual | ![]() |
---|---|---|---|---|
FoTree; FoTreeClass; FoFo* fo_tree_new (void); void fo_tree_id_add (FoFo *tree, const gchar *id, FoFo *fo); FoFo* fo_tree_id_get (FoFo *tree, const gchar *id); void fo_tree_master_name_add (FoFo *tree, const gchar *name, FoFo *fo); FoFo* fo_tree_master_name_get (FoFo *tree, const gchar *name); void fo_tree_page_sequence_master_name_add (FoFo *tree, const gchar *name, FoFo *fo); FoFo* fo_tree_page_sequence_master_name_get (FoFo *tree, const gchar *name); FoFo* fo_tree_default_master_get (FoFo *tree);
FoTree is above FoRoot (which represents the fo:root formatting object). FoTree is used for aspects such as id-FO mapping that apply to the FO tree as a whole but are outside the definition of XSL formatting objects.
FoFo* fo_tree_new (void);
Creates a new FoTree initialized to default value.
Returns : |
the new FoTree |
void fo_tree_id_add (FoFo *tree, const gchar *id, FoFo *fo);
Adds fo
to tree
under name
.
FoFo* fo_tree_id_get (FoFo *tree, const gchar *id);
Gets the FoFo of tree
corresponding to id
.
void fo_tree_master_name_add (FoFo *tree, const gchar *name, FoFo *fo);
Adds fo
to tree
under name
.
|
FoTree to which to add a FoPageMaster. |
|
Name to use for the FoPageMaster. |
|
FoPageMaster to add. |
FoFo* fo_tree_master_name_get (FoFo *tree, const gchar *name);
Gets the FoPageMaster of tree
corresponding to name
.
|
FoTree for which to get a FoPageMaster. |
|
Name of the FoPageMaster to get. |
Returns : |
FoPageMaster matching name , or NULL.
|
void fo_tree_page_sequence_master_name_add (FoFo *tree, const gchar *name, FoFo *fo);
Adds fo
to to tree
.
|
FoTree for which to add a FoPageSequenceMaster. |
|
Name of the FoPageSequenceMaster. |
|
FoPageSequenceMaster to add. |
FoFo* fo_tree_page_sequence_master_name_get (FoFo *tree, const gchar *name);
Gets the FoPageSequenceMaster of tree
with name matching name
.
|
FoTree for which to get a named FoPageSequenceMaster. |
|
Name of the FoPageSequenceMaster. |
Returns : |
FoPageSequenceMaster corresponding to name , or NULL.
|