]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
rowStarted doesn't need to be set in the signalNewRow method. If it is, it will preve...
authorVincent Hennebert <vhennebert@apache.org>
Fri, 15 Feb 2008 18:33:12 +0000 (18:33 +0000)
committerVincent Hennebert <vhennebert@apache.org>
Fri, 15 Feb 2008 18:33:12 +0000 (18:33 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@628140 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/fo/flow/table/TableBody.java
test/fotree/unittests/table/RowGroupBuilder_no-row_simple.fo

index 7df1ed0a7dde19d6a78b0130b6f721c57b62052f..c3642c2606f8a5158c52706643f3976d472e7338 100644 (file)
@@ -286,7 +286,6 @@ public class TableBody extends TableCellContainer {
                 getTable().getRowGroupBuilder().endRow(this);
             }
         }
-        rowsStarted = true;
     }
 
 }
index d109797a434a34e0f4d23fc26a15c52fee2b9639..3e798ab5f74d150b8c3a73fae5dfac075dd90174 100644 (file)
@@ -32,7 +32,7 @@
     <fo:flow flow-name="xsl-region-body">
       <!-- Table 1: no header, no footer, one body (1 row) -->
       <fo:table width="10cm" space-before="12pt" table-layout="fixed"
-        border-collapse="separate" border="1pt solid black">
+        border-collapse="collapse" border="1pt solid black">
         <fo:table-column number-columns-repeated="2" column-width="proportional-column-width(1)"/>
         <fo:table-body>
           <fo:table-cell starts-row="true"><fo:block>Cell 1</fo:block></fo:table-cell>
@@ -54,7 +54,7 @@
 
       <!-- Table 3: no header, no footer, two bodies (1 row, 1 row) -->
       <fo:table width="10cm" space-before="12pt" table-layout="fixed"
-        border-collapse="separate" border="1pt solid black">
+        border-collapse="collapse" border="1pt solid black">
         <fo:table-column number-columns-repeated="2" column-width="proportional-column-width(1)"/>
         <fo:table-body>
           <fo:table-cell starts-row="true"><fo:block>Cell 1</fo:block></fo:table-cell>
@@ -88,7 +88,7 @@
 
       <!-- Table 5: one header (1 row), no footer, one body (1 row) -->
       <fo:table width="10cm" space-before="12pt" table-layout="fixed"
-        border-collapse="separate" border="1pt solid black">
+        border-collapse="collapse" border="1pt solid black">
         <fo:table-column number-columns-repeated="2" column-width="proportional-column-width(1)"/>
         <fo:table-header>
           <fo:table-cell starts-row="true"><fo:block>Header 1</fo:block></fo:table-cell>
 
       <!-- Table 7: one header (1 row), one footer (1 row), one body (1 row) -->
       <fo:table width="10cm" space-before="12pt" table-layout="fixed"
-        border-collapse="separate" border="1pt solid black">
+        border-collapse="collapse" border="1pt solid black">
         <fo:table-column number-columns-repeated="2" column-width="proportional-column-width(1)"/>
         <fo:table-header>
           <fo:table-cell starts-row="true"><fo:block>Header 1</fo:block></fo:table-cell>
 
       <!-- Table 9: one header (3 rows), one footer (2 rows), three bodies (2 rows, 1 row, 3 rows) -->
       <fo:table width="10cm" space-before="12pt" table-layout="fixed"
-        border-collapse="separate" border="1pt solid black">
+        border-collapse="collapse" border="1pt solid black">
         <fo:table-column number-columns-repeated="2" column-width="proportional-column-width(1)"/>
         <fo:table-header>
           <fo:table-cell starts-row="true"><fo:block>Header 1</fo:block></fo:table-cell>