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 | 23 |
1 files changed, 21 insertions, 2 deletions
diff --git a/Build/source/libs/xpdf/xpdf-src/xpdf/HTMLGen.h b/Build/source/libs/xpdf/xpdf-src/xpdf/HTMLGen.h index d09eea3f266..66ee2d27406 100644 --- a/Build/source/libs/xpdf/xpdf-src/xpdf/HTMLGen.h +++ b/Build/source/libs/xpdf/xpdf-src/xpdf/HTMLGen.h @@ -2,7 +2,7 @@ // // HTMLGen.h // -// Copyright 2010 Glyph & Cog, LLC +// Copyright 2010-2021 Glyph & Cog, LLC // //======================================================================== @@ -27,7 +27,7 @@ class HTMLGenFontDefn; class HTMLGen { public: - HTMLGen(double backgroundResolutionA); + HTMLGen(double backgroundResolutionA, GBool tableMode); ~HTMLGen(); GBool isOk() { return ok; } @@ -39,6 +39,8 @@ public: double getZoom() { return zoom; } void setZoom(double zoomA) { zoom = zoomA; } + void setVStretch(double vStretchA) { vStretch = vStretchA; } + GBool getDrawInvisibleText() { return drawInvisibleText; } void setDrawInvisibleText(GBool drawInvisibleTextA) { drawInvisibleText = drawInvisibleTextA; } @@ -50,6 +52,15 @@ public: void setExtractFontFiles(GBool extractFontFilesA) { extractFontFiles = extractFontFilesA; } + void setConvertFormFields(GBool convertFormFieldsA) + { convertFormFields = convertFormFieldsA; } + + void setEmbedBackgroundImage(GBool embedBackgroundImageA) + { embedBackgroundImage = embedBackgroundImageA; } + + void setEmbedFonts(GBool embedFontsA) + { embedFonts = embedFontsA; } + void startDoc(PDFDoc *docA); int convertPage(int pg, const char *pngURL, const char *htmlDir, int (*writeHTML)(void *stream, const char *data, int size), @@ -74,9 +85,13 @@ private: double backgroundResolution; double zoom; + double vStretch; GBool drawInvisibleText; GBool allTextInvisible; GBool extractFontFiles; + GBool convertFormFields; + GBool embedBackgroundImage; + GBool embedFonts; PDFDoc *doc; TextOutputDev *textOut; @@ -88,6 +103,10 @@ private: GList *fontDefns; // [HTMLGenFontDefn] int nextFontFaceIdx; + TextFontInfo *formFieldFont; + GList *formFieldInfo; // [HTMLGenFormFieldInfo] + int nextFieldID; + GBool ok; }; |