File: fo-context-util.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 (231 lines) | stat: -rw-r--r-- 15,451 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
<refentry id="xmlroff-fo-context-util">
<refmeta>
<refentrytitle role="top_of_page" id="xmlroff-fo-context-util.top_of_page">fo-context-util</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>XMLROFF Library</refmiscinfo>
</refmeta>

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

<refsynopsisdiv id="xmlroff-fo-context-util.synopsis" role="synopsis">
<title role="synopsis.title">Synopsis</title>

<synopsis>
<link linkend="void">void</link>                <link linkend="fo-context-util-height-width-resolve">fo_context_util_height_width_resolve</link>
                                                        (<link linkend="FoContext">FoContext</link> *current_context,
                                                         <link linkend="FoContext">FoContext</link> *parent_context);
<link linkend="void">void</link>                <link linkend="fo-context-util-keeps-resolve">fo_context_util_keeps_resolve</link>       (<link linkend="FoContext">FoContext</link> *current_context,
                                                         <link linkend="FoContext">FoContext</link> *parent_context);
<link linkend="void">void</link>                <link linkend="fo-context-util-paddings-resolve">fo_context_util_paddings_resolve</link>    (<link linkend="FoContext">FoContext</link> *current_context,
                                                         <link linkend="FoContext">FoContext</link> *parent_context);
<link linkend="void">void</link>                <link linkend="fo-context-util-spaces-resolve">fo_context_util_spaces_resolve</link>      (<link linkend="FoContext">FoContext</link> *context,
                                                         <link linkend="FoArea">FoArea</link> *reference_area);
<link linkend="void">void</link>                <link linkend="fo-context-util-length-ranges-resolve">fo_context_util_length_ranges_resolve</link>
                                                        (<link linkend="FoContext">FoContext</link> *context,
                                                         <link linkend="FoArea">FoArea</link> *reference_area);
<link linkend="void">void</link>                <link linkend="fo-context-util-margins-resolve">fo_context_util_margins_resolve</link>     (<link linkend="FoContext">FoContext</link> *current_context,
                                                         <link linkend="FoContext">FoContext</link> *parent_context);
<link linkend="void">void</link>                <link linkend="fo-context-util-margins-indents-resolve">fo_context_util_margins_indents_resolve</link>
                                                        (<link linkend="FoFo">FoFo</link> *fo,
                                                         <link linkend="FoContext">FoContext</link> *current_context,
                                                         <link linkend="FoContext">FoContext</link> *parent_context);
<link linkend="void">void</link>                <link linkend="fo-context-util-border-resolve">fo_context_util_border_resolve</link>      (<link linkend="FoContext">FoContext</link> *current_context,
                                                         <link linkend="FoContext">FoContext</link> *parent_context);
<link linkend="void">void</link>                <link linkend="fo-context-util-dominant-baseline-resolve">fo_context_util_dominant_baseline_resolve</link>
                                                        (<link linkend="FoContext">FoContext</link> *current_context,
                                                         <link linkend="FoContext">FoContext</link> *parent_context);
</synopsis>
</refsynopsisdiv>









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

</para>
</refsect1>

<refsect1 id="xmlroff-fo-context-util.details" role="details">
<title role="details.title">Details</title>
<refsect2 id="fo-context-util-height-width-resolve" role="function">
<title>fo_context_util_height_width_resolve ()</title>
<indexterm zone="fo-context-util-height-width-resolve"><primary>fo_context_util_height_width_resolve</primary></indexterm><programlisting><link linkend="void">void</link>                fo_context_util_height_width_resolve
                                                        (<link linkend="FoContext">FoContext</link> *current_context,
                                                         <link linkend="FoContext">FoContext</link> *parent_context);</programlisting>
