From 17219a3502a93b491933ba016220f9dca739fdba Mon Sep 17 00:00:00 2001 From: Peter Bernard West Date: Thu, 10 Oct 2002 17:00:36 +0000 Subject: [PATCH] Incorporated into FoPageSequenceMaster. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP_0-20-0_Alt-Design@195320 13f79535-47bb-0310-9956-ffa450edef68 --- .../FoConditionalPageMasterReference.java | 38 -------------- .../FoRepeatablePageMasterAlternatives.java | 51 ------------------- .../FoSinglePageMasterReference.java | 33 ------------ 3 files changed, 122 deletions(-) delete mode 100644 src/org/apache/fop/fo/pagination/FoConditionalPageMasterReference.java delete mode 100644 src/org/apache/fop/fo/pagination/FoRepeatablePageMasterAlternatives.java delete mode 100644 src/org/apache/fop/fo/pagination/FoSinglePageMasterReference.java diff --git a/src/org/apache/fop/fo/pagination/FoConditionalPageMasterReference.java b/src/org/apache/fop/fo/pagination/FoConditionalPageMasterReference.java deleted file mode 100644 index 40839ebae..000000000 --- a/src/org/apache/fop/fo/pagination/FoConditionalPageMasterReference.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * $Id$ - * Copyright (C) 2001 The Apache Software Foundation. All rights reserved. - * For details on use and redistribution please refer to the - * LICENSE file included with these sources. - * - * @author Peter B. West - * @version $Revision$ $Name$ - */ - -package org.apache.fop.fo.pagination; - -import org.apache.fop.fo.pagination.FoSimplePageMaster; -import org.apache.fop.fo.FOAttributes; -import org.apache.fop.xml.XMLEvent; -import org.apache.fop.apps.FOPException; -//import org.apache.fop.messaging.MessageHandler; - -public class FoConditionalPageMasterReference { - - private FoSimplePageMaster master; - private FOAttributes attributes; - - private int pagePosition; - private int oddOrEven; - private int blankOrNotBlank; - - public FoConditionalPageMasterReference(XMLEvent event) - throws FOPException - { - attributes = new FOAttributes(event); - } - - public void setMinimumRepeats(int min) { - minimumRepeats = min; - } - -} diff --git a/src/org/apache/fop/fo/pagination/FoRepeatablePageMasterAlternatives.java b/src/org/apache/fop/fo/pagination/FoRepeatablePageMasterAlternatives.java deleted file mode 100644 index 2be06fae5..000000000 --- a/src/org/apache/fop/fo/pagination/FoRepeatablePageMasterAlternatives.java +++ /dev/null @@ -1,51 +0,0 @@ -/* - * FoRepeatablePageMasterAlternatives.java - * Created: Sun Jan 27 01:19:31 2002 - * Copyright (C) 2001 The Apache Software Foundation. All rights reserved. - * For details on use and redistribution please refer to the - * LICENSE file included with these sources. - * - * @author - * @version $Revision$ $Name$ - */ - -package org.apache.fop.fo.pagination; - -// FOP -import org.apache.fop.fo.FOAttributes; -import org.apache.fop.xml.XMLEvent; -import org.apache.fop.apps.FOPException; -import org.apache.fop.fo.expr.PropertyException; -import org.apache.fop.datastructs.SyncedCircularBuffer; - -/** - * FoRepeatablePageMasterAlternatives is the class which processes - * and represents the o:repeatable-page-master-alternatives element. - * fo:repeatable-page-master-alternatives is the most flexible of the - * page masters in the layout-master-set. It is also the only sub-sequence - * into which all other sub-sequences can be mapped. Because of this, it - * is the only sub-sequence type actually used. - */ -public class FoRepeatablePageMasterAlternatives { - - private FOAttributes attributes; - private LinkedList conditions; - private int maximumRepeats; - private int minimumRepeats; - - public FoRepeatablePageMasterAlternatives - (FOTree foTree, SyncedCircularBuffer xmlevents, XMLEvent event) - throws FOPException - { - - } - - public void setMinimumRepeats(int min) { - minimumRepeats = min; - } - - public void setMaximumRepeats(int max) { - maximumRepeats = max; - } - -}// FoRepeatablePageMasterAlternatives diff --git a/src/org/apache/fop/fo/pagination/FoSinglePageMasterReference.java b/src/org/apache/fop/fo/pagination/FoSinglePageMasterReference.java deleted file mode 100644 index 5ccb4348d..000000000 --- a/src/org/apache/fop/fo/pagination/FoSinglePageMasterReference.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * FoSinglePageMasterReference.java - * Created: Sun Jan 27 01:19:31 2002 - * Copyright (C) 2001 The Apache Software Foundation. All rights reserved. - * For details on use and redistribution please refer to the - * LICENSE file included with these sources. - * - * @author - * @version $Revision$ $Name$ - */ - -package org.apache.fop.fo.pagination; - -// FOP -import org.apache.fop.fo.FOAttributes; -import org.apache.fop.xml.XMLEvent; -import org.apache.fop.apps.FOPException; -import org.apache.fop.fo.expr.PropertyException; -import org.apache.fop.datastructs.SyncedXmlEventsBuffer; - -public class FoSinglePageMasterReference extends FONode { - - public FoSinglePageMasterReference - (SyncedCircularBuffer xmlevents, XMLEvent event) throws FOPException { - super(foTree, FObjectNames.SINGLE_PAGE_MASTER_REFERENCE, parent, - event, FOPropertySets.SEQ_MASTER_SET); - } - - public getMasterReference() { - return getPropertyValue(PropNames.MASTER_REFERENCE); - } - -}// FoSinglePageMasterReference -- 2.39.5