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/09/20 02:37:13 UTC

cvs commit: xml-fop/src/java/org/apache/fop/area AreaTreeModel.java StorePagesModel.java

gmazza      2004/09/19 17:37:13

  Modified:    src/java/org/apache/fop/area AreaTreeModel.java
                        StorePagesModel.java
  Log:
  Returned getTitle() to AreaTreeModel.
  
  Revision  Changes    Path
  1.5       +7 -0      xml-fop/src/java/org/apache/fop/area/AreaTreeModel.java
  
  Index: AreaTreeModel.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/java/org/apache/fop/area/AreaTreeModel.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- AreaTreeModel.java	19 Sep 2004 18:46:51 -0000	1.4
  +++ AreaTreeModel.java	20 Sep 2004 00:37:13 -0000	1.5
  @@ -74,5 +74,12 @@
        * @return the PageViewport for the particular page
        */
       public abstract PageViewport getPage(int seq, int count);
  +    
  +    /**
  +     * Get the title for a page sequence.
  +     * @param count the page sequence count
  +     * @return the title of the page sequence
  +     */
  +    public abstract Title getTitle(int count);
   
   }
  
  
  
  1.6       +9 -0      xml-fop/src/java/org/apache/fop/area/StorePagesModel.java
  
  Index: StorePagesModel.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/java/org/apache/fop/area/StorePagesModel.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- StorePagesModel.java	19 Sep 2004 18:46:51 -0000	1.5
  +++ StorePagesModel.java	20 Sep 2004 00:37:13 -0000	1.6
  @@ -135,6 +135,15 @@
       }
   
       /**
  +     * Get the title for a page sequence. 	 
  +     * @param count the page sequence count 	 
  +     * @return the title of the page sequence 	 
  +     */ 	 
  +    public Title getTitle(int count) { 	 
  +        return (Title) titles.get(count);
  +    }
  +     
  +    /**
        * End document, do nothing.
        */
       public void endDocument() throws SAXException {
  
  
  

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