"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "xpdf/HTMLGen.h" between
xpdf-4.01.01.tar.gz and xpdf-4.02.tar.gz

About: Xpdf is a PDF viewer for X.

HTMLGen.h  (xpdf-4.01.01):HTMLGen.h  (xpdf-4.02)
skipping to change at line 23 skipping to change at line 23
#ifdef USE_GCC_PRAGMAS #ifdef USE_GCC_PRAGMAS
#pragma interface #pragma interface
#endif #endif
class GString; class GString;
class PDFDoc; class PDFDoc;
class TextOutputDev; class TextOutputDev;
class TextFontInfo; class TextFontInfo;
class SplashOutputDev; class SplashOutputDev;
class HTMLGenFontDefn;
//------------------------------------------------------------------------ //------------------------------------------------------------------------
class HTMLGen { class HTMLGen {
public: public:
HTMLGen(double backgroundResolutionA); HTMLGen(double backgroundResolutionA);
~HTMLGen(); ~HTMLGen();
GBool isOk() { return ok; } GBool isOk() { return ok; }
skipping to change at line 49 skipping to change at line 50
void setZoom(double zoomA) { zoom = zoomA; } void setZoom(double zoomA) { zoom = zoomA; }
GBool getDrawInvisibleText() { return drawInvisibleText; } GBool getDrawInvisibleText() { return drawInvisibleText; }
void setDrawInvisibleText(GBool drawInvisibleTextA) void setDrawInvisibleText(GBool drawInvisibleTextA)
{ drawInvisibleText = drawInvisibleTextA; } { drawInvisibleText = drawInvisibleTextA; }
GBool getAllTextInvisible() { return allTextInvisible; } GBool getAllTextInvisible() { return allTextInvisible; }
void setAllTextInvisible(GBool allTextInvisibleA) void setAllTextInvisible(GBool allTextInvisibleA)
{ allTextInvisible = allTextInvisibleA; } { allTextInvisible = allTextInvisibleA; }
void setExtractFontFiles(GBool extractFontFilesA)
{ extractFontFiles = extractFontFilesA; }
void startDoc(PDFDoc *docA); void startDoc(PDFDoc *docA);
int convertPage(int pg, const char *pngURL, int convertPage(int pg, const char *pngURL, const char *htmlDir,
int (*writeHTML)(void *stream, const char *data, int size), int (*writeHTML)(void *stream, const char *data, int size),
void *htmlStream, void *htmlStream,
int (*writePNG)(void *stream, const char *data, int size), int (*writePNG)(void *stream, const char *data, int size),
void *pngStream); void *pngStream);
private: private:
int findDirSpan(GList *words, int firstWordIdx, int primaryDir, int findDirSpan(GList *words, int firstWordIdx, int primaryDir,
int *spanDir); int *spanDir);
void appendSpans(GList *words, int firstWordIdx, int lastWordIdx, void appendSpans(GList *words, int firstWordIdx, int lastWordIdx,
int primaryDir, int spanDir, int primaryDir, int spanDir,
double base, GBool dropCapLine, GString *s); double base, GBool dropCapLine, GString *s);
void appendUTF8(Unicode u, GString *s); void appendUTF8(Unicode u, GString *s);
GString *getFontDefn(TextFontInfo *font, double *scale); HTMLGenFontDefn *getFontDefn(TextFontInfo *font, const char *htmlDir);
HTMLGenFontDefn *getFontFile(TextFontInfo *font, const char *htmlDir);
HTMLGenFontDefn *getSubstituteFont(TextFontInfo *font);
void getFontDetails(TextFontInfo *font, const char **family,
const char **weight, const char **style,
double *scale);
double backgroundResolution; double backgroundResolution;
double zoom; double zoom;
GBool drawInvisibleText; GBool drawInvisibleText;
GBool allTextInvisible; GBool allTextInvisible;
GBool extractFontFiles;
PDFDoc *doc; PDFDoc *doc;
TextOutputDev *textOut; TextOutputDev *textOut;
SplashOutputDev *splashOut; SplashOutputDev *splashOut;
GList *fonts; GList *fonts; // [TextFontInfo]
double *fontScales; double *fontScales;
GList *fontDefns; // [HTMLGenFontDefn]
int nextFontFaceIdx;
GBool ok; GBool ok;
}; };
#endif #endif
 End of changes. 7 change blocks. 
3 lines changed or deleted 16 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)