]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
added getAnnotList() method
authorarved <arved@unknown>
Fri, 10 Mar 2000 02:59:40 +0000 (02:59 +0000)
committerarved <arved@unknown>
Fri, 10 Mar 2000 02:59:40 +0000 (02:59 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193295 13f79535-47bb-0310-9956-ffa450edef68

src/org/apache/fop/pdf/PDFPage.java

index 863222f5cb9a9150b05cb2f19d90df1cf745faae..63ef4e96067b607ecbb4c884d9c8fee0a6abcde1 100644 (file)
@@ -88,7 +88,8 @@ public class PDFPage extends PDFObject {
      * @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 */
@@ -121,6 +122,15 @@ public class PDFPage extends PDFObject {
        this.annotList = annotList;
     }
 
+    /**
+     * get this page's annotation list
+     *
+     * @return annotList a PDFAnnotList list of annotations
+     */
+    public PDFAnnotList getAnnotList() {
+       return this.annotList;
+    }
+
     /**
      * represent this object as PDF
      *