| [ Index ] |
PHP Cross Reference of Joomla 1.5.26 DE |
[Summary view] [Print] [Text view]
1 <?php 2 //============================================================+ 3 // File name : tcpdf_config.php 4 // Begin : 2004-06-11 5 // Last Update : 2008-03-04 6 // 7 // Description : Congiguration file for TCPDF. 8 // 9 // Author: Nicola Asuni 10 // 11 // (c) Copyright: 12 // Nicola Asuni 13 // Tecnick.com s.r.l. 14 // Via Della Pace, 11 15 // 09044 Quartucciu (CA) 16 // ITALY 17 // www.tecnick.com 18 // info@tecnick.com 19 //============================================================+ 20 21 /** 22 * Configuration file for TCPDF. 23 * @author Nicola Asuni 24 * @copyright 2004-2008 Nicola Asuni - Tecnick.com S.r.l (www.tecnick.com) Via Della Pace, 11 - 09044 - Quartucciu (CA) - ITALY - www.tecnick.com - info@tecnick.com 25 * @package com.tecnick.tcpdf 26 * @version 2.1.000 27 * @link http://tcpdf.sourceforge.net 28 * @license http://www.gnu.org/copyleft/lesser.html LGPL 29 * @since 2004-10-27 30 */ 31 32 // If you define the constant K_TCPDF_EXTERNAL_CONFIG, the following settings will be ignored. 33 34 if (!defined("K_TCPDF_EXTERNAL_CONFIG")) { 35 36 // PLEASE SET THE FOLLOWING CONSTANTS: 37 38 /** 39 * installation path (/var/www/tcpdf/) 40 */ 41 define ("K_PATH_MAIN", "D:/Inetpub/wwwroot/_OPENSOURCE/tcpdf/"); 42 43 /** 44 * url path (http://localhost/tcpdf/) 45 */ 46 define ("K_PATH_URL", "http://localhost/_OPENSOURCE/tcpdf/"); 47 48 /** 49 * path for PDF fonts 50 * use K_PATH_MAIN."fonts/old/" for old non-UTF8 fonts 51 */ 52 define ("K_PATH_FONTS", K_PATH_MAIN."fonts/"); 53 54 /** 55 * cache directory for temporary files (full path) 56 */ 57 define ("K_PATH_CACHE", K_PATH_MAIN."cache/"); 58 59 /** 60 * cache directory for temporary files (url path) 61 */ 62 define ("K_PATH_URL_CACHE", K_PATH_URL."cache/"); 63 64 /** 65 *images directory 66 */ 67 define ("K_PATH_IMAGES", K_PATH_MAIN."images/"); 68 69 /** 70 * blank image 71 */ 72 define ("K_BLANK_IMAGE", K_PATH_IMAGES."_blank.png"); 73 74 /** 75 * page format 76 */ 77 define ("PDF_PAGE_FORMAT", "A4"); 78 79 /** 80 * page orientation (P=portrait, L=landscape) 81 */ 82 define ("PDF_PAGE_ORIENTATION", "P"); 83 84 /** 85 * document creator 86 */ 87 define ("PDF_CREATOR", "TCPDF"); 88 89 /** 90 * document author 91 */ 92 define ("PDF_AUTHOR", "TCPDF"); 93 94 /** 95 * header title 96 */ 97 define ("PDF_HEADER_TITLE", "header title"); 98 99 /** 100 * header description string 101 */ 102 define ("PDF_HEADER_STRING", "first row\nsecond row\nthird row"); 103 104 /** 105 * image logo 106 */ 107 define ("PDF_HEADER_LOGO", "tcpdf_logo.jpg"); 108 109 /** 110 * header logo image width [mm] 111 */ 112 define ("PDF_HEADER_LOGO_WIDTH", 30); 113 114 /** 115 * document unit of measure [pt=point, mm=millimeter, cm=centimeter, in=inch] 116 */ 117 define ("PDF_UNIT", "mm"); 118 119 /** 120 * header margin 121 */ 122 define ("PDF_MARGIN_HEADER", 5); 123 124 /** 125 * footer margin 126 */ 127 define ("PDF_MARGIN_FOOTER", 10); 128 129 /** 130 * top margin 131 */ 132 define ("PDF_MARGIN_TOP", 27); 133 134 /** 135 * bottom margin 136 */ 137 define ("PDF_MARGIN_BOTTOM", 25); 138 139 /** 140 * left margin 141 */ 142 define ("PDF_MARGIN_LEFT", 15); 143 144 /** 145 * right margin 146 */ 147 define ("PDF_MARGIN_RIGHT", 15); 148 149 /** 150 * main font name 151 */ 152 define ("PDF_FONT_NAME_MAIN", "vera"); //vera 153 154 /** 155 * main font size 156 */ 157 define ("PDF_FONT_SIZE_MAIN", 10); 158 159 /** 160 * data font name 161 */ 162 define ("PDF_FONT_NAME_DATA", "vera"); //vera 163 164 /** 165 * data font size 166 */ 167 define ("PDF_FONT_SIZE_DATA", 8); 168 169 /** 170 * scale factor for images (number of points in user unit) 171 */ 172 define ("PDF_IMAGE_SCALE_RATIO", 4); 173 174 /** 175 * magnification factor for titles 176 */ 177 define("HEAD_MAGNIFICATION", 1.1); 178 179 /** 180 * height of cell repect font height 181 */ 182 define("K_CELL_HEIGHT_RATIO", 1.25); 183 184 /** 185 * title magnification respect main font size 186 */ 187 define("K_TITLE_MAGNIFICATION", 1.3); 188 189 /** 190 * reduction factor for small font 191 */ 192 define("K_SMALL_RATIO", 2/3); 193 } 194 195 //============================================================+ 196 // END OF FILE 197 //============================================================+ 198 ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Wed Mar 28 15:54:07 2012 | Cross-referenced by PHPXref 0.7.1 |