diff options
author | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2024-02-10 08:13:48 +0000 |
---|---|---|
committer | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2024-02-10 08:13:48 +0000 |
commit | 90a8327e9b036ece000905d54a316b792d891e0b (patch) | |
tree | 45536c0f5666955912b04bcd20c14a57aad31872 /Build/source/libs/xpdf/xpdf-src/xpdf/HTMLGen.h | |
parent | 0357cc55904fda095727bb30f07b68dbf3439f8e (diff) |
revert (xpdf 4.05 to xpdf 4.04)
git-svn-id: svn://tug.org/texlive/trunk@69766 c570f23f-e606-0410-a88d-b1316a301751
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; }; |