1 //========================================================================
5 // Copyright 1996-2002 Glyph & Cog, LLC
7 //========================================================================
18 //------------------------------------------------------------------------
20 //------------------------------------------------------------------------
26 Parser(XRef *xrefA, Lexer *lexerA);
31 // Get the next object from the input stream.
33 Object *getObj(Object *obj,
34 Guchar *fileKey = NULL, int keyLength = 0,
35 int objNum = 0, int objGen = 0);
37 Object *getObj(Object *obj);
41 Stream *getStream() { return lexer->getStream(); }
43 // Get current position in file.
44 int getPos() { return lexer->getPos(); }
48 XRef *xref; // the xref table for this PDF file
49 Lexer *lexer; // input stream
50 Object buf1, buf2; // next two tokens
51 int inlineImg; // set when inline image data is encountered
53 Stream *makeStream(Object *dict);