]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
add border-collapse property
authorKaren Lease <klease@apache.org>
Wed, 11 Apr 2001 22:02:35 +0000 (22:02 +0000)
committerKaren Lease <klease@apache.org>
Wed, 11 Apr 2001 22:02:35 +0000 (22:02 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194207 13f79535-47bb-0310-9956-ffa450edef68

docs/examples/fo/table.fo
docs/examples/tables/borders.fo

index 5f645844a36324d3ba908238259427c40f045a37..92f6dd9323a0a0fb059377cf6187449f0bf41e3f 100644 (file)
     
     
     <!-- table start -->
-    <fo:table>
+    <fo:table border-collapse="separate">
       <fo:table-column column-width="50mm"/>
       <fo:table-column column-width="50mm"/>
       <fo:table-column column-width="50mm"/>
     
     
     <!-- table start -->
-    <fo:table>
+    <fo:table border-collapse="separate">
       <fo:table-column column-width="50mm"/>
       <fo:table-column column-width="50mm"/>
       <fo:table-column column-width="50mm"/>
     </fo:block>
 
     <!-- table start -->
-    <fo:table>
+    <fo:table border-collapse="separate">
       <fo:table-column column-width="50mm"/>
       <fo:table-column column-width="50mm"/>
       <fo:table-column column-width="50mm"/>
index 4335d8bb9f2abfe03b20f632301be6ba0f3869d0..60bbb6c25171474182d954a0190d50c3b60635b4 100644 (file)
@@ -31,7 +31,7 @@
       Table 1: cell borders
       </fo:block>
 
-      <fo:table>
+      <fo:table border-collapse="separate">
        <fo:table-column column-width="3cm"/>
        <fo:table-column column-width="3cm"/>
        <fo:table-column column-width="3cm"/>
       Table 1: row borders
       </fo:block>
 
-      <fo:table>
+      <fo:table border-collapse="separate">
        <fo:table-column column-width="3cm"/>
        <fo:table-column column-width="3cm"/>
        <fo:table-column column-width="3cm"/>
       Table 1: column borders
       </fo:block>
 
-      <fo:table>
+      <fo:table border-collapse="separate">
        <fo:table-column column-width="3cm" border-left-color="green" border-left-width="0.5pt" border-left-style="solid"/>
        <fo:table-column column-width="3cm" border-top-color="red" border-top-width="0.5pt" border-top-style="solid"/>
        <fo:table-column column-width="3cm" border-right-color="blue" border-right-width="0.5pt" border-right-style="solid"/>
       Table 1: column borders over page
       </fo:block>
 
-      <fo:table>
+      <fo:table border-collapse="separate">
        <fo:table-column column-width="3cm" border-left-color="green" border-left-width="0.5pt" border-left-style="solid"/>
        <fo:table-column column-width="3cm" border-top-color="red" border-top-width="0.5pt" border-top-style="solid"/>
        <fo:table-column column-width="3cm" border-right-color="blue" border-right-width="0.5pt" border-right-style="solid"/>
       Table 1: body borders
       </fo:block>
 
-      <fo:table>
+      <fo:table border-collapse="separate">
        <fo:table-column column-width="3cm"/>
        <fo:table-column column-width="3cm"/>
        <fo:table-column column-width="3cm"/>
        </fo:table-body>
       </fo:table>
 
-      <fo:table>
+      <fo:table border-collapse="separate">
        <fo:table-column column-width="3cm"/>
        <fo:table-column column-width="3cm"/>
        <fo:table-column column-width="3cm"/>
        </fo:table-body>
       </fo:table>
 
-      <fo:table>
+      <fo:table border-collapse="separate">
        <fo:table-column column-width="3cm"/>
        <fo:table-column column-width="3cm"/>
        <fo:table-column column-width="3cm"/>
        </fo:table-body>
       </fo:table>
 
-      <fo:table>
+      <fo:table border-collapse="separate">
        <fo:table-column column-width="3cm"/>
        <fo:table-column column-width="3cm"/>
        <fo:table-column column-width="3cm"/>
        </fo:table-body>
       </fo:table>
 
-      <fo:table>
+      <fo:table border-collapse="separate">
        <fo:table-column column-width="3cm"/>
        <fo:table-column column-width="3cm"/>
        <fo:table-column column-width="3cm"/>
       Table 1: table borders
       </fo:block>
 
-      <fo:table border-left-color="green" border-left-width="0.5pt" border-left-style="solid">
+      <fo:table border-left-color="green" border-left-width="0.5pt" border-left-style="solid"
+ border-collapse="separate">
        <fo:table-column column-width="3cm"/>
        <fo:table-column column-width="3cm"/>
        <fo:table-column column-width="3cm"/>
        </fo:table-body>
       </fo:table>
 
-      <fo:table border-top-color="red" border-top-width="0.5pt" border-top-style="solid">
+      <fo:table border-top-color="red" border-top-width="0.5pt" border-top-style="solid" border-collapse="separate">
        <fo:table-column column-width="3cm"/>
        <fo:table-column column-width="3cm"/>
        <fo:table-column column-width="3cm"/>
        </fo:table-body>
       </fo:table>
 
-      <fo:table border-right-color="blue" border-right-width="0.5pt" border-right-style="solid">
+      <fo:table border-right-color="blue" border-right-width="0.5pt" border-right-style="solid" border-collapse="separate">
        <fo:table-column column-width="3cm"/>
        <fo:table-column column-width="3cm"/>
        <fo:table-column column-width="3cm"/>
        </fo:table-body>
       </fo:table>
 
-      <fo:table border-bottom-color="yellow" border-bottom-width="0.5pt" border-bottom-style="solid">
+      <fo:table border-bottom-color="yellow" border-bottom-width="0.5pt" border-bottom-style="solid" border-collapse="separate">
        <fo:table-column column-width="3cm"/>
        <fo:table-column column-width="3cm"/>
        <fo:table-column column-width="3cm"/>
        </fo:table-body>
       </fo:table>
 
-      <fo:table border-color="orange" border-width="0.5pt" border-style="solid">
+      <fo:table border-color="orange" border-width="0.5pt" border-style="solid" border-collapse="separate">
        <fo:table-column column-width="3cm"/>
        <fo:table-column column-width="3cm"/>
        <fo:table-column column-width="3cm"/>
       Table 1: combinations
       </fo:block>
 
-      <fo:table border-left-color="green" border-left-width="0.5pt" border-left-style="solid">
+      <fo:table border-left-color="green" border-left-width="0.5pt" border-left-style="solid" border-collapse="separate">
        <fo:table-column column-width="2.5cm"/>
        <fo:table-column column-width="2.5cm" border-left-color="green" border-left-width="0.5pt" border-left-style="solid"/>
        <fo:table-column column-width="2.5cm" border-top-color="red" border-top-width="0.5pt" border-top-style="solid"/>