diff options
author | Arturo Espinosa <unammx@src.gnome.org> | 1999-08-06 00:14:27 (GMT) |
---|---|---|
committer | Arturo Espinosa <unammx@src.gnome.org> | 1999-08-06 00:14:27 (GMT) |
commit | 50e9d31c05e9ca11ad43cc570556094782c1b956 (patch) | |
tree | e8d30241d1f97d7a52ad4486089a74e55160ad78 /pdf/xpdf/Catalog.h | |
parent | bd7dce23fec36adeb1713c164d594bbc0436b346 (diff) |
Painful merge.
Painful merge.
I merged the latest release into the CVS.
This version supports the regular xpdf or gpdf if the GNOME libraries
are found.
Miguel.
Diffstat (limited to 'pdf/xpdf/Catalog.h')
-rw-r--r-- | pdf/xpdf/Catalog.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pdf/xpdf/Catalog.h b/pdf/xpdf/Catalog.h index 72ff0a3..abda62d 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); |