summaryrefslogtreecommitdiff
path: root/poppler/Page.h
diff options
context:
space:
mode:
Diffstat (limited to 'poppler/Page.h')
-rw-r--r--poppler/Page.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/poppler/Page.h b/poppler/Page.h
index ced11c08..40e4fdd0 100644
--- a/poppler/Page.h
+++ b/poppler/Page.h
@@ -35,6 +35,7 @@
#include "Object.h"
class Dict;
+class PDFDoc;
class XRef;
class OutputDev;
class Links;
@@ -127,7 +128,7 @@ class Page {
public:
// Constructor.
- Page(XRef *xrefA, int numA, Dict *pageDict, Ref pageRefA, PageAttrs *attrsA, Form *form);
+ Page(PDFDoc *docA, int numA, Dict *pageDict, Ref pageRefA, PageAttrs *attrsA, Form *form);
// Destructor.
~Page();
@@ -237,6 +238,7 @@ public:
private:
+ PDFDoc *doc;
XRef *xref; // the xref table for this PDF file
Object pageObj; // page dictionary
Ref pageRef; // page reference