~ubuntu-branches/ubuntu/lucid/xpdf/lucid-updates

« back to all changes in this revision

Viewing changes to xpdf/Parser.h

  • Committer: Bazaar Package Importer
  • Author(s): Andy Price
  • Date: 2007-05-17 22:04:33 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20070517220433-gzcx2lrvllkbl7mr
Tags: 3.02-1ubuntu1
* Merge from Debian unstable (LP: #113365), remaining changes:
  - Added back 09_xpdfrc_manpage.dpatch (LP #71753)
  - Set Ubuntu maintainer

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
public:
26
26
 
27
27
  // Constructor.
28
 
  Parser(XRef *xrefA, Lexer *lexerA);
 
28
  Parser(XRef *xrefA, Lexer *lexerA, GBool allowStreamsA);
29
29
 
30
30
  // Destructor.
31
31
  ~Parser();
32
32
 
33
33
  // Get the next object from the input stream.
34
 
  Object *getObj(Object *obj,
35
 
                 Guchar *fileKey = NULL, int keyLength = 0,
 
34
  Object *getObj(Object *obj, Guchar *fileKey = NULL,
 
35
                 CryptAlgorithm encAlgorithm = cryptRC4, int keyLength = 0,
36
36
                 int objNum = 0, int objGen = 0);
37
37
 
38
38
  // Get stream.
45
45
 
46
46
  XRef *xref;                   // the xref table for this PDF file
47
47
  Lexer *lexer;                 // input stream
 
48
  GBool allowStreams;           // parse stream objects?
48
49
  Object buf1, buf2;            // next two tokens
49
50
  int inlineImg;                // set when inline image data is encountered
50
51
 
51
 
  Stream *makeStream(Object *dict);
 
52
  Stream *makeStream(Object *dict, Guchar *fileKey,
 
53
                     CryptAlgorithm encAlgorithm, int keyLength,
 
54
                     int objNum, int objGen);
52
55
  void shift();
53
56
};
54
57