From 34bc573995321cdd6277d5897df052f2677f88d1 Mon Sep 17 00:00:00 2001 From: Karen Lease Date: Sun, 11 Nov 2001 22:19:01 +0000 Subject: [PATCH] Disable methods using StreamRenderer 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 | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/src/org/apache/fop/layout/AreaTree.java b/src/org/apache/fop/layout/AreaTree.java index 85a987b45..29168389f 100644 --- a/src/org/apache/fop/layout/AreaTree.java +++ b/src/org/apache/fop/layout/AreaTree.java @@ -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() { -- 2.39.5