git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193308
13f79535-47bb-0310-9956-
ffa450edef68
* @param page the PDFPage to add.
*/
public void addPage(PDFPage page) {
+ this.count++;
this.kids.addElement(page);
page.setParent(this);
+ this.incrementCount();
}
/**
return this.count;
}
+ /**
+ * increment the count of /Page objects
+ */
+ public void incrementCount() {
+ this.count++;
+ // System.out.println("Incrementing count to " + this.getCount());
+ }
+
/**
* represent the object in PDF
*