<para>
Resolve "height", "width", "inline-progression-dimension", and
"block-progression-dimension" property values.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>current_context</parameter>&nbsp;:</term>
<listitem><simpara> <link linkend="FoContext"><type>FoContext</type></link> of the current <link linkend="FoFo"><type>FoFo</type></link>.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>parent_context</parameter>&nbsp;:</term>
<listitem><simpara>  <link linkend="FoContext"><type>FoContext</type></link> of the parent <link linkend="FoFo"><type>FoFo</type></link> of the current <link linkend="FoFo"><type>FoFo</type></link>.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="fo-context-util-keeps-resolve" role="function">
<title>fo_context_util_keeps_resolve ()</title>
<indexterm zone="fo-context-util-keeps-resolve"><primary>fo_context_util_keeps_resolve</primary></indexterm><programlisting><link linkend="void">void</link>                fo_context_util_keeps_resolve       (<link linkend="FoContext">FoContext</link> *current_context,
                                                         <link linkend="FoContext">FoContext</link> *parent_context);</programlisting>
<para>
Resolve the components of the various keep properties.
</para>
<para>
"keep-together" is inherited; "keep-with-next" and
"keep-with-previous" are not inherited.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>current_context</parameter>&nbsp;:</term>
<listitem><simpara> <link linkend="FoContext"><type>FoContext</type></link> of the current <link linkend="FoFo"><type>FoFo</type></link>.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>parent_context</parameter>&nbsp;:</term>
<listitem><simpara>  <link linkend="FoContext"><type>FoContext</type></link> of the parent <link linkend="FoFo"><type>FoFo</type></link> of the current <link linkend="FoFo"><type>FoFo</type></link>.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="fo-context-util-paddings-resolve" role="function">
<title>fo_context_util_paddings_resolve ()</title>
<indexterm zone="fo-context-util-paddings-resolve"><primary>fo_context_util_paddings_resolve</primary></indexterm><programlisting><link linkend="void">void</link>                fo_context_util_paddings_resolve    (<link linkend="FoContext">FoContext</link> *current_context,
                                                         <link linkend="FoContext">FoContext</link> *parent_context);</programlisting>
<para>
Resolve padding property values.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>current_context</parameter>&nbsp;:</term>
<listitem><simpara> <link linkend="FoContext"><type>FoContext</type></link> of the current <link linkend="FoFo"><type>FoFo</type></link>.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>parent_context</parameter>&nbsp;:</term>
<listitem><simpara>  <link linkend="FoContext"><type>FoContext</type></link> of the parent <link linkend="FoFo"><type>FoFo</type></link> of the current <link linkend="FoFo"><type>FoFo</type></link>.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="fo-context-util-spaces-resolve" role="function">
<title>fo_context_util_spaces_resolve ()</title>
<indexterm zone="fo-context-util-spaces-resolve"><primary>fo_context_util_spaces_resolve</primary></indexterm><programlisting><link linkend="void">void</link>                fo_context_util_spaces_resolve      (<link linkend="FoContext">FoContext</link> *context,
                                                         <link linkend="FoArea">FoArea</link> *reference_area);</programlisting>
<para>
Resolve the components of the various space-valued properties and
set <parameter>context</parameter> accordingly.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>context</parameter>&nbsp;:</term>
<listitem><simpara>        The <link linkend="FoContext"><type>FoContext</type></link> object whose spaces will be resolved.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>reference_area</parameter>&nbsp;:</term>
<listitem><simpara> Reference area used when resolving percentages.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="fo-context-util-length-ranges-resolve" role="function">
<title>fo_context_util_length_ranges_resolve ()</title>
<indexterm zone="fo-context-util-length-ranges-resolve"><primary>fo_context_util_length_ranges_resolve</primary></indexterm><programlisting><link linkend="void">void</link>                fo_context_util_length_ranges_resolve
                                                        (<link linkend="FoContext">FoContext</link> *context,
                                                         <link linkend="FoArea">FoArea</link> *reference_area);</programlisting>
