]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Updated Rounded Corners example fo
authorPeter Hancock <phancock@apache.org>
Fri, 12 Oct 2012 09:22:16 +0000 (09:22 +0000)
committerPeter Hancock <phancock@apache.org>
Fri, 12 Oct 2012 09:22:16 +0000 (09:22 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_RoundedCorners@1397488 13f79535-47bb-0310-9956-ffa450edef68

examples/fo/advanced/rounded-corners.fo

index 44824d6cc972af7ecf5823563afb4c945baf1c15..d8df05922dc654e5e03d75c9844ecb64379ca789 100644 (file)
@@ -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"/>
           </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>