Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pdf/xpdf/Page.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/pdf/xpdf/Page.h b/pdf/xpdf/Page.h
index cb8706b..8b339eb 100644
--- a/pdf/xpdf/Page.h
+++ b/pdf/xpdf/Page.h
@@ -22,6 +22,8 @@ class XRef;
class OutputDev;
class Links;
class Catalog;
+class Annots;
+class Annot;
//------------------------------------------------------------------------
@@ -140,18 +142,25 @@ public:
// Get contents.
Object *getContents(Object *obj) { return contents.fetch(xref, obj); }
+ // Get thumb.
+ Object *getThumb(Object *obj) { return thumb.fetch(xref, obj); }
+
// Display a page.
void display(OutputDev *out, double dpi, int rotate,
Links *links, Catalog *catalog,
GBool (*abortCheckCbk)(void *data) = NULL,
- void *abortCheckCbkData = NULL);
+ void *abortCheckCbkData = NULL,
+ GBool (*annotDisplayDecideCbk)(Annot *annot, void *user_data) = NULL,
+ void *annotDisplayDecideCbkData = NULL);
// Display part of a page.
void displaySlice(OutputDev *out, double dpi, int rotate,
int sliceX, int sliceY, int sliceW, int sliceH,
Links *links, Catalog *catalog,
GBool (*abortCheckCbk)(void *data) = NULL,
- void *abortCheckCbkData = NULL);
+ void *abortCheckCbkData = NULL,
+ GBool (*annotDisplayDecideCbk)(Annot *annot, void *user_data) = NULL,
+ void *annotDisplayDecideCbkData = NULL);
private:
@@ -160,6 +169,7 @@ private:
PageAttrs *attrs; // page attributes
Object annots; // annotations array
Object contents; // page contents
+ Object thumb; // page thumbnail
GBool ok; // true if page is valid
};