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 gm...@apache.org on 2004/06/08 04:34:31 UTC

cvs commit: xml-fop/src/java/org/apache/fop/apps Document.java

gmazza      2004/06/07 19:34:31

  Modified:    src/java/org/apache/fop/apps Document.java
  Log:
  public format() renamed to private formatPageSequence().
  
  Revision  Changes    Path
  1.15      +4 -3      xml-fop/src/java/org/apache/fop/apps/Document.java
  
  Index: Document.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/java/org/apache/fop/apps/Document.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- Document.java	18 May 2004 11:42:07 -0000	1.14
  +++ Document.java	8 Jun 2004 02:34:31 -0000	1.15
  @@ -120,7 +120,7 @@
       public void foPageSequenceComplete (FOTreeEvent event) throws FOPException {
           PageSequence pageSeq = event.getPageSequence();
           areaTree.addBookmarksToAreaTree();
  -        format(pageSeq, areaTree);
  +        formatPageSequence(pageSeq, areaTree);
       }
   
       /**
  @@ -187,7 +187,8 @@
        * @param areaTree the area tree to format this page sequence into
        * @throws FOPException if there is an error formatting the contents
        */
  -    public void format(PageSequence pageSeq, AreaTree areaTree) throws FOPException {
  +    private void formatPageSequence(PageSequence pageSeq, AreaTree areaTree) 
  +            throws FOPException {
           Title title = null;
           if (pageSeq.getTitleFO() != null) {
               title = getTitleArea(pageSeq.getTitleFO());
  
  
  

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