File: ok_table.xml

package info (click to toggle)
pasdoc 0.16.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 33,536 kB
  • sloc: pascal: 28,894; javascript: 7,665; xml: 2,597; makefile: 519; sh: 417
file content (144 lines) | stat: -rw-r--r-- 2,542 bytes parent folder | download
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
<unit name="ok_table.pas">
  <description><abstract>Test of @table-related features.</abstract><detailed> Example from @table doc page in wiki: 

<table>
  <rowhead>
    <cell>Value1</cell>
    <cell>Value2</cell>
    <cell>Result</cell>
  </rowhead>
  <row>
    <cell><code>False</code></cell>
    <cell><code>False</code></cell>
    <cell><code>False</code></cell>
  </row>
  <row>
    <cell><code>False</code></cell>
    <cell><code>True</code></cell>
    <cell><code>True</code></cell>
  </row>
  <row>
    <cell><code>True</code></cell>
    <cell><code>False</code></cell>
    <cell><code>True</code></cell>
  </row>
  <row>
    <cell><code>True</code></cell>
    <cell><code>True</code></cell>
    <cell><code>False</code></cell>
  </row>
</table>

 Small tables tests: 

<table>
  <row>
    <cell>One-cell table is OK</cell>
  </row>
</table>

 

<table>
  <rowhead>
    <cell>One-cell head table is OK</cell>
  </rowhead>
</table>

 

<table>
  <rowhead>
    <cell>A</cell>
    <cell> <bold>Foo</bold> </cell>
  </rowhead>
</table>

 Test that everything within @cell tag is OK. Actually, test below is a stripped down (to be accepted by LaTeX) version of a more advanced test in ok_table_nonlatex.pas file. 

<table>
  <rowhead>
    <cell>Dashes: ---, --, -, --</cell>
    <cell>URLs: http://pasdoc.sourceforge.net/</cell>
  </rowhead>
  <row>
    <cell>C</cell>
    <cell>D</cell>
  </row>
</table>

 Now nested table and other nicies are within a normal row, instead of heading row. 

<table>
  <rowhead>
    <cell>C</cell>
    <cell>D</cell>
  </rowhead>
  <row>
    <cell>Within a cell many things are are accepted</cell>
    <cell>including paragraphs: This is new paragraph.</cell>
  </row>
  <row>
    <cell>Dashes: ---, --, -, --.</cell>
    <cell>URLs: http://pasdoc.sourceforge.net/</cell>
  </row>
  <row>
    <cell>And, last but not least, nested table: 

<table>
  <rowhead>
    <cell>1</cell>
    <cell>2</cell>
  </rowhead>
  <rowhead>
    <cell>3</cell>
    <cell>4</cell>
  </rowhead>
</table>

</cell>
    <cell>B</cell>
  </row>
</table>

 Some 2-row table tests: 

<table>
  <rowhead>
    <cell>A</cell>
    <cell>B</cell>
  </rowhead>
  <rowhead>
    <cell>C</cell>
    <cell>D</cell>
  </rowhead>
</table>

 

<table>
  <row>
    <cell>A</cell>
    <cell>B</cell>
  </row>
  <row>
    <cell>C</cell>
    <cell>D</cell>
  </row>
</table>

 

<table>
  <row>
    <cell>A</cell>
    <cell>B</cell>
  </row>
  <rowhead>
    <cell>C</cell>
    <cell>D</cell>
  </rowhead>
</table>

</detailed></description>
</unit>