Browse Source

Hardcoded start-indent to 24pt no longer needed because SPACE_START trait

it set by the start-indent property.

PR: 25802.


git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197295 13f79535-47bb-0310-9956-ffa450edef68
pull/30/head
Finn Bock 20 years ago
parent
commit
f7d98d929d
1 changed files with 1 additions and 4 deletions
  1. 1
    4
      src/java/org/apache/fop/layoutmgr/list/ListItemLayoutManager.java

+ 1
- 4
src/java/org/apache/fop/layoutmgr/list/ListItemLayoutManager.java View File

@@ -170,7 +170,7 @@ public class ListItemLayoutManager extends BlockStackingLayoutManager {
if (stage == 0) {
childLC.setRefIPD(24000);
} else if (stage == 1) {
childLC.setRefIPD(context.getRefIPD() - 24000);
childLC.setRefIPD(context.getRefIPD());
}
stage++;
while (!curLM.isFinished()) {
@@ -259,9 +259,6 @@ public class ListItemLayoutManager extends BlockStackingLayoutManager {
breakPosIter = new BreakPossPosIter(cellsbr, 0, cellsbr.size());

while ((childLM = (Item)breakPosIter.getNextChildLM()) != null) {
if (childLM == body) {
childLM.setXOffset(24000);
}
childLM.addAreas(breakPosIter, lc);
}
}

Loading…
Cancel
Save