Index: pdfbox/src/main/java/org/apache/pdfbox/pdfviewer/PageDrawer.java =================================================================== --- pdfbox/src/main/java/org/apache/pdfbox/pdfviewer/PageDrawer.java (revision 1088324) +++ pdfbox/src/main/java/org/apache/pdfbox/pdfviewer/PageDrawer.java (revision ) @@ -68,7 +68,7 @@ private Graphics2D graphics; protected Dimension pageSize; - protected PDPage page; +// protected PDPage page; private GeneralPath linePath = new GeneralPath(); Index: pdfbox/src/main/java/org/apache/pdfbox/util/PDFStreamEngine.java =================================================================== --- pdfbox/src/main/java/org/apache/pdfbox/util/PDFStreamEngine.java (revision 1044823) +++ pdfbox/src/main/java/org/apache/pdfbox/util/PDFStreamEngine.java (revision ) @@ -85,7 +85,7 @@ private Stack streamResourcesStack = new Stack(); - private PDPage page; + protected PDPage page; private Map documentFontCache = new HashMap();