diff options
Diffstat (limited to 'Build/source/libs/xpdf/xpdf-src/xpdf/HTMLGen.h')
-rw-r--r-- | Build/source/libs/xpdf/xpdf-src/xpdf/HTMLGen.h | 24 |
1 files changed, 4 insertions, 20 deletions
diff --git a/Build/source/libs/xpdf/xpdf-src/xpdf/HTMLGen.h b/Build/source/libs/xpdf/xpdf-src/xpdf/HTMLGen.h index 47e361f78fa..66ee2d27406 100644 --- a/Build/source/libs/xpdf/xpdf-src/xpdf/HTMLGen.h +++ b/Build/source/libs/xpdf/xpdf-src/xpdf/HTMLGen.h @@ -11,6 +11,10 @@ #include <aconf.h> +#ifdef USE_GCC_PRAGMAS +#pragma interface +#endif + class GString; class PDFDoc; class TextOutputDev; @@ -57,9 +61,6 @@ public: void setEmbedFonts(GBool embedFontsA) { embedFonts = embedFontsA; } - void setIncludeMetadata(GBool includeMetadataA) - { includeMetadata = includeMetadataA; } - void startDoc(PDFDoc *docA); int convertPage(int pg, const char *pngURL, const char *htmlDir, int (*writeHTML)(void *stream, const char *data, int size), @@ -67,11 +68,6 @@ public: int (*writePNG)(void *stream, const char *data, int size), void *pngStream); - // Get the counter values. - int getNumVisibleChars() { return nVisibleChars; } - int getNumInvisibleChars() { return nInvisibleChars; } - int getNumRemovedDupChars() { return nRemovedDupChars; } - private: int findDirSpan(GList *words, int firstWordIdx, int primaryDir, @@ -86,13 +82,6 @@ private: void getFontDetails(TextFontInfo *font, const char **family, const char **weight, const char **style, double *scale); - void genDocMetadata(int (*writeHTML)(void *stream, - const char *data, int size), - void *htmlStream); - void genDocMetadataItem(int (*writeHTML)(void *stream, - const char *data, int size), - void *htmlStream, - Dict *infoDict, const char *key); double backgroundResolution; double zoom; @@ -103,7 +92,6 @@ private: GBool convertFormFields; GBool embedBackgroundImage; GBool embedFonts; - GBool includeMetadata; PDFDoc *doc; TextOutputDev *textOut; @@ -119,10 +107,6 @@ private: GList *formFieldInfo; // [HTMLGenFormFieldInfo] int nextFieldID; - int nVisibleChars; // number of visible chars on the page - int nInvisibleChars; // number of invisible chars on the page - int nRemovedDupChars; // number of duplicate chars removed - GBool ok; }; |