summaryrefslogtreecommitdiff
path: root/Build/source/libs/xpdf/xpdf-src/xpdf/PDFDoc.h
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/libs/xpdf/xpdf-src/xpdf/PDFDoc.h')
-rw-r--r--Build/source/libs/xpdf/xpdf-src/xpdf/PDFDoc.h13
1 files changed, 4 insertions, 9 deletions
diff --git a/Build/source/libs/xpdf/xpdf-src/xpdf/PDFDoc.h b/Build/source/libs/xpdf/xpdf-src/xpdf/PDFDoc.h
index 3c1c71c41ed..2b8eba2cba7 100644
--- a/Build/source/libs/xpdf/xpdf-src/xpdf/PDFDoc.h
+++ b/Build/source/libs/xpdf/xpdf-src/xpdf/PDFDoc.h
@@ -11,6 +11,10 @@
#include <aconf.h>
+#ifdef USE_GCC_PRAGMAS
+#pragma interface
+#endif
+
#include <stdio.h>
#include "XRef.h"
#include "Catalog.h"
@@ -19,7 +23,6 @@
class GString;
class BaseStream;
class OutputDev;
-class Annots;
class Links;
class LinkAction;
class LinkDest;
@@ -71,9 +74,6 @@ public:
// Get catalog.
Catalog *getCatalog() { return catalog; }
- // Get annotations.
- Annots *getAnnots() { return annots; }
-
// Get base stream.
BaseStream *getBaseStream() { return str; }
@@ -121,7 +121,6 @@ public:
GBool (*abortCheckCbk)(void *data) = NULL,
void *abortCheckCbkData = NULL);
-
// Find a page, given its object ID. Returns page number, or 0 if
// not found.
int findPage(int num, int gen) { return catalog->findPage(num, gen); }
@@ -196,9 +195,6 @@ public:
#endif
char *getEmbeddedFileMem(int idx, int *size);
- // Return true if the document uses JavaScript.
- GBool usesJavaScript() { return catalog->usesJavaScript(); }
-
private:
@@ -220,7 +216,6 @@ private:
double pdfVersion;
XRef *xref;
Catalog *catalog;
- Annots *annots;
#ifndef DISABLE_OUTLINE
Outline *outline;
#endif