diff options
author | Michael Meeks <mmeeks@src.gnome.org> | 1999-08-23 13:13:52 (GMT) |
---|---|---|
committer | Michael Meeks <mmeeks@src.gnome.org> | 1999-08-23 13:13:52 (GMT) |
commit | 6bf8080516ffe50afba89f1f07f486000423bcd8 (patch) | |
tree | 79e578d99e8a0380d0c1f07700e3bee0c5c7e3be /pdf/xpdf/PDFDoc.h | |
parent | ae5543d95470154936edb9f777d0d6c1c74a226f (diff) |
New version using Derek's merged Stream stuff,
disabled helper utils build until I sync with Derek.
Diffstat (limited to 'pdf/xpdf/PDFDoc.h')
-rw-r--r-- | pdf/xpdf/PDFDoc.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/pdf/xpdf/PDFDoc.h b/pdf/xpdf/PDFDoc.h index f76cfaf..b978bc7 100644 --- a/pdf/xpdf/PDFDoc.h +++ b/pdf/xpdf/PDFDoc.h @@ -17,6 +17,7 @@ #include "Link.h" class GString; +class BaseStream; class XRef; class Catalog; class OutputDev; @@ -31,7 +32,8 @@ class LinkDest; class PDFDoc { public: - PDFDoc(Stream *str1, GString *fileName1); + PDFDoc(GString *fileName1); + PDFDoc(BaseStream *str); ~PDFDoc(); // Was PDF document successfully opened? @@ -93,10 +95,13 @@ public: private: + GBool setup(); + void checkHeader(); void getLinks(int page); GString *fileName; - Stream *str; + FILE *file; + BaseStream *str; XRef *xref; Catalog *catalog; Links *links; |