]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Added null page creation
authorPeter Bernard West <pbwest@apache.org>
Tue, 4 May 2004 07:45:29 +0000 (07:45 +0000)
committerPeter Bernard West <pbwest@apache.org>
Tue, 4 May 2004 07:45:29 +0000 (07:45 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP_0-20-0_Alt-Design@197562 13f79535-47bb-0310-9956-ffa450edef68

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

index c7fa6133cfe2b74c2a38154ed5f51be11cf2e993..86069b60d2ed77171dcc761a4fd3ca24ce2ec84f 100644 (file)
@@ -33,6 +33,7 @@ import java.util.NoSuchElementException;
 import java.util.Set;
 
 import org.apache.fop.apps.FOPException;
+import org.apache.fop.area.Page;
 import org.apache.fop.datastructs.TreeException;
 import org.apache.fop.fo.FONode;
 import org.apache.fop.fo.FOTree;
@@ -191,7 +192,7 @@ public class FoPageSequence extends FONode {
                 staticContents = Collections.unmodifiableMap(staticSubtrees);
             }
             // Generate a null page for the flow(s)
-            
+            Page page = Page.setupNullPage(this, foTree.getNextPageId());
 
             // Look for one or more fo:flow
             // must have at least one: N.B. in 1.0, only one is allowed,