Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/pdf/xpdf/Parser.h
diff options
context:
space:
mode:
authorMartin Kretzschmar <mkretzschmar@src.gnome.org>2002-09-18 22:20:42 (GMT)
committer Martin Kretzschmar <mkretzschmar@src.gnome.org>2002-09-18 22:20:42 (GMT)
commit2a393c134fe3fe8eb85bf818cb7ad6ae4396322a (patch)
treeeba8b0dcaba42d799ed8313faee15fb74a5a0cd2 /pdf/xpdf/Parser.h
parent7aac8dc8533347e21311b15186e0af82f1b22fd6 (diff)
Synched with Xpdf 1.01
Diffstat (limited to 'pdf/xpdf/Parser.h')
-rw-r--r--pdf/xpdf/Parser.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/pdf/xpdf/Parser.h b/pdf/xpdf/Parser.h
index 6e61844..c11475b 100644
--- a/pdf/xpdf/Parser.h
+++ b/pdf/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