# Basic table test

## Table with style border-collapse:collapse

Simple Cell 1.1 | Simple Cell 1.2 | Simple Cell 1.3
Simple Cell 2.1 | Simple Cell 2.2 | Simple Cell 2.3

## Default table no styles

Simple Cell 1.1 | Simple Cell 1.2 | Simple Cell 1.3
Simple Cell 2.1 | Simple Cell 2.2 | Simple Cell 2.3

## Table with attribute border="60"

Simple Cell 1.1 | Simple Cell 1.2 | Simple Cell 1.3
Simple Cell 2.1 | Simple Cell 2.2 | Simple Cell 2.3

## Table with attribute border="5" and style border-collapse:collapse

Simple Cell 1.1 | Simple Cell 1.2
Simple Cell 2.1 | Simple Cell 2.2 | Simple Cell 2.3

# Complex tables

## Complex 1

Cell 1 | Cell 2 ListItem 1 ListItem 2 WithOneLargeWord | Cell 3 containing just normal words to fill the contents of this cell. | Cell 3 containing just normal words to fill the contents of this cell.
Cell 1 | Cell 2 ListItem 1 ListItem 2 WithOneLargeWord | Cell 3 containing just normal words to fill the contents of this cell. | Cell 3 containing just normal words to fill the contents of this cell.

## Complex 2

Table with attribute cellspacing=10px and styles:

- margin:10px;
- padding:10px;
- border:3pt red solid;
- empty-cells:hide;
- repeat-header:yes
- repeat-footer:yes

Note: repeat-header and repeat-footer are NOT real HTML attributes, but only work in combination with this XMLWorker. These two styles are used by iText to repeat headers and footers of large tables that are split over several pages.

Different row types:

- header
- body
- footer
- caption

A row with styles background-color:rgb(160,160,160)

Different cells with attributes:

- width=90
- colspan="5"
- rowspan="2"

Different cells with styles like:

- vertical-align:top;
- vertical-align:bottom;
- border:4px solid purple"
- border-bottom-style:solid;border-bottom-color:pink
- font-size:20pt

Footer 1,1 | Footer 1,2 | Footer 1,3 | Footer 1,4
Footer 2,1 | Footer 2,2 | Footer 2,3 | Footer 2,4
Header 1,1 | Header 1,2 | Header 1,3 | Header 1,4
Header 2,1 | Header 2,2 | Header 2,3 | Header 2,4
Cell 1,1 more content | Cell 1,2 more content | Cell 1,3 | Cell 1,4-1,5
Cell 2,1-2,2 | Cell 2,3 (- 3,3) with rowspan=2 | Cell 2,4 more content and a LongWordWithALotOfLetters to try to let this table fall of the page.
Cell 3,1 | Cell 3,2 more content and other stuff to cause the content to fall of the page. |  | Cell 3,5- 4,5- 5,5
This is the caption of this table
Cell 4,1 - 4,2 | Cell 4,3 (- 5,3) | Cell 4,4
Cell 5,1 | Cell 5,2 more content and other stuff to cause the content to fall of the page.
Cell 6,1
Cell 7,1 | Cell 7,2 with content in it to split this table across several pages to show the repeat-header and repeat-footer css styles.