From 13f97557be155dbf5c604d90bcc85d36131645f3 Mon Sep 17 00:00:00 2001 From: Karen Lease Date: Sun, 14 Oct 2001 21:04:12 +0000 Subject: [PATCH] Add table-column proportional width and table width percentage examples git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194514 13f79535-47bb-0310-9956-ffa450edef68 --- docs/examples/fo/tableunits.fo | 221 +++++++++++++++++++++++++++++++++ 1 file changed, 221 insertions(+) create mode 100644 docs/examples/fo/tableunits.fo diff --git a/docs/examples/fo/tableunits.fo b/docs/examples/fo/tableunits.fo new file mode 100644 index 000000000..6ede25aa7 --- /dev/null +++ b/docs/examples/fo/tableunits.fo @@ -0,0 +1,221 @@ + + + + + + + + + + + + + + + + + + + + + Table unit tests + + + + + + + fixed width columns + Centered + Bottom aligned + + + + + + + + + + + Some text to make this cell +deeper than the others to check out the aliignment properties. + Centered + Bottom aligned + + + default alignment + + Centered with height=3cm + Bottom aligned + + + default alignment but with a height +of 3cm on the row + Centered + Bottom aligned + + + + +The next table has width=100% on the table no column widths specified on the table-column element. + + + + + + + + + Some text to make this cell +deeper than the others to check out the aliignment properties. + Centered + Bottom aligned + + + + + +The next table has fixed column widths=13cm, ipd.optimum=12cm and ipd.max = 100%. + + + + + + + + + Some text to make this cell +deeper than the others to check out the aliignment properties. + Centered + Bottom aligned + + + +The next table has fixed column widths=16.5cm, ipd.optimum=14cm and ipd.max = 100% (16cm). + + + + + + + + + Some text to make this cell +deeper than the others to check out the aliignment properties. + Centered + Bottom aligned + + + + +The next table has width="70% + 1cm" and fixed lengths and the first table-column +has column-width="from-parent('width') div 3". + + + + + + + + + Some text to make this cell +deeper than the others to check out the aliignment properties. + Centered + Bottom aligned + + + + + +The next table specifies inline-progression-dimension="15cm" instead of width. The +middle column has a fixed width; the other two have default width. + + + + + + + + + Some text to make this cell +deeper than the others to check out the aliignment properties. + Centered + Bottom aligned + + + + + +The next table specifies neither width nor inline-progression-dimenion. + + + + + + + + + Some text to make this cell +deeper than the others to check out the aliignment properties. + Centered + Bottom aligned + + + + + +The next table specifies inline-progression-dimenion.minimum="10cm" and +specifies a column width of 5cm on the middle column only.. + + + + + + + + + Some text to make this cell +deeper than the others to check out the aliignment properties. + Centered + Bottom aligned + + + + +The next table specifies inline-progression-dimenion.minimum="10cm", +inline-progression-dimension.maximum="17cm and +specifies a column width of 5cm on the middle column only.. + + + + + + + + + Some text to make this cell +deeper than the others to check out the aliignment properties. + Centered + Bottom aligned + + + + + + + + -- 2.39.5