2
//========================================================================
6
// Copyright 1996-2002 Glyph & Cog, LLC
8
//========================================================================
15
#ifdef USE_GCC_PRAGMAS
21
//------------------------------------------------------------------------
23
//------------------------------------------------------------------------
29
Parser(XRef *xrefA, Lexer *lexerA);
34
// Get the next object from the input stream.
36
Object *getObj(Object *obj,
37
Guchar *fileKey = NULL, int keyLength = 0,
38
int objNum = 0, int objGen = 0);
40
Object *getObj(Object *obj);
44
Stream *getStream() { return lexer->getStream(); }
46
// Get current position in file.
47
int getPos() { return lexer->getPos(); }
51
XRef *xref; // the xref table for this PDF file
52
Lexer *lexer; // input stream
53
Object buf1, buf2; // next two tokens
54
int inlineImg; // set when inline image data is encountered
56
Stream *makeStream(Object *dict);