aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/layoutmgr
diff options
context:
space:
mode:
authorAndreas L. Delmelle <adelmelle@apache.org>2009-07-04 17:04:35 +0000
committerAndreas L. Delmelle <adelmelle@apache.org>2009-07-04 17:04:35 +0000
commit28ab50e140f682d13def8895f2e7755acb81e190 (patch)
treea28e09431b69ffe17f0b3ccfc014c0465e7ee7ca /src/java/org/apache/fop/layoutmgr
parentc533d4aac8c34458d06b9579982b2506df24eb4e (diff)
downloadxmlgraphics-fop-28ab50e140f682d13def8895f2e7755acb81e190.tar.gz
xmlgraphics-fop-28ab50e140f682d13def8895f2e7755acb81e190.zip
Undid change related to column-keeps
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@791155 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/layoutmgr')
-rw-r--r--src/java/org/apache/fop/layoutmgr/AbstractBreaker.java8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/java/org/apache/fop/layoutmgr/AbstractBreaker.java b/src/java/org/apache/fop/layoutmgr/AbstractBreaker.java
index a27b8ff13..6393935ae 100644
--- a/src/java/org/apache/fop/layoutmgr/AbstractBreaker.java
+++ b/src/java/org/apache/fop/layoutmgr/AbstractBreaker.java
@@ -429,13 +429,7 @@ public abstract class AbstractBreaker {
ListElement lastBreakElement = effectiveList.getElement(endElementIndex);
if (lastBreakElement.isPenalty()) {
KnuthPenalty pen = (KnuthPenalty)lastBreakElement;
- // TODO Handle keep.within-column differently so that break class is
- // automatically set to the right value
- if (pen.getP() >= KnuthPenalty.INFINITE - 1) {
- lastBreakClass = Constants.EN_COLUMN;
- } else {
- lastBreakClass = pen.getBreakClass();
- }
+ lastBreakClass = pen.getBreakClass();
} else {
lastBreakClass = Constants.EN_COLUMN;
}