File: fo-xsl-formatter.xml

package info (click to toggle)
xmlroff 0.6.2-1.1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 36,456 kB
  • sloc: ansic: 178,247; xml: 109,155; sh: 8,973; makefile: 1,331; perl: 30
file content (233 lines) | stat: -rw-r--r-- 13,760 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
<refentry id="xmlroff-FoXslFormatter">
<refmeta>
<refentrytitle role="top_of_page" id="xmlroff-FoXslFormatter.top_of_page">FoXslFormatter</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>XMLROFF Library</refmiscinfo>
</refmeta>

<refnamediv>
<refname>FoXslFormatter</refname>
<refpurpose></refpurpose>
<!--[<xref linkend="desc" endterm="desc.title"/>]-->
</refnamediv>

<refsynopsisdiv id="xmlroff-FoXslFormatter.synopsis" role="synopsis">
<title role="synopsis.title">Synopsis</title>

<synopsis>
#define             <link linkend="FO-XSL-FORMATTER-ERROR:CAPS">FO_XSL_FORMATTER_ERROR</link>
<link linkend="GQuark">GQuark</link>              <link linkend="fo-xsl-formatter-error-quark">fo_xsl_formatter_error_quark</link>        (void);
enum                <link linkend="FoXslFormatterError">FoXslFormatterError</link>;
                    <link linkend="FoXslFormatter">FoXslFormatter</link>;
                    <link linkend="FoXslFormatterClass">FoXslFormatterClass</link>;
<link linkend="FoXslFormatter">FoXslFormatter</link>*     <link linkend="fo-xsl-formatter-new">fo_xsl_formatter_new</link>                (void);
<link linkend="gboolean">gboolean</link>            <link linkend="fo-xsl-formatter-format">fo_xsl_formatter_format</link>             (<link linkend="FoXslFormatter">FoXslFormatter</link> *fo_xsl_formatter,
                                                         <link linkend="FoLibfoContext">FoLibfoContext</link> *libfo_context,
                                                         <link linkend="GError">GError</link> **error);
<link linkend="gboolean">gboolean</link>            <link linkend="fo-xsl-formatter-draw">fo_xsl_formatter_draw</link>               (<link linkend="FoXslFormatter">FoXslFormatter</link> *fo_xsl_formatter,
                                                         <link linkend="FoLibfoContext">FoLibfoContext</link> *libfo_context,
                                                         <link linkend="GError">GError</link> **error);
<link linkend="void">void</link>                <link linkend="fo-xsl-formatter-set-result-tree">fo_xsl_formatter_set_result_tree</link>    (<link linkend="FoXslFormatter">FoXslFormatter</link> *fo_xsl_formatter,
                                                         <link linkend="FoXmlDoc">FoXmlDoc</link> *result_tree);
<link linkend="void">void</link>                <link linkend="fo-xsl-formatter-set-fo-doc">fo_xsl_formatter_set_fo_doc</link>         (<link linkend="FoXslFormatter">FoXslFormatter</link> *fo_xsl_formatter,
                                                         <link linkend="FoDoc">FoDoc</link> *fo_doc);
<link linkend="GObject">GObject</link>*            <link linkend="fo-xsl-formatter-get-fo-tree">fo_xsl_formatter_get_fo_tree</link>        (<link linkend="FoXslFormatter">FoXslFormatter</link> *fo_xsl_formatter);
<link linkend="GObject">GObject</link>*            <link linkend="fo-xsl-formatter-get-area-tree">fo_xsl_formatter_get_area_tree</link>      (<link linkend="FoXslFormatter">FoXslFormatter</link> *fo_xsl_formatter);
</synopsis>
</refsynopsisdiv>









<refsect1 id="xmlroff-FoXslFormatter.description" role="desc">
<title role="desc.title">Description</title>
<para>

</para>
</refsect1>

<refsect1 id="xmlroff-FoXslFormatter.details" role="details">
<title role="details.title">Details</title>
<refsect2 id="FO-XSL-FORMATTER-ERROR:CAPS" role="macro">
<title>FO_XSL_FORMATTER_ERROR</title>
<indexterm zone="FO-XSL-FORMATTER-ERROR:CAPS"><primary>FO_XSL_FORMATTER_ERROR</primary></indexterm><programlisting>#define FO_XSL_FORMATTER_ERROR fo_xsl_formatter_error_quark ()
</programlisting>
<para>

