File: ok_table.html

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 (185 lines) | stat: -rw-r--r-- 3,994 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<title>ok_table</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<link rel="StyleSheet" type="text/css" href="pasdoc.css">
</head>
<body>
<h1 class="unit">Unit ok_table</h1>
<div class="sections">
<div class="one_section"><a class="section" href="#PasDoc-Description">Description</a></div><div class="one_section">Uses</div><div class="one_section">Classes, Interfaces, Objects and Records</div><div class="one_section">Functions and Procedures</div><div class="one_section">Types</div><div class="one_section">Constants</div><div class="one_section">Variables</div></div>
<span id="PasDoc-Description"></span><h2 class="description">Description</h2>
<p>
Test of @table-related features.</p>
<p>


<p>Example from @table doc page in wiki:

<p></p>

<table class="table_tag">
  <tr class="head">
    <th><p>Value1</p></th>
    <th><p>Value2</p></th>
    <th><p>Result</p></th>
  </tr>
  <tr class="odd">
    <td><p><code>False</code></p></td>
    <td><p><code>False</code></p></td>
    <td><p><code>False</code></p></td>
  </tr>
  <tr class="even">
    <td><p><code>False</code></p></td>
    <td><p><code>True</code></p></td>
    <td><p><code>True</code></p></td>
  </tr>
  <tr class="odd">
    <td><p><code>True</code></p></td>
    <td><p><code>False</code></p></td>
    <td><p><code>True</code></p></td>
  </tr>
  <tr class="even">
    <td><p><code>True</code></p></td>
    <td><p><code>True</code></p></td>
    <td><p><code>False</code></p></td>
  </tr>
</table>

<p>

<p>Small tables tests:

<p></p>

<table class="table_tag">
  <tr class="odd">
    <td><p>One-cell table is OK</p></td>
  </tr>
</table>

<p> </p>

<table class="table_tag">
  <tr class="head">
    <th><p>One-cell head table is OK</p></th>
  </tr>
</table>

<p> </p>

<table class="table_tag">
  <tr class="head">
    <th><p>A</p></th>
    <th><p> <strong>Foo</strong> </p></th>
  </tr>
</table>

<p>

<p>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.

<p></p>

<table class="table_tag">
  <tr class="head">
    <th><p>Dashes: &mdash;, &ndash;, -, --</p></th>
    <th><p>URLs: <a href="http://pasdoc.sourceforge.net/">http://pasdoc.sourceforge.net/</a></p></th>
  </tr>
  <tr class="odd">
    <td><p>C</p></td>
    <td><p>D</p></td>
  </tr>
</table>

<p>

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

<p></p>

<table class="table_tag">
  <tr class="head">
    <th><p>C</p></th>
    <th><p>D</p></th>
  </tr>
  <tr class="odd">
    <td><p>Within a cell many things are are accepted</p></td>
    <td><p>including paragraphs:

<p>This is new paragraph.</p></td>
  </tr>
  <tr class="even">
    <td><p>Dashes: &mdash;, &ndash;, -, --.</p></td>
    <td><p>URLs: <a href="http://pasdoc.sourceforge.net/">http://pasdoc.sourceforge.net/</a></p></td>
  </tr>
  <tr class="odd">
    <td><p>And, last but not least, nested table: </p>

<table class="table_tag">
  <tr class="head">
    <th><p>1</p></th>
    <th><p>2</p></th>
  </tr>
  <tr class="head">
    <th><p>3</p></th>
    <th><p>4</p></th>
  </tr>
</table>

<p></p></td>
    <td><p>B</p></td>
  </tr>
</table>

<p>

<p>Some 2-row table tests:

<p></p>

<table class="table_tag">
  <tr class="head">
    <th><p>A</p></th>
    <th><p>B</p></th>
  </tr>
  <tr class="head">
    <th><p>C</p></th>
    <th><p>D</p></th>
  </tr>
</table>

<p>

<p></p>

<table class="table_tag">
  <tr class="odd">
    <td><p>A</p></td>
    <td><p>B</p></td>
  </tr>
  <tr class="even">
    <td><p>C</p></td>
    <td><p>D</p></td>
  </tr>
</table>

<p>

<p></p>

<table class="table_tag">
  <tr class="odd">
    <td><p>A</p></td>
    <td><p>B</p></td>
  </tr>
  <tr class="head">
    <th><p>C</p></th>
    <th><p>D</p></th>
  </tr>
</table>

<p></p>
<span id="PasDoc-Uses"></span></body></html>