• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE article PUBLIC "-//Boost//DTD BoostBook XML V1.0//EN" "http://www.boost.org/tools/boostbook/dtd/boostbook.dtd">
3<article id="table_tests" last-revision="DEBUG MODE Date: 2000/12/20 12:00:00 $"
4 xmlns:xi="http://www.w3.org/2001/XInclude">
5  <title>Table 1.6</title>
6  <table frame="all" id="table_tests.table1">
7    <title>Table 1</title>
8    <tgroup cols="1">
9      <thead>
10        <row>
11          <entry>
12            <para>
13              Heading
14            </para>
15          </entry>
16        </row>
17      </thead>
18      <tbody>
19        <row>
20          <entry>
21            <para>
22              cell
23            </para>
24          </entry>
25        </row>
26      </tbody>
27    </tgroup>
28  </table>
29  <table frame="all" id="table_tests.table_2">
30    <title>Table 2</title>
31    <tgroup cols="1">
32      <thead>
33        <row>
34          <entry>
35            <para>
36              Heading
37            </para>
38          </entry>
39        </row>
40      </thead>
41      <tbody>
42        <row>
43          <entry>
44            <para>
45              cell
46            </para>
47          </entry>
48        </row>
49      </tbody>
50    </tgroup>
51  </table>
52  <informaltable frame="all">
53    <tgroup cols="1">
54      <thead>
55        <row>
56          <entry>
57            <para>
58              Heading
59            </para>
60          </entry>
61        </row>
62      </thead>
63      <tbody>
64        <row>
65          <entry>
66            <para>
67              cell
68            </para>
69          </entry>
70        </row>
71      </tbody>
72    </tgroup>
73  </informaltable>
74  <informaltable frame="all" id="table_tests.table4">
75    <tgroup cols="1">
76      <thead>
77        <row>
78          <entry>
79            <para>
80              Heading
81            </para>
82          </entry>
83        </row>
84      </thead>
85      <tbody>
86        <row>
87          <entry>
88            <para>
89              cell
90            </para>
91          </entry>
92        </row>
93      </tbody>
94    </tgroup>
95  </informaltable>
96  <table frame="all" id="table_tests.table5">
97    <title>-table5-</title>
98    <tgroup cols="1">
99      <thead>
100        <row>
101          <entry>
102            <para>
103              Heading
104            </para>
105          </entry>
106        </row>
107      </thead>
108      <tbody>
109        <row>
110          <entry>
111            <para>
112              cell
113            </para>
114          </entry>
115        </row>
116      </tbody>
117    </tgroup>
118  </table>
119  <table frame="all" id="table_tests.title">
120    <title>Title</title>
121    <tgroup cols="1">
122      <thead>
123        <row>
124          <entry>
125            <para>
126              Heading
127            </para>
128          </entry>
129        </row>
130      </thead>
131      <tbody>
132        <row>
133          <entry>
134            <para>
135              cell
136            </para>
137          </entry>
138        </row>
139      </tbody>
140    </tgroup>
141  </table>
142  <table frame="all" id="table_tests.title0">
143    <title>Title</title>
144    <tgroup cols="1">
145      <thead>
146        <row>
147          <entry>
148            <para>
149              Heading
150            </para>
151          </entry>
152        </row>
153      </thead>
154      <tbody>
155        <row>
156          <entry>
157            <para>
158              cell
159            </para>
160          </entry>
161        </row>
162      </tbody>
163    </tgroup>
164  </table>
165  <table frame="all" id="table_tests.title_containing_a_comment">
166    <title>Title containing a comment</title>
167    <tgroup cols="1">
168      <thead>
169        <row>
170          <entry>
171            <para>
172              Heading
173            </para>
174          </entry>
175        </row>
176      </thead>
177      <tbody>
178        <row>
179          <entry>
180            <para>
181              cell
182            </para>
183          </entry>
184        </row>
185      </tbody>
186    </tgroup>
187  </table>
188  <table frame="all" id="table_tests.title1">
189    <title>Title</title>
190    <tgroup cols="1">
191      <thead>
192        <row>
193          <entry>
194            <para>
195              Heading
196            </para>
197          </entry>
198        </row>
199      </thead>
200      <tbody>
201        <row>
202          <entry>
203            <para>
204              cell
205            </para>
206          </entry>
207        </row>
208      </tbody>
209    </tgroup>
210  </table>
211  <informaltable frame="all">
212    <tgroup cols="1">
213      <thead>
214        <row>
215          <entry>
216            <para>
217              Heading
218            </para>
219          </entry>
220        </row>
221      </thead>
222      <tbody>
223        <row>
224          <entry>
225            <para>
226              Cell 1
227            </para>
228          </entry>
229        </row>
230        <row>
231          <entry>
232            <para>
233              Cell 2
234            </para>
235          </entry>
236        </row>
237      </tbody>
238    </tgroup>
239  </informaltable>
240  <table frame="all" id="table_tests.title_on_multiple_lines_with_bol">
241    <title>Title on multiple lines with <emphasis role="bold">bold</emphasis> text?</title>
242    <tgroup cols="1">
243      <thead>
244        <row>
245          <entry>
246            <para>
247              Heading
248            </para>
249          </entry>
250        </row>
251      </thead>
252      <tbody>
253        <row>
254          <entry>
255            <para>
256              Cell 1
257            </para>
258          </entry>
259        </row>
260        <row>
261          <entry>
262            <para>
263              Cell 2
264            </para>
265          </entry>
266        </row>
267      </tbody>
268    </tgroup>
269  </table>
270  <section id="table_tests.section1">
271    <title><link linkend="table_tests.section1">Section 1</link></title>
272    <table frame="all" id="table_tests.section1.table1">
273      <title>Table 1</title>
274      <tgroup cols="1">
275        <thead>
276          <row>
277            <entry>
278              <para>
279                Heading
280              </para>
281            </entry>
282          </row>
283        </thead>
284        <tbody>
285          <row>
286            <entry>
287              <para>
288                cell
289              </para>
290            </entry>
291          </row>
292        </tbody>
293      </tgroup>
294    </table>
295    <table frame="all" id="table_tests.section1.a_b">
296      <title>A &amp; B</title>
297      <tgroup cols="2">
298        <thead>
299          <row>
300            <entry>
301              <para>
302                A
303              </para>
304            </entry>
305            <entry>
306              <para>
307                B
308              </para>
309            </entry>
310          </row>
311        </thead>
312        <tbody>
313          <row>
314            <entry>
315              <para>
316                a
317              </para>
318            </entry>
319            <entry>
320              <para>
321                b
322              </para>
323            </entry>
324          </row>
325        </tbody>
326      </tgroup>
327    </table>
328    <table frame="all" id="table_tests.section1.empty_table">
329      <title>Empty Table</title>
330      <tgroup cols="0">
331        <tbody>
332        </tbody>
333      </tgroup>
334    </table>
335    <table frame="all" id="table_tests.section1.table_with_an_empty_cell">
336      <title>Table with an empty cell</title>
337      <tgroup cols="1">
338        <tbody>
339          <row>
340            <entry>
341              <para>
342                x
343              </para>
344            </entry>
345          </row>
346        </tbody>
347      </tgroup>
348    </table>
349    <table frame="all" id="table_tests.section1.indentation">
350      <title>Indentation</title>
351      <tgroup cols="2">
352        <thead>
353          <row>
354            <entry>
355              <para>
356                Header 1. Paragraph 1
357              </para>
358              <para>
359                Header 1. Paragraph 2
360              </para>
361            </entry>
362            <entry>
363              <para>
364                Header 2
365              </para>
366            </entry>
367          </row>
368        </thead>
369        <tbody>
370          <row>
371            <entry>
372              <para>
373                Row 1. Cell 1.
374              </para>
375            </entry>
376            <entry>
377              <para>
378                Row 1. Cell 2.
379              </para>
380              <para>
381                Row 1. Cell 2. Paragraph 2.
382              </para>
383            </entry>
384          </row>
385        </tbody>
386      </tgroup>
387    </table>
388    <table frame="all" id="table_tests.section1.nested_tables">
389      <title>Nested Tables</title>
390      <tgroup cols="1">
391        <thead>
392          <row>
393            <entry>
394              <para>
395                Header 1
396              </para>
397            </entry>
398            <entry>
399              <para>
400                Header 2
401              </para>
402            </entry>
403          </row>
404        </thead>
405        <tbody>
406          <row>
407            <entry>
408              <table frame="all" id="table_tests.section1.inner_table">
409                <title>Inner Table</title>
410                <tgroup cols="2">
411                  <thead>
412                    <row>
413                      <entry>
414                        <para>
415                          1.1
416                        </para>
417                      </entry>
418                      <entry>
419                        <para>
420                          1.2
421                        </para>
422                      </entry>
423                    </row>
424                  </thead>
425                  <tbody>
426                    <row>
427                      <entry>
428                        <para>
429                          2.1
430                        </para>
431                      </entry>
432                      <entry>
433                        <para>
434                          2.2
435                        </para>
436                      </entry>
437                    </row>
438                  </tbody>
439                </tgroup>
440              </table>
441            </entry>
442          </row>
443          <row>
444            <entry>
445              <para>
446                Something.
447              </para>
448            </entry>
449          </row>
450        </tbody>
451      </tgroup>
452    </table>
453    <anchor id="id1"/>
454    <table frame="all" id="table_tests.section1.table_with_anchors">
455      <title>Table with anchors</title>
456      <tgroup cols="1">
457        <thead>
458          <row>
459            <entry>
460              <para>
461                <anchor id="id2"/>a<anchor id="id3"/>
462              </para>
463            </entry>
464          </row>
465        </thead>
466        <tbody>
467          <row>
468            <entry>
469              <para>
470                b
471              </para>
472            </entry>
473          </row>
474        </tbody>
475      </tgroup>
476    </table>
477  </section>
478</article>
479