ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
tcpdf_config_alt.php File Reference

Go to the source code of this file.

Namespaces

 com\tecnick\tcpdf
 Configuration file for TCPDF.
 

Variables

const K_TCPDF_EXTERNAL_CONFIG true
 Define the following constant to ignore the default configuration file. More...
 
const K_PATH_IMAGES dirname(__FILE__).'/../images/'
 Installation path (/var/www/tcpdf/). More...
 
const PDF_HEADER_LOGO 'tcpdf_logo.jpg'
 Deafult image logo used be the default Header() method. More...
 
const PDF_HEADER_LOGO_WIDTH 30
 Header logo image width in user units. More...
 
const K_PATH_CACHE sys_get_temp_dir().'/'
 Cache directory for temporary files (full path). More...
 
const K_BLANK_IMAGE '_blank.png'
 Generic name for a blank image. More...
 
const PDF_PAGE_FORMAT 'A4'
 Page format. More...
 
const PDF_PAGE_ORIENTATION 'P'
 Page orientation (P=portrait, L=landscape). More...
 
const PDF_CREATOR 'TCPDF'
 Document creator. More...
 
const PDF_AUTHOR 'TCPDF'
 Document author. More...
 
const PDF_HEADER_TITLE 'TCPDF Example'
 Header title. More...
 
const PDF_HEADER_STRING "by Nicola Asuni - Tecnick.com\nwww.tcpdf.org"
 Header description string. More...
 
const PDF_UNIT 'mm'
 Document unit of measure [pt=point, mm=millimeter, cm=centimeter, in=inch]. More...
 
const PDF_MARGIN_HEADER 5
 Header margin. More...
 
const PDF_MARGIN_FOOTER 10
 Footer margin. More...
 
const PDF_MARGIN_TOP 27
 Top margin. More...
 
const PDF_MARGIN_BOTTOM 25
 Bottom margin. More...
 
const PDF_MARGIN_LEFT 15
 Left margin. More...
 
const PDF_MARGIN_RIGHT 15
 Right margin. More...
 
const PDF_FONT_NAME_MAIN 'helvetica'
 Default main font name. More...
 
const PDF_FONT_SIZE_MAIN 10
 Default main font size. More...
 
const PDF_FONT_NAME_DATA 'helvetica'
 Default data font name. More...
 
const PDF_FONT_SIZE_DATA 8
 Default data font size. More...
 
const PDF_FONT_MONOSPACED 'courier'
 Default monospaced font name. More...
 
const PDF_IMAGE_SCALE_RATIO 1.25
 Ratio used to adjust the conversion of pixels to user units. More...
 
const HEAD_MAGNIFICATION 1.1
 Magnification factor for titles. More...
 
const K_CELL_HEIGHT_RATIO 1.25
 Height of cell respect font height. More...
 
const K_TITLE_MAGNIFICATION 1.3
 Title magnification respect main font size. More...
 
const K_SMALL_RATIO 2/3
 Reduction factor for small font. More...
 
const K_THAI_TOPCHARS true
 Set to true to enable the special procedure used to avoid the overlappind of symbols on Thai language. More...
 
const K_TCPDF_CALLS_IN_HTML true
 If true allows to call TCPDF methods using HTML syntax IMPORTANT: For security reason, disable this feature if you are printing user HTML content. More...
 
const K_TCPDF_THROW_EXCEPTION_ERROR false
 If true and PHP version is greater than 5, then the Error() method throw new exception instead of terminating the execution. More...
 

Variable Documentation

◆ HEAD_MAGNIFICATION

const HEAD_MAGNIFICATION 1.1

Magnification factor for titles.

Definition at line 187 of file tcpdf_config_alt.php.

◆ K_BLANK_IMAGE

const K_BLANK_IMAGE '_blank.png'

Generic name for a blank image.

Definition at line 87 of file tcpdf_config_alt.php.

◆ K_CELL_HEIGHT_RATIO

const K_CELL_HEIGHT_RATIO 1.25

Height of cell respect font height.

Definition at line 192 of file tcpdf_config_alt.php.

◆ K_PATH_CACHE

const K_PATH_CACHE sys_get_temp_dir().'/'

Cache directory for temporary files (full path).

Definition at line 82 of file tcpdf_config_alt.php.

Referenced by TCPDF\_destroy(), TCPDF_STATIC\getObjFilename(), TCPDF\Image(), and TCPDF\ImagePngAlpha().

◆ K_PATH_IMAGES

const K_PATH_IMAGES dirname(__FILE__).'/../images/'

Installation path (/var/www/tcpdf/).

