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 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386
|
<refentry id="xmlroff-FoLibfoContext">
<refmeta>
<refentrytitle role="top_of_page" id="xmlroff-FoLibfoContext.top_of_page">FoLibfoContext</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>XMLROFF Library</refmiscinfo>
</refmeta>
<refnamediv>
<refname>FoLibfoContext</refname>
<refpurpose>Collected information about the processing context</refpurpose>
<!--[<xref linkend="desc" endterm="desc.title"/>]-->
</refnamediv>
<refsynopsisdiv id="xmlroff-FoLibfoContext.synopsis" role="synopsis">
<title role="synopsis.title">Synopsis</title>
<synopsis>
enum <link linkend="FoFlagsFormat">FoFlagsFormat</link>;
#define <link linkend="FO-TYPE-FLAGS-FORMAT:CAPS">FO_TYPE_FLAGS_FORMAT</link>
enum <link linkend="FoEnumFontEmbed">FoEnumFontEmbed</link>;
<link linkend="GType">GType</link> <link linkend="fo-enum-font-embed-get-type">fo_enum_font_embed_get_type</link> (void);
#define <link linkend="FO-TYPE-ENUM-FONT-EMBED:CAPS">FO_TYPE_ENUM_FONT_EMBED</link>
<link linkend="FoLibfoContextClass">FoLibfoContextClass</link>;
<link linkend="GType">GType</link> <link linkend="fo-libfo-context-get-type">fo_libfo_context_get_type</link> (void);
<link linkend="gboolean">gboolean</link> <link linkend="fo-libfo-context-get-continue-after-error">fo_libfo_context_get_continue_after_error</link>
(<link linkend="FoLibfoContext">FoLibfoContext</link> *libfo_context);
<link linkend="void">void</link> <link linkend="fo-libfo-context-set-continue-after-error">fo_libfo_context_set_continue_after_error</link>
(<link linkend="FoLibfoContext">FoLibfoContext</link> *libfo_context,
<link linkend="gboolean">gboolean</link> continue_after_error);
<link linkend="FoFlagsFormat">FoFlagsFormat</link> <link linkend="fo-libfo-context-get-format">fo_libfo_context_get_format</link> (<link linkend="FoLibfoContext">FoLibfoContext</link> *libfo_context);
<link linkend="void">void</link> <link linkend="fo-libfo-context-set-format">fo_libfo_context_set_format</link> (<link linkend="FoLibfoContext">FoLibfoContext</link> *libfo_context,
<link linkend="FoFlagsFormat">FoFlagsFormat</link> format);
<link linkend="FoEnumFontEmbed">FoEnumFontEmbed</link> <link linkend="fo-libfo-context-get-font-embed">fo_libfo_context_get_font_embed</link> (<link linkend="FoLibfoContext">FoLibfoContext</link> *libfo_context);
<link linkend="void">void</link> <link linkend="fo-libfo-context-set-font-embed">fo_libfo_context_set_font_embed</link> (<link linkend="FoLibfoContext">FoLibfoContext</link> *libfo_context,
<link linkend="FoEnumFontEmbed">FoEnumFontEmbed</link> font_embed);
<link linkend="gboolean">gboolean</link> <link linkend="fo-libfo-context-get-validation">fo_libfo_context_get_validation</link> (<link linkend="FoLibfoContext">FoLibfoContext</link> *libfo_context);
<link linkend="void">void</link> <link linkend="fo-libfo-context-set-validation">fo_libfo_context_set_validation</link> (<link linkend="FoLibfoContext">FoLibfoContext</link> *libfo_context,
<link linkend="gboolean">gboolean</link> validation);
<link linkend="FoWarningFlag">FoWarningFlag</link> <link linkend="fo-libfo-context-get-warning-mode">fo_libfo_context_get_warning_mode</link> (<link linkend="FoLibfoContext">FoLibfoContext</link> *libfo_context);
<link linkend="void">void</link> <link linkend="fo-libfo-context-set-warning-mode">fo_libfo_context_set_warning_mode</link> (<link linkend="FoLibfoContext">FoLibfoContext</link> *libfo_context,
<link linkend="FoWarningFlag">FoWarningFlag</link> warning_mode);
<link linkend="FoDebugFlag">FoDebugFlag</link> <link linkend="fo-libfo-context-get-debug-mode">fo_libfo_context_get_debug_mode</link> (<link linkend="FoLibfoContext">FoLibfoContext</link> *libfo_context);
<link linkend="void">void</link> <link linkend="fo-libfo-context-set-debug-mode">fo_libfo_context_set_debug_mode</link> (<link linkend="FoLibfoContext">FoLibfoContext</link> *libfo_context,
<link linkend="FoDebugFlag">FoDebugFlag</link> debug_mode);
</synopsis>
</refsynopsisdiv>
<refsect1 id="xmlroff-FoLibfoContext.description" role="desc">
<title role="desc.title">Description</title>
<para>
Collected information about the processing context in which to do the formatting.
</para>
<para>
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.</para>
<para>
</para>
</refsect1>
<refsect1 id="xmlroff-FoLibfoContext.details" role="details">
<title role="details.title">Details</title>
<refsect2 id="FoFlagsFormat" role="enum">
<title>enum FoFlagsFormat</title>
<indexterm zone="FoFlagsFormat"><primary>FoFlagsFormat</primary></indexterm><programlisting>typedef enum {
FO_FLAG_FORMAT_UNKNOWN = 0,
FO_FLAG_FORMAT_AUTO = 1 << 0,
FO_FLAG_FORMAT_PDF = 1 << 1,
FO_FLAG_FORMAT_POSTSCRIPT = 1 << 2,
FO_FLAG_FORMAT_SVG = 1 << 3
} FoFlagsFormat;
</programlisting>
<para>
Output file format. Used both for specifying which format to use
and to identify formats supported by a particular backend.</para>
<para>
</para><variablelist role="enum">
<varlistentry id="FO-FLAG-FORMAT-UNKNOWN:CAPS" role="constant">
<term><literal>FO_FLAG_FORMAT_UNKNOWN</literal></term>
<listitem><simpara> Invalid format
</simpara></listitem>
</varlistentry>
<varlistentry id="FO-FLAG-FORMAT-AUTO:CAPS" role="constant">
<term><literal>FO_FLAG_FORMAT_AUTO</literal></term>
<listitem><simpara> Choose based on output file name or other heuristic
</simpara></listitem>
</varlistentry>
<varlistentry id="FO-FLAG-FORMAT-PDF:CAPS" role="constant">
<term><literal>FO_FLAG_FORMAT_PDF</literal></term>
<listitem><simpara> PDF
</simpara></listitem>
</varlistentry>
<varlistentry id="FO-FLAG-FORMAT-POSTSCRIPT:CAPS" role="constant">
<term><literal>FO_FLAG_FORMAT_POSTSCRIPT</literal></term>
<listitem><simpara> PostScript
</simpara></listitem>
</varlistentry>
<varlistentry id="FO-FLAG-FORMAT-SVG:CAPS" role="constant">
<term><literal>FO_FLAG_FORMAT_SVG</literal></term>
<listitem><simpara> SVG
</simpara></listitem>
</varlistentry>
</variablelist></refsect2>
<refsect2 id="FO-TYPE-FLAGS-FORMAT:CAPS" role="macro">
<title>FO_TYPE_FLAGS_FORMAT</title>
<indexterm zone="FO-TYPE-FLAGS-FORMAT:CAPS"><primary>FO_TYPE_FLAGS_FORMAT</primary></indexterm><programlisting>#define FO_TYPE_FLAGS_FORMAT fo_flags_format_get_type ()
</programlisting>
<para>
</para></refsect2>
<refsect2 id="FoEnumFontEmbed" role="enum">
<title>enum FoEnumFontEmbed</title>
<indexterm zone="FoEnumFontEmbed"><primary>FoEnumFontEmbed</primary></indexterm><programlisting>typedef enum {
FO_ENUM_FONT_EMBED_INVALID,
FO_ENUM_FONT_EMBED_ALL,
FO_ENUM_FONT_EMBED_NONBASE,
FO_ENUM_FONT_EMBED_NONE
} FoEnumFontEmbed;
</programlisting>
<para>
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.</para>
<para>
</para><variablelist role="enum">
<varlistentry id="FO-ENUM-FONT-EMBED-INVALID:CAPS" role="constant">
<term><literal>FO_ENUM_FONT_EMBED_INVALID</literal></term>
<listitem><simpara> Invalid category
</simpara></listitem>
</varlistentry>
<varlistentry id="FO-ENUM-FONT-EMBED-ALL:CAPS" role="constant">
<term><literal>FO_ENUM_FONT_EMBED_ALL</literal></term>
<listitem><simpara> Embed all fonts
</simpara></listitem>
</varlistentry>
<varlistentry id="FO-ENUM-FONT-EMBED-NONBASE:CAPS" role="constant">
<term><literal>FO_ENUM_FONT_EMBED_NONBASE</literal></term>
<listitem><simpara> Embed all fonts except the PostScript base fonts
</simpara></listitem>
</varlistentry>
<varlistentry id="FO-ENUM-FONT-EMBED-NONE:CAPS" role="constant">
<term><literal>FO_ENUM_FONT_EMBED_NONE</literal></term>
<listitem><simpara> Do not embed any fonts
</simpara></listitem>
</varlistentry>
</variablelist></refsect2>
<refsect2 id="fo-enum-font-embed-get-type" role="function">
<title>fo_enum_font_embed_get_type ()</title>
<indexterm zone="fo-enum-font-embed-get-type"><primary>fo_enum_font_embed_get_type</primary></indexterm><programlisting><link linkend="GType">GType</link> fo_enum_font_embed_get_type (void);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="FO-TYPE-ENUM-FONT-EMBED:CAPS" role="macro">
<title>FO_TYPE_ENUM_FONT_EMBED</title>
<indexterm zone="FO-TYPE-ENUM-FONT-EMBED:CAPS"><primary>FO_TYPE_ENUM_FONT_EMBED</primary></indexterm><programlisting>#define FO_TYPE_ENUM_FONT_EMBED fo_enum_font_embed_get_type ()
</programlisting>
<para>
</para></refsect2>
<refsect2 id="FoLibfoContextClass" role="struct">
<title>FoLibfoContextClass</title>
<indexterm zone="FoLibfoContextClass"><primary>FoLibfoContextClass</primary></indexterm><programlisting>typedef struct _FoLibfoContextClass FoLibfoContextClass;</programlisting>
<para>
</para></refsect2>
<refsect2 id="fo-libfo-context-get-type" role="function">
<title>fo_libfo_context_get_type ()</title>
<indexterm zone="fo-libfo-context-get-type"><primary>fo_libfo_context_get_type</primary></indexterm><programlisting><link linkend="GType">GType</link> fo_libfo_context_get_type (void);</programlisting>
<para>
Register the <link linkend="FoLibfoContext"><type>FoLibfoContext</type></link> type if not already registered and
return its <link linkend="GType"><type>GType</type></link> value.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara> <link linkend="GType"><type>GType</type></link> of <link linkend="FoLibfoContext"><type>FoLibfoContext</type></link>.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="fo-libfo-context-get-continue-after-error" role="function">
<title>fo_libfo_context_get_continue_after_error ()</title>
<indexterm zone="fo-libfo-context-get-continue-after-error"><primary>fo_libfo_context_get_continue_after_error</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link> fo_libfo_context_get_continue_after_error
(<link linkend="FoLibfoContext">FoLibfoContext</link> *libfo_context);</programlisting>
<para>
Get the 'continue' property of <parameter>libfo_context</parameter>.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>libfo_context</parameter> :</term>
<listitem><simpara> <link linkend="FoLibfoContext"><type>FoLibfoContext</type></link>.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara> Value of the 'continue' property of <parameter>libfo_context</parameter>.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="fo-libfo-context-set-continue-after-error" role="function">
<title>fo_libfo_context_set_continue_after_error ()</title>
<indexterm zone="fo-libfo-context-set-continue-after-error"><primary>fo_libfo_context_set_continue_after_error</primary></indexterm><programlisting><link linkend="void">void</link> fo_libfo_context_set_continue_after_error
(<link linkend="FoLibfoContext">FoLibfoContext</link> *libfo_context,
<link linkend="gboolean">gboolean</link> continue_after_error);</programlisting>
<para>
Set the 'continue' property of <parameter>libfo_context</parameter>.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>libfo_context</parameter> :</term>
<listitem><simpara> <link linkend="FoLibfoContext"><type>FoLibfoContext</type></link>.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>continue_after_error</parameter> :</term>
<listitem><simpara> New 'continue' value for <parameter>libfo_context</parameter>.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="fo-libfo-context-get-format" role="function">
<title>fo_libfo_context_get_format ()</title>
<indexterm zone="fo-libfo-context-get-format"><primary>fo_libfo_context_get_format</primary></indexterm><programlisting><link linkend="FoFlagsFormat">FoFlagsFormat</link> fo_libfo_context_get_format (<link linkend="FoLibfoContext">FoLibfoContext</link> *libfo_context);</programlisting>
<para>
Get the 'format' property of <parameter>libfo_context</parameter>.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>libfo_context</parameter> :</term>
<listitem><simpara> <link linkend="FoLibfoContext"><type>FoLibfoContext</type></link>.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara> Value of the 'format' property of <parameter>libfo_context</parameter>.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="fo-libfo-context-set-format" role="function">
<title>fo_libfo_context_set_format ()</title>
<indexterm zone="fo-libfo-context-set-format"><primary>fo_libfo_context_set_format</primary></indexterm><programlisting><link linkend="void">void</link> fo_libfo_context_set_format (<link linkend="FoLibfoContext">FoLibfoContext</link> *libfo_context,
<link linkend="FoFlagsFormat">FoFlagsFormat</link> format);</programlisting>
<para>
Set the 'format' property of <parameter>libfo_context</parameter>.
</para>
<para>
If more that one flag value is set in <parameter>format</parameter>, only the first
(lowest) set value will be used.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>libfo_context</parameter> :</term>
<listitem><simpara> <link linkend="FoLibfoContext"><type>FoLibfoContext</type></link>.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>format</parameter> :</term>
<listitem><simpara> New 'format' value for <parameter>libfo_context</parameter>.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="fo-libfo-context-get-font-embed" role="function">
<title>fo_libfo_context_get_font_embed ()</title>
<indexterm zone="fo-libfo-context-get-font-embed"><primary>fo_libfo_context_get_font_embed</primary></indexterm><programlisting><link linkend="FoEnumFontEmbed">FoEnumFontEmbed</link> fo_libfo_context_get_font_embed (<link linkend="FoLibfoContext">FoLibfoContext</link> *libfo_context);</programlisting>
<para>
Get the 'font-embed' property of <parameter>libfo_context</parameter>.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>libfo_context</parameter> :</term>
<listitem><simpara> <link linkend="FoLibfoContext"><type>FoLibfoContext</type></link>.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara> Value of the 'font-embed' property of <parameter>libfo_context</parameter>.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="fo-libfo-context-set-font-embed" role="function">
<title>fo_libfo_context_set_font_embed ()</title>
<indexterm zone="fo-libfo-context-set-font-embed"><primary>fo_libfo_context_set_font_embed</primary></indexterm><programlisting><link linkend="void">void</link> fo_libfo_context_set_font_embed (<link linkend="FoLibfoContext">FoLibfoContext</link> *libfo_context,
<link linkend="FoEnumFontEmbed">FoEnumFontEmbed</link> font_embed);</programlisting>
<para>
Set the 'font-embed' property of <parameter>libfo_context</parameter>.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>libfo_context</parameter> :</term>
<listitem><simpara> <link linkend="FoLibfoContext"><type>FoLibfoContext</type></link>.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>font_embed</parameter> :</term>
<listitem><simpara> New 'font-embed' value for <parameter>libfo_context</parameter>.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="fo-libfo-context-get-validation" role="function">
<title>fo_libfo_context_get_validation ()</title>
<indexterm zone="fo-libfo-context-get-validation"><primary>fo_libfo_context_get_validation</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link> fo_libfo_context_get_validation (<link linkend="FoLibfoContext">FoLibfoContext</link> *libfo_context);</programlisting>
<para>
Get the 'validation' property of <parameter>libfo_context</parameter>.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>libfo_context</parameter> :</term>
<listitem><simpara> <link linkend="FoLibfoContext"><type>FoLibfoContext</type></link>.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara> Value of the 'validation' property of <parameter>libfo_context</parameter>.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="fo-libfo-context-set-validation" role="function">
<title>fo_libfo_context_set_validation ()</title>
<indexterm zone="fo-libfo-context-set-validation"><primary>fo_libfo_context_set_validation</primary></indexterm><programlisting><link linkend="void">void</link> fo_libfo_context_set_validation (<link linkend="FoLibfoContext">FoLibfoContext</link> *libfo_context,
<link linkend="gboolean">gboolean</link> validation);</programlisting>
<para>
Set the 'validation' property of <parameter>libfo_context</parameter>.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>libfo_context</parameter> :</term>
<listitem><simpara> <link linkend="FoLibfoContext"><type>FoLibfoContext</type></link>.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>validation</parameter> :</term>
<listitem><simpara> New 'validation' value for <parameter>libfo_context</parameter>.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="fo-libfo-context-get-warning-mode" role="function">
<title>fo_libfo_context_get_warning_mode ()</title>
<indexterm zone="fo-libfo-context-get-warning-mode"><primary>fo_libfo_context_get_warning_mode</primary></indexterm><programlisting><link linkend="FoWarningFlag">FoWarningFlag</link> fo_libfo_context_get_warning_mode (<link linkend="FoLibfoContext">FoLibfoContext</link> *libfo_context);</programlisting>
<para>
Get the 'warning_mode' property of <parameter>libfo_context</parameter>.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>libfo_context</parameter> :</term>
<listitem><simpara> <link linkend="FoLibfoContext"><type>FoLibfoContext</type></link>.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara> Value of the 'warning_mode' property of <parameter>libfo_context</parameter>.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="fo-libfo-context-set-warning-mode" role="function">
<title>fo_libfo_context_set_warning_mode ()</title>
<indexterm zone="fo-libfo-context-set-warning-mode"><primary>fo_libfo_context_set_warning_mode</primary></indexterm><programlisting><link linkend="void">void</link> fo_libfo_context_set_warning_mode (<link linkend="FoLibfoContext">FoLibfoContext</link> *libfo_context,
<link linkend="FoWarningFlag">FoWarningFlag</link> warning_mode);</programlisting>
<para>
Set the 'warning-mode' property of <parameter>libfo_context</parameter>.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>libfo_context</parameter> :</term>
<listitem><simpara> <link linkend="FoLibfoContext"><type>FoLibfoContext</type></link>.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>warning_mode</parameter> :</term>
<listitem><simpara> New 'warning-mode' value for <parameter>libfo_context</parameter>.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="fo-libfo-context-get-debug-mode" role="function">
<title>fo_libfo_context_get_debug_mode ()</title>
<indexterm zone="fo-libfo-context-get-debug-mode"><primary>fo_libfo_context_get_debug_mode</primary></indexterm><programlisting><link linkend="FoDebugFlag">FoDebugFlag</link> fo_libfo_context_get_debug_mode (<link linkend="FoLibfoContext">FoLibfoContext</link> *libfo_context);</programlisting>
<para>
Get the 'debug_mode' property of <parameter>libfo_context</parameter>.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>libfo_context</parameter> :</term>
<listitem><simpara> <link linkend="FoLibfoContext"><type>FoLibfoContext</type></link>.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara> Value of the 'debug_mode' property of <parameter>libfo_context</parameter>.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="fo-libfo-context-set-debug-mode" role="function">
<title>fo_libfo_context_set_debug_mode ()</title>
<indexterm zone="fo-libfo-context-set-debug-mode"><primary>fo_libfo_context_set_debug_mode</primary></indexterm><programlisting><link linkend="void">void</link> fo_libfo_context_set_debug_mode (<link linkend="FoLibfoContext">FoLibfoContext</link> *libfo_context,
<link linkend="FoDebugFlag">FoDebugFlag</link> debug_mode);</programlisting>
<para>
Set the 'debug-mode' property of <parameter>libfo_context</parameter>.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>libfo_context</parameter> :</term>
<listitem><simpara> <link linkend="FoLibfoContext"><type>FoLibfoContext</type></link>.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>debug_mode</parameter> :</term>
<listitem><simpara> New 'debug-mode' value for <parameter>libfo_context</parameter>.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
</refsect1>
</refentry>
|