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 je...@apache.org on 2005/06/22 16:57:13 UTC

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

jeremias    2005/06/22 07:57:13

  Modified:    src/java/org/apache/fop/layoutmgr PageBreakingAlgorithm.java
  Log:
  trace getLineWidth().
  
  Revision  Changes    Path
  1.9       +6 -2      xml-fop/src/java/org/apache/fop/layoutmgr/PageBreakingAlgorithm.java
  
  Index: PageBreakingAlgorithm.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/java/org/apache/fop/layoutmgr/PageBreakingAlgorithm.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- PageBreakingAlgorithm.java	15 Jun 2005 09:08:34 -0000	1.8
  +++ PageBreakingAlgorithm.java	22 Jun 2005 14:57:13 -0000	1.9
  @@ -28,6 +28,7 @@
   import org.apache.fop.traits.MinOptMax;
   
   class PageBreakingAlgorithm extends BreakingAlgorithm {
  +
       private LayoutManager topLevelLM;
       private PageSequenceLayoutManager.PageViewportProvider pvProvider;
       private LinkedList pageBreaks = null;
  @@ -497,7 +498,7 @@
       }
   
       /**
  -     * Return the adjust ration needed to make up for the difference. A ration of 
  +     * Return the adjust ration needed to make up for the difference. A ratio of 
        * <ul>
        *    <li>0 means that the break has the exact right width</li>
        *    <li>&gt;= -1 && &lt; 0  means that the break is to wider than the line, 
  @@ -757,6 +758,9 @@
           } else {
               bpd = super.getLineWidth(line);
           }
  +        if (log.isTraceEnabled()) {
  +            log.trace("getLineWidth(" + line + ") -> " + bpd);
  +        }
           return bpd;
       }
       
  
  
  

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