From 7046cf8b448ae03a2ad44d7a3ad40ae6421cf2c7 Mon Sep 17 00:00:00 2001 From: Keiron Liddle Date: Thu, 29 Aug 2002 10:55:53 +0000 Subject: [PATCH] some block-container examples with reference-orientation and absolute pos git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@195125 13f79535-47bb-0310-9956-ffa450edef68 --- docs/examples/fo/blockcontainer.fo | 170 +++++++++++++++++++++++++++++ 1 file changed, 170 insertions(+) create mode 100644 docs/examples/fo/blockcontainer.fo diff --git a/docs/examples/fo/blockcontainer.fo b/docs/examples/fo/blockcontainer.fo new file mode 100644 index 000000000..c46821887 --- /dev/null +++ b/docs/examples/fo/blockcontainer.fo @@ -0,0 +1,170 @@ + + + + + + + + + + Block Containers + + + + The fo:block-container object can be used to create an area with + a different writing mode or a different reference orientation. + The areas can be part of the flow or absolutely positioned. + + + + This is a normal block container within the flow layout. + + + BC:A + + + + + + This block container has a different reference orientation. + + + BC:B + + + The areas are stacked normally but the orientation of the + area is rotated 90 degrees anti-clockwise. + + + The blocks continue until exhausted as the layout + height of this container is fixed in the parent + block progression dimension. The clipping of the result + is determined by the overflow property. The block + progression dimension of this container is effectively + infinite. + + + + + + This block container has a different reference orientation. + + + BC:B II + + + The areas are stacked normally but the orientation of the + area is rotated 90 degrees clockwise. + + + The blocks continue until exhausted as the layout + height of this container is fixed in the parent + block progression dimension. The clipping of the result + is determined by the overflow property. + + + + + + This block container has a different reference orientation. + + + BC:B III + + + The areas are stacked normally but the orientation of the + area is rotated 180 degrees clockwise. + + + This block container behaves as part of the flow except + the contents are drawn rotated within the viewport by + 180 degrees. + + + + + + different writing mode + + + BC:C + + + The areas in this block are stacked according to the rl (tb) + writing mode. + + + + + + The next block-container has an absolute position. It does + not effect the flow layout of other blocks. + + + BC:D + + + This is a normal block that is confined to the + block container. + + + + + + The next block-container has an absolute position. It does + not effect the flow layout of other blocks. This time with + the reference-orientation set. + + + BC:E + + + This is a normal block that is confined to the + block container. + + + + + + End of page. + + + + The next block-container tests the clipping. + + + BC:F + + + This is a normal block that is confined to the + block container. It also has contents that are + larger than the block-container so that this text + will be clipped to the viewport. + + + + + + The next block-container tests error-if-overflow. + + + BC:G + + + This is a normal block that is confined to the + block container. It also has contents that are + larger than the block-container so that this text + will be clipped to the viewport. + + + + + + +