Revision: 7867
http://svn.sourceforge.net/foray/?rev=7867&view=rev
Author: victormote
Date: 2006-09-03 11:43:33 -0700 (Sun, 03 Sep 2006)
Log Message:
-----------
Add interface for classes that act as a template for generating the sequence of pages.
Added Paths:
-----------
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/PageSequenceTemplate.java
Added: trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/PageSequenceTemplate.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/PageSequenceTemplate.java (rev 0)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/PageSequenceTemplate.java 2006-09-03 18:43:33 UTC (rev 7867)
@@ -0,0 +1,42 @@
+/*
+ * Copyright 2006 The FOray Project.
+ * http://www.foray.org
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * This work is in part derived from the following work(s), used with the
+ * permission of the licensor:
+ * Apache FOP, licensed by the Apache Software Foundation
+ *
+ */
+
+/* $Id$ */
+
+package org.foray.fotree.fo.obj;
+
+/**
+ * Abstraction of the formatting objects that can be used as a template to
+ * generate sequences of pages for a page-sequence.
+ * For XSL-FO 1.0, this includes {@link SimplePageMaster} and
+ * {@link PageSequenceMaster};
+ */
+public interface PageSequenceTemplate {
+
+ /**
+ * Returns the page-master instances that are included in this template.
+ * @return The page-master instances that can be generated from this
+ * template.
+ */
+ AbstractPageMaster[] getPages() ;
+
+}
Property changes on: trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/PageSequenceTemplate.java
___________________________________________________________________
Name: svn:keywords
+ "Author Id Rev Date URL"
Name: svn:eol-style
+ native
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|