X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=pdf2swf%2Fxpdf%2FParser.h;h=c11475bfd94a5e4f9500b50861bd7979d037b849;hb=c4d5808ef13df26e75b659d2019b5d89b16f4539;hp=6e6184499e8003608af38c14b2df965d604cc610;hpb=fc554a43712b76d16b41ec77dd311b4a78b1ef6b;p=swftools.git diff --git a/pdf2swf/xpdf/Parser.h b/pdf2swf/xpdf/Parser.h index 6e61844..c11475b 100644 --- a/pdf2swf/xpdf/Parser.h +++ b/pdf2swf/xpdf/Parser.h @@ -2,7 +2,7 @@ // // Parser.h // -// Copyright 1996 Derek B. Noonburg +// Copyright 1996-2002 Glyph & Cog, LLC // //======================================================================== @@ -23,7 +23,7 @@ class Parser { public: // Constructor. - Parser(Lexer *lexer1); + Parser(XRef *xrefA, Lexer *lexerA); // Destructor. ~Parser(); @@ -31,7 +31,8 @@ public: // Get the next object from the input stream. #ifndef NO_DECRYPTION Object *getObj(Object *obj, - Guchar *fileKey = NULL, int objNum = 0, int objGen = 0); + Guchar *fileKey = NULL, int keyLength = 0, + int objNum = 0, int objGen = 0); #else Object *getObj(Object *obj); #endif @@ -44,6 +45,7 @@ public: private: + XRef *xref; // the xref table for this PDF file Lexer *lexer; // input stream Object buf1, buf2; // next two tokens int inlineImg; // set when inline image data is encountered