"Fossies" - the Fresh Open Source Software Archive 
Member "cb2bib-2.0.1/xpdf/HTMLGen.h" (12 Feb 2021, 1136 Bytes) of package /linux/privat/cb2bib-2.0.1.tar.gz:
As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style:
standard) with prefixed line numbers and
code folding option.
Alternatively you can here
view or
download the uninterpreted source code file.
For more information about "HTMLGen.h" see the
Fossies "Dox" file reference documentation.
1 //========================================================================
2 //
3 // Modified pdftohtml (constans@molspaces.com, 2014)
4 //
5 // HTMLGen.h
6 //
7 // Copyright 2010 Glyph & Cog, LLC
8 //
9 //========================================================================
10
11 #ifndef HTMLGEN_H
12 #define HTMLGEN_H
13
14 #include <aconf.h>
15
16 #ifdef USE_GCC_PRAGMAS
17 #pragma interface
18 #endif
19
20 class PDFDoc;
21 class TextOutputDev;
22 class SplashOutputDev;
23
24 //------------------------------------------------------------------------
25
26 class HTMLGen
27 {
28 public:
29
30 HTMLGen();
31 ~HTMLGen();
32
33 GBool isOk() const
34 {
35 return ok;
36 }
37
38 GBool getDrawInvisibleText() const
39 {
40 return drawInvisibleText;
41 }
42 void setDrawInvisibleText(GBool drawInvisibleTextA)
43 {
44 drawInvisibleText = drawInvisibleTextA;
45 }
46
47 void startDoc(PDFDoc* docA);
48 int convertPage(int pg, int (*writeHTML)(void* stream, const char* data, int size), void* htmlStream);
49
50 private:
51
52 double backgroundResolution;
53 GBool drawInvisibleText;
54
55 PDFDoc* doc;
56 TextOutputDev* textOut;
57 SplashOutputDev* splashOut;
58
59 GBool ok;
60 };
61
62 #endif