source: trunk/poppler/mypoppler/poppler/poppler-config.h @ 250

Last change on this file since 250 was 250, checked in by Eugene Romanenko, 13 years ago

PDF plugin: poppler library updated to version 0.8.3

File size: 4.5 KB
Line 
1/* poppler/poppler-config.h.  Generated from poppler-config.h.in by configure.  */
2//================================================= -*- mode: c++ -*- ====
3//
4// poppler-config.h
5//
6// Copyright 1996-2004 Glyph & Cog, LLC
7//
8//========================================================================
9
10#ifndef POPPLER_CONFIG_H
11#define POPPLER_CONFIG_H
12
13// We duplicate some of the config.h #define's here since they are
14// used in some of the header files we install.  The #ifndef/#endif
15// around #undef look odd, but it's to silence warnings about
16// redefining those symbols.
17
18/* Enable multithreading support. */
19#ifndef MULTITHREADED
20#define MULTITHREADED 1
21#endif
22
23/* Enable exceptions. */
24#ifndef USE_EXCEPTIONS
25/* #undef USE_EXCEPTIONS */
26#endif
27
28/* Use fixedpoint. */
29#ifndef USE_FIXEDPOINT
30/* #undef USE_FIXEDPOINT */
31#endif
32
33/* Full path for the system-wide xpdfrc file. */
34#ifndef SYSTEM_XPDFRC
35/* #undef SYSTEM_XPDFRC */
36#endif
37
38/* Include support for OPI comments. */
39#ifndef OPI_SUPPORT
40#define OPI_SUPPORT 1
41#endif
42
43/* Enable word list support. */
44#ifndef TEXTOUT_WORD_LIST
45#define TEXTOUT_WORD_LIST 1
46#endif
47
48// Also, there's a couple of preprocessor symbols in the header files
49// that are used but never defined: DISABLE_OUTLINE, DEBUG_MEM and
50
51//------------------------------------------------------------------------
52// version
53//------------------------------------------------------------------------
54
55// xpdf version
56#define xpdfVersion         "3.00"
57#define xpdfVersionNum      3.00
58#define xpdfMajorVersion    3
59#define xpdfMinorVersion    0
60#define xpdfMajorVersionStr "3"
61#define xpdfMinorVersionStr "0"
62
63// supported PDF version
64#define supportedPDFVersionStr "1.5"
65#define supportedPDFVersionNum 1.5
66
67// copyright notice
68#define xpdfCopyright "Copyright 1996-2004 Glyph & Cog, LLC"
69
70// Windows resource file stuff
71#define winxpdfVersion "WinXpdf 3.00"
72#define xpdfCopyrightAmp "Copyright 1996-2004 Glyph && Cog, LLC"
73
74//------------------------------------------------------------------------
75// paper size
76//------------------------------------------------------------------------
77
78// default paper size (in points) for PostScript output
79#ifdef A4_PAPER
80#define defPaperWidth  595    // ISO A4 (210x297 mm)
81#define defPaperHeight 842
82#else
83#define defPaperWidth  612    // American letter (8.5x11")
84#define defPaperHeight 792
85#endif
86
87//------------------------------------------------------------------------
88// config file (xpdfrc) path
89//------------------------------------------------------------------------
90
91// user config file name, relative to the user's home directory
92#if defined(VMS) || (defined(WIN32) && !defined(__CYGWIN32__))
93#define xpdfUserConfigFile "xpdfrc"
94#else
95#define xpdfUserConfigFile ".xpdfrc"
96#endif
97
98// system config file name (set via the configure script)
99#ifdef SYSTEM_XPDFRC
100#define xpdfSysConfigFile SYSTEM_XPDFRC
101#else
102// under Windows, we get the directory with the executable and then
103// append this file name
104#define xpdfSysConfigFile "xpdfrc"
105#endif
106
107//------------------------------------------------------------------------
108// X-related constants
109//------------------------------------------------------------------------
110
111// default maximum size of color cube to allocate
112#define defaultRGBCube 5
113
114// number of fonts (combined t1lib, FreeType, X server) to cache
115#define xOutFontCacheSize 64
116
117// number of Type 3 fonts to cache
118#define xOutT3FontCacheSize 8
119
120//------------------------------------------------------------------------
121// popen
122//------------------------------------------------------------------------
123
124#if defined(_MSC_VER) || defined(__BORLANDC__)
125#define popen _popen
126#define pclose _pclose
127#endif
128
129#if defined(VMS) || defined(VMCMS) || defined(DOS) || defined(OS2) || defined(__EMX__) || defined(WIN32) || defined(__DJGPP__) || defined(MACOS)
130#define POPEN_READ_MODE "rb"
131#else
132#define POPEN_READ_MODE "r"
133#endif
134
135//------------------------------------------------------------------------
136// Win32 stuff
137//------------------------------------------------------------------------
138
139#ifdef CDECL
140/* #undef CDECL */
141#endif
142
143#if defined(_MSC_VER) || defined(__BORLANDC__)
144#define CDECL __cdecl
145#else
146#define CDECL
147#endif
148
149//------------------------------------------------------------------------
150// Compiler
151//------------------------------------------------------------------------
152
153#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ > 4)
154#define GCC_PRINTF_FORMAT(fmt_index, va_index) \
155        __attribute__((__format__(__printf__, fmt_index, va_index)))
156#else
157#define GCC_PRINTF_FORMAT(fmt_index, va_index)
158#endif
159
160
161#endif /* POPPLER_CONFIG_H */
Note: See TracBrowser for help on using the repository browser.