X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;ds=inline;f=pdf%2Fxpdf%2FPage.h;h=ab6442c751ae509a0345b552b7246ee3760a1b1b;hb=e48cf2858b65aa026771a48d2b315cbc663d8234;hp=911c5b0e5eb4bdc45ada3eb11f7c053cd504ab5d;hpb=64676031423465996e83c4a685290f0c3d97a249;p=evince.git diff --git a/pdf/xpdf/Page.h b/pdf/xpdf/Page.h index 911c5b0e..ab6442c7 100644 --- a/pdf/xpdf/Page.h +++ b/pdf/xpdf/Page.h @@ -2,7 +2,7 @@ // // Page.h // -// Copyright 1996-2002 Glyph & Cog, LLC +// Copyright 1996-2003 Glyph & Cog, LLC // //======================================================================== @@ -22,6 +22,8 @@ class XRef; class OutputDev; class Links; class Catalog; +class Annots; +class Annot; //------------------------------------------------------------------------ @@ -140,18 +142,27 @@ 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, + void display(OutputDev *out, double hDPI, double vDPI, + int rotate, GBool crop, 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, + void displaySlice(OutputDev *out, double hDPI, double vDPI, + int rotate, GBool crop, 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 +171,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 };