PageRenderTime 23ms CodeModel.GetById 15ms app.highlight 5ms RepoModel.GetById 1ms app.codeStats 0ms

/test/target/ok/table.aaw

http://txt2tags.googlecode.com/
Unknown | 280 lines | 220 code | 60 blank | 0 comment | 0 complexity | 42ca35de4982a8d6243a2eb391c2abf5 MD5 | raw file
  1<!doctype html><html><title></title><pre>
  2
  3                            +--------------+
  4                            | Simple table |
  5                            +--------------+
  6
  7  +----------+----------+----------+
  8  | Cell 1-1 | Cell 1-2 | Cell 1-3 |
  9  | Cell 2-1 | Cell 2-2 | Cell 2-3 |
 10  | Cell 3-1 | Cell 3-2 | Cell 3-3 |
 11  +----------+----------+----------+
 12
 13
 14                       +-----------------------+
 15                       | Simple table + border |
 16                       +-----------------------+
 17
 18  +----------+----------+----------+
 19  | Cell 1-1 | Cell 1-2 | Cell 1-3 |
 20  +----------+----------+----------+
 21  | Cell 2-1 | Cell 2-2 | Cell 2-3 |
 22  +----------+----------+----------+
 23  | Cell 3-1 | Cell 3-2 | Cell 3-3 |
 24  +----------+----------+----------+
 25
 26
 27                       +------------------------+
 28                       | Simple table + heading |
 29                       +------------------------+
 30
 31  +----------+----------+----------+
 32  | Head 1-1 | Head 1-2 | Head 1-3 |
 33  +----------+----------+----------+
 34  | Cell 1-1 | Cell 1-2 | Cell 1-3 |
 35  | Cell 2-1 | Cell 2-2 | Cell 2-3 |
 36  | Cell 3-1 | Cell 3-2 | Cell 3-3 |
 37  +----------+----------+----------+
 38
 39
 40                  +---------------------------------+
 41                  | Simple table + heading + border |
 42                  +---------------------------------+
 43
 44  +----------+----------+----------+
 45  | Head 1-1 | Head 1-2 | Head 1-3 |
 46  +==========+==========+==========+
 47  | Cell 1-1 | Cell 1-2 | Cell 1-3 |
 48  +----------+----------+----------+
 49  | Cell 2-1 | Cell 2-2 | Cell 2-3 |
 50  +----------+----------+----------+
 51  | Cell 3-1 | Cell 3-2 | Cell 3-3 |
 52  +----------+----------+----------+
 53
 54
 55              +------------------------------------------+
 56              | Simple table + heading + border + footer |
 57              +------------------------------------------+
 58
 59  +----------+----------+----------+
 60  | Head 1-1 | Head 1-2 | Head 1-3 |
 61  +==========+==========+==========+
 62  | Cell 1-1 | Cell 1-2 | Cell 1-3 |
 63  +----------+----------+----------+
 64  | Cell 2-1 | Cell 2-2 | Cell 2-3 |
 65  +----------+----------+----------+
 66  | Cell 3-1 | Cell 3-2 | Cell 3-3 |
 67  +----------+----------+----------+
 68  | Foot 1-1 | Foot 1-2 | Foot 1-3 |
 69  +----------+----------+----------+
 70
 71
 72           +-----------------------------------------------+
 73           | Simple table + heading + border + centralized |
 74           +-----------------------------------------------+
 75
 76                   +----------+----------+----------+                   
 77                   | Head 1-1 | Head 1-2 | Head 1-3 |                   
 78                   +==========+==========+==========+                   
 79                   | Cell 1-1 | Cell 1-2 | Cell 1-3 |                   
 80                   +----------+----------+----------+                   
 81                   | Cell 2-1 | Cell 2-2 | Cell 2-3 |                   
 82                   +----------+----------+----------+                   
 83                   | Cell 3-1 | Cell 3-2 | Cell 3-3 |                   
 84                   +----------+----------+----------+                   
 85
 86
 87                           +----------------+
 88                           | Cell alignment |
 89                           +----------------+
 90
 91  +---------+---------+
 92  | ======= | ======= |
 93  +---------+---------+
 94  | <       |       > |
 95  +---------+---------+
 96  |    =    |    =    |
 97  +---------+---------+
 98  |       > | <       |
 99  +---------+---------+