<para>
Resolve the components of the various length-range-valued
properties and set <parameter>context</parameter> accordingly</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>context</parameter>&nbsp;:</term>
<listitem><simpara>        The <link linkend="FoContext"><type>FoContext</type></link> object whose spaces will be resolved
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>reference_area</parameter>&nbsp;:</term>
<listitem><simpara> <link linkend="FoAreaReference"><type>FoAreaReference</type></link> to use when resolving percentages
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="fo-context-util-margins-resolve" role="function">
<title>fo_context_util_margins_resolve ()</title>
<indexterm zone="fo-context-util-margins-resolve"><primary>fo_context_util_margins_resolve</primary></indexterm><programlisting><link linkend="void">void</link>                fo_context_util_margins_resolve     (<link linkend="FoContext">FoContext</link> *current_context,
                                                         <link linkend="FoContext">FoContext</link> *parent_context);</programlisting>
<para>
Resolve padding property values.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>current_context</parameter>&nbsp;:</term>
<listitem><simpara> <link linkend="FoContext"><type>FoContext</type></link> of the current <link linkend="FoFo"><type>FoFo</type></link>.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>parent_context</parameter>&nbsp;:</term>
<listitem><simpara>  <link linkend="FoContext"><type>FoContext</type></link> of the parent <link linkend="FoFo"><type>FoFo</type></link> of the current <link linkend="FoFo"><type>FoFo</type></link>.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="fo-context-util-margins-indents-resolve" role="function">
<title>fo_context_util_margins_indents_resolve ()</title>
<indexterm zone="fo-context-util-margins-indents-resolve"><primary>fo_context_util_margins_indents_resolve</primary></indexterm><programlisting><link linkend="void">void</link>                fo_context_util_margins_indents_resolve
                                                        (<link linkend="FoFo">FoFo</link> *fo,
                                                         <link linkend="FoContext">FoContext</link> *current_context,
                                                         <link linkend="FoContext">FoContext</link> *parent_context);</programlisting>
<para>
Resolve the 'margin-left', 'start-indent', 'margin-right', and
'end-indent' property values of <parameter>fo</parameter>.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>fo</parameter>&nbsp;:</term>
<listitem><simpara>              Current <link linkend="FoFo"><type>FoFo</type></link>.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>current_context</parameter>&nbsp;:</term>
<listitem><simpara> <link linkend="FoContext"><type>FoContext</type></link> of the current <link linkend="FoFo"><type>FoFo</type></link>.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>parent_context</parameter>&nbsp;:</term>
<listitem><simpara>  <link linkend="FoContext"><type>FoContext</type></link> of the parent <link linkend="FoFo"><type>FoFo</type></link> of the current <link linkend="FoFo"><type>FoFo</type></link>.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="fo-context-util-border-resolve" role="function">
<title>fo_context_util_border_resolve ()</title>
<indexterm zone="fo-context-util-border-resolve"><primary>fo_context_util_border_resolve</primary></indexterm><programlisting><link linkend="void">void</link>                fo_context_util_border_resolve      (<link linkend="FoContext">FoContext</link> *current_context,
                                                         <link linkend="FoContext">FoContext</link> *parent_context);</programlisting>
<para>
Resolve the border properties of <parameter>current_context</parameter>.
</para>
<para>
<parameter>parent_context</parameter> is needed to get the 'color' property value if it
is NULL in <parameter>current_context</parameter>.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>current_context</parameter>&nbsp;:</term>
<listitem><simpara> <link linkend="FoContext"><type>FoContext</type></link> of the current <link linkend="FoFo"><type>FoFo</type></link>.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>parent_context</parameter>&nbsp;:</term>
<listitem><simpara>  <link linkend="FoContext"><type>FoContext</type></link> of the parent <link linkend="FoFo"><type>FoFo</type></link> of the current <link linkend="FoFo"><type>FoFo</type></link>.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="fo-context-util-dominant-baseline-resolve" role="function">
<title>fo_context_util_dominant_baseline_resolve ()</title>
<indexterm zone="fo-context-util-dominant-baseline-resolve"><primary>fo_context_util_dominant_baseline_resolve</primary></indexterm><programlisting><link linkend="void">void</link>                fo_context_util_dominant_baseline_resolve
                                                        (<link linkend="FoContext">FoContext</link> *current_context,
                                                         <link linkend="FoContext">FoContext</link> *parent_context);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>current_context</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>parent_context</parameter>&nbsp;:</term>
<listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>

</refsect1>




</refentry>