]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Hardcoded start-indent to 24pt no longer needed because SPACE_START trait
authorFinn Bock <bckfnn@apache.org>
Thu, 29 Jan 2004 19:44:23 +0000 (19:44 +0000)
committerFinn Bock <bckfnn@apache.org>
Thu, 29 Jan 2004 19:44:23 +0000 (19:44 +0000)
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

src/java/org/apache/fop/layoutmgr/list/ListItemLayoutManager.java

index 26c04aa415e0fb389cc0cd8f373290852fa49fb9..83fb49ed71b9282297937e7e01ee27da7d6fc3dc 100644 (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);
                 }
             }