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
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>column-width</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="properties.html" title="Properties">
<link rel="prev" href="xmlroff-column-number.html" title="column-number">
<link rel="next" href="xmlroff-content-height.html" title="content-height">
<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-column-number.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="properties.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-content-height.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-column-width.synopsis" class="shortcut">Top</a>
|
<a href="#xmlroff-column-width.description" class="shortcut">Description</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="xmlroff-column-width"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="xmlroff-column-width.top_of_page"></a>column-width</span></h2>
<p>column-width</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="xmlroff-column-width.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
<a class="link" href="xmlroff-column-width.html#FoPropertyColumnWidth" title="FoPropertyColumnWidth">FoPropertyColumnWidth</a>;
<a class="link" href="xmlroff-column-width.html#FoPropertyColumnWidthClass" title="FoPropertyColumnWidthClass">FoPropertyColumnWidthClass</a>;
<a class="link" href="FoProperty.html" title="FoProperty">FoProperty</a>* <a class="link" href="xmlroff-column-width.html#fo-property-column-width-new" title="fo_property_column_width_new ()">fo_property_column_width_new</a> (void);
<a class="link" href="FoProperty.html" title="FoProperty">FoProperty</a>* <a class="link" href="xmlroff-column-width.html#fo-property-column-width-get-initial" title="fo_property_column_width_get_initial ()">fo_property_column_width_get_initial</a>
(void);
<a class="link" href="FoDatatype.html" title="FoDatatype">FoDatatype</a>* <a class="link" href="xmlroff-column-width.html#fo-property-column-width-resolve-percent" title="fo_property_column_width_resolve_percent ()">fo_property_column_width_resolve_percent</a>
(<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> percentage,
const <a class="link" href="FoDatatype.html" title="FoDatatype">FoDatatype</a> *font_size,
const <a class="link" href="FoFo.html" title="FoFo">FoFo</a> *fo_node,
const <a class="link" href="FoContext.html" title="FoContext">FoContext</a> *context,
<a
href="../glib/glib-Error-Reporting.html#GError"
>GError</a> **error);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="xmlroff-column-width.description"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1" lang="en">
<a name="xmlroff-column-width.details"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="FoPropertyColumnWidth"></a><h3>FoPropertyColumnWidth</h3>
<pre class="programlisting">typedef struct _FoPropertyColumnWidth FoPropertyColumnWidth;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="FoPropertyColumnWidthClass"></a><h3>FoPropertyColumnWidthClass</h3>
<pre class="programlisting">typedef struct _FoPropertyColumnWidthClass FoPropertyColumnWidthClass;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="fo-property-column-width-new"></a><h3>fo_property_column_width_new ()</h3>
<pre class="programlisting"><a class="link" href="FoProperty.html" title="FoProperty">FoProperty</a>* fo_property_column_width_new (void);</pre>
<p>
Creates a new <a class="link" href="xmlroff-column-width.html#FoPropertyColumnWidth" title="FoPropertyColumnWidth"><span class="type">FoPropertyColumnWidth</span></a> initialized to default value.</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 new <a class="link" href="xmlroff-column-width.html#FoPropertyColumnWidth" title="FoPropertyColumnWidth"><span class="type">FoPropertyColumnWidth</span></a>
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="fo-property-column-width-get-initial"></a><h3>fo_property_column_width_get_initial ()</h3>
<pre class="programlisting"><a class="link" href="FoProperty.html" title="FoProperty">FoProperty</a>* fo_property_column_width_get_initial
(void);</pre>
<p>
Get an instance of the property with the correct initial value.</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> An instance of the property.
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="fo-property-column-width-resolve-percent"></a><h3>fo_property_column_width_resolve_percent ()</h3>
<pre class="programlisting"><a class="link" href="FoDatatype.html" title="FoDatatype">FoDatatype</a>* fo_property_column_width_resolve_percent
(<a
href="../glib/glib-Basic-Types.html#gdouble"
>gdouble</a> percentage,
const <a class="link" href="FoDatatype.html" title="FoDatatype">FoDatatype</a> *font_size,
const <a class="link" href="FoFo.html" title="FoFo">FoFo</a> *fo_node,
const <a class="link" href="FoContext.html" title="FoContext">FoContext</a> *context,
<a
href="../glib/glib-Error-Reporting.html#GError"
>GError</a> **error);</pre>
<p>
Resolves percentage values in 'column-width' property value
expressions.</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>percentage</code></em> :</span></p></td>
<td> The percentage.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>font_size</code></em> :</span></p></td>
<td> Current font-size property value.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>fo_node</code></em> :</span></p></td>
<td> Current <a class="link" href="FoFo.html" title="FoFo"><span class="type">FoFo</span></a> node.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
<td> Current <a class="link" href="FoContext.html" title="FoContext"><span class="type">FoContext</span></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
<td> <a
href="../glib/glib-Error-Reporting.html#GError"
><span class="type">GError</span></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> Resolved value for <em class="parameter"><code>percentage</code></em>.
</td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.10</div>
</body>
</html>
|