OXID eShop CE  4.9.6
 All Classes Files Functions Variables Pages
oxpdf.php File Reference

Go to the source code of this file.

Classes

class  oxPDF

Variables

 $myConfig = oxRegistry::getConfig()
 $sTcPdfPath = "tcpdf/"
 $sTcPdfUrl = "tcpdf/"
const K_TCPDF_EXTERNAL_CONFIG = 1
const K_PATH_MAIN = $sTcPdfPath
const K_PATH_URL = $sTcPdfUrl
const K_PATH_FONTS = K_PATH_MAIN . 'fonts/'
const K_PATH_CACHE = K_PATH_MAIN . 'cache/'
const K_PATH_URL_CACHE = K_PATH_URL . 'cache/'
const K_PATH_IMAGES = K_PATH_MAIN . 'images/'
const K_BLANK_IMAGE = K_PATH_IMAGES . '_blank.png'
const PDF_PAGE_FORMAT = 'A4'
const PDF_PAGE_ORIENTATION = 'P'
const PDF_CREATOR = 'TCPDF'
const PDF_AUTHOR = 'TCPDF'
const PDF_HEADER_TITLE = 'TCPDF Example'
const PDF_HEADER_STRING = "by Nicola Asuni - Tecnick.com\nwww.tcpdf.org"
const PDF_HEADER_LOGO = 'tcpdf_logo.jpg'
const PDF_HEADER_LOGO_WIDTH = 30
const PDF_UNIT = 'mm'
const PDF_MARGIN_HEADER = 5
const PDF_MARGIN_FOOTER = 10
const PDF_MARGIN_TOP = 27
const PDF_MARGIN_BOTTOM = 25
const PDF_MARGIN_LEFT = 15
const PDF_MARGIN_RIGHT = 15
const PDF_FONT_NAME_MAIN = 'helvetica'
const PDF_FONT_SIZE_MAIN = 10
const PDF_FONT_NAME_DATA = 'helvetica'
const PDF_FONT_SIZE_DATA = 8
const PDF_FONT_MONOSPACED = 'courier'
const PDF_IMAGE_SCALE_RATIO = 1
const HEAD_MAGNIFICATION = 1.1
const K_CELL_HEIGHT_RATIO = 1.25
const K_TITLE_MAGNIFICATION = 1.3
const K_SMALL_RATIO = 2 / 3

Variable Documentation

$myConfig = oxRegistry::getConfig()

Definition at line 3 of file oxpdf.php.

$sTcPdfPath = "tcpdf/"

Definition at line 5 of file oxpdf.php.

$sTcPdfUrl = "tcpdf/"

Definition at line 6 of file oxpdf.php.

const HEAD_MAGNIFICATION = 1.1

magnification factor for titles

Definition at line 159 of file oxpdf.php.

const K_BLANK_IMAGE = K_PATH_IMAGES . '_blank.png'

blank image

Definition at line 49 of file oxpdf.php.

const K_CELL_HEIGHT_RATIO = 1.25

height of cell repect font height

Definition at line 164 of file oxpdf.php.

const K_PATH_CACHE = K_PATH_MAIN . 'cache/'

cache directory for temporary files (full path)

Definition at line 34 of file oxpdf.php.

const K_PATH_FONTS = K_PATH_MAIN . 'fonts/'

path for PDF fonts use K_PATH_MAIN.'fonts/old/' for old non-UTF8 fonts

Definition at line 29 of file oxpdf.php.

const K_PATH_IMAGES = K_PATH_MAIN . 'images/'

*images directory

Definition at line 44 of file oxpdf.php.

const K_PATH_MAIN = $sTcPdfPath

Installation path (/var/www/tcpdf/). By default it is automatically calculated but you can also set it as a fixed string to improve performances.

Definition at line 17 of file oxpdf.php.

const K_PATH_URL = $sTcPdfUrl

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

Definition at line 23 of file oxpdf.php.

const K_PATH_URL_CACHE = K_PATH_URL . 'cache/'

cache directory for temporary files (url path)

Definition at line 39 of file oxpdf.php.

const K_SMALL_RATIO = 2 / 3

reduction factor for small font

Definition at line 174 of file oxpdf.php.

const K_TCPDF_EXTERNAL_CONFIG = 1

Using own config params

Definition at line 11 of file oxpdf.php.

const K_TITLE_MAGNIFICATION = 1.3

title magnification respect main font size

Definition at line 169 of file oxpdf.php.

const PDF_AUTHOR = 'TCPDF'

document author

Definition at line 69 of file oxpdf.php.

const PDF_CREATOR = 'TCPDF'

document creator

Definition at line 64 of file oxpdf.php.

const PDF_FONT_MONOSPACED = 'courier'

default monospaced font name

Definition at line 149 of file oxpdf.php.

const PDF_FONT_NAME_DATA = 'helvetica'

default data font name

Definition at line 139 of file oxpdf.php.

const PDF_FONT_NAME_MAIN = 'helvetica'

default main font name

Definition at line 129 of file oxpdf.php.

const PDF_FONT_SIZE_DATA = 8

default data font size

Definition at line 144 of file oxpdf.php.

const PDF_FONT_SIZE_MAIN = 10

default main font size

Definition at line 134 of file oxpdf.php.

const PDF_HEADER_LOGO = 'tcpdf_logo.jpg'

image logo

Definition at line 84 of file oxpdf.php.

const PDF_HEADER_LOGO_WIDTH = 30

header logo image width [mm]

Definition at line 89 of file oxpdf.php.

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

header description string

Definition at line 79 of file oxpdf.php.

const PDF_HEADER_TITLE = 'TCPDF Example'

header title

Definition at line 74 of file oxpdf.php.

const PDF_IMAGE_SCALE_RATIO = 1

ratio used to adjust the conversion of pixels to user units

Definition at line 154 of file oxpdf.php.

const PDF_MARGIN_BOTTOM = 25

bottom margin

Definition at line 114 of file oxpdf.php.

const PDF_MARGIN_FOOTER = 10

footer margin

Definition at line 104 of file oxpdf.php.

const PDF_MARGIN_HEADER = 5

header margin

Definition at line 99 of file oxpdf.php.

const PDF_MARGIN_LEFT = 15

left margin

Definition at line 119 of file oxpdf.php.

const PDF_MARGIN_RIGHT = 15

right margin

Definition at line 124 of file oxpdf.php.

const PDF_MARGIN_TOP = 27

top margin

Definition at line 109 of file oxpdf.php.

const PDF_PAGE_FORMAT = 'A4'

page format

Definition at line 54 of file oxpdf.php.

const PDF_PAGE_ORIENTATION = 'P'

page orientation (P=portrait, L=landscape)

Definition at line 59 of file oxpdf.php.

const PDF_UNIT = 'mm'

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

Definition at line 94 of file oxpdf.php.