demos.report.xhtml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of flying-saucer-examples Show documentation
Show all versions of flying-saucer-examples Show documentation
Misc. Flying Saucer example code. It is not deployed with a release.
Flying Saucer: Tables Support
Flying Saucer XML/CSS2 Renderer
Tables Support
thead!
tfoot!
tbody!
th, tr, td!
alignment
collapse!
colspan!
styles!
Tables support includes:
Tables support is pretty complete at this point. We
support all the table-related XHTML tags, including table, caption, tbody, thead, tfoot, th, tr and td
tags. Table elements can have styles attached to them--in this demo, to show an alternating row
highlight color. In-cell alignment works, as do borders and border-collapse. Colspan, rowspan,
cellpadding and cellspacing attributes are supported. Table and column widths can be set to a
specific or proportional (em, %) value. Also included: complex nested table
layouts, auto layout, floated tables, and vertical alignment within cells.
A Sample Report
assembled by Ali Enn
3rd Qtr Financial Results
Department
Gross Sales
Expenses
Net Profit
1,000,000.00
Pets
12345.00
1020.00
9000.00
12345.00
1020.00
9000.00
12345.00
1020.00
9000.00
12345.00
1020.00
9000.00
12345.00
1020.00
9000.00
12345.00
1020.00
9000.00
Gardening
12345.00
1020.00
9000.00
12345.00
1020.00
9000.00
12345.00
1020.00
9000.00
12345.00
1020.00
9000.00
12345.00
1020.00
9000.00
12345.00
1020.00
9000.00
© 2015 - 2024 Weber Informatics LLC | Privacy Policy