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
|
<refentry id="FoLengthRange">
<refmeta>
<refentrytitle role="top_of_page" id="FoLengthRange.top_of_page">FoLengthRange</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>XMLROFF Library</refmiscinfo>
</refmeta>
<refnamediv>
<refname>FoLengthRange</refname>
<refpurpose></refpurpose>
<!--[<xref linkend="desc" endterm="desc.title"/>]-->
</refnamediv>
<refsynopsisdiv id="FoLengthRange.synopsis" role="synopsis">
<title role="synopsis.title">Synopsis</title>
<synopsis>
#define <link linkend="FO-LENGTH-RANGE:CAPS">FO_LENGTH_RANGE</link> (object)
<link linkend="FoLengthRange-struct">FoLengthRange</link>;
<link linkend="FoLengthRangeClass">FoLengthRangeClass</link>;
<link linkend="GType">GType</link> <link linkend="fo-length-range-get-type">fo_length_range_get_type</link> (void);
<link linkend="FoDatatype">FoDatatype</link>* <link linkend="fo-length-range-new-auto">fo_length_range_new_auto</link> (void);
<link linkend="FoDatatype">FoDatatype</link>* <link linkend="fo-length-range-new-with-value">fo_length_range_new_with_value</link> (<link linkend="FoDatatype">FoDatatype</link> *datatype);
<link linkend="FoDatatype">FoDatatype</link>* <link linkend="fo-length-range-get-minimum">fo_length_range_get_minimum</link> (<link linkend="FoDatatype">FoDatatype</link> *datatype);
<link linkend="FoDatatype">FoDatatype</link>* <link linkend="fo-length-range-get-optimum">fo_length_range_get_optimum</link> (<link linkend="FoDatatype">FoDatatype</link> *datatype);
<link linkend="FoDatatype">FoDatatype</link>* <link linkend="fo-length-range-get-maximum">fo_length_range_get_maximum</link> (<link linkend="FoDatatype">FoDatatype</link> *datatype);
<link linkend="FoDatatype">FoDatatype</link>* <link linkend="fo-length-range-resolve">fo_length_range_resolve</link> (<link linkend="FoDatatype">FoDatatype</link> *shortform,
<link linkend="FoDatatype">FoDatatype</link> *minimum,
<link linkend="FoDatatype">FoDatatype</link> *optimum,
<link linkend="FoDatatype">FoDatatype</link> *maximum,
<link linkend="gfloat">gfloat</link> hundred_percent,
<link linkend="GError">GError</link> **error);
<link linkend="FoDatatype">FoDatatype</link>* <link linkend="fo-length-range-resolve-allow-auto">fo_length_range_resolve_allow_auto</link> (<link linkend="FoDatatype">FoDatatype</link> *shortform,
<link linkend="FoDatatype">FoDatatype</link> *minimum,
<link linkend="FoDatatype">FoDatatype</link> *optimum,
<link linkend="FoDatatype">FoDatatype</link> *maximum,
<link linkend="gfloat">gfloat</link> hundred_percent,
<link linkend="GError">GError</link> **error);
<link linkend="FoDatatype">FoDatatype</link>* <link linkend="fo-length-range-get-length-range-hundred-percent">fo_length_range_get_length_range_hundred_percent</link>
(void);
</synopsis>
</refsynopsisdiv>
<refsect1 id="FoLengthRange.object-hierarchy" role="object_hierarchy">
<title role="object_hierarchy.title">Object Hierarchy</title>
<synopsis>
<link linkend="GObject">GObject</link>
+----<link linkend="FoObject">FoObject</link>
+----<link linkend="FoDatatype">FoDatatype</link>
+----FoLengthRange
</synopsis>
</refsect1>
<refsect1 id="FoLengthRange.properties" role="properties">
<title role="properties.title">Properties</title>
<synopsis>
"<link linkend="FoLengthRange--maximum">maximum</link>" <link linkend="FoDatatype">FoDatatype</link>* : Read / Write / Construct Only
"<link linkend="FoLengthRange--minimum">minimum</link>" <link linkend="FoDatatype">FoDatatype</link>* : Read / Write / Construct Only
"<link linkend="FoLengthRange--optimum">optimum</link>" <link linkend="FoDatatype">FoDatatype</link>* : Read / Write / Construct Only
</synopsis>
</refsect1>
<refsect1 id="FoLengthRange.description" role="desc">
<title role="desc.title">Description</title>
<para>
</para>
</refsect1>
<refsect1 id="FoLengthRange.details" role="details">
<title role="details.title">Details</title>
<refsect2 id="FO-LENGTH-RANGE:CAPS" role="macro">
<title>FO_LENGTH_RANGE()</title>
<indexterm zone="FO-LENGTH-RANGE:CAPS"><primary>FO_LENGTH_RANGE</primary></indexterm><programlisting>#define FO_LENGTH_RANGE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_LENGTH_RANGE, FoLengthRange))
</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>object</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="FoLengthRange-struct" role="struct">
<title>FoLengthRange</title>
<indexterm zone="FoLengthRange-struct"><primary>FoLengthRange</primary></indexterm><programlisting>typedef struct _FoLengthRange FoLengthRange;</programlisting>
<para>
</para></refsect2>
<refsect2 id="FoLengthRangeClass" role="struct">
<title>FoLengthRangeClass</title>
<indexterm zone="FoLengthRangeClass"><primary>FoLengthRangeClass</primary></indexterm><programlisting>typedef struct _FoLengthRangeClass FoLengthRangeClass;</programlisting>
<para>
</para></refsect2>
<refsect2 id="fo-length-range-get-type" role="function">
<title>fo_length_range_get_type ()</title>
<indexterm zone="fo-length-range-get-type"><primary>fo_length_range_get_type</primary></indexterm><programlisting><link linkend="GType">GType</link> fo_length_range_get_type (void);</programlisting>
<para>
Register the <link linkend="FoLengthRange"><type>FoLengthRange</type></link> object type.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara> GType value of the <link linkend="FoLengthRange"><type>FoLengthRange</type></link> object type.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="fo-length-range-new-auto" role="function">
<title>fo_length_range_new_auto ()</title>
<indexterm zone="fo-length-range-new-auto"><primary>fo_length_range_new_auto</primary></indexterm><programlisting><link linkend="FoDatatype">FoDatatype</link>* fo_length_range_new_auto (void);</programlisting>
<para>
Creates a new <link linkend="FoLengthRange"><type>FoLengthRange</type></link> with all components initialized to "auto".</para>
<para>
</para><variablelist role="params">
<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara> the new <link linkend="FoLengthRange"><type>FoLengthRange</type></link>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="fo-length-range-new-with-value" role="function">
<title>fo_length_range_new_with_value ()</title>
<indexterm zone="fo-length-range-new-with-value"><primary>fo_length_range_new_with_value</primary></indexterm><programlisting><link linkend="FoDatatype">FoDatatype</link>* fo_length_range_new_with_value (<link linkend="FoDatatype">FoDatatype</link> *datatype);</programlisting>
<para>
Creates a new <link linkend="FoLengthRange"><type>FoLengthRange</type></link> set to <parameter>value</parameter>.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>datatype</parameter> :</term>
<listitem><simpara> Value for .minimum, .optimum, and .maximum values of the
new <link linkend="FoLengthRange"><type>FoLengthRange</type></link>.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara> The new <link linkend="FoLengthRange"><type>FoLengthRange</type></link>.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="fo-length-range-get-minimum" role="function">
<title>fo_length_range_get_minimum ()</title>
<indexterm zone="fo-length-range-get-minimum"><primary>fo_length_range_get_minimum</primary></indexterm><programlisting><link linkend="FoDatatype">FoDatatype</link>* fo_length_range_get_minimum (<link linkend="FoDatatype">FoDatatype</link> *datatype);</programlisting>
<para>
Gets the .minimum component value of <parameter>datatype</parameter></para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>datatype</parameter> :</term>
<listitem><simpara> <link linkend="FoLengthRange"><type>FoLengthRange</type></link>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara> The .minimum value of <parameter>datatype</parameter>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="fo-length-range-get-optimum" role="function">
<title>fo_length_range_get_optimum ()</title>
<indexterm zone="fo-length-range-get-optimum"><primary>fo_length_range_get_optimum</primary></indexterm><programlisting><link linkend="FoDatatype">FoDatatype</link>* fo_length_range_get_optimum (<link linkend="FoDatatype">FoDatatype</link> *datatype);</programlisting>
<para>
Gets the .optimum component value of <parameter>datatype</parameter></para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>datatype</parameter> :</term>
<listitem><simpara> <link linkend="FoLengthRange"><type>FoLengthRange</type></link>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara> The .optimum value of <parameter>datatype</parameter>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="fo-length-range-get-maximum" role="function">
<title>fo_length_range_get_maximum ()</title>
<indexterm zone="fo-length-range-get-maximum"><primary>fo_length_range_get_maximum</primary></indexterm><programlisting><link linkend="FoDatatype">FoDatatype</link>* fo_length_range_get_maximum (<link linkend="FoDatatype">FoDatatype</link> *datatype);</programlisting>
<para>
Gets the .maximum component value of <parameter>datatype</parameter></para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>datatype</parameter> :</term>
<listitem><simpara> <link linkend="FoLengthRange"><type>FoLengthRange</type></link>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara> The .maximum value of <parameter>datatype</parameter>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="fo-length-range-resolve" role="function">
<title>fo_length_range_resolve ()</title>
<indexterm zone="fo-length-range-resolve"><primary>fo_length_range_resolve</primary></indexterm><programlisting><link linkend="FoDatatype">FoDatatype</link>* fo_length_range_resolve (<link linkend="FoDatatype">FoDatatype</link> *shortform,
<link linkend="FoDatatype">FoDatatype</link> *minimum,
<link linkend="FoDatatype">FoDatatype</link> *optimum,
<link linkend="FoDatatype">FoDatatype</link> *maximum,
<link linkend="gfloat">gfloat</link> hundred_percent,
<link linkend="GError">GError</link> **error);</programlisting>
<para>
Resolve the shortform and components of the length-range in
accordance with Section 5.11, Datatypes, of the XSL 1.0
Recommendation.
</para>
<para>
Does not change the ref-count of any FoDatatype arguments.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>shortform</parameter> :</term>
<listitem><simpara> Single-value short form of the length-range, or
NULL
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>minimum</parameter> :</term>
<listitem><simpara> .minimum component of the length-range, or NULL
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>optimum</parameter> :</term>
<listitem><simpara> .optimum component of the length-range, or NULL
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>maximum</parameter> :</term>
<listitem><simpara> .maximum component of the length-range, or NULL
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>hundred_percent</parameter> :</term>
<listitem><simpara> Length to use as 100% when components expressed as
percentages
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>error</parameter> :</term>
<listitem><simpara> GError used for reporting errors
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara> Compound length-range datatype, or NULL if an error
occurred
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="fo-length-range-resolve-allow-auto" role="function">
<title>fo_length_range_resolve_allow_auto ()</title>
<indexterm zone="fo-length-range-resolve-allow-auto"><primary>fo_length_range_resolve_allow_auto</primary></indexterm><programlisting><link linkend="FoDatatype">FoDatatype</link>* fo_length_range_resolve_allow_auto (<link linkend="FoDatatype">FoDatatype</link> *shortform,
<link linkend="FoDatatype">FoDatatype</link> *minimum,
<link linkend="FoDatatype">FoDatatype</link> *optimum,
<link linkend="FoDatatype">FoDatatype</link> *maximum,
<link linkend="gfloat">gfloat</link> hundred_percent,
<link linkend="GError">GError</link> **error);</programlisting>
<para>
Resolve the shortform and components of the length-range in
accordance with the definitions of block-progression-dimension and
inline-progression-dimension in Section 7.14, Area Dimension
Properties, of the XSL 1.0 Recommendation.
</para>
<para>
Use this when "auto" is an allowed value and percentages are
computed into lengths.
</para>
<para>
Does not change the ref-count of any FoDatatype arguments.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>shortform</parameter> :</term>
<listitem><simpara> Single-value short form of the length-range, or
NULL
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>minimum</parameter> :</term>
<listitem><simpara> .minimum component of the length-range, or NULL
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>optimum</parameter> :</term>
<listitem><simpara> .optimum component of the length-range, or NULL
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>maximum</parameter> :</term>
<listitem><simpara> .maximum component of the length-range, or NULL
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>hundred_percent</parameter> :</term>
<listitem><simpara> Length to use as 100% when components expressed as
percentages
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>error</parameter> :</term>
<listitem><simpara> GError used for reporting errors
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara> Compound length-range datatype, or NULL if an error
occurred
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="fo-length-range-get-length-range-hundred-percent" role="function">
<title>fo_length_range_get_length_range_hundred_percent ()</title>
<indexterm zone="fo-length-range-get-length-range-hundred-percent"><primary>fo_length_range_get_length_range_hundred_percent</primary></indexterm><programlisting><link linkend="FoDatatype">FoDatatype</link>* fo_length_range_get_length_range_hundred_percent
(void);</programlisting>
<para>
Get an <link linkend="FoLengthRange"><type>FoLengthRange</type></link> with the well-known value of 100%.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara> The <link linkend="FoLengthRange"><type>FoLengthRange</type></link>.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
</refsect1>
<refsect1 id="FoLengthRange.property-details" role="property_details">
<title role="property_details.title">Property Details</title>
<refsect2 id="FoLengthRange--maximum"><title>The <literal>"maximum"</literal> property</title>
<indexterm zone="FoLengthRange--maximum"><primary>FoLengthRange:maximum</primary></indexterm><programlisting> "maximum" <link linkend="FoDatatype">FoDatatype</link>* : Read / Write / Construct Only</programlisting>
<para>Length range maximum value.</para></refsect2>
<refsect2 id="FoLengthRange--minimum"><title>The <literal>"minimum"</literal> property</title>
<indexterm zone="FoLengthRange--minimum"><primary>FoLengthRange:minimum</primary></indexterm><programlisting> "minimum" <link linkend="FoDatatype">FoDatatype</link>* : Read / Write / Construct Only</programlisting>
<para>Length range minimum value.</para></refsect2>
<refsect2 id="FoLengthRange--optimum"><title>The <literal>"optimum"</literal> property</title>
<indexterm zone="FoLengthRange--optimum"><primary>FoLengthRange:optimum</primary></indexterm><programlisting> "optimum" <link linkend="FoDatatype">FoDatatype</link>* : Read / Write / Construct Only</programlisting>
<para>Length range optimum value.</para></refsect2>
</refsect1>
</refentry>
|