aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/layoutmgr/PageBreakingAlgorithm.java
diff options
context:
space:
mode:
authorJeremias Maerki <jeremias@apache.org>2005-06-23 15:01:14 +0000
committerJeremias Maerki <jeremias@apache.org>2005-06-23 15:01:14 +0000
commit1b0fdf72a4abad2c9e8f8878bf257313321855a9 (patch)
tree8fe2bbd0eb48f6ca77b3a2fd723c54ae8a93076f /src/java/org/apache/fop/layoutmgr/PageBreakingAlgorithm.java
parent726fc6a48ffc465e312e60064ed2bde96ea1f5ff (diff)
downloadxmlgraphics-fop-1b0fdf72a4abad2c9e8f8878bf257313321855a9.tar.gz
xmlgraphics-fop-1b0fdf72a4abad2c9e8f8878bf257313321855a9.zip
First parts on a page which don't fit are moved to the next page. A counter avoids endless loops.
Fixes normal-breaking5.xml. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198768 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/layoutmgr/PageBreakingAlgorithm.java')
-rw-r--r--src/java/org/apache/fop/layoutmgr/PageBreakingAlgorithm.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/java/org/apache/fop/layoutmgr/PageBreakingAlgorithm.java b/src/java/org/apache/fop/layoutmgr/PageBreakingAlgorithm.java
index ec1f8860a..b96d2ad78 100644
--- a/src/java/org/apache/fop/layoutmgr/PageBreakingAlgorithm.java
+++ b/src/java/org/apache/fop/layoutmgr/PageBreakingAlgorithm.java
@@ -67,8 +67,9 @@ class PageBreakingAlgorithm extends BreakingAlgorithm {
public PageBreakingAlgorithm(LayoutManager topLevelLM,
PageSequenceLayoutManager.PageViewportProvider pvProvider,
int alignment, int alignmentLast,
- MinOptMax fnSeparatorLength) {
- super(alignment, alignmentLast, true);
+ MinOptMax fnSeparatorLength,
+ boolean partOverflowRecovery) {
+ super(alignment, alignmentLast, true, partOverflowRecovery);
this.topLevelLM = topLevelLM;
this.pvProvider = pvProvider;
best = new BestPageRecords();