By default it is automatically calculated but you can also set it as a fixed string to improve performances. URL path to tcpdf installation folder (http://localhost/tcpdf/). By default it is automatically set but you can also set it as a fixed string to improve performances. Path for PDF fonts. By default it is automatically set but you can also set it as a fixed string to improve performances. Default images directory. By default it is automatically set but you can also set it as a fixed string to improve performances.

Definition at line 66 of file tcpdf_config_alt.php.

Referenced by MYPDF\Header(), and TCPDF\Header().

◆ K_SMALL_RATIO

const K_SMALL_RATIO 2/3

Reduction factor for small font.

Definition at line 202 of file tcpdf_config_alt.php.

◆ K_TCPDF_CALLS_IN_HTML

const K_TCPDF_CALLS_IN_HTML true

If true allows to call TCPDF methods using HTML syntax IMPORTANT: For security reason, disable this feature if you are printing user HTML content.

Definition at line 213 of file tcpdf_config_alt.php.

◆ K_TCPDF_EXTERNAL_CONFIG

const K_TCPDF_EXTERNAL_CONFIG true

Define the following constant to ignore the default configuration file.

Definition at line 42 of file tcpdf_config_alt.php.

◆ K_TCPDF_THROW_EXCEPTION_ERROR

const K_TCPDF_THROW_EXCEPTION_ERROR false

If true and PHP version is greater than 5, then the Error() method throw new exception instead of terminating the execution.

Definition at line 218 of file tcpdf_config_alt.php.

◆ K_THAI_TOPCHARS

const K_THAI_TOPCHARS true

Set to true to enable the special procedure used to avoid the overlappind of symbols on Thai language.

Definition at line 207 of file tcpdf_config_alt.php.

◆ K_TITLE_MAGNIFICATION

const K_TITLE_MAGNIFICATION 1.3

Title magnification respect main font size.

Definition at line 197 of file tcpdf_config_alt.php.

◆ PDF_AUTHOR

const PDF_AUTHOR 'TCPDF'

Document author.

Definition at line 107 of file tcpdf_config_alt.php.

◆ PDF_CREATOR

const PDF_CREATOR 'TCPDF'

Document creator.

Definition at line 102 of file tcpdf_config_alt.php.

◆ PDF_FONT_MONOSPACED

const PDF_FONT_MONOSPACED 'courier'

Default monospaced font name.

Definition at line 177 of file tcpdf_config_alt.php.

◆ PDF_FONT_NAME_DATA

const PDF_FONT_NAME_DATA 'helvetica'

Default data font name.

Definition at line 167 of file tcpdf_config_alt.php.

◆ PDF_FONT_NAME_MAIN

const PDF_FONT_NAME_MAIN 'helvetica'

Default main font name.

Definition at line 157 of file tcpdf_config_alt.php.

◆ PDF_FONT_SIZE_DATA

const PDF_FONT_SIZE_DATA 8

Default data font size.

Definition at line 172 of file tcpdf_config_alt.php.

◆ PDF_FONT_SIZE_MAIN

const PDF_FONT_SIZE_MAIN 10

Default main font size.

Definition at line 162 of file tcpdf_config_alt.php.

◆ PDF_HEADER_LOGO

const PDF_HEADER_LOGO 'tcpdf_logo.jpg'

Deafult image logo used be the default Header() method.

Please set here your own logo or an empty string to disable it.

Definition at line 72 of file tcpdf_config_alt.php.

◆ PDF_HEADER_LOGO_WIDTH

const PDF_HEADER_LOGO_WIDTH 30

Header logo image width in user units.

Definition at line 77 of file tcpdf_config_alt.php.

◆ PDF_HEADER_STRING

const PDF_HEADER_STRING "by Nicola Asuni - Tecnick.com\nwww.tcpdf.org"

Header description string.

Definition at line 117 of file tcpdf_config_alt.php.

◆ PDF_HEADER_TITLE

const PDF_HEADER_TITLE 'TCPDF Example'

Header title.

Definition at line 112 of file tcpdf_config_alt.php.

◆ PDF_IMAGE_SCALE_RATIO

const PDF_IMAGE_SCALE_RATIO 1.25

Ratio used to adjust the conversion of pixels to user units.

Definition at line 182 of file tcpdf_config_alt.php.

◆ PDF_MARGIN_BOTTOM

const PDF_MARGIN_BOTTOM 25

Bottom margin.

Definition at line 142 of file tcpdf_config_alt.php.

◆ PDF_MARGIN_FOOTER

const PDF_MARGIN_FOOTER 10

Footer margin.

Definition at line 132 of file tcpdf_config_alt.php.

◆ PDF_MARGIN_HEADER

const PDF_MARGIN_HEADER 5

Header margin.

Definition at line 127 of file tcpdf_config_alt.php.

◆ PDF_MARGIN_LEFT

const PDF_MARGIN_LEFT 15

Left margin.

Definition at line 147 of file tcpdf_config_alt.php.

◆ PDF_MARGIN_RIGHT

const PDF_MARGIN_RIGHT 15

Right margin.

Definition at line 152 of file tcpdf_config_alt.php.

◆ PDF_MARGIN_TOP

const PDF_MARGIN_TOP 27

Top margin.

Definition at line 137 of file tcpdf_config_alt.php.

◆ PDF_PAGE_FORMAT

const PDF_PAGE_FORMAT 'A4'

Page format.

Definition at line 92 of file tcpdf_config_alt.php.

◆ PDF_PAGE_ORIENTATION

const PDF_PAGE_ORIENTATION 'P'

Page orientation (P=portrait, L=landscape).

Definition at line 97 of file tcpdf_config_alt.php.

◆ PDF_UNIT

const PDF_UNIT 'mm'

Document unit of measure [pt=point, mm=millimeter, cm=centimeter, in=inch].

Definition at line 122 of file tcpdf_config_alt.php.