From 2a393c134fe3fe8eb85bf818cb7ad6ae4396322a Mon Sep 17 00:00:00 2001 From: Martin Kretzschmar Date: Wed, 18 Sep 2002 22:20:42 +0000 Subject: Synched with Xpdf 1.01 --- (limited to 'pdf/xpdf/Dict.h') diff --git a/pdf/xpdf/Dict.h b/pdf/xpdf/Dict.h index cfc64d3..b994514 100644 --- a/pdf/xpdf/Dict.h +++ b/pdf/xpdf/Dict.h @@ -2,7 +2,7 @@ // // Dict.h // -// Copyright 1996 Derek B. Noonburg +// Copyright 1996-2002 Glyph & Cog, LLC // //======================================================================== @@ -28,7 +28,7 @@ class Dict { public: // Constructor. - Dict(); + Dict(XRef *xrefA); // Destructor. ~Dict(); @@ -56,8 +56,14 @@ public: Object *getVal(int i, Object *obj); Object *getValNF(int i, Object *obj); + // Set the xref pointer. This is only used in one special case: the + // trailer dictionary, which is read before the xref table is + // parsed. + void setXRef(XRef *xrefA) { xref = xrefA; } + private: + XRef *xref; // the xref table for this PDF file DictEntry *entries; // array of entries int size; // size of array int length; // number of entries in dictionary -- cgit v0.9.1