X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;ds=sidebyside;f=pdf%2Fxpdf%2FCatalog.h;h=abda62d22632f3234a14b249c52b496f3a8c1b72;hb=c3d1dd25dcf509be82a92c5aeb544f08a5a604f4;hp=72ff0a305d60dfb94b8e263268055ab83c8aa14c;hpb=d9f9a6449f377b4c933b75d57541b19c6d088994;p=evince.git diff --git a/pdf/xpdf/Catalog.h b/pdf/xpdf/Catalog.h index 72ff0a30..abda62d2 100644 --- a/pdf/xpdf/Catalog.h +++ b/pdf/xpdf/Catalog.h @@ -41,6 +41,9 @@ public: // Get a page. Page *getPage(int i) { return pages[i-1]; } + // Return base URI, or NULL if none. + GString *getBaseURI() { return baseURI; } + // Find a page, given its object ID. Returns page number, or 0 if // not found. int findPage(int num, int gen); @@ -56,6 +59,7 @@ private: int numPages; // number of pages Object dests; // named destination dictionary Object nameTree; // name tree + GString *baseURI; // base URI for URI-type links GBool ok; // true if catalog is valid int readPageTree(Dict *pages, PageAttrs *attrs, int start);