GlobalParams.h (xpdf-4.03) | : | GlobalParams.h (xpdf-4.04) | ||
---|---|---|---|---|
skipping to change at line 316 | skipping to change at line 316 | |||
int getInitialSidebarWidth(); | int getInitialSidebarWidth(); | |||
GString *getInitialSelectMode(); | GString *getInitialSelectMode(); | |||
int getMaxTileWidth(); | int getMaxTileWidth(); | |||
int getMaxTileHeight(); | int getMaxTileHeight(); | |||
int getTileCacheSize(); | int getTileCacheSize(); | |||
int getWorkerThreads(); | int getWorkerThreads(); | |||
GBool getEnableFreeType(); | GBool getEnableFreeType(); | |||
GBool getDisableFreeTypeHinting(); | GBool getDisableFreeTypeHinting(); | |||
GBool getAntialias(); | GBool getAntialias(); | |||
GBool getVectorAntialias(); | GBool getVectorAntialias(); | |||
GBool getImageMaskAntialias(); | ||||
GBool getAntialiasPrinting(); | GBool getAntialiasPrinting(); | |||
StrokeAdjustMode getStrokeAdjust(); | StrokeAdjustMode getStrokeAdjust(); | |||
ScreenType getScreenType(); | ScreenType getScreenType(); | |||
int getScreenSize(); | int getScreenSize(); | |||
int getScreenDotRadius(); | int getScreenDotRadius(); | |||
double getScreenGamma(); | double getScreenGamma(); | |||
double getScreenBlackThreshold(); | double getScreenBlackThreshold(); | |||
double getScreenWhiteThreshold(); | double getScreenWhiteThreshold(); | |||
double getMinLineWidth(); | double getMinLineWidth(); | |||
GBool getEnablePathSimplification(); | GBool getEnablePathSimplification(); | |||
GBool getDrawAnnotations(); | GBool getDrawAnnotations(); | |||
GBool getDrawFormFields(); | GBool getDrawFormFields(); | |||
GBool getEnableXFA(); | ||||
GBool getOverprintPreview() { return overprintPreview; } | GBool getOverprintPreview() { return overprintPreview; } | |||
GString *getPaperColor(); | GString *getPaperColor(); | |||
GString *getMatteColor(); | GString *getMatteColor(); | |||
GString *getFullScreenMatteColor(); | GString *getFullScreenMatteColor(); | |||
GString *getSelectionColor(); | GString *getSelectionColor(); | |||
GBool getReverseVideoInvertImages(); | GBool getReverseVideoInvertImages(); | |||
GString *getLaunchCommand() { return launchCommand; } | GString *getLaunchCommand() { return launchCommand; } | |||
GString *getMovieCommand() { return movieCommand; } | GString *getMovieCommand() { return movieCommand; } | |||
GString *getDefaultPrinter(); | GString *getDefaultPrinter(); | |||
GBool getMapNumericCharNames(); | GBool getMapNumericCharNames(); | |||
GBool getMapUnknownCharNames(); | GBool getMapUnknownCharNames(); | |||
GBool getMapExtTrueTypeFontsViaUnicode(); | GBool getMapExtTrueTypeFontsViaUnicode(); | |||
GBool getUseTrueTypeUnicodeMapping(); | ||||
GBool isDroppedFont(const char *fontName); | GBool isDroppedFont(const char *fontName); | |||
GList *getKeyBinding(int code, int mods, int context); | GList *getKeyBinding(int code, int mods, int context); | |||
GList *getAllKeyBindings(); | GList *getAllKeyBindings(); | |||
int getNumPopupMenuCmds(); | int getNumPopupMenuCmds(); | |||
PopupMenuCmd *getPopupMenuCmd(int idx); | PopupMenuCmd *getPopupMenuCmd(int idx); | |||
GString *getTabStateFile(); | GString *getTabStateFile(); | |||
GBool getSavePageNumbers(); | ||||
GBool getPrintCommands(); | GBool getPrintCommands(); | |||
GBool getPrintStatusInfo(); | ||||
GBool getErrQuiet(); | GBool getErrQuiet(); | |||
GString *getDebugLogFile(); | GString *getDebugLogFile(); | |||
void debugLogPrintf(const char *fmt, ...); | void debugLogPrintf(const char *fmt, ...); | |||
CharCodeToUnicode *getCIDToUnicode(GString *collection); | CharCodeToUnicode *getCIDToUnicode(GString *collection); | |||
CharCodeToUnicode *getUnicodeToUnicode(GString *fontName); | CharCodeToUnicode *getUnicodeToUnicode(GString *fontName); | |||
UnicodeMap *getUnicodeMap(GString *encodingName); | UnicodeMap *getUnicodeMap(GString *encodingName); | |||
CMap *getCMap(GString *collection, GString *cMapName); | CMap *getCMap(GString *collection, GString *cMapName); | |||
UnicodeMap *getTextEncoding(); | UnicodeMap *getTextEncoding(); | |||
skipping to change at line 401 | skipping to change at line 406 | |||
void setScreenGamma(double gamma); | void setScreenGamma(double gamma); | |||
void setScreenBlackThreshold(double thresh); | void setScreenBlackThreshold(double thresh); | |||
void setScreenWhiteThreshold(double thresh); | void setScreenWhiteThreshold(double thresh); | |||
void setDrawFormFields(GBool draw); | void setDrawFormFields(GBool draw); | |||
void setOverprintPreview(GBool preview); | void setOverprintPreview(GBool preview); | |||
void setMapNumericCharNames(GBool map); | void setMapNumericCharNames(GBool map); | |||
void setMapUnknownCharNames(GBool map); | void setMapUnknownCharNames(GBool map); | |||
void setMapExtTrueTypeFontsViaUnicode(GBool map); | void setMapExtTrueTypeFontsViaUnicode(GBool map); | |||
void setTabStateFile(char *tabStateFileA); | void setTabStateFile(char *tabStateFileA); | |||
void setPrintCommands(GBool printCommandsA); | void setPrintCommands(GBool printCommandsA); | |||
void setPrintStatusInfo(GBool printStatusInfoA); | ||||
void setErrQuiet(GBool errQuietA); | void setErrQuiet(GBool errQuietA); | |||
#ifdef _WIN32 | #ifdef _WIN32 | |||
void setWin32ErrorInfo(const char *func, DWORD code); | void setWin32ErrorInfo(const char *func, DWORD code); | |||
XpdfWin32ErrorInfo *getWin32ErrorInfo(); | XpdfWin32ErrorInfo *getWin32ErrorInfo(); | |||
#endif | #endif | |||
static const char *defaultTextEncoding; | static const char *defaultTextEncoding; | |||
private: | private: | |||
skipping to change at line 559 | skipping to change at line 565 | |||
int initialSidebarWidth; // initial sidebar width | int initialSidebarWidth; // initial sidebar width | |||
GString *initialSelectMode; // initial selection mode (block or linear) | GString *initialSelectMode; // initial selection mode (block or linear) | |||
int maxTileWidth; // maximum rasterization tile width | int maxTileWidth; // maximum rasterization tile width | |||
int maxTileHeight; // maximum rasterization tile height | int maxTileHeight; // maximum rasterization tile height | |||
int tileCacheSize; // number of rasterization tiles in cache | int tileCacheSize; // number of rasterization tiles in cache | |||
int workerThreads; // number of rasterization worker threads | int workerThreads; // number of rasterization worker threads | |||
GBool enableFreeType; // FreeType enable flag | GBool enableFreeType; // FreeType enable flag | |||
GBool disableFreeTypeHinting; // FreeType hinting disable flag | GBool disableFreeTypeHinting; // FreeType hinting disable flag | |||
GBool antialias; // font anti-aliasing enable flag | GBool antialias; // font anti-aliasing enable flag | |||
GBool vectorAntialias; // vector anti-aliasing enable flag | GBool vectorAntialias; // vector anti-aliasing enable flag | |||
GBool imageMaskAntialias; // image mask anti-aliasing enable flag | ||||
GBool antialiasPrinting; // allow anti-aliasing when printing | GBool antialiasPrinting; // allow anti-aliasing when printing | |||
StrokeAdjustMode strokeAdjust; // stroke adjustment mode | StrokeAdjustMode strokeAdjust; // stroke adjustment mode | |||
ScreenType screenType; // halftone screen type | ScreenType screenType; // halftone screen type | |||
int screenSize; // screen matrix size | int screenSize; // screen matrix size | |||
int screenDotRadius; // screen dot radius | int screenDotRadius; // screen dot radius | |||
double screenGamma; // screen gamma correction | double screenGamma; // screen gamma correction | |||
double screenBlackThreshold; // screen black clamping threshold | double screenBlackThreshold; // screen black clamping threshold | |||
double screenWhiteThreshold; // screen white clamping threshold | double screenWhiteThreshold; // screen white clamping threshold | |||
double minLineWidth; // minimum line width | double minLineWidth; // minimum line width | |||
GBool // enable path simplification | GBool // enable path simplification | |||
enablePathSimplification; | enablePathSimplification; | |||
GBool drawAnnotations; // draw annotations or not | GBool drawAnnotations; // draw annotations or not | |||
GBool drawFormFields; // draw form fields or not | GBool drawFormFields; // draw form fields or not | |||
GBool enableXFA; // enable XFA form parsing | ||||
GBool overprintPreview; // enable overprint preview | GBool overprintPreview; // enable overprint preview | |||
GString *paperColor; // paper (page background) color | GString *paperColor; // paper (page background) color | |||
GString *matteColor; // matte (background outside of page) color | GString *matteColor; // matte (background outside of page) color | |||
GString *fullScreenMatteColor; // matte color in full-screen mode | GString *fullScreenMatteColor; // matte color in full-screen mode | |||
GString *selectionColor; // selection color | GString *selectionColor; // selection color | |||
GBool reverseVideoInvertImages; // invert images in reverse video mode | GBool reverseVideoInvertImages; // invert images in reverse video mode | |||
GString *launchCommand; // command executed for 'launch' links | GString *launchCommand; // command executed for 'launch' links | |||
GString *movieCommand; // command executed for movie annotations | GString *movieCommand; // command executed for movie annotations | |||
GString *defaultPrinter; // default printer (for interactive printing | GString *defaultPrinter; // default printer (for interactive printing | |||
// from the viewer) | // from the viewer) | |||
GBool mapNumericCharNames; // map numeric char names (from font subsets)? | GBool mapNumericCharNames; // map numeric char names (from font subsets)? | |||
GBool mapUnknownCharNames; // map unknown char names? | GBool mapUnknownCharNames; // map unknown char names? | |||
GBool mapExtTrueTypeFontsViaUnicode; // map char codes to GID via Unicode | GBool mapExtTrueTypeFontsViaUnicode; // map char codes to GID via Unicode | |||
// for external TrueType fonts? | // for external TrueType fonts? | |||
GBool useTrueTypeUnicodeMapping; // use the Unicode cmaps in TrueType | ||||
// fonts, rather than the PDF | ||||
// ToUnicode mapping | ||||
GHash *droppedFonts; // dropped fonts [int] | GHash *droppedFonts; // dropped fonts [int] | |||
GList *keyBindings; // key & mouse button bindings [KeyBinding] | GList *keyBindings; // key & mouse button bindings [KeyBinding] | |||
GList *popupMenuCmds; // popup menu commands [PopupMenuCmd] | GList *popupMenuCmds; // popup menu commands [PopupMenuCmd] | |||
GString *tabStateFile; // path for the tab state save file | GString *tabStateFile; // path for the tab state save file | |||
GBool savePageNumbers; // save page number when file is closed | ||||
// and restore page number when opened | ||||
GBool printCommands; // print the drawing commands | GBool printCommands; // print the drawing commands | |||
GBool printStatusInfo; // print status info for each page | ||||
GBool errQuiet; // suppress error messages? | GBool errQuiet; // suppress error messages? | |||
GString *debugLogFile; // path for debug log file | GString *debugLogFile; // path for debug log file | |||
CharCodeToUnicodeCache *cidToUnicodeCache; | CharCodeToUnicodeCache *cidToUnicodeCache; | |||
CharCodeToUnicodeCache *unicodeToUnicodeCache; | CharCodeToUnicodeCache *unicodeToUnicodeCache; | |||
UnicodeMapCache *unicodeMapCache; | UnicodeMapCache *unicodeMapCache; | |||
CMapCache *cMapCache; | CMapCache *cMapCache; | |||
#if MULTITHREADED | #if MULTITHREADED | |||
GMutex mutex; | GMutex mutex; | |||
End of changes. 11 change blocks. | ||||
0 lines changed or deleted | 14 lines changed or added |