]> www.fi.muni.cz Git - evince.git/blobdiff - pdf/xpdf/Catalog.h
Fixed up lists of sources so that distcheck works. Also, only build gpdf
[evince.git] / pdf / xpdf / Catalog.h
index 72ff0a305d60dfb94b8e263268055ab83c8aa14c..abda62d22632f3234a14b249c52b496f3a8c1b72 100644 (file)
@@ -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);