]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
add border-style=solid to make borders be drawn
authorKaren Lease <klease@apache.org>
Thu, 22 Mar 2001 22:25:23 +0000 (22:25 +0000)
committerKaren Lease <klease@apache.org>
Thu, 22 Mar 2001 22:25:23 +0000 (22:25 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194170 13f79535-47bb-0310-9956-ffa450edef68

docs/examples/fo/table.fo

index 79712fb4783bb1fde3d0db7b4d940288d412c505..5f645844a36324d3ba908238259427c40f045a37 100644 (file)
     
     
     <!-- table start -->
-    <fo:table border-width="0.5mm" background-color="yellow">
+    <fo:table border-width="0.5mm" border-style="solid" background-color="yellow">
       <fo:table-column column-width="50mm"/>
       <fo:table-column column-width="50mm"/>
       <fo:table-column column-width="50mm"/>
     
     
     <!-- table start -->
-    <fo:table border-width="3mm" background-color="yellow">
+    <fo:table border-width="3mm" border-style="solid" background-color="yellow">
       <fo:table-column column-width="50mm"/>
       <fo:table-column column-width="50mm"/>
       <fo:table-column column-width="50mm"/>
       <fo:table-column column-width="50mm"/>
       <fo:table-body>
         <fo:table-row>
-          <fo:table-cell border-width="0.5mm" background-color="yellow"><fo:block>good</fo:block></fo:table-cell>
-          <fo:table-cell border-width="0.5mm" background-color="yellow"><fo:block>bad</fo:block></fo:table-cell>
-          <fo:table-cell border-width="0.5mm" background-color="yellow"><fo:block>ugly</fo:block></fo:table-cell>
+          <fo:table-cell border-width="0.5mm" border-style="solid" background-color="yellow"><fo:block>good</fo:block></fo:table-cell>
+          <fo:table-cell border-width="0.5mm" border-style="solid" background-color="yellow"><fo:block>bad</fo:block></fo:table-cell>
+          <fo:table-cell border-width="0.5mm" border-style="solid" background-color="yellow"><fo:block>ugly</fo:block></fo:table-cell>
         </fo:table-row>
         <fo:table-row>
-          <fo:table-cell border-width="0.5mm" background-color="yellow"><fo:block>nice</fo:block></fo:table-cell>
-          <fo:table-cell border-width="0.5mm" background-color="yellow"><fo:block>dice</fo:block></fo:table-cell>
-          <fo:table-cell border-width="0.5mm" background-color="yellow"><fo:block>vice</fo:block></fo:table-cell>
+          <fo:table-cell border-width="0.5mm" border-style="solid" background-color="yellow"><fo:block>nice</fo:block></fo:table-cell>
+          <fo:table-cell border-width="0.5mm" border-style="solid" background-color="yellow"><fo:block>dice</fo:block></fo:table-cell>
+          <fo:table-cell border-width="0.5mm" border-style="solid" background-color="yellow"><fo:block>vice</fo:block></fo:table-cell>
         </fo:table-row>
         <fo:table-row>
-          <fo:table-cell border-width="0.5mm" background-color="yellow"><fo:block>literature</fo:block></fo:table-cell>
-          <fo:table-cell border-width="0.5mm" background-color="yellow"><fo:block>music</fo:block></fo:table-cell>
-          <fo:table-cell border-width="0.5mm" background-color="yellow"><fo:block>art</fo:block></fo:table-cell>
+          <fo:table-cell border-width="0.5mm" border-style="solid" background-color="yellow"><fo:block>literature</fo:block></fo:table-cell>
+          <fo:table-cell border-width="0.5mm" border-style="solid" background-color="yellow"><fo:block>music</fo:block></fo:table-cell>
+          <fo:table-cell border-width="0.5mm" border-style="solid" background-color="yellow"><fo:block>art</fo:block></fo:table-cell>
         </fo:table-row>
         <fo:table-row>
-          <fo:table-cell border-width="0.5mm" background-color="yellow"><fo:block>java</fo:block></fo:table-cell>
-          <fo:table-cell border-width="0.5mm" background-color="yellow"><fo:block>perl</fo:block></fo:table-cell>
-          <fo:table-cell border-width="0.5mm" background-color="yellow"><fo:block>python</fo:block></fo:table-cell>
+          <fo:table-cell border-width="0.5mm" border-style="solid" background-color="yellow"><fo:block>java</fo:block></fo:table-cell>
+          <fo:table-cell border-width="0.5mm" border-style="solid" background-color="yellow"><fo:block>perl</fo:block></fo:table-cell>
+          <fo:table-cell border-width="0.5mm" border-style="solid" background-color="yellow"><fo:block>python</fo:block></fo:table-cell>
         </fo:table-row>
       </fo:table-body>
     </fo:table>
       <fo:table-column column-width="50mm"/>
       <fo:table-body>
         <fo:table-row>
-          <fo:table-cell border-width="2mm" background-color="yellow"><fo:block>good</fo:block></fo:table-cell>
-          <fo:table-cell border-width="2mm" background-color="yellow"><fo:block>bad</fo:block></fo:table-cell>
-          <fo:table-cell border-width="2mm" background-color="yellow"><fo:block>ugly</fo:block></fo:table-cell>
+          <fo:table-cell border-width="2mm" border-style="solid" background-color="yellow"><fo:block>good</fo:block></fo:table-cell>
+          <fo:table-cell border-width="2mm" border-style="solid" background-color="yellow"><fo:block>bad</fo:block></fo:table-cell>
+          <fo:table-cell border-width="2mm" border-style="solid" background-color="yellow"><fo:block>ugly</fo:block></fo:table-cell>
         </fo:table-row>
         <fo:table-row>
-          <fo:table-cell border-width="2mm" background-color="yellow"><fo:block>nice</fo:block></fo:table-cell>
-          <fo:table-cell border-width="2mm" background-color="yellow"><fo:block>dice</fo:block></fo:table-cell>
-          <fo:table-cell border-width="2mm" background-color="yellow"><fo:block>vice</fo:block></fo:table-cell>
+          <fo:table-cell border-width="2mm" border-style="solid" background-color="yellow"><fo:block>nice</fo:block></fo:table-cell>
+          <fo:table-cell border-width="2mm" border-style="solid" background-color="yellow"><fo:block>dice</fo:block></fo:table-cell>
+          <fo:table-cell border-width="2mm" border-style="solid" background-color="yellow"><fo:block>vice</fo:block></fo:table-cell>
         </fo:table-row>
         <fo:table-row>
-          <fo:table-cell border-width="2mm" background-color="yellow"><fo:block>literature</fo:block></fo:table-cell>
-          <fo:table-cell border-width="2mm" background-color="yellow"><fo:block>music</fo:block></fo:table-cell>
-          <fo:table-cell border-width="2mm" background-color="yellow"><fo:block>art</fo:block></fo:table-cell>
+          <fo:table-cell border-width="2mm" border-style="solid" background-color="yellow"><fo:block>literature</fo:block></fo:table-cell>
+          <fo:table-cell border-width="2mm" border-style="solid" background-color="yellow"><fo:block>music</fo:block></fo:table-cell>
+          <fo:table-cell border-width="2mm" border-style="solid" background-color="yellow"><fo:block>art</fo:block></fo:table-cell>
         </fo:table-row>
         <fo:table-row>
-          <fo:table-cell border-width="2mm" background-color="yellow"><fo:block>java</fo:block></fo:table-cell>
-          <fo:table-cell border-width="2mm" background-color="yellow"><fo:block>perl</fo:block></fo:table-cell>
-          <fo:table-cell border-width="2mm" background-color="yellow"><fo:block>python</fo:block></fo:table-cell>
+          <fo:table-cell border-width="2mm" border-style="solid" background-color="yellow"><fo:block>java</fo:block></fo:table-cell>
+          <fo:table-cell border-width="2mm" border-style="solid" background-color="yellow"><fo:block>perl</fo:block></fo:table-cell>
+          <fo:table-cell border-width="2mm" border-style="solid" background-color="yellow"><fo:block>python</fo:block></fo:table-cell>
         </fo:table-row>
       </fo:table-body>
     </fo:table>
       <fo:table-column column-width="50mm"/>
       <fo:table-body>
         <fo:table-row>
-          <fo:table-cell border-width="2mm" background-color="yellow"><fo:block>good</fo:block></fo:table-cell>
-          <fo:table-cell border-width="2mm" background-color="yellow"><fo:block>bad</fo:block></fo:table-cell>
-          <fo:table-cell border-width="2mm" background-color="yellow"><fo:block>ugly</fo:block></fo:table-cell>
+          <fo:table-cell border-width="2mm" border-style="solid" background-color="yellow"><fo:block>good</fo:block></fo:table-cell>
+          <fo:table-cell border-width="2mm" border-style="solid" background-color="yellow"><fo:block>bad</fo:block></fo:table-cell>
+          <fo:table-cell border-width="2mm" border-style="solid" background-color="yellow"><fo:block>ugly</fo:block></fo:table-cell>
         </fo:table-row>
         <fo:table-row>
-          <fo:table-cell border-width="2mm" background-color="yellow"><fo:block>nice</fo:block></fo:table-cell>
-          <fo:table-cell border-width="2mm" background-color="yellow"><fo:block>dice</fo:block></fo:table-cell>
-          <fo:table-cell border-width="2mm" background-color="yellow"><fo:block>vice</fo:block></fo:table-cell>
+          <fo:table-cell border-width="2mm" border-style="solid" background-color="yellow"><fo:block>nice</fo:block></fo:table-cell>
+          <fo:table-cell border-width="2mm" border-style="solid" background-color="yellow"><fo:block>dice</fo:block></fo:table-cell>
+          <fo:table-cell border-width="2mm" border-style="solid" background-color="yellow"><fo:block>vice</fo:block></fo:table-cell>
         </fo:table-row>
         <fo:table-row>
-          <fo:table-cell border-width="2mm" background-color="yellow"><fo:block>literature</fo:block></fo:table-cell>
-          <fo:table-cell border-width="2mm" background-color="yellow"><fo:block>music</fo:block></fo:table-cell>
-          <fo:table-cell border-width="2mm" background-color="yellow"><fo:block>art</fo:block></fo:table-cell>
+          <fo:table-cell border-width="2mm" border-style="solid" background-color="yellow"><fo:block>literature</fo:block></fo:table-cell>
+          <fo:table-cell border-width="2mm" border-style="solid" background-color="yellow"><fo:block>music</fo:block></fo:table-cell>
+          <fo:table-cell border-width="2mm" border-style="solid" background-color="yellow"><fo:block>art</fo:block></fo:table-cell>
         </fo:table-row>
         <fo:table-row>
-          <fo:table-cell border-width="2mm" background-color="yellow"><fo:block>java</fo:block></fo:table-cell>
-          <fo:table-cell border-width="2mm" background-color="yellow"><fo:block>perl</fo:block></fo:table-cell>
-          <fo:table-cell border-width="2mm" background-color="yellow"><fo:block>python</fo:block></fo:table-cell>
+          <fo:table-cell border-width="2mm" border-style="solid" background-color="yellow"><fo:block>java</fo:block></fo:table-cell>
+          <fo:table-cell border-width="2mm" border-style="solid" background-color="yellow"><fo:block>perl</fo:block></fo:table-cell>
+          <fo:table-cell border-width="2mm" border-style="solid" background-color="yellow"><fo:block>python</fo:block></fo:table-cell>
         </fo:table-row>
       </fo:table-body>
     </fo:table>
     </fo:block>
     
 
-      <fo:table border-width="1.5mm" background-color="rgb(100,210,250)">
+      <fo:table border-width="1.5mm" border-style="solid" background-color="rgb(100,210,250)">
         <fo:table-column column-width="150mm"/>
         <fo:table-body>
           <fo:table-row>
       </fo:table>
 
 
-      <fo:table border-width="1.5mm" background-color="rgb(100,210,250)" >
+      <fo:table border-width="1.5mm" border-style="solid" background-color="rgb(100,210,250)" >
         <fo:table-column column-width="150mm"/>
         <fo:table-body>
           <fo:table-row>
       </fo:table>
 
     
-      <fo:table border-width="1.5mm" background-color="rgb(100,210,250)" >
+      <fo:table border-width="1.5mm" border-style="solid" background-color="rgb(100,210,250)" >
         <fo:table-column column-width="150mm"/>
         <fo:table-body>
           <fo:table-row>
         </fo:table-body>
       </fo:table>
 
-      <fo:table border-width="1.5mm" background-color="rgb(100,210,250)">
+      <fo:table border-width="1.5mm" border-style="solid" background-color="rgb(100,210,250)">
         <fo:table-column column-width="150mm"/>
         <fo:table-body>
           <fo:table-row>