Logo Search packages:      
Sourcecode: djvulibre version File versions  Download package

Public Types | Public Member Functions | Public Attributes | Static Public Attributes | Private Member Functions | Private Attributes

DjVuPrefs Class Reference

Collaboration diagram for DjVuPrefs:
Collaboration graph
[legend]

List of all members.

Public Types

enum  HLButtType {
  HLB_SHIFT = 0, HLB_SHIFT_SHIFT = 1, HLB_ALT = 2, HLB_ALT_ALT = 3,
  HLB_CTRL = 4, HLB_CTRL_CTRL = 5, HLB_ITEMS = 6
}
enum  MagButtType {
  MAG_SHIFT = 0, MAG_ALT = 1, MAG_CTRL = 2, MAG_MID = 3,
  MAG_ITEMS = 4
}

Public Member Functions

void load (void)
void save (void)

Public Attributes

char bBeginner
int bookletAlign
int bookletFold
int bookletMax
int bookletMode
int bookletXFold
double dPrinterGamma
double dScreenGamma
bool fastThumb
bool fastZoom
HLButtType hlb_num
bool hlinksBorder
bool hlinksPopup
MagButtType magnifierHotKey
int magnifierScale
int magnifierSize
int mcacheSize
bool mimeDontAsk
bool mimeDontCheck
int nDefaultZoom
bool optimizeLCD
int pcacheSize
bool printAllPages
bool printAutoOrient
bool printColor
GUTF8String printCommand
bool printCropMarks
GUTF8String printFile
bool printFitPage
bool printFrame
int printLevel
bool printPortrait
bool printPS
bool printToFile
int printZoom
bool toolBarAlwaysVisible
int toolBarDelay
bool toolBarOn

Static Public Attributes

static const char * hlb_names []
static const int legal_mag_scale [] = { 15, 20, 25, 30, 35, 40, 45, 50 }
static const int legal_mag_scale_num = sizeof(DjVuPrefs::legal_mag_scale)/sizeof(DjVuPrefs::legal_mag_scale[0])
static const int legal_mag_size [] = { 50, 75, 100, 125, 150, 175, 200, 225, 250, 275, 300 }
static const int legal_mag_size_num = sizeof(DjVuPrefs::legal_mag_size)/sizeof(DjVuPrefs::legal_mag_size[0])
static const char * mag_names []

Private Member Functions

int getInt (const char *name)
GUTF8String getString (const char *name)
void setInt (const char *name, int value)
void setString (const char *name, const char *value)

Private Attributes

void * database

Detailed Description

Definition at line 68 of file prefs.h.


The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index