diff options
author | Peter Hancock <phancock@apache.org> | 2012-10-12 09:22:16 +0000 |
---|---|---|
committer | Peter Hancock <phancock@apache.org> | 2012-10-12 09:22:16 +0000 |
commit | 2d0a6a2c81b6c683f73e1886afb75e2ab45c6430 (patch) | |
tree | cbb63a59f9cf4240dfb3667a48b310e933bdc94f /examples | |
parent | c8395e945d2e7c5bd410da2aaa05e9325fb790aa (diff) | |
download | xmlgraphics-fop-2d0a6a2c81b6c683f73e1886afb75e2ab45c6430.tar.gz xmlgraphics-fop-2d0a6a2c81b6c683f73e1886afb75e2ab45c6430.zip |
Updated Rounded Corners example fo
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_RoundedCorners@1397488 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'examples')
-rw-r--r-- | examples/fo/advanced/rounded-corners.fo | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/examples/fo/advanced/rounded-corners.fo b/examples/fo/advanced/rounded-corners.fo index 44824d6cc..d8df05922 100644 --- a/examples/fo/advanced/rounded-corners.fo +++ b/examples/fo/advanced/rounded-corners.fo @@ -69,7 +69,7 @@ </fo:table-row> </fo:table-body> </fo:table> - <fo:table border-collapse="separate" margin="40pt 0 20pt 0"> + <fo:table border-collapse="separate" margin="40pt 0 20pt 0" break-after="page"> <fo:table-column column-width="150pt"/> <fo:table-column column-width="150pt"/> <fo:table-column column-width="150pt"/> @@ -115,6 +115,12 @@ </fo:table-row> </fo:table-body> </fo:table> + <fo:block margin="20pt 0 40pt 0"> + <fo:block> </fo:block> + <fo:block-container margin="10 20pt 20pt 20pt"> + <fo:block border-style="solid" border-width="10" border-color="#00f" fox:border-radius="2000pt" padding="20pt" text-align="center" margin-bottom="10pt">If border radii are specified that would produce overlapping curves (as is the case for the block containg <fo:inline font-style="italic">this</fo:inline> text), then all border radii are proportionally reduced until none of them overlap. This is in accordance to the procedure described at http://www.w3.org/TR/css3-background/#corner-overlap.</fo:block> + </fo:block-container> + </fo:block> </fo:flow> </fo:page-sequence> </fo:root> |