]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
public format() renamed to private formatPageSequence().
authorGlen Mazza <gmazza@apache.org>
Tue, 8 Jun 2004 02:34:31 +0000 (02:34 +0000)
committerGlen Mazza <gmazza@apache.org>
Tue, 8 Jun 2004 02:34:31 +0000 (02:34 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197693 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/apps/Document.java

index ae3ab2a833a27a2d4ce0379ce378decde2f3b206..8bf57625852e6255aefa1d10718e789b6f3e5039 100644 (file)
@@ -120,7 +120,7 @@ public class Document implements FOTreeControl, FOTreeListener,
     public void foPageSequenceComplete (FOTreeEvent event) throws FOPException {
         PageSequence pageSeq = event.getPageSequence();
         areaTree.addBookmarksToAreaTree();
-        format(pageSeq, areaTree);
+        formatPageSequence(pageSeq, areaTree);
     }
 
     /**
@@ -187,7 +187,8 @@ public class Document implements FOTreeControl, FOTreeListener,
      * @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());