Subversion Repositories eFlore/Applications.cel

Rev

Rev 1661 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1652 raphael 1
<?php
2
//============================================================+
3
// File name   : tcpdf_config.php
4
// Begin       : 2004-06-11
5
// Last Update : 2013-05-16
6
//
7
// Description : Configuration file for TCPDF.
8
// Author      : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - info@tecnick.com
9
// License     : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html)
10
// -------------------------------------------------------------------
11
// Copyright (C) 2004-2013  Nicola Asuni - Tecnick.com LTD
12
//
13
// This file is part of TCPDF software library.
14
//
15
// TCPDF is free software: you can redistribute it and/or modify it
16
// under the terms of the GNU Lesser General Public License as
17
// published by the Free Software Foundation, either version 3 of the
18
// License, or (at your option) any later version.
19
//
20
// TCPDF is distributed in the hope that it will be useful, but
21
// WITHOUT ANY WARRANTY; without even the implied warranty of
22
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
23
// See the GNU Lesser General Public License for more details.
24
//
25
// You should have received a copy of the GNU Lesser General Public License
26
// along with TCPDF.  If not, see <http://www.gnu.org/licenses/>.
27
//
28
// See LICENSE.TXT file for more information.
29
//============================================================+
30
 
31
/**
32
 * Configuration file for TCPDF.
33
 * @author Nicola Asuni
34
 * @package com.tecnick.tcpdf
35
 * @version 4.9.005
36
 * @since 2004-10-27
37
 */
38
 
39
// If you define the constant K_TCPDF_EXTERNAL_CONFIG, the following settings will be ignored.
40
define('K_TCPDF_EXTERNAL_CONFIG', TRUE);
41
 
42
/**
43
 * Installation path (/var/www/tcpdf/).
44
 * By default it is automatically calculated but you can also set it as a fixed string to improve performances.
45
 */
46
//define ('K_PATH_MAIN', '');
47
 
48
/**
49
 * URL path to tcpdf installation folder (http://localhost/tcpdf/).
50
 * By default it is automatically set but you can also set it as a fixed string to improve performances.
51
 */
52
//define ('K_PATH_URL', '');
53
 
54
/**
55
 * Path for PDF fonts.
56
 * By default it is automatically set but you can also set it as a fixed string to improve performances.
57
 */
58
//define ('K_PATH_FONTS', K_PATH_MAIN.'fonts/');
59
 
60
/**
61
 * Default images directory.
62
 * By default it is automatically set but you can also set it as a fixed string to improve performances.
63
 */
64
//define ('K_PATH_IMAGES', '');
65
 
66
/**
67
 * Deafult image logo used be the default Header() method.
68
 * Please set here your own logo or an empty string to disable it.
69
 */
70
//define ('PDF_HEADER_LOGO', '');
71
 
72
/**
73
 * Header logo image width in user units.
74
 */
75
//define ('PDF_HEADER_LOGO_WIDTH', 0);
76
 
77
/**
78
 * Cache directory for temporary files (full path).
79
 */
80
define ('K_PATH_CACHE', sys_get_temp_dir().'/');
81
 
82
/**
83
 * Generic name for a blank image.
84
 */
85
define ('K_BLANK_IMAGE', '_blank.png');
86
 
87
/**
88
 * Page format.
89
 */
90
define ('PDF_PAGE_FORMAT', 'A4');
91
 
92
/**
93
 * Page orientation (P=portrait, L=landscape).
94
 */
95
define ('PDF_PAGE_ORIENTATION', 'P');
96
 
97
/**
98
 * Document creator.
99
 */
100
define ('PDF_CREATOR', 'TCPDF');
101
 
102
/**
103
 * Document author.
104
 */
105
define ('PDF_AUTHOR', 'TCPDF');
106
 
107
/**
108
 * Header title.
109
 */
110
define ('PDF_HEADER_TITLE', 'TCPDF Example');
111
 
112
/**
113
 * Header description string.
114
 */
115
define ('PDF_HEADER_STRING', "by Nicola Asuni - Tecnick.com\nwww.tcpdf.org");
116
 
117
/**
118
 * Document unit of measure [pt=point, mm=millimeter, cm=centimeter, in=inch].
119
 */
120
define ('PDF_UNIT', 'mm');
121
 
122
/**
123
 * Header margin.
124
 */
125
define ('PDF_MARGIN_HEADER', 5);
126
 
127
/**
128
 * Footer margin.
129
 */
1655 raphael 130
define ('PDF_MARGIN_FOOTER', 5);
1652 raphael 131
 
132
/**
133
 * Top margin.
134
 */
1655 raphael 135
define ('PDF_MARGIN_TOP', 5);
1652 raphael 136
 
137
/**
138
 * Bottom margin.
139
 */
1655 raphael 140
define ('PDF_MARGIN_BOTTOM', 5);
1652 raphael 141
 
142
/**
143
 * Left margin.
144
 */
1655 raphael 145
define ('PDF_MARGIN_LEFT', 5);
1652 raphael 146
 
147
/**
148
 * Right margin.
149
 */
1655 raphael 150
define ('PDF_MARGIN_RIGHT', 5);
1652 raphael 151
 
152
/**
153
 * Default main font name.
154
 */
155
define ('PDF_FONT_NAME_MAIN', 'helvetica');
156
 
157
/**
158
 * Default main font size.
159
 */
1655 raphael 160
define ('PDF_FONT_SIZE_MAIN', 11);
1652 raphael 161
 
162
/**
163
 * Default data font name.
164
 */
165
define ('PDF_FONT_NAME_DATA', 'helvetica');
166
 
167
/**
168
 * Default data font size.
169
 */
170
define ('PDF_FONT_SIZE_DATA', 8);
171
 
172
/**
173
 * Default monospaced font name.
174
 */
175
define ('PDF_FONT_MONOSPACED', 'courier');
176
 
177
/**
178
 * Ratio used to adjust the conversion of pixels to user units.
179
 */
180
define ('PDF_IMAGE_SCALE_RATIO', 1.25);
181
 
182
/**
183
 * Magnification factor for titles.
184
 */
185
define('HEAD_MAGNIFICATION', 1.1);
186
 
187
/**
188
 * Height of cell respect font height.
189
 */
190
define('K_CELL_HEIGHT_RATIO', 1.25);
191
 
192
/**
193
 * Title magnification respect main font size.
194
 */
195
define('K_TITLE_MAGNIFICATION', 1.3);
196
 
197
/**
198
 * Reduction factor for small font.
199
 */
200
define('K_SMALL_RATIO', 2/3);
201
 
202
/**
203
 * Set to true to enable the special procedure used to avoid the overlappind of symbols on Thai language.
204
 */
205
define('K_THAI_TOPCHARS', true);
206
 
207
/**
208
 * If true allows to call TCPDF methods using HTML syntax
209
 * IMPORTANT: For security reason, disable this feature if you are printing user HTML content.
210
 */
211
define('K_TCPDF_CALLS_IN_HTML', true);
212
 
213
/**
214
 * If true adn PHP version is greater than 5, then the Error() method throw new exception instead of terminating the execution.
215
 */
216
define('K_TCPDF_THROW_EXCEPTION_ERROR', false);
217
 
218
//============================================================+
219
// END OF FILE
220
//============================================================+