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

Go to the source code of this file.

Namespaces

 com\tecnick\tcpdf
 Configuration file for TCPDF.
 

Variables

const K_BLANK_IMAGE '_blank.png'
 Installation path (/var/www/tcpdf/). 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 false
 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...
 
const K_TIMEZONE 'UTC'
 Default timezone for datetime functions. More...
 

Variable Documentation

◆ HEAD_MAGNIFICATION

const HEAD_MAGNIFICATION 1.1

Magnification factor for titles.

Definition at line 187 of file tcpdf_config.php.

◆ K_BLANK_IMAGE

const K_BLANK_IMAGE '_blank.png'

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. Deafult image logo used be the default Header() method. Please set here your own logo or an empty string to disable it. Header logo image width in user units. Cache directory for temporary files (full path). Generic name for a blank image.

Definition at line 87 of file tcpdf_config.php.

Referenced by TCPDF\Header().

◆ 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.php.

◆ K_SMALL_RATIO

const K_SMALL_RATIO 2/3

Reduction factor for small font.

Definition at line 202 of file tcpdf_config.php.

Referenced by TCPDF\getHtmlDomArray().

◆ K_TCPDF_CALLS_IN_HTML

const K_TCPDF_CALLS_IN_HTML false

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.php.

Referenced by TCPDF\openHTMLTagHandler().

◆ 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.php.

Referenced by TCPDF\Error().

◆ 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.php.

Referenced by TCPDF\getCellCode().

◆ K_TIMEZONE

const K_TIMEZONE 'UTC'

Default timezone for datetime functions.

Definition at line 223 of file tcpdf_config.php.

◆ K_TITLE_MAGNIFICATION

const K_TITLE_MAGNIFICATION 1.3

Title magnification respect main font size.

Definition at line 197 of file tcpdf_config.php.

◆ PDF_AUTHOR

const PDF_AUTHOR 'TCPDF'

Document author.

Definition at line 107 of file tcpdf_config.php.

◆ PDF_CREATOR

const PDF_CREATOR 'TCPDF'

Document creator.

Definition at line 102 of file tcpdf_config.php.

◆ PDF_FONT_MONOSPACED

const PDF_FONT_MONOSPACED 'courier'

Default monospaced font name.

Definition at line 177 of file tcpdf_config.php.

Referenced by ilTCPDFGenerator\generatePDF().

◆ PDF_FONT_NAME_DATA

const PDF_FONT_NAME_DATA 'helvetica'

Default data font name.

Definition at line 167 of file tcpdf_config.php.

Referenced by ilTCPDFGenerator\generatePDF().

◆ PDF_FONT_NAME_MAIN

const PDF_FONT_NAME_MAIN 'helvetica'

Default main font name.

Definition at line 157 of file tcpdf_config.php.

Referenced by TCPDF\__construct(), TCPDF\Close(), and ilTCPDFGenerator\generatePDF().

◆ PDF_FONT_SIZE_DATA

const PDF_FONT_SIZE_DATA 8

Default data font size.

Definition at line 172 of file tcpdf_config.php.

Referenced by ilTCPDFGenerator\generatePDF().

◆ PDF_FONT_SIZE_MAIN

const PDF_FONT_SIZE_MAIN 10

Default main font size.

Definition at line 162 of file tcpdf_config.php.

Referenced by ilTCPDFGenerator\generatePDF().

◆ 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.php.

◆ PDF_HEADER_TITLE

const PDF_HEADER_TITLE 'TCPDF Example'

Header title.

Definition at line 112 of file tcpdf_config.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.php.

◆ PDF_MARGIN_BOTTOM

const PDF_MARGIN_BOTTOM 25

Bottom margin.

Definition at line 142 of file tcpdf_config.php.

◆ PDF_MARGIN_FOOTER

const PDF_MARGIN_FOOTER 10

Footer margin.

Definition at line 132 of file tcpdf_config.php.

Referenced by ilTCPDFGenerator\generatePDF().

◆ PDF_MARGIN_HEADER

const PDF_MARGIN_HEADER 5

Header margin.

Definition at line 127 of file tcpdf_config.php.

Referenced by ilTCPDFGenerator\generatePDF().

◆ PDF_MARGIN_LEFT

const PDF_MARGIN_LEFT 15

Left margin.

Definition at line 147 of file tcpdf_config.php.

◆ PDF_MARGIN_RIGHT

const PDF_MARGIN_RIGHT 15

Right margin.

Definition at line 152 of file tcpdf_config.php.

◆ PDF_MARGIN_TOP

const PDF_MARGIN_TOP 27

Top margin.

Definition at line 137 of file tcpdf_config.php.

◆ PDF_PAGE_FORMAT

const PDF_PAGE_FORMAT 'A4'

Page format.

Definition at line 92 of file tcpdf_config.php.

Referenced by ilTCPDFGenerator\generatePDF().

◆ PDF_PAGE_ORIENTATION

const PDF_PAGE_ORIENTATION 'P'

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

Definition at line 97 of file tcpdf_config.php.

Referenced by ilTCPDFGenerator\generatePDF().

◆ 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.php.

Referenced by ilTCPDFGenerator\generatePDF().