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 ar...@locus.apache.org on 2000/03/10 03:59:41 UTC

cvs commit: xml-fop/src/org/apache/fop/pdf PDFPage.java

arved       00/03/09 18:59:40

  Modified:    src/org/apache/fop/pdf PDFPage.java
  Log:
  added getAnnotList() method
  
  Revision  Changes    Path
  1.8       +12 -2     xml-fop/src/org/apache/fop/pdf/PDFPage.java
  
  Index: PDFPage.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/pdf/PDFPage.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- PDFPage.java	1999/11/23 12:01:40	1.7
  +++ PDFPage.java	2000/03/10 02:59:40	1.8
  @@ -1,4 +1,4 @@
  -/*-- $Id: PDFPage.java,v 1.7 1999/11/23 12:01:40 brian Exp $ -- 
  +/*-- $Id: PDFPage.java,v 1.8 2000/03/10 02:59:40 arved Exp $ -- 
   
    ============================================================================
                      The Apache Software License, Version 1.1
  @@ -88,7 +88,8 @@
        * @param pageheight the page's height in points
        */
       public PDFPage(int number, PDFResources resources,
  -		   PDFStream contents, int pagewidth,
  +                   PDFStream contents,
  +		   int pagewidth,
   		   int pageheight) {
   
   	/* generic creation of object */
  @@ -119,6 +120,15 @@
        */
       public void setAnnotList(PDFAnnotList annotList) {
   	this.annotList = annotList;
  +    }
  +
  +    /**
  +     * get this page's annotation list
  +     *
  +     * @return annotList a PDFAnnotList list of annotations
  +     */
  +    public PDFAnnotList getAnnotList() {
  +	return this.annotList;
       }
   
       /**