/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. | Simple table |
  4. +--------------+
  5. +----------+----------+----------+
  6. | Cell 1-1 | Cell 1-2 | Cell 1-3 |
  7. | Cell 2-1 | Cell 2-2 | Cell 2-3 |
  8. | Cell 3-1 | Cell 3-2 | Cell 3-3 |
  9. +----------+----------+----------+
  10. +-----------------------+
  11. | Simple table + border |
  12. +-----------------------+
  13. +----------+----------+----------+
  14. | Cell 1-1 | Cell 1-2 | Cell 1-3 |
  15. +----------+----------+----------+
  16. | Cell 2-1 | Cell 2-2 | Cell 2-3 |
  17. +----------+----------+----------+
  18. | Cell 3-1 | Cell 3-2 | Cell 3-3 |
  19. +----------+----------+----------+
  20. +------------------------+
  21. | Simple table + heading |
  22. +------------------------+
  23. +----------+----------+----------+
  24. | Head 1-1 | Head 1-2 | Head 1-3 |
  25. +----------+----------+----------+
  26. | Cell 1-1 | Cell 1-2 | Cell 1-3 |
  27. | Cell 2-1 | Cell 2-2 | Cell 2-3 |
  28. | Cell 3-1 | Cell 3-2 | Cell 3-3 |
  29. +----------+----------+----------+
  30. +---------------------------------+
  31. | Simple table + heading + border |
  32. +---------------------------------+
  33. +----------+----------+----------+
  34. | Head 1-1 | Head 1-2 | Head 1-3 |
  35. +==========+==========+==========+
  36. | Cell 1-1 | Cell 1-2 | Cell 1-3 |
  37. +----------+----------+----------+
  38. | Cell 2-1 | Cell 2-2 | Cell 2-3 |
  39. +----------+----------+----------+
  40. | Cell 3-1 | Cell 3-2 | Cell 3-3 |
  41. +----------+----------+----------+
  42. +------------------------------------------+
  43. | Simple table + heading + border + footer |
  44. +------------------------------------------+
  45. +----------+----------+----------+
  46. | Head 1-1 | Head 1-2 | Head 1-3 |
  47. +==========+==========+==========+
  48. | Cell 1-1 | Cell 1-2 | Cell 1-3 |
  49. +----------+----------+----------+
  50. | Cell 2-1 | Cell 2-2 | Cell 2-3 |
  51. +----------+----------+----------+
  52. | Cell 3-1 | Cell 3-2 | Cell 3-3 |
  53. +----------+----------+----------+
  54. | Foot 1-1 | Foot 1-2 | Foot 1-3 |
  55. +----------+----------+----------+
  56. +-----------------------------------------------+
  57. | Simple table + heading + border + centralized |
  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. +----------------+
  69. | Cell alignment |
  70. +----------------+
  71. +---------+---------+
  72. | ======= | ======= |
  73. +---------+---------+
  74. | < | > |
  75. +---------+---------+
  76. | = | = |
  77. +---------+---------+
  78. | > | < |
  79. +---------+---------+
  80. +-------------------+
  81. | Heading alignment |
  82. +-------------------+
  83. +---------+---------+
  84. | ======= | ======= |
  85. +=========+=========+
  86. | < | > |
  87. +---------+---------+
  88. | = | = |
  89. +---------+---------+
  90. | > | < |
  91. +---------+---------+
  92. +-----------------------+
  93. | Column span for cells |
  94. +-----------------------+
  95. +---+---+---+---+
  96. | 1 | 2 | 3 | 4 |
  97. +---+---+---+---+
  98. | 1 | 2 | 3 + 4 |
  99. +---+---+---+---+
  100. | 1 + 2 + 3 | 4 |
  101. +---+---+---+---+
  102. | 1 | 2 + 3 | 4 |
  103. +---+---+---+---+
  104. | 1 + 2 + 3 + 4 |
  105. +---+---+---+---+
  106. +--------------------------+
  107. | Column span for headings |
  108. +--------------------------+
  109. +---+---+---+---+
  110. | 1 | 2 | 3 | 4 |
  111. +===+===+===+===+
  112. | 1 | 2 | 3 + 4 |
  113. +---+---+---+---+
  114. | 1 + 2 + 3 | 4 |
  115. +---+---+---+---+
  116. | 1 | 2 + 3 | 4 |
  117. +---+---+---+---+
  118. | 1 + 2 + 3 + 4 |
  119. +---+---+---+---+
  120. +------------------------------+
  121. | Cell alignment + column span |
  122. +------------------------------+
  123. +---------+---------+---------+
  124. | ======= | ======= | ======= |
  125. +---------+---------+---------+
  126. | < | = |
  127. +---------+---------+---------+
  128. | = |
  129. +---------+---------+---------+
  130. | = | > |
  131. +---------+---------+---------+
  132. +---------------------------------+
  133. | Heading alignment + column span |
  134. +---------------------------------+
  135. +---------+---------+---------+
  136. | ======= | ======= | ======= |
  137. +=========+=========+=========+
  138. | < | = |
  139. +---------+---------+---------+
  140. | = |
  141. +---------+---------+---------+
  142. | = | > |
  143. +---------+---------+---------+
  144. +------------------+
  145. | Some empty cells |
  146. +------------------+
  147. +---+---+---+---+---+
  148. | A | B | C | D | |
  149. +---+---+---+---+---+
  150. | F | G | H | | J |
  151. +---+---+---+---+---+
  152. | K | L | | N | O |
  153. +---+---+---+---+---+
  154. | P | | R | S | T |
  155. +---+---+---+---+---+
  156. | | V | W | X | Y |
  157. +---+---+---+---+---+
  158. +------------------------------------------------+
  159. | Lines with different number of cells, increase |
  160. +------------------------------------------------+
  161. +---+---+---+---+---+
  162. | 1 | | | | |
  163. +---+---+---+---+---+
  164. | 1 | 2 | | | |
  165. +---+---+---+---+---+
  166. | 1 | 2 | 3 | | |
  167. +---+---+---+---+---+
  168. | 1 | 2 | 3 | 4 | |
  169. +---+---+---+---+---+
  170. | 1 | 2 | 3 | 4 | 5 |
  171. +---+---+---+---+---+
  172. +------------------------------------------------+
  173. | Lines with different number of cells, decrease |
  174. +------------------------------------------------+
  175. +---+---+---+---+---+
  176. | 1 | 2 | 3 | 4 | 5 |
  177. +---+---+---+---+---+
  178. | 1 | 2 | 3 | 4 | |
  179. +---+---+---+---+---+
  180. | 1 | 2 | 3 | | |
  181. +---+---+---+---+---+
  182. | 1 | 2 | | | |
  183. +---+---+---+---+---+
  184. | 1 | | | | |
  185. +---+---+---+---+---+
  186. +----------------+
  187. | One cell table |
  188. +----------------+
  189. +--------+
  190. | Cell 1 |
  191. +--------+
  192. +-------------------------+
  193. | One cell table + border |
  194. +-------------------------+
  195. +--------+
  196. | Cell 1 |
  197. +--------+
  198. +--------------------------+
  199. | One cell table + heading |
  200. +--------------------------+
  201. +--------+
  202. | Head 1 |
  203. +--------+
  204. +-----------------------------------+
  205. | One cell table + heading + border |
  206. +-----------------------------------+
  207. +--------+
  208. | Head 1 |
  209. +--------+
  210. +-------------+
  211. | Empty lines |
  212. +-------------+
  213. +---+
  214. | |
  215. +---+
  216. | |
  217. +---+
  218. | |
  219. +---+
  220. </pre></html>