X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=pdf%2Fxpdf%2FPDFDoc.h;h=b978bc7df1ed373d8c8b9e28532ed8ce600da537;hb=a8ffd9b6d2e0d6e0fbf851b4b0fe7acec67e72c1;hp=5e28962eda9db8e57b013acd9d8a6e70e17da953;hpb=d9f9a6449f377b4c933b75d57541b19c6d088994;p=evince.git diff --git a/pdf/xpdf/PDFDoc.h b/pdf/xpdf/PDFDoc.h index 5e28962e..b978bc7d 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; @@ -32,6 +33,7 @@ class PDFDoc { public: 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; FILE *file; + BaseStream *str; XRef *xref; Catalog *catalog; Links *links;