100
101
102                         +-------------------+
103                         | Heading alignment |
104                         +-------------------+
105
106  +---------+---------+
107  | ======= | ======= |
108  +=========+=========+
109  | <       |       > |
110  +---------+---------+
111  |    =    |    =    |
112  +---------+---------+
113  |       > | <       |
114  +---------+---------+
115
116
117                       +-----------------------+
118                       | Column span for cells |
119                       +-----------------------+
120
121  +---+---+---+---+
122  | 1 | 2 | 3 | 4 |
123  +---+---+---+---+
124  | 1 | 2 | 3 + 4 |
125  +---+---+---+---+
126  | 1 + 2 + 3 | 4 |
127  +---+---+---+---+
128  | 1 | 2 + 3 | 4 |
129  +---+---+---+---+
130  | 1 + 2 + 3 + 4 |
131  +---+---+---+---+
132
133
134                      +--------------------------+
135                      | Column span for headings |
136                      +--------------------------+
137
138  +---+---+---+---+
139  | 1 | 2 | 3 | 4 |
140  +===+===+===+===+
141  | 1 | 2 | 3 + 4 |
142  +---+---+---+---+
143  | 1 + 2 + 3 | 4 |
144  +---+---+---+---+
145  | 1 | 2 + 3 | 4 |
146  +---+---+---+---+
147  | 1 + 2 + 3 + 4 |
148  +---+---+---+---+
149
150
151                    +------------------------------+
152                    | Cell alignment + column span |
153                    +------------------------------+
154
155  +---------+---------+---------+
156  | ======= | ======= | ======= |
157  +---------+---------+---------+
158  | <                 |    =    |
159  +---------+---------+---------+
160  |              =              |
161  +---------+---------+---------+
162  |    =    |                >  |
163  +---------+---------+---------+
164
165
166                  +---------------------------------+
167                  | Heading alignment + column span |
168                  +---------------------------------+
169
170  +---------+---------+---------+
171  | ======= | ======= | ======= |
172  +=========+=========+=========+
173  | <                 |    =    |
174  +---------+---------+---------+
175  |              =              |
176  +---------+---------+---------+
177  |    =    |                >  |
178  +---------+---------+---------+
179
180
181                          +------------------+
182                          | Some empty cells |
183                          +------------------+
184
185  +---+---+---+---+---+
186  | A | B | C | D |   |
187  +---+---+---+---+---+
188  | F | G | H |   | J |
189  +---+---+---+---+---+
190  | K | L |   | N | O |
191  +---+---+---+---+---+
192  | P |   | R | S | T |
193  +---+---+---+---+---+
194  |   | V | W | X | Y |
195  +---+---+---+---+---+
196
197
198           +------------------------------------------------+
199           | Lines with different number of cells, increase |
200           +------------------------------------------------+
201
202  +---+---+---+---+---+
203  | 1 |   |   |   |   |
204  +---+---+---+---+---+
205  | 1 | 2 |   |   |   |
206  +---+---+---+---+---+
207  | 1 | 2 | 3 |   |   |
208  +---+---+---+---+---+
209  | 1 | 2 | 3 | 4 |   |
210  +---+---+---+---+---+
211  | 1 | 2 | 3 | 4 | 5 |
212  +---+---+---+---+---+
213
214
215           +------------------------------------------------+
216           | Lines with different number of cells, decrease |
217           +------------------------------------------------+
218
219  +---+---+---+---+---+
220  | 1 | 2 | 3 | 4 | 5 |
221  +---+---+---+---+---+
222  | 1 | 2 | 3 | 4 |   |
223  +---+---+---+---+---+
224  | 1 | 2 | 3 |   |   |
225  +---+---+---+---+---+
226  | 1 | 2 |   |   |   |
227  +---+---+---+---+---+
228  | 1 |   |   |   |   |
229  +---+---+---+---+---+
230
231
232                           +----------------+
233                           | One cell table |
234                           +----------------+
235
236  +--------+
237  | Cell 1 |
238  +--------+
239
240
241                      +-------------------------+
242                      | One cell table + border |
243                      +-------------------------+
244
245  +--------+
246  | Cell 1 |
247  +--------+
248
249
250                      +--------------------------+
251                      | One cell table + heading |
252                      +--------------------------+
253
254  +--------+
255  | Head 1 |
256  +--------+
257
258
259                 +-----------------------------------+
260                 | One cell table + heading + border |
261                 +-----------------------------------+
262
263  +--------+
264  | Head 1 |
265  +--------+
266
267
268                            +-------------+
269                            | Empty lines |
270                            +-------------+
271
272  +---+
273  |   |
274  +---+
275  |   |
276  +---+
277  |   |
278  +---+
279
280</pre></html>