1 //========================================================================
5 // Copyright 1996-2003 Glyph & Cog, LLC
7 //========================================================================
14 #ifdef USE_GCC_PRAGMAS
20 //------------------------------------------------------------------------
22 //------------------------------------------------------------------------
28 Parser(XRef
*xrefA
, Lexer
*lexerA
);
33 // Get the next object from the input stream.
35 Object
*getObj(Object
*obj
,
36 Guchar
*fileKey
= NULL
, int keyLength
= 0,
37 int objNum
= 0, int objGen
= 0);
39 Object
*getObj(Object
*obj
);
43 Stream
*getStream() { return lexer
->getStream(); }
45 // Get current position in file.
46 int getPos() { return lexer
->getPos(); }
50 XRef
*xref
; // the xref table for this PDF file
51 Lexer
*lexer
; // input stream
52 Object buf1
, buf2
; // next two tokens
53 int inlineImg
; // set when inline image data is encountered
55 Stream
*makeStream(Object
*dict
);