</para></refsect2>
<refsect2 id="fo-xsl-formatter-error-quark" role="function">
<title>fo_xsl_formatter_error_quark ()</title>
<indexterm zone="fo-xsl-formatter-error-quark"><primary>fo_xsl_formatter_error_quark</primary></indexterm><programlisting><link linkend="GQuark">GQuark</link>              fo_xsl_formatter_error_quark        (void);</programlisting>
<para>
Get the error quark for <link linkend="FoXslFormatter"><type>FoXslFormatter</type></link>.
</para>
<para>
If the quark does not yet exist, create it.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> <link linkend="GQuark"><type>GQuark</type></link> associated with <link linkend="FoXslFormatter"><type>FoXslFormatter</type></link> errors.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="FoXslFormatterError" role="enum">
<title>enum FoXslFormatterError</title>
<indexterm zone="FoXslFormatterError"><primary>FoXslFormatterError</primary></indexterm><programlisting>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_RESULT_TREE_NOT_FO,
  FO_XSL_FORMATTER_ERROR_NO_AREA_TREE,
  FO_XSL_FORMATTER_ERROR_NO_FO_DOC,
  FO_XSL_FORMATTER_ERROR_NOT_FO_DOC,
  FO_XSL_FORMATTER_ERROR_UNKNOWN_FO	/* Unknown FO element type */
} FoXslFormatterError;
</programlisting>
<para>

</para></refsect2>
<refsect2 id="FoXslFormatter" role="struct">
<title>FoXslFormatter</title>
<indexterm zone="FoXslFormatter"><primary>FoXslFormatter</primary></indexterm><programlisting>typedef struct _FoXslFormatter FoXslFormatter;</programlisting>
<para>

</para></refsect2>
<refsect2 id="FoXslFormatterClass" role="struct">
<title>FoXslFormatterClass</title>
<indexterm zone="FoXslFormatterClass"><primary>FoXslFormatterClass</primary></indexterm><programlisting>typedef struct _FoXslFormatterClass FoXslFormatterClass;</programlisting>
<para>

</para></refsect2>
<refsect2 id="fo-xsl-formatter-new" role="function">
<title>fo_xsl_formatter_new ()</title>
<indexterm zone="fo-xsl-formatter-new"><primary>fo_xsl_formatter_new</primary></indexterm><programlisting><link linkend="FoXslFormatter">FoXslFormatter</link>*     fo_xsl_formatter_new                (void);</programlisting>
<para>
Creates a new <link linkend="FoXslFormatter"><type>FoXslFormatter</type></link> initialized to default value.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> The new <link linkend="FoXslFormatter"><type>FoXslFormatter</type></link>.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="fo-xsl-formatter-format" role="function">
<title>fo_xsl_formatter_format ()</title>
<indexterm zone="fo-xsl-formatter-format"><primary>fo_xsl_formatter_format</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link>            fo_xsl_formatter_format             (<link linkend="FoXslFormatter">FoXslFormatter</link> *fo_xsl_formatter,
                                                         <link linkend="FoLibfoContext">FoLibfoContext</link> *libfo_context,
                                                         <link linkend="GError">GError</link> **error);</programlisting>
<para>
Formats <parameter>fo_xsl_formatter</parameter>.
</para>
<para>
Outputs debug info according to debug mode set in <parameter>libfo_context</parameter>.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>fo_xsl_formatter</parameter>&nbsp;:</term>
<listitem><simpara> <link linkend="FoXslFormatter"><type>FoXslFormatter</type></link>.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>libfo_context</parameter>&nbsp;:</term>
<listitem><simpara>    <link linkend="FoLibfoContext"><type>FoLibfoContext</type></link>.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>error</parameter>&nbsp;:</term>
<listitem><simpara>            <link linkend="GError"><type>GError</type></link>.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> Success indication.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="fo-xsl-formatter-draw" role="function">
<title>fo_xsl_formatter_draw ()</title>
<indexterm zone="fo-xsl-formatter-draw"><primary>fo_xsl_formatter_draw</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link>            fo_xsl_formatter_draw               (<link linkend="FoXslFormatter">FoXslFormatter</link> *fo_xsl_formatter,
                                                         <link linkend="FoLibfoContext">FoLibfoContext</link> *libfo_context,
                                                         <link linkend="GError">GError</link> **error);</programlisting>
