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 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>FoLayout</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
<link rel="start" href="index.html" title="xmlroff Reference Manual">
<link rel="up" href="other-objects.html" title="Other Objects">
<link rel="prev" href="xmlroff-FoFontDesc.html" title="FoFontDesc">
<link rel="next" href="xmlroff-FoLayoutCairo.html" title="FoLayoutCairo">
<meta name="generator" content="GTK-Doc V1.10 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="chapter" href="users.html" title="Users' Guide">
<link rel="chapter" href="developers.html" title="Developers' Guide">
<link rel="chapter" href="object-hierarchy.html" title="Object Hierarchy">
<link rel="chapter" href="object.html" title="FoObject is wonderful">
<link rel="chapter" href="node.html" title="FoNode is wonderful">
<link rel="chapter" href="interfaces.html" title="Interfaces are truly wonderful">
<link rel="chapter" href="formatting-objects.html" title="Formatting Objects are truly wonderful">
<link rel="chapter" href="properties.html" title="Properties">
<link rel="chapter" href="areas.html" title="Area Objects">
<link rel="chapter" href="datatypes.html" title="Datatype Objects">
<link rel="chapter" href="context.html" title="Property Context Object">
<link rel="chapter" href="other-objects.html" title="Other Objects">
<link rel="chapter" href="utility-objects.html" title="Utility Objects">
<link rel="chapter" href="utility-modules.html" title="Utility Modules">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="xmlroff-FoFontDesc.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="other-objects.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">xmlroff Reference Manual</th>
<td><a accesskey="n" href="xmlroff-FoLayoutCairo.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#xmlroff-FoLayout.synopsis" class="shortcut">Top</a>
|
<a href="#xmlroff-FoLayout.description" class="shortcut">Description</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="xmlroff-FoLayout"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="xmlroff-FoLayout.top_of_page"></a>FoLayout</span></h2>
<p>FoLayout</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="xmlroff-FoLayout.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
<a class="link" href="xmlroff-FoLayout.html#FoLayout" title="FoLayout">FoLayout</a>;
<a class="link" href="xmlroff-FoLayout.html#FoLayoutClass" title="FoLayoutClass">FoLayoutClass</a>;
#define <a class="link" href="xmlroff-FoLayout.html#FO-LAYOUT-ERROR:CAPS" title="FO_LAYOUT_ERROR">FO_LAYOUT_ERROR</a>
<a
href="../glib/glib-Quarks.html#GQuark"
>GQuark</a> <a class="link" href="xmlroff-FoLayout.html#fo-layout-error-quark" title="fo_layout_error_quark ()">fo_layout_error_quark</a> (void);
enum <a class="link" href="xmlroff-FoLayout.html#FoLayoutError" title="enum FoLayoutError">FoLayoutError</a>;
<a class="link" href="xmlroff-FoLayout.html#FoRectangle" title="FoRectangle">FoRectangle</a>;
<a class="link" href="xmlroff-FoLayout.html#FoLayout" title="FoLayout">FoLayout</a>* <a class="link" href="xmlroff-FoLayout.html#fo-layout-new" title="fo_layout_new ()">fo_layout_new</a> (void);
<a class="link" href="xmlroff-FoLayout.html#FoLayout" title="FoLayout">FoLayout</a>* <a class="link" href="xmlroff-FoLayout.html#fo-layout-new-from-fo-doc" title="fo_layout_new_from_fo_doc ()">fo_layout_new_from_fo_doc</a> (<a class="link" href="xmlroff-FoDoc.html#FoDoc" title="FoDoc">FoDoc</a> *fo_doc);
<a class="link" href="xmlroff-FoLayout.html#FoLayout" title="FoLayout">FoLayout</a>* <a class="link" href="xmlroff-FoLayout.html#fo-layout-copy" title="fo_layout_copy ()">fo_layout_copy</a> (<a class="link" href="xmlroff-FoLayout.html#FoLayout" title="FoLayout">FoLayout</a> *src);
void <a class="link" href="xmlroff-FoLayout.html#fo-layout-set-attributes" title="fo_layout_set_attributes ()">fo_layout_set_attributes</a> (<a class="link" href="xmlroff-FoLayout.html#FoLayout" title="FoLayout">FoLayout</a> *fo_layout,
<a
href="../glib/glib-Doubly-Linked-Lists.html#GList"
>GList</a> *attr_glist);
void <a class="link" href="xmlroff-FoLayout.html#fo-layout-set-text" title="fo_layout_set_text ()">fo_layout_set_text</a> (<a class="link" href="xmlroff-FoLayout.html#FoLayout" title="FoLayout">FoLayout</a> *fo_layout,
<a
href="../glib/glib-Strings.html#GString"
>GString</a> *text);
void <a class="link" href="xmlroff-FoLayout.html#fo-layout-set-width" title="fo_layout_set_width ()">fo_layout_set_width</a> (<a class="link" href="xmlroff-FoLayout.html#FoLayout" title="FoLayout">FoLayout</a> *fo_layout,
<a
href="../glib/glib-Basic-Types.html#gfloat"
>gfloat</a> width);
void <a class="link" href="xmlroff-FoLayout.html#fo-layout-set-font-desc" title="fo_layout_set_font_desc ()">fo_layout_set_font_desc</a> (<a class="link" href="xmlroff-FoLayout.html#FoLayout" title="FoLayout">FoLayout</a> *fo_layout,
const <a class="link" href="xmlroff-FoFontDesc.html#FoFontDesc" title="FoFontDesc">FoFontDesc</a> *desc);
void <a class="link" href="xmlroff-FoLayout.html#fo-layout-set-alignment" title="fo_layout_set_alignment ()">fo_layout_set_alignment</a> (<a class="link" href="xmlroff-FoLayout.html#FoLayout" title="FoLayout">FoLayout</a> *fo_layout,
<a class="link" href="xmlroff-fo-utils.html#FoEnumAreaDirection" title="enum FoEnumAreaDirection">FoEnumAreaDirection</a> alignment);
void <a class="link" href="xmlroff-FoLayout.html#fo-layout-set-indent" title="fo_layout_set_indent ()">fo_layout_set_indent</a> (<a class="link" href="xmlroff-FoLayout.html#FoLayout" title="FoLayout">FoLayout</a> *fo_layout,
<a
href="../glib/glib-Basic-Types.html#gfloat"
>gfloat</a> indent);
void <a class="link" href="xmlroff-FoLayout.html#fo-layout-set-justify" title="fo_layout_set_justify ()">fo_layout_set_justify</a> (<a class="link" href="xmlroff-FoLayout.html#FoLayout" title="FoLayout">FoLayout</a> *fo_layout,
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> justify);
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> <a class="link" href="xmlroff-FoLayout.html#fo-layout-get-line-count" title="fo_layout_get_line_count ()">fo_layout_get_line_count</a> (<a class="link" href="xmlroff-FoLayout.html#FoLayout" title="FoLayout">FoLayout</a> *fo_layout);
void <a class="link" href="xmlroff-FoLayout.html#fo-layout-get-extents" title="fo_layout_get_extents ()">fo_layout_get_extents</a> (<a class="link" href="xmlroff-FoLayout.html#FoLayout" title="FoLayout">FoLayout</a> *fo_layout,
<a class="link" href="xmlroff-FoLayout.html#FoRectangle" title="FoRectangle">FoRectangle</a> *logical_rect);
void <a class="link" href="xmlroff-FoLayout.html#fo-layout-get-line-extents" title="fo_layout_get_line_extents ()">fo_layout_get_line_extents</a> (<a class="link" href="xmlroff-FoLayout.html#FoLayout" title="FoLayout">FoLayout</a> *fo_layout,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> line_index,
<a class="link" href="xmlroff-FoLayout.html#FoRectangle" title="FoRectangle">FoRectangle</a> *logical_rect);
void <a class="link" href="xmlroff-FoLayout.html#fo-layout-set-line-height" title="fo_layout_set_line_height ()">fo_layout_set_line_height</a> (<a class="link" href="xmlroff-FoLayout.html#FoLayout" title="FoLayout">FoLayout</a> *fo_layout,
<a
href="../glib/glib-Basic-Types.html#gfloat"
>gfloat</a> line_height);
void <a class="link" href="xmlroff-FoLayout.html#fo-layout-set-line-stacking-strategy" title="fo_layout_set_line_stacking_strategy ()">fo_layout_set_line_stacking_strategy</a>
(<a class="link" href="xmlroff-FoLayout.html#FoLayout" title="FoLayout">FoLayout</a> *fo_layout,
<a class="link" href="FoEnum.html#FoEnumEnum" title="enum FoEnumEnum">FoEnumEnum</a> line_stacking_strategy);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="xmlroff-FoLayout.description"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1" lang="en">
<a name="xmlroff-FoLayout.details"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="FoLayout"></a><h3>FoLayout</h3>
<pre class="programlisting">typedef struct _FoLayout FoLayout;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="FoLayoutClass"></a><h3>FoLayoutClass</h3>
<pre class="programlisting">typedef struct _FoLayoutClass FoLayoutClass;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="FO-LAYOUT-ERROR:CAPS"></a><h3>FO_LAYOUT_ERROR</h3>
<pre class="programlisting">#define FO_LAYOUT_ERROR fo_layout_error_quark ()
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="fo-layout-error-quark"></a><h3>fo_layout_error_quark ()</h3>
<pre class="programlisting"><a
href="../glib/glib-Quarks.html#GQuark"
>GQuark</a> fo_layout_error_quark (void);</pre>
<p>
Get the error quark for <a class="link" href="xmlroff-FoLayout.html#FoLayout" title="FoLayout"><span class="type">FoLayout</span></a>.
</p>
<p>
If the quark does not yet exist, create it.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> <a
href="../glib/glib-Quarks.html#GQuark"
><span class="type">GQuark</span></a> associated with <a class="link" href="xmlroff-FoLayout.html#FoLayout" title="FoLayout"><span class="type">FoLayout</span></a> errors.
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="FoLayoutError"></a><h3>enum FoLayoutError</h3>
<pre class="programlisting">typedef enum
{
FO_LAYOUT_ERROR_FAILED
} FoLayoutError;
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="FoRectangle"></a><h3>FoRectangle</h3>
<pre class="programlisting">typedef struct {
int x;
int y;
int width;
int height;
} FoRectangle;
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="fo-layout-new"></a><h3>fo_layout_new ()</h3>
<pre class="programlisting"><a class="link" href="xmlroff-FoLayout.html#FoLayout" title="FoLayout">FoLayout</a>* fo_layout_new (void);</pre>
<p>
Creates a new <a class="link" href="xmlroff-FoLayout.html#FoLayout" title="FoLayout"><span class="type">FoLayout</span></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> the newly created <a class="link" href="xmlroff-FoLayout.html#FoLayout" title="FoLayout"><span class="type">FoLayout</span></a>.
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="fo-layout-new-from-fo-doc"></a><h3>fo_layout_new_from_fo_doc ()</h3>
<pre class="programlisting"><a class="link" href="xmlroff-FoLayout.html#FoLayout" title="FoLayout">FoLayout</a>* fo_layout_new_from_fo_doc (<a class="link" href="xmlroff-FoDoc.html#FoDoc" title="FoDoc">FoDoc</a> *fo_doc);</pre>
<p>
Creates a new <a class="link" href="xmlroff-FoLayout.html#FoLayout" title="FoLayout"><span class="type">FoLayout</span></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>fo_doc</code></em> :</span></p></td>
<td> <a class="link" href="xmlroff-FoDoc.html#FoDoc" title="FoDoc"><span class="type">FoDoc</span></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> the newly created <a class="link" href="xmlroff-FoLayout.html#FoLayout" title="FoLayout"><span class="type">FoLayout</span></a>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="fo-layout-copy"></a><h3>fo_layout_copy ()</h3>
<pre class="programlisting"><a class="link" href="xmlroff-FoLayout.html#FoLayout" title="FoLayout">FoLayout</a>* fo_layout_copy (<a class="link" href="xmlroff-FoLayout.html#FoLayout" title="FoLayout">FoLayout</a> *src);</pre>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>src</code></em> :</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="fo-layout-set-attributes"></a><h3>fo_layout_set_attributes ()</h3>
<pre class="programlisting">void fo_layout_set_attributes (<a class="link" href="xmlroff-FoLayout.html#FoLayout" title="FoLayout">FoLayout</a> *fo_layout,
<a
href="../glib/glib-Doubly-Linked-Lists.html#GList"
>GList</a> *attr_glist);</pre>
<p>
Sets the attributes of <em class="parameter"><code>fo_layout</code></em> to <em class="parameter"><code>attr_glist</code></em>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>fo_layout</code></em> :</span></p></td>
<td> <a class="link" href="xmlroff-FoLayout.html#FoLayout" title="FoLayout"><span class="type">FoLayout</span></a> for which to set attributes.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>attr_glist</code></em> :</span></p></td>
<td> Attributes to apply to <em class="parameter"><code>fo_layout</code></em>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="fo-layout-set-text"></a><h3>fo_layout_set_text ()</h3>
<pre class="programlisting">void fo_layout_set_text (<a class="link" href="xmlroff-FoLayout.html#FoLayout" title="FoLayout">FoLayout</a> *fo_layout,
<a
href="../glib/glib-Strings.html#GString"
>GString</a> *text);</pre>
<p>
Sets the text of <em class="parameter"><code>fo_layout</code></em> to <em class="parameter"><code>text</code></em>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>fo_layout</code></em> :</span></p></td>
<td> <a class="link" href="xmlroff-FoLayout.html#FoLayout" title="FoLayout"><span class="type">FoLayout</span></a> for which to set text.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>text</code></em> :</span></p></td>
<td> New text of <em class="parameter"><code>fo_layout</code></em>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="fo-layout-set-width"></a><h3>fo_layout_set_width ()</h3>
<pre class="programlisting">void fo_layout_set_width (<a class="link" href="xmlroff-FoLayout.html#FoLayout" title="FoLayout">FoLayout</a> *fo_layout,
<a
href="../glib/glib-Basic-Types.html#gfloat"
>gfloat</a> width);</pre>
<p>
Sets the width of <em class="parameter"><code>fo_layout</code></em> to <em class="parameter"><code>width</code></em>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>fo_layout</code></em> :</span></p></td>
<td> <a class="link" href="xmlroff-FoLayout.html#FoLayout" title="FoLayout"><span class="type">FoLayout</span></a> for which to set width.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
<td> New width, in points, of <em class="parameter"><code>fo_layout</code></em>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="fo-layout-set-font-desc"></a><h3>fo_layout_set_font_desc ()</h3>
<pre class="programlisting">void fo_layout_set_font_desc (<a class="link" href="xmlroff-FoLayout.html#FoLayout" title="FoLayout">FoLayout</a> *fo_layout,
const <a class="link" href="xmlroff-FoFontDesc.html#FoFontDesc" title="FoFontDesc">FoFontDesc</a> *desc);</pre>
<p>
Sets the <a class="link" href="xmlroff-FoFontDesc.html#FoFontDesc" title="FoFontDesc"><span class="type">FoFontDesc</span></a> of <em class="parameter"><code>fo_layout</code></em> to <em class="parameter"><code>desc</code></em>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>fo_layout</code></em> :</span></p></td>
<td> <a class="link" href="xmlroff-FoLayout.html#FoLayout" title="FoLayout"><span class="type">FoLayout</span></a> for which to set font desc.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>desc</code></em> :</span></p></td>
<td> New <a class="link" href="xmlroff-FoFontDesc.html#FoFontDesc" title="FoFontDesc"><span class="type">FoFontDesc</span></a> of <em class="parameter"><code>fo_layout</code></em>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="fo-layout-set-alignment"></a><h3>fo_layout_set_alignment ()</h3>
<pre class="programlisting">void fo_layout_set_alignment (<a class="link" href="xmlroff-FoLayout.html#FoLayout" title="FoLayout">FoLayout</a> *fo_layout,
<a class="link" href="xmlroff-fo-utils.html#FoEnumAreaDirection" title="enum FoEnumAreaDirection">FoEnumAreaDirection</a> alignment);</pre>
<p>
Sets the alignment of <em class="parameter"><code>fo_layout</code></em>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>fo_layout</code></em> :</span></p></td>
<td> <a class="link" href="xmlroff-FoLayout.html#FoLayout" title="FoLayout"><span class="type">FoLayout</span></a> to have alignment set.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>alignment</code></em> :</span></p></td>
<td> <a class="link" href="xmlroff-fo-utils.html#FoEnumAreaDirection" title="enum FoEnumAreaDirection"><span class="type">FoEnumAreaDirection</span></a> value indicating new alignment.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="fo-layout-set-indent"></a><h3>fo_layout_set_indent ()</h3>
<pre class="programlisting">void fo_layout_set_indent (<a class="link" href="xmlroff-FoLayout.html#FoLayout" title="FoLayout">FoLayout</a> *fo_layout,
<a
href="../glib/glib-Basic-Types.html#gfloat"
>gfloat</a> indent);</pre>
<p>
Sets the indent of <em class="parameter"><code>fo_layout</code></em> to <em class="parameter"><code>indent</code></em>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>fo_layout</code></em> :</span></p></td>
<td> <a class="link" href="xmlroff-FoLayout.html#FoLayout" title="FoLayout"><span class="type">FoLayout</span></a> for which to set indent.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>indent</code></em> :</span></p></td>
<td> New indent, in points, of <em class="parameter"><code>fo_layout</code></em>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="fo-layout-set-justify"></a><h3>fo_layout_set_justify ()</h3>
<pre class="programlisting">void fo_layout_set_justify (<a class="link" href="xmlroff-FoLayout.html#FoLayout" title="FoLayout">FoLayout</a> *fo_layout,
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> justify);</pre>
<p>
Sets whether or not to justify <em class="parameter"><code>fo_layout</code></em>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>fo_layout</code></em> :</span></p></td>
<td> <a class="link" href="xmlroff-FoLayout.html#FoLayout" title="FoLayout"><span class="type">FoLayout</span></a> for which to set justify.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>justify</code></em> :</span></p></td>
<td> Sets whether or not to justify <em class="parameter"><code>fo_layout</code></em>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="fo-layout-get-line-count"></a><h3>fo_layout_get_line_count ()</h3>
<pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> fo_layout_get_line_count (<a class="link" href="xmlroff-FoLayout.html#FoLayout" title="FoLayout">FoLayout</a> *fo_layout);</pre>
<p>
Gets the number of lines in <em class="parameter"><code>fo_layout</code></em>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>fo_layout</code></em> :</span></p></td>
<td> <a class="link" href="xmlroff-FoLayout.html#FoLayout" title="FoLayout"><span class="type">FoLayout</span></a> for which to get line count.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> Number of lines in <em class="parameter"><code>fo_layout</code></em>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="fo-layout-get-extents"></a><h3>fo_layout_get_extents ()</h3>
<pre class="programlisting">void fo_layout_get_extents (<a class="link" href="xmlroff-FoLayout.html#FoLayout" title="FoLayout">FoLayout</a> *fo_layout,
<a class="link" href="xmlroff-FoLayout.html#FoRectangle" title="FoRectangle">FoRectangle</a> *logical_rect);</pre>
<p>
Gets the extents of <em class="parameter"><code>fo_layout</code></em> and puts them in <em class="parameter"><code>logical_rect</code></em>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>fo_layout</code></em> :</span></p></td>
<td> <a class="link" href="xmlroff-FoLayout.html#FoLayout" title="FoLayout"><span class="type">FoLayout</span></a> for which to get extents
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>logical_rect</code></em> :</span></p></td>
<td> <a class="link" href="xmlroff-FoLayout.html#FoRectangle" title="FoRectangle"><span class="type">FoRectangle</span></a> to hold extents
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="fo-layout-get-line-extents"></a><h3>fo_layout_get_line_extents ()</h3>
<pre class="programlisting">void fo_layout_get_line_extents (<a class="link" href="xmlroff-FoLayout.html#FoLayout" title="FoLayout">FoLayout</a> *fo_layout,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> line_index,
<a class="link" href="xmlroff-FoLayout.html#FoRectangle" title="FoRectangle">FoRectangle</a> *logical_rect);</pre>
<p>
Puts the extents of the line of <em class="parameter"><code>fo_layout</code></em> given by <em class="parameter"><code>line_index</code></em> in
<em class="parameter"><code>logical_rect</code></em>.
</p>
<p>
The first line has <em class="parameter"><code>line_index</code></em> value of 0.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>fo_layout</code></em> :</span></p></td>
<td> <a class="link" href="xmlroff-FoLayout.html#FoLayout" title="FoLayout"><span class="type">FoLayout</span></a> for which to get line extents.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>line_index</code></em> :</span></p></td>
<td> Number of line for which to get extents.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>logical_rect</code></em> :</span></p></td>
<td> Holds result.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="fo-layout-set-line-height"></a><h3>fo_layout_set_line_height ()</h3>
<pre class="programlisting">void fo_layout_set_line_height (<a class="link" href="xmlroff-FoLayout.html#FoLayout" title="FoLayout">FoLayout</a> *fo_layout,
<a
href="../glib/glib-Basic-Types.html#gfloat"
>gfloat</a> line_height);</pre>
<p>
Set the 'line-height' of <em class="parameter"><code>fo_layout</code></em> to <em class="parameter"><code>line_height</code></em>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>fo_layout</code></em> :</span></p></td>
<td> <a class="link" href="xmlroff-FoLayout.html#FoLayout" title="FoLayout"><span class="type">FoLayout</span></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>line_height</code></em> :</span></p></td>
<td> 'line-height' in points.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="fo-layout-set-line-stacking-strategy"></a><h3>fo_layout_set_line_stacking_strategy ()</h3>
<pre class="programlisting">void fo_layout_set_line_stacking_strategy
(<a class="link" href="xmlroff-FoLayout.html#FoLayout" title="FoLayout">FoLayout</a> *fo_layout,
<a class="link" href="FoEnum.html#FoEnumEnum" title="enum FoEnumEnum">FoEnumEnum</a> line_stacking_strategy);</pre>
<p>
Set the 'line-stacking-strategy' property of <em class="parameter"><code>fo_layout</code></em> to
<em class="parameter"><code>line_stacking_strategy</code></em>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>fo_layout</code></em> :</span></p></td>
<td> <a class="link" href="xmlroff-FoLayout.html#FoLayout" title="FoLayout"><span class="type">FoLayout</span></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>line_stacking_strategy</code></em> :</span></p></td>
<td> Line stacking strategy to use.
</td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.10</div>
</body>
</html>
|