Debian Codegraph @

en/refpages/elements/informaltable/refentry.xml

raw symbols SCIP
1 <refentry id="informaltable.element">
2 <?dbhtml filename="informaltable.html"?>
3 <refentryinfo>
4 <pubdate>$Date$</pubdate>
5 <releaseinfo>$Revision$</releaseinfo>
6 </refentryinfo>
7
8 <refmeta>
9 <indexterm><primary>elements</primary>
10 <secondary>informaltable</secondary></indexterm>
11 <refentrytitle>informaltable</refentrytitle>
12 <refmiscinfo>Element</refmiscinfo>
13 </refmeta>
14 <refnamediv>
15 <refname>informaltable</refname>
16 <refpurpose>&informaltable.purpose;</refpurpose>
17 </refnamediv>
18
19 &informaltable.synopsis.gen;
20 <refsect1 condition='ref.description'><title>Description</title>
21
22 <para>
23 An <sgmltag>InformalTable</sgmltag> element identifies an informal
24 table (one without a <sgmltag>Title</sgmltag>). DocBook uses the &CALS;
25 table model, which describes tables geometrically using rows,
26 columns, and cells.
27 </para>
28 <para>
29 Tables may include column headers and footers, but there is no
30 provision for row headers.
31 </para>
32
33 <refsect2><title>Processing expectations</title>
34 <para>&format.block;</para>
35 <note>
36 <para>It is an error to supply a <sgmltag>title</sgmltag> in the
37 <sgmltag>blockinfo</sgmltag> for an informal table.</para>
38 </note>
39 <para>&calssemantics;</para>
40 </refsect2>
41
42 <refsect2 role='fu' revision="5.0"><title>&FutureChanges;</title>
43 <para><indexterm><primary>DocBook DTD</primary><secondary>Changes for <acronym>V5.0</acronym></secondary>
44 </indexterm>The
45 <ulink url="http://www.oasis-open.org/specs/tm9901.html">OASIS
46 Exchange Table Model</ulink>
47 will replace the full OASIS Table Model.
48 </para>
49 </refsect2>
50
51 &informaltable.parents.gen;
52 &informaltable.children.gen;
53 </refsect1>
54 <refsect1 condition='ref.elem.attrdesc'><title>Attributes</title>
55 <variablelist>
56 <varlistentry><term>colsep</term>
57 <listitem>
58 <para>
59 If <sgmltag class="attribute">ColSep</sgmltag> has the value 1 (true), then
60 a rule will be drawn to the right of all columns in this table.
61 A value of 0 (false) suppresses the rule.
62 The rule to the right of the last column in the table is controlled by the
63 <sgmltag class="attribute">Frame</sgmltag> attribute, not the
64 <sgmltag class="attribute">ColSep</sgmltag>.
65 </para>
66 </listitem>
67 </varlistentry>
68 <varlistentry><term>frame</term>
69 <listitem>
70 <para><sgmltag class="attribute">Frame</sgmltag> specifies how the table is to be framed:
71 </para>
72
73 <informaltable>
74 <tgroup cols="2">
75 <thead>
76 <row>
77 <entry>Value</entry><entry>Meaning</entry>
78 </row>
79 </thead>
80 <tbody>
81 <row>
82 <entry><sgmltag class="attvalue">all</sgmltag></entry>
83 <entry><para>Frame all four sides of the table. In some environments with limited
84 control over table border formatting, such as HTML, this may imply additional borders.
85 </para></entry>
86 </row>
87 <row>
88 <entry><sgmltag class="attvalue">bottom</sgmltag></entry>
89 <entry><para>Frame only the bottom of the table.</para></entry>
90 </row>
91 <row>
92 <entry><sgmltag class="attvalue">none</sgmltag></entry>
93 <entry><para>Place no border on the table. In some environments with limited
94 control over table border formatting, such as HTML, this may disable other borders as
95 well.</para></entry>
96 </row>
97 <row>
98 <entry><sgmltag class="attvalue">sides</sgmltag></entry>
99 <entry><para>Frame the left and right sides of the table.</para></entry>
100 </row>
101 <row>
102 <entry><sgmltag class="attvalue">top</sgmltag></entry>
103 <entry><para>Frame the top of the table.</para></entry>
104 </row>
105 <row>
106 <entry><sgmltag class="attvalue">topbot</sgmltag></entry>
107 <entry><para>Frame the top and bottom of the table.</para></entry>
108 </row>
109 </tbody>
110 </tgroup>
111 </informaltable>
112
113 <para>There is no way to obtain a border on only the starting edge
114 (left, in left-to-right writing systems) of the table.</para>
115
116 </listitem>
117 </varlistentry>
118 <varlistentry><term>label</term>
119 <listitem>
120 <para>
121 <sgmltag class='attribute'>Label</sgmltag> specifies an identifying string for presentation purposes.
122 </para>
123 <para>
124 Generally, an explicit <sgmltag class='attribute'>Label</sgmltag> attribute is
125 used only if the processing system is incapable of generating the label
126 automatically. If present, the <sgmltag class='attribute'>Label</sgmltag>
127 is normative; it will used even
128 if the processing system is capable of automatic labelling.
129 </para>
130 </listitem>
131 </varlistentry>
132 <varlistentry><term>orient</term>
133 <listitem>
134 <para>
135 <sgmltag class='attribute'>Orient</sgmltag> specifies the orientation of the
136 <sgmltag>InformalTable</sgmltag>. An orientation of <literal>Port</literal> is
137 the <quote>upright</quote>, the same orientation as the rest of the text flow.
138 An orientation of <literal>Land</literal> is 90 degrees counterclockwise
139 from the upright orientation.
140 </para>
141 </listitem>
142 </varlistentry>
143 <varlistentry><term>pgwide</term>
144 <listitem>
145 <para>
146 If <sgmltag class="attribute">Pgwide</sgmltag> has the value 0 (false), then the
147 <sgmltag>InformalTable</sgmltag> is rendered in the current text flow (with flow
148 column width). A value of 1 (true) specifies that the table should be
149 rendered across the full text page.
150 </para>
151 </listitem>
152 </varlistentry>
153 <varlistentry><term>rowsep</term>
154 <listitem>
155 <para>
156 If <sgmltag class="attribute">RowSep</sgmltag> has the value 1 (true), then a
157 rule will be drawn below all the rows in the <sgmltag>InformalTable</sgmltag>
158 (unless other, interior elements, suppress some or all of the rules).
159 A value of 0 (false) suppresses the rule. The rule below the last row
160 in the table is controlled by the <sgmltag class="attribute">Frame</sgmltag>
161 attribute and the <sgmltag class="attribute">RowSep</sgmltag>
162 of the last row is ignored.
163 </para>
164 </listitem>
165 </varlistentry>
166 <varlistentry><term>shortentry</term>
167 <listitem>
168 <para>
169 This attribute is meaningless on <sgmltag>InformalTable</sgmltag>..
170 </para>
171 </listitem>
172 </varlistentry>
173 <varlistentry><term>tabstyle</term>
174 <listitem>
175 <para>
176 <sgmltag class="attribute">TabStyle</sgmltag> holds the name of a table style
177 defined in a stylesheet (e.g., a <acronym>FOSI</acronym>) that will be used
178 to process this document.
179 </para>
180 </listitem>
181 </varlistentry>
182 <varlistentry><term>tocentry</term>
183 <listitem>
184 <para>
185 This attribute is meaningless on <sgmltag>InformalTable</sgmltag>.
186 </para>
187 </listitem>
188 </varlistentry>
189 </variablelist>
190 </refsect1>
191 <refsect1 condition='ref.elem.seealso'><title>See Also</title>
192 &informaltable.seealso.gen;
193 </refsect1>
194 <refsect1><title>Examples</title>
195
196 <informalexample role="example-source">
197 <programlisting>&informaltable.example.1.txt;</programlisting>
198 </informalexample>
199
200 <anchor id="ex.os.informaltable.1" role="HACK-ex.out.start"/>
201 &informaltable.example.1.gen;
202 <anchor id="ex.oe.informaltable.1" role="HACK-ex.out.end"/>
203
204 &informaltable.example.seealso.gen;
205 </refsect1>
206 </refentry>
207