aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/apache
diff options
context:
space:
mode:
authorSteve Coffman <gears@apache.org>2000-11-09 17:03:49 +0000
committerSteve Coffman <gears@apache.org>2000-11-09 17:03:49 +0000
commit6aeecc2138bab13d5aae2cdddddf8a1c8f61e474 (patch)
treef75dc7fd7a0ff1843d098f5eeb989be1d5798b83 /src/org/apache
parent0c5d369fc6afb3bdf08059a6907f757728c76765 (diff)
downloadxmlgraphics-fop-6aeecc2138bab13d5aae2cdddddf8a1c8f61e474.tar.gz
xmlgraphics-fop-6aeecc2138bab13d5aae2cdddddf8a1c8f61e474.zip
This applies Christer Moren's nested list bug
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193756 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/org/apache')
-rw-r--r--src/org/apache/fop/fo/flow/Block.java11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/org/apache/fop/fo/flow/Block.java b/src/org/apache/fop/fo/flow/Block.java
index 9533fddfd..866a6553a 100644
--- a/src/org/apache/fop/fo/flow/Block.java
+++ b/src/org/apache/fop/fo/flow/Block.java
@@ -224,15 +224,14 @@ public class Block extends FObjMixed {
if (area instanceof BlockArea) {
area.end();
}
- if (this.isInLabel) {
- startIndent += bodyIndent;
- endIndent += (area.getAllocationWidth()
+ if (this.isInLabel) {
+ startIndent += bodyIndent;
+ endIndent += (area.getAllocationWidth()
- distanceBetweenStarts - startIndent)
+ labelSeparation;
}
-
- if (this.isInListBody) {
- startIndent += bodyIndent + distanceBetweenStarts;
+ else if (this.isInListBody) {
+ startIndent += bodyIndent + distanceBetweenStarts;
}
area.getIDReferences().createID(id);