git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added comment about SHOWFRAME code alternative.
[swftools.git]
/
pdf2swf
/
xpdf
/
Dict.h
diff --git
a/pdf2swf/xpdf/Dict.h
b/pdf2swf/xpdf/Dict.h
index
cfc64d3
..
08f55ec
100644
(file)
--- a/
pdf2swf/xpdf/Dict.h
+++ b/
pdf2swf/xpdf/Dict.h
@@
-2,14
+2,16
@@
//
// Dict.h
//
//
// Dict.h
//
-// Copyright 1996 Derek B. Noonburg
+// Copyright 1996-2003 Glyph & Cog, LLC
//
//========================================================================
#ifndef DICT_H
#define DICT_H
//
//========================================================================
#ifndef DICT_H
#define DICT_H
-#ifdef __GNUC__
+#include <aconf.h>
+
+#ifdef USE_GCC_PRAGMAS
#pragma interface
#endif
#pragma interface
#endif
@@
-28,7
+30,7
@@
class Dict {
public:
// Constructor.
public:
// Constructor.
- Dict();
+ Dict(XRef *xrefA);
// Destructor.
~Dict();
// Destructor.
~Dict();
@@
-56,8
+58,14
@@
public:
Object *getVal(int i, Object *obj);
Object *getValNF(int i, Object *obj);
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:
private:
+ XRef *xref; // the xref table for this PDF file
DictEntry *entries; // array of entries
int size; // size of <entries> array
int length; // number of entries in dictionary
DictEntry *entries; // array of entries
int size; // size of <entries> array
int length; // number of entries in dictionary