aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/fo/pagination/SubSequenceSpecifier.java
diff options
context:
space:
mode:
authorJeremias Maerki <jeremias@apache.org>2005-06-15 09:08:35 +0000
committerJeremias Maerki <jeremias@apache.org>2005-06-15 09:08:35 +0000
commit84e1ae6512f685ad1850322d9a40250666d6f8f2 (patch)
tree43b2cf755e83a1eaf035812321810d5facc7d428 /src/java/org/apache/fop/fo/pagination/SubSequenceSpecifier.java
parent9c529b73ddc010dec161a877ceda85f38b702322 (diff)
downloadxmlgraphics-fop-84e1ae6512f685ad1850322d9a40250666d6f8f2.tar.gz
xmlgraphics-fop-84e1ae6512f685ad1850322d9a40250666d6f8f2.zip
Page breaking process now respects changing available BPD (not IPD) over multiple pages.
PageSequenceMaster allows backtracking. PageViewports are delivered through a PageViewportProvider class which caches PVs and handles cases where the breaking algorithm allocates PVs that turn out to be unused later (because of hard breaks which may cause blank pages, for example). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198746 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/fo/pagination/SubSequenceSpecifier.java')
-rw-r--r--src/java/org/apache/fop/fo/pagination/SubSequenceSpecifier.java8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/fo/pagination/SubSequenceSpecifier.java b/src/java/org/apache/fop/fo/pagination/SubSequenceSpecifier.java
index 67b5cc303..39609bb05 100644
--- a/src/java/org/apache/fop/fo/pagination/SubSequenceSpecifier.java
+++ b/src/java/org/apache/fop/fo/pagination/SubSequenceSpecifier.java
@@ -1,5 +1,5 @@
/*
- * Copyright 1999-2004 The Apache Software Foundation.
+ * Copyright 1999-2005 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -45,5 +45,11 @@ public interface SubSequenceSpecifier {
*/
void reset();
+ /**
+ * Used to set the "cursor position" to the previous item.
+ * @return true if there is a previous item, false if the current one was the first one.
+ */
+ boolean goToPrevious();
+
}