<para>
Formats <parameter>fo_xsl_formatter</parameter>.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>fo_xsl_formatter</parameter>&nbsp;:</term>
<listitem><simpara> <link linkend="FoXslFormatter"><type>FoXslFormatter</type></link>.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>libfo_context</parameter>&nbsp;:</term>
<listitem><simpara>    <link linkend="FoLibfoContext"><type>FoLibfoContext</type></link>.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>error</parameter>&nbsp;:</term>
<listitem><simpara>            <link linkend="GError"><type>GError</type></link>.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> Success indication.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="fo-xsl-formatter-set-result-tree" role="function">
<title>fo_xsl_formatter_set_result_tree ()</title>
<indexterm zone="fo-xsl-formatter-set-result-tree"><primary>fo_xsl_formatter_set_result_tree</primary></indexterm><programlisting><link linkend="void">void</link>                fo_xsl_formatter_set_result_tree    (<link linkend="FoXslFormatter">FoXslFormatter</link> *fo_xsl_formatter,
                                                         <link linkend="FoXmlDoc">FoXmlDoc</link> *result_tree);</programlisting>
<para>
Set the result tree in <parameter>fo_xsl_formatter</parameter>.  Voids the current FO and
area trees.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>fo_xsl_formatter</parameter>&nbsp;:</term>
<listitem><simpara> <link linkend="FoXslFormatter"><type>FoXslFormatter</type></link>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>result_tree</parameter>&nbsp;:</term>
<listitem><simpara>      Result of previous parse or transformation.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="fo-xsl-formatter-set-fo-doc" role="function">
<title>fo_xsl_formatter_set_fo_doc ()</title>
<indexterm zone="fo-xsl-formatter-set-fo-doc"><primary>fo_xsl_formatter_set_fo_doc</primary></indexterm><programlisting><link linkend="void">void</link>                fo_xsl_formatter_set_fo_doc         (<link linkend="FoXslFormatter">FoXslFormatter</link> *fo_xsl_formatter,
                                                         <link linkend="FoDoc">FoDoc</link> *fo_doc);</programlisting>
<para>
Set the <link linkend="FoDoc"><type>FoDoc</type></link> in <parameter>fo_xsl_formatter</parameter>.  Voids the current FO and area
trees.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>fo_xsl_formatter</parameter>&nbsp;:</term>
<listitem><simpara> <link linkend="FoXslFormatter"><type>FoXslFormatter</type></link>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>fo_doc</parameter>&nbsp;:</term>
<listitem><simpara>           <link linkend="FoDoc"><type>FoDoc</type></link> for use as output of formatter.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="fo-xsl-formatter-get-fo-tree" role="function">
<title>fo_xsl_formatter_get_fo_tree ()</title>
<indexterm zone="fo-xsl-formatter-get-fo-tree"><primary>fo_xsl_formatter_get_fo_tree</primary></indexterm><programlisting><link linkend="GObject">GObject</link>*            fo_xsl_formatter_get_fo_tree        (<link linkend="FoXslFormatter">FoXslFormatter</link> *fo_xsl_formatter);</programlisting>
<para>
Get the <link linkend="FoFo"><type>FoFo</type></link> tree created by <parameter>fo_xsl_formatter</parameter>.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>fo_xsl_formatter</parameter>&nbsp;:</term>
<listitem><simpara> <link linkend="FoXslFormatter"><type>FoXslFormatter</type></link>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> <link linkend="FoFo"><type>FoFo</type></link> tree created by <parameter>fo_xsl_formatter</parameter>.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="fo-xsl-formatter-get-area-tree" role="function">
<title>fo_xsl_formatter_get_area_tree ()</title>
<indexterm zone="fo-xsl-formatter-get-area-tree"><primary>fo_xsl_formatter_get_area_tree</primary></indexterm><programlisting><link linkend="GObject">GObject</link>*            fo_xsl_formatter_get_area_tree      (<link linkend="FoXslFormatter">FoXslFormatter</link> *fo_xsl_formatter);</programlisting>
<para>
Get the <link linkend="FoArea"><type>FoArea</type></link> tree created by <parameter>fo_xsl_formatter</parameter>.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>fo_xsl_formatter</parameter>&nbsp;:</term>
<listitem><simpara> <link linkend="FoXslFormatter"><type>FoXslFormatter</type></link>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> <link linkend="FoArea"><type>FoArea</type></link> tree created by <parameter>fo_xsl_formatter</parameter>.
</simpara></listitem></varlistentry>
</variablelist></refsect2>

</refsect1>




</refentry>