From: Karen Lease Date: Sun, 11 Nov 2001 22:19:01 +0000 (+0000) Subject: Disable methods using StreamRenderer X-Git-Tag: fop-0_20_4-doc~200 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=34bc573995321cdd6277d5897df052f2677f88d1;p=xmlgraphics-fop.git Disable methods using StreamRenderer git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194563 13f79535-47bb-0310-9956-ffa450edef68 --- 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() {