diff options
Diffstat (limited to 'include/qpdf/QPDFXRefEntry.hh')
-rw-r--r-- | include/qpdf/QPDFXRefEntry.hh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/qpdf/QPDFXRefEntry.hh b/include/qpdf/QPDFXRefEntry.hh index 83d44770..26a047b2 100644 --- a/include/qpdf/QPDFXRefEntry.hh +++ b/include/qpdf/QPDFXRefEntry.hh @@ -8,6 +8,8 @@ #ifndef __QPDFXREFENTRY_HH__ #define __QPDFXREFENTRY_HH__ +#include <qpdf/DLL.hh> + class QPDFXRefEntry { public: @@ -17,12 +19,18 @@ class QPDFXRefEntry // 1 = "uncompressed"; field 1 = offset // 2 = "compressed"; field 1 = object stream number, field 2 = index + DLL_EXPORT QPDFXRefEntry(); + DLL_EXPORT QPDFXRefEntry(int type, int field1, int field2); + DLL_EXPORT int getType() const; + DLL_EXPORT int getOffset() const; // only for type 1 + DLL_EXPORT int getObjStreamNumber() const; // only for type 2 + DLL_EXPORT int getObjStreamIndex() const; // only for type 2 private: |