]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Disable methods using StreamRenderer
authorKaren Lease <klease@apache.org>
Sun, 11 Nov 2001 22:19:01 +0000 (22:19 +0000)
committerKaren Lease <klease@apache.org>
Sun, 11 Nov 2001 22:19:01 +0000 (22:19 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194563 13f79535-47bb-0310-9956-ffa450edef68

src/org/apache/fop/layout/AreaTree.java

index 85a987b456440d06ead2b74d3b1c0a427540b5eb..29168389fbb6c7710d7f9008c7ac506bc8fec2f5 100644 (file)
@@ -65,23 +65,25 @@ public class AreaTree {
 
     public Page getNextPage(Page current, boolean isWithinPageSequence,
                             boolean isFirstCall) {
-        return streamRenderer.getNextPage(current, isWithinPageSequence,isFirstCall);
+        //return streamRenderer.getNextPage(current, isWithinPageSequence,isFirstCall);
+       return null; // This will go away in new layout!
     }
 
     public Page getPreviousPage(Page current, boolean isWithinPageSequence,
                                 boolean isFirstCall) {
-        return streamRenderer.getPreviousPage(current,isWithinPageSequence,isFirstCall);
+        //return streamRenderer.getPreviousPage(current,isWithinPageSequence,isFirstCall);
+       return null; // This will go away in new layout!
     }
 
     public void addPage(Page page)
     throws FOPException {
-        try {
-            page.setExtensions(rootExtensions);
-            rootExtensions = null;
-            streamRenderer.queuePage(page);
-        } catch (IOException e) {
-            throw new FOPException(e);
-        }
+//         try {
+//             page.setExtensions(rootExtensions);
+//             rootExtensions = null;
+//             streamRenderer.queuePage(page);
+//         } catch (IOException e) {
+//             throw new FOPException(e);
+//         }
     }
 
     public IDReferences getIDReferences() {