]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
now handles id's correctly when a table overflows onto another page
authorJordan Naftolin <jordan@apache.org>
Thu, 20 Jul 2000 18:47:49 +0000 (18:47 +0000)
committerJordan Naftolin <jordan@apache.org>
Thu, 20 Jul 2000 18:47:49 +0000 (18:47 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193538 13f79535-47bb-0310-9956-ffa450edef68

src/org/apache/fop/fo/flow/TableRow.java

index f876b5997e2cf60896085a6062c28b7376932eec..764cda7e6ea5afe6aabbc2ec3c74b1b5dbedad3e 100644 (file)
@@ -198,9 +198,10 @@ public class TableRow extends FObj {
                    status = new Status(Status.AREA_FULL_SOME);
                }
                
-                resetMarker();
-                area.removeChild(areaContainer);                
-
+               area.removeChild(areaContainer);
+                this.resetMarker();                
+                this.removeID(area.getIDReferences());
+                                
                return status;
            }
 
@@ -230,15 +231,7 @@ public class TableRow extends FObj {
        }
 
        return new Status(Status.OK);
-    }
-
-    public void resetMarker() {
-       this.marker = START;
-       int numChildren = this.children.size();
-       for (int i = 0; i < numChildren; i++) {
-           ((FONode) children.elementAt(i)).resetMarker();
-       }
-    }
+    }   
 
     public int getAreaHeight() {
        return areaContainer.getHeight();