aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas L. Delmelle <adelmelle@apache.org>2005-12-30 18:58:39 +0000
committerAndreas L. Delmelle <adelmelle@apache.org>2005-12-30 18:58:39 +0000
commitc7a8efeab0c33751e770a66fe999536485e8c496 (patch)
tree4e3a53ebd528f70bf75121a77130516fb34717aa
parent4f4eea4b9d8ef81e4441a9f46b504f0b128b8b8d (diff)
downloadxmlgraphics-fop-c7a8efeab0c33751e770a66fe999536485e8c496.tar.gz
xmlgraphics-fop-c7a8efeab0c33751e770a66fe999536485e8c496.zip
Applied white-space handling to leaders as well...
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@360142 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--src/java/org/apache/fop/fo/FObjMixed.java8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/java/org/apache/fop/fo/FObjMixed.java b/src/java/org/apache/fop/fo/FObjMixed.java
index b52cb9d03..d26dc6653 100644
--- a/src/java/org/apache/fop/fo/FObjMixed.java
+++ b/src/java/org/apache/fop/fo/FObjMixed.java
@@ -57,10 +57,8 @@ public abstract class FObjMixed extends FObj {
/** @see org.apache.fop.fo.FONode#endOfNode() */
protected void endOfNode() throws FOPException {
flushText();
- if (getNameId() != FO_LEADER) {
- getFOEventHandler().whiteSpaceHandler
- .handleWhiteSpace(this, currentTextNode);
- }
+ getFOEventHandler().whiteSpaceHandler
+ .handleWhiteSpace(this, currentTextNode);
super.endOfNode();
}
@@ -88,7 +86,7 @@ public abstract class FObjMixed extends FObj {
if (currentTextNode == null) {
currentTextNode = child;
}
- } else if (getNameId() != FO_LEADER) {
+ } else {
// handle white-space for all text up to here
getFOEventHandler().whiteSpaceHandler
.handleWhiteSpace(this, currentTextNode, child);