From: Karen Lease Date: Tue, 2 Jan 2001 21:49:15 +0000 (+0000) Subject: update for new properties functionality X-Git-Tag: fop-0_17_0~116 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=12b359838542b24b5de58dd5b2a3e46aa6042a64;p=xmlgraphics-fop.git update for new properties functionality git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193945 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/examples/fo/corresprop.fo b/docs/examples/fo/corresprop.fo new file mode 100644 index 000000000..bc859f98f --- /dev/null +++ b/docs/examples/fo/corresprop.fo @@ -0,0 +1,237 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Corresponding Property Tests - p. + + + + + + + + Corresponding Property Tests + + + + +In this example, padding and border properties are specified using absolute properties: +padding-left, padding-right, padding-top, and padding-bottom, etc. +According to the specification, a request for the absolute (top, bottom, left, right) versions of these properties should use the relative ones if they are specified. + + + + +In this example, padding and border properties are specified using writing-mode relative properties: +padding-before, padding-after, padding-start, and padding-end, etc. +According to the specification, a request for the absolute (top, bottom, left, right) versions of these properties should use the relative ones if they are specified. + + + + This block has a start-indent of 1cm and no borders or padding. It has +no margin-left set. Here is some more text to fill out the block. Here is some more text to fill out the block. Here is some more text. Here is some more text to fill out the block. Here is some more text to fill out the block. Here is some more text to fill out the block. + + + This block has a margin-left of 1cm and no borders or padding. It has +no start-indent set. Here is some more text to fill out the block. Here is some more text to fill out the block. Here is some more text. Here is some more text to fill out the block. Here is some more text to fill out the block. Here is some more text to fill out the block. + + + This block has a start-indent of 1cm, padding-left of 4mm and border-left-width of 1mm. It has +no margin-left set. Here is some more text to fill out the block. Here is some more text to fill out the block. Here is some more text. Here is some more text to fill out the block. Here is some more text to fill out the block. Here is some more text to fill out the block. + + + This block has a margin-left of 5mm, padding-left of 4mm and border-left-width of 1mm. (Margin is outside the border rectangle.) It has +no start-indent set. Here is some more text to fill out the block. Here is some more text to fill out the block. Here is some more text. Here is some more text to fill out the block. Here is some more text to fill out the block. Here is some more text to fill out the block. + + + + + End-indent tests + + + This block has an end-indent of 1cm and no borders or padding. It has +no margin-right set. Here is some more text to fill out the block. Here is some more text to fill out the block. Here is some more text. Here is some more text to fill out the block. Here is some more text to fill out the block. Here is some more text to fill out the block. + + + This block has a margin-right of 1cm and no borders or padding. It has +no end-indent set. Here is some more text to fill out the block. Here is some more text to fill out the block. Here is some more text. Here is some more text to fill out the block. Here is some more text to fill out the block. Here is some more text to fill out the block. + + + This block has an end-indent of 1cm, padding-end of 4mm and border-end-width of 1mm. It has +no margin-right set. Here is some more text to fill out the block. Here is some more text to fill out the block. Here is some more text. Here is some more text to fill out the block. Here is some more text to fill out the block. Here is some more text to fill out the block. + + + This block has a margin-right of 5mm, padding-right of 4mm and +border-right-width of 1mm. (Margin is outside the border rectangle.) It has +no end-indent set. Here is some more text to fill out the block. Here is some more text to fill out the block. Here is some more text. Here is some more text to fill out the block. Here is some more text to fill out the block. Here is some more text to fill out the block. + + + This block has a margin-right of 5mm, padding-end of 4mm and +border-end-width of 1mm. (Margin is outside the border rectangle.) It has +no end-indent set. Here is some more text to fill out the block. Here is some more text to fill out the block. Here is some more text. Here is some more text to fill out the block. Here is some more text to fill out the block. Here is some more text to fill out the block. + + + + + diff --git a/docs/examples/fo/inhprop.fo b/docs/examples/fo/inhprop.fo index 3ea986cc4..16b2fde0a 100644 --- a/docs/examples/fo/inhprop.fo +++ b/docs/examples/fo/inhprop.fo @@ -94,6 +94,8 @@ Below fo:root there is always space-before.optimum="10pt" space-after.optimum="10pt" text-align="start" + keep-with-next.within-page="always" + keep-together.within-page="always" padding-top="3pt"> Function: object from-parent( NCName) @@ -103,6 +105,7 @@ Below fo:root there is always font-family="sans-serif" line-height="1.25em" space-after="3pt" + keep-together="auto" text-align="start"> The from-parent function returns a computed value of the property whose name matches the argument specified. The value returned is that