You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by bc...@apache.org on 2004/01/29 20:44:23 UTC

cvs commit: xml-fop/src/java/org/apache/fop/layoutmgr/list ListItemLayoutManager.java

bckfnn      2004/01/29 11:44:23

  Modified:    src/java/org/apache/fop/layoutmgr/list
                        ListItemLayoutManager.java
  Log:
  Hardcoded start-indent to 24pt no longer needed because SPACE_START trait
  it set by the start-indent property.
  
  PR: 25802.
  
  Revision  Changes    Path
  1.6       +1 -4      xml-fop/src/java/org/apache/fop/layoutmgr/list/ListItemLayoutManager.java
  
  Index: ListItemLayoutManager.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/java/org/apache/fop/layoutmgr/list/ListItemLayoutManager.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- ListItemLayoutManager.java	8 Sep 2003 17:00:56 -0000	1.5
  +++ ListItemLayoutManager.java	29 Jan 2004 19:44:23 -0000	1.6
  @@ -170,7 +170,7 @@
               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 @@
                   breakPosIter = new BreakPossPosIter(cellsbr, 0, cellsbr.size());
   
                   while ((childLM = (Item)breakPosIter.getNextChildLM()) != null) {
  -                    if (childLM == body) {
  -                        childLM.setXOffset(24000);
  -                    }
                       childLM.addAreas(breakPosIter, lc);
                   }
               }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-cvs-help@xml.apache.org