summaryrefslogtreecommitdiff
path: root/public/library/TCPDF/examples
diff options
context:
space:
mode:
Diffstat (limited to 'public/library/TCPDF/examples')
-rw-r--r--public/library/TCPDF/examples/barcodes/example_1d_html.php53
-rw-r--r--public/library/TCPDF/examples/barcodes/example_1d_png.php53
-rw-r--r--public/library/TCPDF/examples/barcodes/example_1d_svg.php53
-rw-r--r--public/library/TCPDF/examples/barcodes/example_1d_svgi.php53
-rw-r--r--public/library/TCPDF/examples/barcodes/example_2d_datamatrix_html.php53
-rw-r--r--public/library/TCPDF/examples/barcodes/example_2d_datamatrix_png.php53
-rw-r--r--public/library/TCPDF/examples/barcodes/example_2d_datamatrix_svg.php53
-rw-r--r--public/library/TCPDF/examples/barcodes/example_2d_datamatrix_svgi.php53
-rw-r--r--public/library/TCPDF/examples/barcodes/example_2d_pdf417_html.php53
-rw-r--r--public/library/TCPDF/examples/barcodes/example_2d_pdf417_png.php53
-rw-r--r--public/library/TCPDF/examples/barcodes/example_2d_pdf417_svg.php53
-rw-r--r--public/library/TCPDF/examples/barcodes/example_2d_pdf417_svgi.php53
-rw-r--r--public/library/TCPDF/examples/barcodes/example_2d_qrcode_html.php53
-rw-r--r--public/library/TCPDF/examples/barcodes/example_2d_qrcode_png.php53
-rw-r--r--public/library/TCPDF/examples/barcodes/example_2d_qrcode_svg.php53
-rw-r--r--public/library/TCPDF/examples/barcodes/example_2d_qrcode_svgi.php53
-rw-r--r--public/library/TCPDF/examples/barcodes/tcpdf_barcodes_1d_include.php37
-rw-r--r--public/library/TCPDF/examples/barcodes/tcpdf_barcodes_2d_include.php37
-rw-r--r--public/library/TCPDF/examples/config/tcpdf_config_alt.php222
-rw-r--r--public/library/TCPDF/examples/data/cert/tcpdf.crt40
-rw-r--r--public/library/TCPDF/examples/data/cert/tcpdf.fdfbin0 -> 1286 bytes
-rw-r--r--public/library/TCPDF/examples/data/cert/tcpdf.p12bin0 -> 1749 bytes
-rw-r--r--public/library/TCPDF/examples/data/chapter_demo_1.txt19
-rw-r--r--public/library/TCPDF/examples/data/chapter_demo_2.txt23
-rw-r--r--public/library/TCPDF/examples/data/table_data_demo.txt15
-rw-r--r--public/library/TCPDF/examples/data/utf8test.txt128
-rw-r--r--public/library/TCPDF/examples/example_001.php106
-rw-r--r--public/library/TCPDF/examples/example_002.php87
-rw-r--r--public/library/TCPDF/examples/example_003.php118
-rw-r--r--public/library/TCPDF/examples/example_004.php121
-rw-r--r--public/library/TCPDF/examples/example_005.php158
-rw-r--r--public/library/TCPDF/examples/example_006.php330
-rw-r--r--public/library/TCPDF/examples/example_007.php113
-rw-r--r--public/library/TCPDF/examples/example_008.php97
-rw-r--r--public/library/TCPDF/examples/example_009.php146
-rw-r--r--public/library/TCPDF/examples/example_010.php150
-rw-r--r--public/library/TCPDF/examples/example_011.php138
-rw-r--r--public/library/TCPDF/examples/example_012.pdfbin0 -> 13214 bytes
-rw-r--r--public/library/TCPDF/examples/example_012.php205
-rw-r--r--public/library/TCPDF/examples/example_013.php229
-rw-r--r--public/library/TCPDF/examples/example_014.php194
-rw-r--r--public/library/TCPDF/examples/example_015.php161
-rw-r--r--public/library/TCPDF/examples/example_016.php134
-rw-r--r--public/library/TCPDF/examples/example_017.php117
-rw-r--r--public/library/TCPDF/examples/example_018.php128
-rw-r--r--public/library/TCPDF/examples/example_019.php98
-rw-r--r--public/library/TCPDF/examples/example_020.php146
-rw-r--r--public/library/TCPDF/examples/example_021.php91
-rw-r--r--public/library/TCPDF/examples/example_022.php146
-rw-r--r--public/library/TCPDF/examples/example_023.php113
-rw-r--r--public/library/TCPDF/examples/example_024.php140
-rw-r--r--public/library/TCPDF/examples/example_025.php118
-rw-r--r--public/library/TCPDF/examples/example_026.php145
-rw-r--r--public/library/TCPDF/examples/example_027.php418
-rw-r--r--public/library/TCPDF/examples/example_028.php138
-rw-r--r--public/library/TCPDF/examples/example_029.php124
-rw-r--r--public/library/TCPDF/examples/example_030.php188
-rw-r--r--public/library/TCPDF/examples/example_031.php103
-rw-r--r--public/library/TCPDF/examples/example_032.php91
-rw-r--r--public/library/TCPDF/examples/example_033.php105
-rw-r--r--public/library/TCPDF/examples/example_034.php96
-rw-r--r--public/library/TCPDF/examples/example_035.php111
-rw-r--r--public/library/TCPDF/examples/example_036.php89
-rw-r--r--public/library/TCPDF/examples/example_037.php147
-rw-r--r--public/library/TCPDF/examples/example_038.php92
-rw-r--r--public/library/TCPDF/examples/example_039.php104
-rw-r--r--public/library/TCPDF/examples/example_040.php116
-rw-r--r--public/library/TCPDF/examples/example_041.php90
-rw-r--r--public/library/TCPDF/examples/example_042.php102
-rw-r--r--public/library/TCPDF/examples/example_043.php85
-rw-r--r--public/library/TCPDF/examples/example_044.php128
-rw-r--r--public/library/TCPDF/examples/example_045.php140
-rw-r--r--public/library/TCPDF/examples/example_046.php123
-rw-r--r--public/library/TCPDF/examples/example_047.php117
-rw-r--r--public/library/TCPDF/examples/example_048.php313
-rw-r--r--public/library/TCPDF/examples/example_049.php126
-rw-r--r--public/library/TCPDF/examples/example_050.php210
-rw-r--r--public/library/TCPDF/examples/example_051.php145
-rw-r--r--public/library/TCPDF/examples/example_052.php121
-rw-r--r--public/library/TCPDF/examples/example_053.php108
-rw-r--r--public/library/TCPDF/examples/example_054.php128
-rw-r--r--public/library/TCPDF/examples/example_055.php115
-rw-r--r--public/library/TCPDF/examples/example_056.php133
-rw-r--r--public/library/TCPDF/examples/example_057.php268
-rw-r--r--public/library/TCPDF/examples/example_058.php94
-rw-r--r--public/library/TCPDF/examples/example_059.php190
-rw-r--r--public/library/TCPDF/examples/example_060.php108
-rw-r--r--public/library/TCPDF/examples/example_061.php264
-rw-r--r--public/library/TCPDF/examples/example_062.php140
-rw-r--r--public/library/TCPDF/examples/example_063.php131
-rw-r--r--public/library/TCPDF/examples/example_064.php176
-rw-r--r--public/library/TCPDF/examples/example_065.php98
-rw-r--r--public/library/TCPDF/examples/images/_blank.pngbin0 -> 137 bytes
-rw-r--r--public/library/TCPDF/examples/images/alpha.pngbin0 -> 23886 bytes
-rw-r--r--public/library/TCPDF/examples/images/image_demo.jpgbin0 -> 573845 bytes
-rw-r--r--public/library/TCPDF/examples/images/image_with_alpha.pngbin0 -> 244218 bytes
-rw-r--r--public/library/TCPDF/examples/images/img.pngbin0 -> 195148 bytes
-rw-r--r--public/library/TCPDF/examples/images/logo_example.gifbin0 -> 21022 bytes
-rw-r--r--public/library/TCPDF/examples/images/logo_example.jpgbin0 -> 32732 bytes
-rw-r--r--public/library/TCPDF/examples/images/logo_example.pngbin0 -> 19411 bytes
-rw-r--r--public/library/TCPDF/examples/images/tcpdf_box.ai214
-rw-r--r--public/library/TCPDF/examples/images/tcpdf_box.svg69
-rw-r--r--public/library/TCPDF/examples/images/tcpdf_cell.pngbin0 -> 38415 bytes
-rw-r--r--public/library/TCPDF/examples/images/tcpdf_logo.jpgbin0 -> 17633 bytes
-rw-r--r--public/library/TCPDF/examples/images/tcpdf_signature.pngbin0 -> 67931 bytes
-rw-r--r--public/library/TCPDF/examples/images/testsvg.svg328
-rw-r--r--public/library/TCPDF/examples/images/tux.svg1487
-rw-r--r--public/library/TCPDF/examples/index.php115
-rw-r--r--public/library/TCPDF/examples/lang/afr.php44
-rw-r--r--public/library/TCPDF/examples/lang/ara.php44
-rw-r--r--public/library/TCPDF/examples/lang/aze.php44
-rw-r--r--public/library/TCPDF/examples/lang/bel.php44
-rw-r--r--public/library/TCPDF/examples/lang/bra.php44
-rw-r--r--public/library/TCPDF/examples/lang/bul.php44
-rw-r--r--public/library/TCPDF/examples/lang/cat.php44
-rw-r--r--public/library/TCPDF/examples/lang/ces.php44
-rw-r--r--public/library/TCPDF/examples/lang/chi.php44
-rw-r--r--public/library/TCPDF/examples/lang/cym.php44
-rw-r--r--public/library/TCPDF/examples/lang/dan.php44
-rw-r--r--public/library/TCPDF/examples/lang/eng.php44
-rw-r--r--public/library/TCPDF/examples/lang/est.php44
-rw-r--r--public/library/TCPDF/examples/lang/eus.php44
-rw-r--r--public/library/TCPDF/examples/lang/far.php44
-rw-r--r--public/library/TCPDF/examples/lang/fra.php44
-rw-r--r--public/library/TCPDF/examples/lang/ger.php44
-rw-r--r--public/library/TCPDF/examples/lang/gle.php44
-rw-r--r--public/library/TCPDF/examples/lang/glg.php44
-rw-r--r--public/library/TCPDF/examples/lang/hat.php44
-rw-r--r--public/library/TCPDF/examples/lang/heb.php44
-rw-r--r--public/library/TCPDF/examples/lang/hrv.php44
-rw-r--r--public/library/TCPDF/examples/lang/hun.php44
-rw-r--r--public/library/TCPDF/examples/lang/hye.php44
-rw-r--r--public/library/TCPDF/examples/lang/ind.php44
-rw-r--r--public/library/TCPDF/examples/lang/ita.php44
-rw-r--r--public/library/TCPDF/examples/lang/jpn.php44
-rw-r--r--public/library/TCPDF/examples/lang/kat.php44
-rw-r--r--public/library/TCPDF/examples/lang/kor.php44
-rw-r--r--public/library/TCPDF/examples/lang/mkd.php44
-rw-r--r--public/library/TCPDF/examples/lang/mlt.php44
-rw-r--r--public/library/TCPDF/examples/lang/msa.php44
-rw-r--r--public/library/TCPDF/examples/lang/nld.php44
-rw-r--r--public/library/TCPDF/examples/lang/nob.php44
-rw-r--r--public/library/TCPDF/examples/lang/pol.php44
-rw-r--r--public/library/TCPDF/examples/lang/por.php44
-rw-r--r--public/library/TCPDF/examples/lang/ron.php44
-rw-r--r--public/library/TCPDF/examples/lang/rus.php44
-rw-r--r--public/library/TCPDF/examples/lang/slv.php44
-rw-r--r--public/library/TCPDF/examples/lang/spa.php44
-rw-r--r--public/library/TCPDF/examples/lang/sqi.php44
-rw-r--r--public/library/TCPDF/examples/lang/srp.php44
-rw-r--r--public/library/TCPDF/examples/lang/swa.php44
-rw-r--r--public/library/TCPDF/examples/lang/swe.php44
-rw-r--r--public/library/TCPDF/examples/lang/ukr.php44
-rw-r--r--public/library/TCPDF/examples/lang/urd.php44
-rw-r--r--public/library/TCPDF/examples/lang/yid.php44
-rw-r--r--public/library/TCPDF/examples/lang/zho.php44
-rw-r--r--public/library/TCPDF/examples/tcpdf_include.php48
157 files changed, 15046 insertions, 0 deletions
diff --git a/public/library/TCPDF/examples/barcodes/example_1d_html.php b/public/library/TCPDF/examples/barcodes/example_1d_html.php
new file mode 100644
index 0000000..67d22e7
--- /dev/null
+++ b/public/library/TCPDF/examples/barcodes/example_1d_html.php
@@ -0,0 +1,53 @@
+<?php
+//============================================================+
+// File name : example_1d_html.php
+// Version : 1.0.000
+// Begin : 2011-07-21
+// Last Update : 2013-03-19
+// Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - info@tecnick.com
+// License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html)
+// -------------------------------------------------------------------
+// Copyright (C) 2009-2013 Nicola Asuni - Tecnick.com LTD
+//
+// This file is part of TCPDF software library.
+//
+// TCPDF is free software: you can redistribute it and/or modify it
+// under the terms of the GNU Lesser General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// TCPDF is distributed in the hope that it will be useful, but
+// WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+// See the GNU Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public License
+// along with TCPDF. If not, see <http://www.gnu.org/licenses/>.
+//
+// See LICENSE.TXT file for more information.
+// -------------------------------------------------------------------
+//
+// Description : Example for tcpdf_barcodes_2d.php class
+//
+//============================================================+
+
+/**
+ * @file
+ * Example for tcpdf_barcodes_2d.php class
+ * @package com.tecnick.tcpdf
+ * @author Nicola Asuni
+ * @version 1.0.000
+ */
+
+// include 1D barcode class (search for installation path)
+require_once(dirname(__FILE__).'/tcpdf_barcodes_1d_include.php');
+
+// set the barcode content and type
+$barcodeobj = new TCPDFBarcode('http://www.tcpdf.org', 'C128');
+
+// output the barcode as HTML object
+echo $barcodeobj->getBarcodeHTML(2, 30, 'black');
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/barcodes/example_1d_png.php b/public/library/TCPDF/examples/barcodes/example_1d_png.php
new file mode 100644
index 0000000..9e44909
--- /dev/null
+++ b/public/library/TCPDF/examples/barcodes/example_1d_png.php
@@ -0,0 +1,53 @@
+<?php
+//============================================================+
+// File name : example_1d_png.php
+// Version : 1.0.000
+// Begin : 2011-07-21
+// Last Update : 2013-03-19
+// Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - info@tecnick.com
+// License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html)
+// -------------------------------------------------------------------
+// Copyright (C) 2009-2013 Nicola Asuni - Tecnick.com LTD
+//
+// This file is part of TCPDF software library.
+//
+// TCPDF is free software: you can redistribute it and/or modify it
+// under the terms of the GNU Lesser General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// TCPDF is distributed in the hope that it will be useful, but
+// WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+// See the GNU Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public License
+// along with TCPDF. If not, see <http://www.gnu.org/licenses/>.
+//
+// See LICENSE.TXT file for more information.
+// -------------------------------------------------------------------
+//
+// Description : Example for tcpdf_barcodes_2d.php class
+//
+//============================================================+
+
+/**
+ * @file
+ * Example for tcpdf_barcodes_2d.php class
+ * @package com.tecnick.tcpdf
+ * @author Nicola Asuni
+ * @version 1.0.000
+ */
+
+// include 1D barcode class (search for installation path)
+require_once(dirname(__FILE__).'/tcpdf_barcodes_1d_include.php');
+
+// set the barcode content and type
+$barcodeobj = new TCPDFBarcode('http://www.tcpdf.org', 'C128');
+
+// output the barcode as PNG image
+$barcodeobj->getBarcodePNG(2, 30, array(0,0,0));
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/barcodes/example_1d_svg.php b/public/library/TCPDF/examples/barcodes/example_1d_svg.php
new file mode 100644
index 0000000..f7b585a
--- /dev/null
+++ b/public/library/TCPDF/examples/barcodes/example_1d_svg.php
@@ -0,0 +1,53 @@
+<?php
+//============================================================+
+// File name : example_1d_svg.php
+// Version : 1.0.000
+// Begin : 2011-07-21
+// Last Update : 2013-03-19
+// Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - info@tecnick.com
+// License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html)
+// -------------------------------------------------------------------
+// Copyright (C) 2009-2013 Nicola Asuni - Tecnick.com LTD
+//
+// This file is part of TCPDF software library.
+//
+// TCPDF is free software: you can redistribute it and/or modify it
+// under the terms of the GNU Lesser General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// TCPDF is distributed in the hope that it will be useful, but
+// WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+// See the GNU Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public License
+// along with TCPDF. If not, see <http://www.gnu.org/licenses/>.
+//
+// See LICENSE.TXT file for more information.
+// -------------------------------------------------------------------
+//
+// Description : Example for tcpdf_barcodes_2d.php class
+//
+//============================================================+
+
+/**
+ * @file
+ * Example for tcpdf_barcodes_2d.php class
+ * @package com.tecnick.tcpdf
+ * @author Nicola Asuni
+ * @version 1.0.000
+ */
+
+// include 1D barcode class (search for installation path)
+require_once(dirname(__FILE__).'/tcpdf_barcodes_1d_include.php');
+
+// set the barcode content and type
+$barcodeobj = new TCPDFBarcode('http://www.tcpdf.org', 'C128');
+
+// output the barcode as SVG image
+$barcodeobj->getBarcodeSVG(2, 30, 'black');
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/barcodes/example_1d_svgi.php b/public/library/TCPDF/examples/barcodes/example_1d_svgi.php
new file mode 100644
index 0000000..a74a304
--- /dev/null
+++ b/public/library/TCPDF/examples/barcodes/example_1d_svgi.php
@@ -0,0 +1,53 @@
+<?php
+//============================================================+
+// File name : example_1d_svgi.php
+// Version : 1.0.000
+// Begin : 2011-07-21
+// Last Update : 2013-03-19
+// Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - info@tecnick.com
+// License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html)
+// -------------------------------------------------------------------
+// Copyright (C) 2009-2013 Nicola Asuni - Tecnick.com LTD
+//
+// This file is part of TCPDF software library.
+//
+// TCPDF is free software: you can redistribute it and/or modify it
+// under the terms of the GNU Lesser General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// TCPDF is distributed in the hope that it will be useful, but
+// WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+// See the GNU Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public License
+// along with TCPDF. If not, see <http://www.gnu.org/licenses/>.
+//
+// See LICENSE.TXT file for more information.
+// -------------------------------------------------------------------
+//
+// Description : Example for tcpdf_barcodes_2d.php class
+//
+//============================================================+
+
+/**
+ * @file
+ * Example for tcpdf_barcodes_2d.php class
+ * @package com.tecnick.tcpdf
+ * @author Nicola Asuni
+ * @version 1.0.000
+ */
+
+// include 1D barcode class (search for installation path)
+require_once(dirname(__FILE__).'/tcpdf_barcodes_1d_include.php');
+
+// set the barcode content and type
+$barcodeobj = new TCPDFBarcode('http://www.tcpdf.org', 'C128');
+
+// output the barcode as SVG inline code
+echo $barcodeobj->getBarcodeSVGcode(2, 40, 'black');
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/barcodes/example_2d_datamatrix_html.php b/public/library/TCPDF/examples/barcodes/example_2d_datamatrix_html.php
new file mode 100644
index 0000000..dc7bab3
--- /dev/null
+++ b/public/library/TCPDF/examples/barcodes/example_2d_datamatrix_html.php
@@ -0,0 +1,53 @@
+<?php
+//============================================================+
+// File name : example_2d_html.php
+// Version : 1.0.000
+// Begin : 2011-07-21
+// Last Update : 2013-03-19
+// Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - info@tecnick.com
+// License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html)
+// -------------------------------------------------------------------
+// Copyright (C) 2009-2013 Nicola Asuni - Tecnick.com LTD
+//
+// This file is part of TCPDF software library.
+//
+// TCPDF is free software: you can redistribute it and/or modify it
+// under the terms of the GNU Lesser General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// TCPDF is distributed in the hope that it will be useful, but
+// WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+// See the GNU Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public License
+// along with TCPDF. If not, see <http://www.gnu.org/licenses/>.
+//
+// See LICENSE.TXT file for more information.
+// -------------------------------------------------------------------
+//
+// Description : Example for tcpdf_barcodes_2d.php class
+//
+//============================================================+
+
+/**
+ * @file
+ * Example for tcpdf_barcodes_2d.php class
+ * @package com.tecnick.tcpdf
+ * @author Nicola Asuni
+ * @version 1.0.009
+ */
+
+// include 2D barcode class (search for installation path)
+require_once(dirname(__FILE__).'/tcpdf_barcodes_2d_include.php');
+
+// set the barcode content and type
+$barcodeobj = new TCPDF2DBarcode('http://www.tcpdf.org', 'DATAMATRIX');
+
+// output the barcode as HTML object
+echo $barcodeobj->getBarcodeHTML(6, 6, 'black');
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/barcodes/example_2d_datamatrix_png.php b/public/library/TCPDF/examples/barcodes/example_2d_datamatrix_png.php
new file mode 100644
index 0000000..87b7a33
--- /dev/null
+++ b/public/library/TCPDF/examples/barcodes/example_2d_datamatrix_png.php
@@ -0,0 +1,53 @@
+<?php
+//============================================================+
+// File name : example_2d_png.php
+// Version : 1.0.000
+// Begin : 2011-07-21
+// Last Update : 2013-03-19
+// Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - info@tecnick.com
+// License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html)
+// -------------------------------------------------------------------
+// Copyright (C) 2009-2013 Nicola Asuni - Tecnick.com LTD
+//
+// This file is part of TCPDF software library.
+//
+// TCPDF is free software: you can redistribute it and/or modify it
+// under the terms of the GNU Lesser General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// TCPDF is distributed in the hope that it will be useful, but
+// WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+// See the GNU Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public License
+// along with TCPDF. If not, see <http://www.gnu.org/licenses/>.
+//
+// See LICENSE.TXT file for more information.
+// -------------------------------------------------------------------
+//
+// Description : Example for tcpdf_barcodes_2d.php class
+//
+//============================================================+
+
+/**
+ * @file
+ * Example for tcpdf_barcodes_2d.php class
+ * @package com.tecnick.tcpdf
+ * @author Nicola Asuni
+ * @version 1.0.009
+ */
+
+// include 2D barcode class (search for installation path)
+require_once(dirname(__FILE__).'/tcpdf_barcodes_2d_include.php');
+
+// set the barcode content and type
+$barcodeobj = new TCPDF2DBarcode('http://www.tcpdf.org', 'DATAMATRIX');
+
+// output the barcode as PNG image
+$barcodeobj->getBarcodePNG(6, 6, array(0,0,0));
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/barcodes/example_2d_datamatrix_svg.php b/public/library/TCPDF/examples/barcodes/example_2d_datamatrix_svg.php
new file mode 100644
index 0000000..523ebfa
--- /dev/null
+++ b/public/library/TCPDF/examples/barcodes/example_2d_datamatrix_svg.php
@@ -0,0 +1,53 @@
+<?php
+//============================================================+
+// File name : example_2d_svg.php
+// Version : 1.0.000
+// Begin : 2011-07-21
+// Last Update : 2013-03-19
+// Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - info@tecnick.com
+// License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html)
+// -------------------------------------------------------------------
+// Copyright (C) 2009-2013 Nicola Asuni - Tecnick.com LTD
+//
+// This file is part of TCPDF software library.
+//
+// TCPDF is free software: you can redistribute it and/or modify it
+// under the terms of the GNU Lesser General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// TCPDF is distributed in the hope that it will be useful, but
+// WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+// See the GNU Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public License
+// along with TCPDF. If not, see <http://www.gnu.org/licenses/>.
+//
+// See LICENSE.TXT file for more information.
+// -------------------------------------------------------------------
+//
+// Description : Example for tcpdf_barcodes_2d.php class
+//
+//============================================================+
+
+/**
+ * @file
+ * Example for tcpdf_barcodes_2d.php class
+ * @package com.tecnick.tcpdf
+ * @author Nicola Asuni
+ * @version 1.0.009
+ */
+
+// include 2D barcode class (search for installation path)
+require_once(dirname(__FILE__).'/tcpdf_barcodes_2d_include.php');
+
+// set the barcode content and type
+$barcodeobj = new TCPDF2DBarcode('http://www.tcpdf.org', 'DATAMATRIX');
+
+// output the barcode as SVG image
+$barcodeobj->getBarcodeSVG(6, 6, 'black');
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/barcodes/example_2d_datamatrix_svgi.php b/public/library/TCPDF/examples/barcodes/example_2d_datamatrix_svgi.php
new file mode 100644
index 0000000..4470981
--- /dev/null
+++ b/public/library/TCPDF/examples/barcodes/example_2d_datamatrix_svgi.php
@@ -0,0 +1,53 @@
+<?php
+//============================================================+
+// File name : example_2d_svgi.php
+// Version : 1.0.000
+// Begin : 2011-07-21
+// Last Update : 2013-03-19
+// Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - info@tecnick.com
+// License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html)
+// -------------------------------------------------------------------
+// Copyright (C) 2009-2013 Nicola Asuni - Tecnick.com LTD
+//
+// This file is part of TCPDF software library.
+//
+// TCPDF is free software: you can redistribute it and/or modify it
+// under the terms of the GNU Lesser General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// TCPDF is distributed in the hope that it will be useful, but
+// WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+// See the GNU Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public License
+// along with TCPDF. If not, see <http://www.gnu.org/licenses/>.
+//
+// See LICENSE.TXT file for more information.
+// -------------------------------------------------------------------
+//
+// Description : Example for tcpdf_barcodes_2d.php class
+//
+//============================================================+
+
+/**
+ * @file
+ * Example for tcpdf_barcodes_2d.php class
+ * @package com.tecnick.tcpdf
+ * @author Nicola Asuni
+ * @version 1.0.009
+ */
+
+// include 2D barcode class (search for installation path)
+require_once(dirname(__FILE__).'/tcpdf_barcodes_2d_include.php');
+
+// set the barcode content and type
+$barcodeobj = new TCPDF2DBarcode('http://www.tcpdf.org', 'DATAMATRIX');
+
+// output the barcode as SVG inline code
+echo $barcodeobj->getBarcodeSVGcode(6, 6, 'black');
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/barcodes/example_2d_pdf417_html.php b/public/library/TCPDF/examples/barcodes/example_2d_pdf417_html.php
new file mode 100644
index 0000000..4c4e9ee
--- /dev/null
+++ b/public/library/TCPDF/examples/barcodes/example_2d_pdf417_html.php
@@ -0,0 +1,53 @@
+<?php
+//============================================================+
+// File name : example_2d_html.php
+// Version : 1.0.000
+// Begin : 2011-07-21
+// Last Update : 2013-03-19
+// Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - info@tecnick.com
+// License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html)
+// -------------------------------------------------------------------
+// Copyright (C) 2009-2013 Nicola Asuni - Tecnick.com LTD
+//
+// This file is part of TCPDF software library.
+//
+// TCPDF is free software: you can redistribute it and/or modify it
+// under the terms of the GNU Lesser General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// TCPDF is distributed in the hope that it will be useful, but
+// WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+// See the GNU Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public License
+// along with TCPDF. If not, see <http://www.gnu.org/licenses/>.
+//
+// See LICENSE.TXT file for more information.
+// -------------------------------------------------------------------
+//
+// Description : Example for tcpdf_barcodes_2d.php class
+//
+//============================================================+
+
+/**
+ * @file
+ * Example for tcpdf_barcodes_2d.php class
+ * @package com.tecnick.tcpdf
+ * @author Nicola Asuni
+ * @version 1.0.009
+ */
+
+// include 2D barcode class (search for installation path)
+require_once(dirname(__FILE__).'/tcpdf_barcodes_2d_include.php');
+
+// set the barcode content and type
+$barcodeobj = new TCPDF2DBarcode('http://www.tcpdf.org', 'PDF417');
+
+// output the barcode as HTML object
+echo $barcodeobj->getBarcodeHTML(4, 4, 'black');
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/barcodes/example_2d_pdf417_png.php b/public/library/TCPDF/examples/barcodes/example_2d_pdf417_png.php
new file mode 100644
index 0000000..df939bb
--- /dev/null
+++ b/public/library/TCPDF/examples/barcodes/example_2d_pdf417_png.php
@@ -0,0 +1,53 @@
+<?php
+//============================================================+
+// File name : example_2d_png.php
+// Version : 1.0.000
+// Begin : 2011-07-21
+// Last Update : 2013-03-19
+// Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - info@tecnick.com
+// License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html)
+// -------------------------------------------------------------------
+// Copyright (C) 2009-2013 Nicola Asuni - Tecnick.com LTD
+//
+// This file is part of TCPDF software library.
+//
+// TCPDF is free software: you can redistribute it and/or modify it
+// under the terms of the GNU Lesser General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// TCPDF is distributed in the hope that it will be useful, but
+// WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+// See the GNU Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public License
+// along with TCPDF. If not, see <http://www.gnu.org/licenses/>.
+//
+// See LICENSE.TXT file for more information.
+// -------------------------------------------------------------------
+//
+// Description : Example for tcpdf_barcodes_2d.php class
+//
+//============================================================+
+
+/**
+ * @file
+ * Example for tcpdf_barcodes_2d.php class
+ * @package com.tecnick.tcpdf
+ * @author Nicola Asuni
+ * @version 1.0.009
+ */
+
+// include 2D barcode class (search for installation path)
+require_once(dirname(__FILE__).'/tcpdf_barcodes_2d_include.php');
+
+// set the barcode content and type
+$barcodeobj = new TCPDF2DBarcode('http://www.tcpdf.org', 'PDF417');
+
+// output the barcode as PNG image
+$barcodeobj->getBarcodePNG(4, 4, array(0,0,0));
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/barcodes/example_2d_pdf417_svg.php b/public/library/TCPDF/examples/barcodes/example_2d_pdf417_svg.php
new file mode 100644
index 0000000..fb29ea2
--- /dev/null
+++ b/public/library/TCPDF/examples/barcodes/example_2d_pdf417_svg.php
@@ -0,0 +1,53 @@
+<?php
+//============================================================+
+// File name : example_2d_svg.php
+// Version : 1.0.000
+// Begin : 2011-07-21
+// Last Update : 2013-03-19
+// Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - info@tecnick.com
+// License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html)
+// -------------------------------------------------------------------
+// Copyright (C) 2009-2013 Nicola Asuni - Tecnick.com LTD
+//
+// This file is part of TCPDF software library.
+//
+// TCPDF is free software: you can redistribute it and/or modify it
+// under the terms of the GNU Lesser General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// TCPDF is distributed in the hope that it will be useful, but
+// WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+// See the GNU Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public License
+// along with TCPDF. If not, see <http://www.gnu.org/licenses/>.
+//
+// See LICENSE.TXT file for more information.
+// -------------------------------------------------------------------
+//
+// Description : Example for tcpdf_barcodes_2d.php class
+//
+//============================================================+
+
+/**
+ * @file
+ * Example for tcpdf_barcodes_2d.php class
+ * @package com.tecnick.tcpdf
+ * @author Nicola Asuni
+ * @version 1.0.009
+ */
+
+// include 2D barcode class (search for installation path)
+require_once(dirname(__FILE__).'/tcpdf_barcodes_2d_include.php');
+
+// set the barcode content and type
+$barcodeobj = new TCPDF2DBarcode('http://www.tcpdf.org', 'PDF417');
+
+// output the barcode as SVG image
+$barcodeobj->getBarcodeSVG(4, 4, 'black');
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/barcodes/example_2d_pdf417_svgi.php b/public/library/TCPDF/examples/barcodes/example_2d_pdf417_svgi.php
new file mode 100644
index 0000000..94e1c71
--- /dev/null
+++ b/public/library/TCPDF/examples/barcodes/example_2d_pdf417_svgi.php
@@ -0,0 +1,53 @@
+<?php
+//============================================================+
+// File name : example_2d_svgi.php
+// Version : 1.0.000
+// Begin : 2011-07-21
+// Last Update : 2013-03-19
+// Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - info@tecnick.com
+// License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html)
+// -------------------------------------------------------------------
+// Copyright (C) 2009-2013 Nicola Asuni - Tecnick.com LTD
+//
+// This file is part of TCPDF software library.
+//
+// TCPDF is free software: you can redistribute it and/or modify it
+// under the terms of the GNU Lesser General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// TCPDF is distributed in the hope that it will be useful, but
+// WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+// See the GNU Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public License
+// along with TCPDF. If not, see <http://www.gnu.org/licenses/>.
+//
+// See LICENSE.TXT file for more information.
+// -------------------------------------------------------------------
+//
+// Description : Example for tcpdf_barcodes_2d.php class
+//
+//============================================================+
+
+/**
+ * @file
+ * Example for tcpdf_barcodes_2d.php class
+ * @package com.tecnick.tcpdf
+ * @author Nicola Asuni
+ * @version 1.0.009
+ */
+
+// include 2D barcode class (search for installation path)
+require_once(dirname(__FILE__).'/tcpdf_barcodes_2d_include.php');
+
+// set the barcode content and type
+$barcodeobj = new TCPDF2DBarcode('http://www.tcpdf.org', 'PDF417');
+
+// output the barcode as SVG inline code
+echo $barcodeobj->getBarcodeSVGcode(4, 4, 'black');
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/barcodes/example_2d_qrcode_html.php b/public/library/TCPDF/examples/barcodes/example_2d_qrcode_html.php
new file mode 100644
index 0000000..ac828f7
--- /dev/null
+++ b/public/library/TCPDF/examples/barcodes/example_2d_qrcode_html.php
@@ -0,0 +1,53 @@
+<?php
+//============================================================+
+// File name : example_2d_html.php
+// Version : 1.0.000
+// Begin : 2011-07-21
+// Last Update : 2013-03-19
+// Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - info@tecnick.com
+// License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html)
+// -------------------------------------------------------------------
+// Copyright (C) 2009-2013 Nicola Asuni - Tecnick.com LTD
+//
+// This file is part of TCPDF software library.
+//
+// TCPDF is free software: you can redistribute it and/or modify it
+// under the terms of the GNU Lesser General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// TCPDF is distributed in the hope that it will be useful, but
+// WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+// See the GNU Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public License
+// along with TCPDF. If not, see <http://www.gnu.org/licenses/>.
+//
+// See LICENSE.TXT file for more information.
+// -------------------------------------------------------------------
+//
+// Description : Example for tcpdf_barcodes_2d.php class
+//
+//============================================================+
+
+/**
+ * @file
+ * Example for tcpdf_barcodes_2d.php class
+ * @package com.tecnick.tcpdf
+ * @author Nicola Asuni
+ * @version 1.0.009
+ */
+
+// include 2D barcode class (search for installation path)
+require_once(dirname(__FILE__).'/tcpdf_barcodes_2d_include.php');
+
+// set the barcode content and type
+$barcodeobj = new TCPDF2DBarcode('http://www.tcpdf.org', 'QRCODE,H');
+
+// output the barcode as HTML object
+echo $barcodeobj->getBarcodeHTML(6, 6, 'black');
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/barcodes/example_2d_qrcode_png.php b/public/library/TCPDF/examples/barcodes/example_2d_qrcode_png.php
new file mode 100644
index 0000000..71f8710
--- /dev/null
+++ b/public/library/TCPDF/examples/barcodes/example_2d_qrcode_png.php
@@ -0,0 +1,53 @@
+<?php
+//============================================================+
+// File name : example_2d_png.php
+// Version : 1.0.000
+// Begin : 2011-07-21
+// Last Update : 2013-03-19
+// Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - info@tecnick.com
+// License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html)
+// -------------------------------------------------------------------
+// Copyright (C) 2009-2013 Nicola Asuni - Tecnick.com LTD
+//
+// This file is part of TCPDF software library.
+//
+// TCPDF is free software: you can redistribute it and/or modify it
+// under the terms of the GNU Lesser General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// TCPDF is distributed in the hope that it will be useful, but
+// WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+// See the GNU Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public License
+// along with TCPDF. If not, see <http://www.gnu.org/licenses/>.
+//
+// See LICENSE.TXT file for more information.
+// -------------------------------------------------------------------
+//
+// Description : Example for tcpdf_barcodes_2d.php class
+//
+//============================================================+
+
+/**
+ * @file
+ * Example for tcpdf_barcodes_2d.php class
+ * @package com.tecnick.tcpdf
+ * @author Nicola Asuni
+ * @version 1.0.009
+ */
+
+// include 2D barcode class (search for installation path)
+require_once(dirname(__FILE__).'/tcpdf_barcodes_2d_include.php');
+
+// set the barcode content and type
+$barcodeobj = new TCPDF2DBarcode('http://www.tcpdf.org', 'QRCODE,H');
+
+// output the barcode as PNG image
+$barcodeobj->getBarcodePNG(6, 6, array(0,0,0));
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/barcodes/example_2d_qrcode_svg.php b/public/library/TCPDF/examples/barcodes/example_2d_qrcode_svg.php
new file mode 100644
index 0000000..1baa43d
--- /dev/null
+++ b/public/library/TCPDF/examples/barcodes/example_2d_qrcode_svg.php
@@ -0,0 +1,53 @@
+<?php
+//============================================================+
+// File name : example_2d_svg.php
+// Version : 1.0.000
+// Begin : 2011-07-21
+// Last Update : 2013-03-19
+// Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - info@tecnick.com
+// License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html)
+// -------------------------------------------------------------------
+// Copyright (C) 2009-2013 Nicola Asuni - Tecnick.com LTD
+//
+// This file is part of TCPDF software library.
+//
+// TCPDF is free software: you can redistribute it and/or modify it
+// under the terms of the GNU Lesser General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// TCPDF is distributed in the hope that it will be useful, but
+// WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+// See the GNU Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public License
+// along with TCPDF. If not, see <http://www.gnu.org/licenses/>.
+//
+// See LICENSE.TXT file for more information.
+// -------------------------------------------------------------------
+//
+// Description : Example for tcpdf_barcodes_2d.php class
+//
+//============================================================+
+
+/**
+ * @file
+ * Example for tcpdf_barcodes_2d.php class
+ * @package com.tecnick.tcpdf
+ * @author Nicola Asuni
+ * @version 1.0.009
+ */
+
+// include 2D barcode class (search for installation path)
+require_once(dirname(__FILE__).'/tcpdf_barcodes_2d_include.php');
+
+// set the barcode content and type
+$barcodeobj = new TCPDF2DBarcode('http://www.tcpdf.org', 'QRCODE,H');
+
+// output the barcode as SVG image
+$barcodeobj->getBarcodeSVG(6, 6, 'black');
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/barcodes/example_2d_qrcode_svgi.php b/public/library/TCPDF/examples/barcodes/example_2d_qrcode_svgi.php
new file mode 100644
index 0000000..99d6590
--- /dev/null
+++ b/public/library/TCPDF/examples/barcodes/example_2d_qrcode_svgi.php
@@ -0,0 +1,53 @@
+<?php
+//============================================================+
+// File name : example_2d_svgi.php
+// Version : 1.0.000
+// Begin : 2011-07-21
+// Last Update : 2013-03-19
+// Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - info@tecnick.com
+// License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html)
+// -------------------------------------------------------------------
+// Copyright (C) 2009-2013 Nicola Asuni - Tecnick.com LTD
+//
+// This file is part of TCPDF software library.
+//
+// TCPDF is free software: you can redistribute it and/or modify it
+// under the terms of the GNU Lesser General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// TCPDF is distributed in the hope that it will be useful, but
+// WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+// See the GNU Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public License
+// along with TCPDF. If not, see <http://www.gnu.org/licenses/>.
+//
+// See LICENSE.TXT file for more information.
+// -------------------------------------------------------------------
+//
+// Description : Example for tcpdf_barcodes_2d.php class
+//
+//============================================================+
+
+/**
+ * @file
+ * Example for tcpdf_barcodes_2d.php class
+ * @package com.tecnick.tcpdf
+ * @author Nicola Asuni
+ * @version 1.0.009
+ */
+
+// include 2D barcode class (search for installation path)
+require_once(dirname(__FILE__).'/tcpdf_barcodes_2d_include.php');
+
+// set the barcode content and type
+$barcodeobj = new TCPDF2DBarcode('http://www.tcpdf.org', 'QRCODE,H');
+
+// output the barcode as SVG inline code
+echo $barcodeobj->getBarcodeSVGcode(6, 6, 'black');
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/barcodes/tcpdf_barcodes_1d_include.php b/public/library/TCPDF/examples/barcodes/tcpdf_barcodes_1d_include.php
new file mode 100644
index 0000000..a0bde57
--- /dev/null
+++ b/public/library/TCPDF/examples/barcodes/tcpdf_barcodes_1d_include.php
@@ -0,0 +1,37 @@
+<?php
+//============================================================+
+// File name : tcpdf_barcodes_1d_include.php
+// Begin : 2013-05-19
+// Last Update : 2013-05-19
+//
+// Description : Search and include the TCPDF Barcode 1D class.
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * Search and include the TCPDF Barcode 1D class.
+ * @package com.tecnick.tcpdf
+ * @abstract TCPDF - Include the main class.
+ * @author Nicola Asuni
+ * @since 2013-05-19
+ */
+
+// Include the TCPDF 1D barcode class (search the class on the following directories).
+$tcpdf_barcodes_1d_include_dirs = array(realpath('../../tcpdf_barcodes_1d.php'), '/usr/share/php/tcpdf/tcpdf_barcodes_1d.php', '/usr/share/tcpdf/tcpdf_barcodes_1d.php', '/usr/share/php-tcpdf/tcpdf_barcodes_1d.php', '/var/www/tcpdf/tcpdf_barcodes_1d.php', '/var/www/html/tcpdf/tcpdf_barcodes_1d.php', '/usr/local/apache2/htdocs/tcpdf/tcpdf_barcodes_1d.php');
+foreach ($tcpdf_barcodes_1d_include_dirs as $tcpdf_barcodes_1d_include_path) {
+ if (@file_exists($tcpdf_barcodes_1d_include_path)) {
+ require_once($tcpdf_barcodes_1d_include_path);
+ break;
+ }
+}
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/barcodes/tcpdf_barcodes_2d_include.php b/public/library/TCPDF/examples/barcodes/tcpdf_barcodes_2d_include.php
new file mode 100644
index 0000000..61c4a8b
--- /dev/null
+++ b/public/library/TCPDF/examples/barcodes/tcpdf_barcodes_2d_include.php
@@ -0,0 +1,37 @@
+<?php
+//============================================================+
+// File name : tcpdf_barcodes_2d_include.php
+// Begin : 2013-05-19
+// Last Update : 2013-05-19
+//
+// Description : Search and include the TCPDF Barcode 1D class.
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * Search and include the TCPDF Barcode 2D class.
+ * @package com.tecnick.tcpdf
+ * @abstract TCPDF - Include the main class.
+ * @author Nicola Asuni
+ * @since 2013-05-19
+ */
+
+// Include the TCPDF 2D barcode class (search the class on the following directories).
+$tcpdf_barcodes_2d_include_dirs = array(realpath('../../tcpdf_barcodes_2d.php'), '/usr/share/php/tcpdf/tcpdf_barcodes_2d.php', '/usr/share/tcpdf/tcpdf_barcodes_2d.php', '/usr/share/php-tcpdf/tcpdf_barcodes_2d.php', '/var/www/tcpdf/tcpdf_barcodes_2d.php', '/var/www/html/tcpdf/tcpdf_barcodes_2d.php', '/usr/local/apache2/htdocs/tcpdf/tcpdf_barcodes_2d.php');
+foreach ($tcpdf_barcodes_2d_include_dirs as $tcpdf_barcodes_2d_include_path) {
+ if (@file_exists($tcpdf_barcodes_2d_include_path)) {
+ require_once($tcpdf_barcodes_2d_include_path);
+ break;
+ }
+}
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/config/tcpdf_config_alt.php b/public/library/TCPDF/examples/config/tcpdf_config_alt.php
new file mode 100644
index 0000000..d61b1ba
--- /dev/null
+++ b/public/library/TCPDF/examples/config/tcpdf_config_alt.php
@@ -0,0 +1,222 @@
+<?php
+//============================================================+
+// File name : tcpdf_config.php
+// Begin : 2004-06-11
+// Last Update : 2013-05-16
+//
+// Description : Example of alternative configuration file for TCPDF.
+// Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - info@tecnick.com
+// License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html)
+// -------------------------------------------------------------------
+// Copyright (C) 2004-2013 Nicola Asuni - Tecnick.com LTD
+//
+// This file is part of TCPDF software library.
+//
+// TCPDF is free software: you can redistribute it and/or modify it
+// under the terms of the GNU Lesser General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// TCPDF is distributed in the hope that it will be useful, but
+// WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+// See the GNU Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public License
+// along with TCPDF. If not, see <http://www.gnu.org/licenses/>.
+//
+// See LICENSE.TXT file for more information.
+//============================================================+
+
+/**
+ * Example of alternative configuration file for TCPDF.
+ * @author Nicola Asuni
+ * @package com.tecnick.tcpdf
+ * @version 4.9.005
+ * @since 2004-10-27
+ */
+
+/**
+ * Define the following constant to ignore the default configuration file.
+ */
+define ('K_TCPDF_EXTERNAL_CONFIG', true);
+
+/**
+ * Installation path (/var/www/tcpdf/).
+ * By default it is automatically calculated but you can also set it as a fixed string to improve performances.
+ */
+//define ('K_PATH_MAIN', '');
+
+/**
+ * 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.
+ */
+//define ('K_PATH_URL', '');
+
+/**
+ * Path for PDF fonts.
+ * By default it is automatically set but you can also set it as a fixed string to improve performances.
+ */
+//define ('K_PATH_FONTS', K_PATH_MAIN.'fonts/');
+
+/**
+ * Default images directory.
+ * By default it is automatically set but you can also set it as a fixed string to improve performances.
+ */
+define ('K_PATH_IMAGES', dirname(__FILE__).'/../images/');
+
+/**
+ * Deafult image logo used be the default Header() method.
+ * Please set here your own logo or an empty string to disable it.
+ */
+define ('PDF_HEADER_LOGO', 'tcpdf_logo.jpg');
+
+/**
+ * Header logo image width in user units.
+ */
+define ('PDF_HEADER_LOGO_WIDTH', 30);
+
+/**
+ * Cache directory for temporary files (full path).
+ */
+define ('K_PATH_CACHE', sys_get_temp_dir().'/');
+
+/**
+ * Generic name for a blank image.
+ */
+define ('K_BLANK_IMAGE', '_blank.png');
+
+/**
+ * Page format.
+ */
+define ('PDF_PAGE_FORMAT', 'A4');
+
+/**
+ * Page orientation (P=portrait, L=landscape).
+ */
+define ('PDF_PAGE_ORIENTATION', 'P');
+
+/**
+ * Document creator.
+ */
+define ('PDF_CREATOR', 'TCPDF');
+
+/**
+ * Document author.
+ */
+define ('PDF_AUTHOR', 'TCPDF');
+
+/**
+ * Header title.
+ */
+define ('PDF_HEADER_TITLE', 'TCPDF Example');
+
+/**
+ * Header description string.
+ */
+define ('PDF_HEADER_STRING', "by Nicola Asuni - Tecnick.com\nwww.tcpdf.org");
+
+/**
+ * Document unit of measure [pt=point, mm=millimeter, cm=centimeter, in=inch].
+ */
+define ('PDF_UNIT', 'mm');
+
+/**
+ * Header margin.
+ */
+define ('PDF_MARGIN_HEADER', 5);
+
+/**
+ * Footer margin.
+ */
+define ('PDF_MARGIN_FOOTER', 10);
+
+/**
+ * Top margin.
+ */
+define ('PDF_MARGIN_TOP', 27);
+
+/**
+ * Bottom margin.
+ */
+define ('PDF_MARGIN_BOTTOM', 25);
+
+/**
+ * Left margin.
+ */
+define ('PDF_MARGIN_LEFT', 15);
+
+/**
+ * Right margin.
+ */
+define ('PDF_MARGIN_RIGHT', 15);
+
+/**
+ * Default main font name.
+ */
+define ('PDF_FONT_NAME_MAIN', 'helvetica');
+
+/**
+ * Default main font size.
+ */
+define ('PDF_FONT_SIZE_MAIN', 10);
+
+/**
+ * Default data font name.
+ */
+define ('PDF_FONT_NAME_DATA', 'helvetica');
+
+/**
+ * Default data font size.
+ */
+define ('PDF_FONT_SIZE_DATA', 8);
+
+/**
+ * Default monospaced font name.
+ */
+define ('PDF_FONT_MONOSPACED', 'courier');
+
+/**
+ * Ratio used to adjust the conversion of pixels to user units.
+ */
+define ('PDF_IMAGE_SCALE_RATIO', 1.25);
+
+/**
+ * Magnification factor for titles.
+ */
+define('HEAD_MAGNIFICATION', 1.1);
+
+/**
+ * Height of cell respect font height.
+ */
+define('K_CELL_HEIGHT_RATIO', 1.25);
+
+/**
+ * Title magnification respect main font size.
+ */
+define('K_TITLE_MAGNIFICATION', 1.3);
+
+/**
+ * Reduction factor for small font.
+ */
+define('K_SMALL_RATIO', 2/3);
+
+/**
+ * Set to true to enable the special procedure used to avoid the overlappind of symbols on Thai language.
+ */
+define('K_THAI_TOPCHARS', 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.
+ */
+define('K_TCPDF_CALLS_IN_HTML', true);
+
+/**
+ * If true and PHP version is greater than 5, then the Error() method throw new exception instead of terminating the execution.
+ */
+define('K_TCPDF_THROW_EXCEPTION_ERROR', false);
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/data/cert/tcpdf.crt b/public/library/TCPDF/examples/data/cert/tcpdf.crt
new file mode 100644
index 0000000..f049139
--- /dev/null
+++ b/public/library/TCPDF/examples/data/cert/tcpdf.crt
@@ -0,0 +1,40 @@
+Bag Attributes
+ localKeyID: 7B AB 1B 7A BE 4C 85 C0 1A A6 DC 59 3F 79 48 C3 93 38 68 9C
+subject=/CN=TCPDF DEMO/O=TCPDF/OU=DEMO/emailAddress=you@example.com/C=IT
+issuer=/CN=TCPDF DEMO/O=TCPDF/OU=DEMO/emailAddress=you@example.com/C=IT
+-----BEGIN CERTIFICATE-----
+MIIC1TCCAj6gAwIBAgIKkehOL/XGkB5cjjANBgkqhkiG9w0BAQUFADBhMRMwEQYD
+VQQDEwpUQ1BERiBERU1PMQ4wDAYDVQQKEwVUQ1BERjENMAsGA1UECxMEREVNTzEe
+MBwGCSqGSIb3DQEJARYPeW91QGV4YW1wbGUuY29tMQswCQYDVQQGEwJJVDAeFw0w
+OTA4MjExMjU0NDhaFw0xNDA4MjExMjU0NDhaMGExEzARBgNVBAMTClRDUERGIERF
+TU8xDjAMBgNVBAoTBVRDUERGMQ0wCwYDVQQLEwRERU1PMR4wHAYJKoZIhvcNAQkB
+Fg95b3VAZXhhbXBsZS5jb20xCzAJBgNVBAYTAklUMIGfMA0GCSqGSIb3DQEBAQUA
+A4GNADCBiQKBgQDAqIL0uGKmTR98Lxx2vEEE1OGKkMXFo0JViitALe7Onhxxqx0H
+XMUDKF5mvEVu1rcvh7/oAnAfrCuEpL/up3u1mQCgBE7WXBnFFE/AE3jCksh9OkS0
+Z0Xj9woN5bzxRDsGoPiOu/4xzk5qSEXt8jf2Ep90QuNkqLIRT4swAzpDbwIDAQAB
+o4GTMIGQMDcGA1UdEgQwMC6gEQYDVQQDDApUQ1BERiBERU1PoAwGA1UECgwFVENQ
+REagCwYDVQQLDARERU1PMDcGA1UdEQQwMC6gEQYDVQQDDApUQ1BERiBERU1PoAwG
+A1UECgwFVENQREagCwYDVQQLDARERU1PMA8GCSqGSIb3LwEBCgQCBQAwCwYDVR0P
+BAQDAgSQMA0GCSqGSIb3DQEBBQUAA4GBAEhTQfqX3ZNdHmpTLDbIj22RHXii2roE
+OavCbu9WsHoWpva0qSd+yIoD594VHvYAd29sfzDfiN+7W0aiZfDhq5jpaSQMVlN8
+RGYMupbHY/+a9Gz1wqxnR84mlTtIkZVRYAhsfPwy6M1BEjdMqfdh9h40JIdkdjtb
+8faTCfXPePWQ
+-----END CERTIFICATE-----
+Bag Attributes
+ localKeyID: 7B AB 1B 7A BE 4C 85 C0 1A A6 DC 59 3F 79 48 C3 93 38 68 9C
+Key Attributes: <No Attributes>
+-----BEGIN RSA PRIVATE KEY-----
+MIICXQIBAAKBgQDAqIL0uGKmTR98Lxx2vEEE1OGKkMXFo0JViitALe7Onhxxqx0H
+XMUDKF5mvEVu1rcvh7/oAnAfrCuEpL/up3u1mQCgBE7WXBnFFE/AE3jCksh9OkS0
+Z0Xj9woN5bzxRDsGoPiOu/4xzk5qSEXt8jf2Ep90QuNkqLIRT4swAzpDbwIDAQAB
+AoGAXc+wNMmz/5Z+RlIKYia44klmqbplEx+0JULqXI4BQsrqvs67i+I4bJkznoL+
+rEIRYSuQ3sCRKFsFtckjTGpxadnxkB+uwGKc6pZChv99BFX6HFR4hgBlT/BBRAQA
+hMDlM2JIRr4S4SMVXR7MHwGMUf9mUeanGLR3ZWtU3aXJrIECQQD7OaYUVYNEEnM9
+uXyjm22CuHyqyEf5gb13sK0uQty67547yJTMUQZd/sQc9KGwhzBbhrob2LO2jAhh
+S+f+NSRnAkEAxFHm3fMI5RgXmswxlGm4QW07a/Ueo7ZJG6xjTkFXluJhd+XHswRD
+dQIO3zG9nGjNUoeMrPhXhPvKqFc2F9RDuQJAQBEGin74N77gxqfr4ik79y8nE8J5
+oGZ2s/RJZdfFRKLg3mwbjjNHhWb4Ck5UgZkoOt8TzRApXG8/n9hktE5HFwJBALur
+M5AueO1Pl5kB489lNJ9OxUQRYUXMxpxuscuoCQwSwmv0O2+0/qtG2WKhUQnI4aYo
+L+FV0YwtivBb1jj3T/kCQQDIWOxq8eRowdaMzvJpRUHFgMcf1AVZExKyrugwYOWd
+KNsDxC4KaQOsPt8iT/Ulo4g/MJC0HolCOhWibKmR9Ayl
+-----END RSA PRIVATE KEY-----
diff --git a/public/library/TCPDF/examples/data/cert/tcpdf.fdf b/public/library/TCPDF/examples/data/cert/tcpdf.fdf
new file mode 100644
index 0000000..a8f7c35
--- /dev/null
+++ b/public/library/TCPDF/examples/data/cert/tcpdf.fdf
Binary files differ
diff --git a/public/library/TCPDF/examples/data/cert/tcpdf.p12 b/public/library/TCPDF/examples/data/cert/tcpdf.p12
new file mode 100644
index 0000000..611f0df
--- /dev/null
+++ b/public/library/TCPDF/examples/data/cert/tcpdf.p12
Binary files differ
diff --git a/public/library/TCPDF/examples/data/chapter_demo_1.txt b/public/library/TCPDF/examples/data/chapter_demo_1.txt
new file mode 100644
index 0000000..4025de9
--- /dev/null
+++ b/public/library/TCPDF/examples/data/chapter_demo_1.txt
@@ -0,0 +1,19 @@
+Lorem ipsum dolor sit amet, consectetur adipiscing elit. In sed imperdiet lectus. Phasellus quis velit velit, non condimentum quam. Sed neque urna, ultrices ac volutpat vel, laoreet vitae augue. Sed vel velit erat. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Cras eget velit nulla, eu sagittis elit. Nunc ac arcu est, in lobortis tellus. Praesent condimentum rhoncus sodales. In hac habitasse platea dictumst. Proin porta eros pharetra enim tincidunt dignissim nec vel dolor. Cras sapien elit, ornare ac dignissim eu, ultricies ac eros. Maecenas augue magna, ultrices a congue in, mollis eu nulla. Nunc venenatis massa at est eleifend faucibus. Vivamus sed risus lectus, nec interdum nunc.
+
+Fusce et felis vitae diam lobortis sollicitudin. Aenean tincidunt accumsan nisi, id vehicula quam laoreet elementum. Phasellus egestas interdum erat, et viverra ipsum ultricies ac. Praesent sagittis augue at augue volutpat eleifend. Cras nec orci neque. Mauris bibendum posuere blandit. Donec feugiat mollis dui sit amet pellentesque. Sed a enim justo. Donec tincidunt, nisl eget elementum aliquam, odio ipsum ultrices quam, eu porttitor ligula urna at lorem. Donec varius, eros et convallis laoreet, ligula tellus consequat felis, ut ornare metus tellus sodales velit. Duis sed diam ante. Ut rutrum malesuada massa, vitae consectetur ipsum rhoncus sed. Suspendisse potenti. Pellentesque a congue massa.
+
+Integer non sem eget neque mattis accumsan. Maecenas eu nisl mauris, sit amet interdum ipsum. In pharetra erat vel lectus venenatis elementum. Nulla non elit ligula, sit amet mollis urna. Morbi ut gravida est. Mauris tincidunt sem et turpis molestie malesuada. Curabitur vel nulla risus, sed mollis erat. Suspendisse vehicula accumsan purus nec varius. Donec fermentum lorem id felis sodales dictum. Quisque et dolor ipsum. Nam luctus consectetur dui vitae fermentum. Curabitur sodales consequat augue, id ultricies augue tempor ac. Aliquam ac magna id ipsum vehicula bibendum. Sed elementum congue tristique. Phasellus vel lorem eu lectus porta sodales. Etiam neque tortor, sagittis id pharetra quis, laoreet vel arcu.
+
+Cras quam mi, ornare laoreet laoreet vel, vehicula at lacus. Maecenas a lacus accumsan augue convallis sagittis sed quis odio. Morbi sit amet turpis diam, dictum convallis urna. Cras eget interdum augue. Cras eu nisi sit amet dolor faucibus porttitor. Suspendisse potenti. Nunc vitae dolor risus, at cursus libero. Suspendisse bibendum tellus non nibh hendrerit tristique. Mauris eget orci elit. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam porta libero non ante laoreet semper. Proin volutpat sodales mi, ac fermentum erat sagittis in. Vivamus at viverra felis. Ut pretium facilisis ante et pharetra.
+
+Nulla facilisi. Cras varius quam eget libero aliquam vitae tincidunt leo rutrum. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Pellentesque a nisl massa, quis pretium urna. Proin vel porttitor tortor. Cras rhoncus congue velit in bibendum. Donec pharetra semper augue id lacinia. Quisque magna quam, hendrerit eu aliquam et, pellentesque ut tellus. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Maecenas nulla quam, rutrum eu feugiat at, elementum eu libero. Maecenas ullamcorper leo et turpis rutrum ac laoreet eros faucibus. Phasellus condimentum lorem quis neque imperdiet quis molestie enim iaculis. Phasellus risus est, vestibulum ut convallis ultrices, dignissim nec erat. Etiam congue lobortis laoreet. Nulla ut neque sed velit dapibus semper. Quisque nec dolor id nibh eleifend iaculis. Vivamus vitae fermentum odio. Etiam malesuada quam in nulla aliquam sed convallis dui feugiat.
+
+Lorem ipsum dolor sit amet, consectetur adipiscing elit. In sed imperdiet lectus. Phasellus quis velit velit, non condimentum quam. Sed neque urna, ultrices ac volutpat vel, laoreet vitae augue. Sed vel velit erat. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Cras eget velit nulla, eu sagittis elit. Nunc ac arcu est, in lobortis tellus. Praesent condimentum rhoncus sodales. In hac habitasse platea dictumst. Proin porta eros pharetra enim tincidunt dignissim nec vel dolor. Cras sapien elit, ornare ac dignissim eu, ultricies ac eros. Maecenas augue magna, ultrices a congue in, mollis eu nulla. Nunc venenatis massa at est eleifend faucibus. Vivamus sed risus lectus, nec interdum nunc.
+
+Fusce et felis vitae diam lobortis sollicitudin. Aenean tincidunt accumsan nisi, id vehicula quam laoreet elementum. Phasellus egestas interdum erat, et viverra ipsum ultricies ac. Praesent sagittis augue at augue volutpat eleifend. Cras nec orci neque. Mauris bibendum posuere blandit. Donec feugiat mollis dui sit amet pellentesque. Sed a enim justo. Donec tincidunt, nisl eget elementum aliquam, odio ipsum ultrices quam, eu porttitor ligula urna at lorem. Donec varius, eros et convallis laoreet, ligula tellus consequat felis, ut ornare metus tellus sodales velit. Duis sed diam ante. Ut rutrum malesuada massa, vitae consectetur ipsum rhoncus sed. Suspendisse potenti. Pellentesque a congue massa.
+
+Integer non sem eget neque mattis accumsan. Maecenas eu nisl mauris, sit amet interdum ipsum. In pharetra erat vel lectus venenatis elementum. Nulla non elit ligula, sit amet mollis urna. Morbi ut gravida est. Mauris tincidunt sem et turpis molestie malesuada. Curabitur vel nulla risus, sed mollis erat. Suspendisse vehicula accumsan purus nec varius. Donec fermentum lorem id felis sodales dictum. Quisque et dolor ipsum. Nam luctus consectetur dui vitae fermentum. Curabitur sodales consequat augue, id ultricies augue tempor ac. Aliquam ac magna id ipsum vehicula bibendum. Sed elementum congue tristique. Phasellus vel lorem eu lectus porta sodales. Etiam neque tortor, sagittis id pharetra quis, laoreet vel arcu.
+
+Cras quam mi, ornare laoreet laoreet vel, vehicula at lacus. Maecenas a lacus accumsan augue convallis sagittis sed quis odio. Morbi sit amet turpis diam, dictum convallis urna. Cras eget interdum augue. Cras eu nisi sit amet dolor faucibus porttitor. Suspendisse potenti. Nunc vitae dolor risus, at cursus libero. Suspendisse bibendum tellus non nibh hendrerit tristique. Mauris eget orci elit. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam porta libero non ante laoreet semper. Proin volutpat sodales mi, ac fermentum erat sagittis in. Vivamus at viverra felis. Ut pretium facilisis ante et pharetra.
+
+Nulla facilisi. Cras varius quam eget libero aliquam vitae tincidunt leo rutrum. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Pellentesque a nisl massa, quis pretium urna. Proin vel porttitor tortor. Cras rhoncus congue velit in bibendum. Donec pharetra semper augue id lacinia. Quisque magna quam, hendrerit eu aliquam et, pellentesque ut tellus. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Maecenas nulla quam, rutrum eu feugiat at, elementum eu libero. Maecenas ullamcorper leo et turpis rutrum ac laoreet eros faucibus. Phasellus condimentum lorem quis neque imperdiet quis molestie enim iaculis. Phasellus risus est, vestibulum ut convallis ultrices, dignissim nec erat. Etiam congue lobortis laoreet. Nulla ut neque sed velit dapibus semper. Quisque nec dolor id nibh eleifend iaculis. Vivamus vitae fermentum odio. Etiam malesuada quam in nulla aliquam sed convallis dui feugiat.
diff --git a/public/library/TCPDF/examples/data/chapter_demo_2.txt b/public/library/TCPDF/examples/data/chapter_demo_2.txt
new file mode 100644
index 0000000..a0210ff
--- /dev/null
+++ b/public/library/TCPDF/examples/data/chapter_demo_2.txt
@@ -0,0 +1,23 @@
+<p><strong>Lorem ipsum</strong> dolor sit amet, consectetur adipiscing elit. In sed imperdiet lectus. Phasellus quis velit velit, non condimentum quam. Sed neque urna, ultrices ac volutpat vel, laoreet vitae augue. Sed vel velit erat. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Cras eget velit nulla, eu sagittis elit. Nunc ac arcu est, in lobortis tellus. Praesent condimentum rhoncus sodales. In hac habitasse platea dictumst. Proin porta eros pharetra enim tincidunt dignissim nec vel dolor. Cras sapien elit, ornare ac dignissim eu, ultricies ac eros. Maecenas augue magna, ultrices a congue in, mollis eu nulla. Nunc venenatis massa at est eleifend faucibus. Vivamus sed risus lectus, nec interdum nunc.</p>
+
+<img src="images/image_demo.jpg" width="54mm" height="80mm" />
+
+<p style="background-color:yellow;"><i>Fusce et felis vitae diam lobortis sollicitudin. Aenean tincidunt accumsan nisi, id vehicula quam laoreet elementum. Phasellus egestas interdum erat, et viverra ipsum ultricies ac. Praesent sagittis augue at augue volutpat eleifend. Cras nec orci neque. Mauris bibendum posuere blandit. Donec feugiat mollis dui sit amet pellentesque. Sed a enim justo. Donec tincidunt, nisl eget elementum aliquam, odio ipsum ultrices quam, eu porttitor ligula urna at lorem. Donec varius, eros et convallis laoreet, ligula tellus consequat felis, ut ornare metus tellus sodales velit. Duis sed diam ante. Ut rutrum malesuada massa, vitae consectetur ipsum rhoncus sed. Suspendisse potenti. Pellentesque a congue massa.</i></p>
+
+<p>Integer non sem eget neque mattis accumsan. Maecenas eu nisl mauris, sit amet interdum ipsum. In pharetra erat vel lectus venenatis elementum. Nulla non elit ligula, sit amet mollis urna. Morbi ut gravida est. Mauris tincidunt sem et turpis molestie malesuada. Curabitur vel nulla risus, sed mollis erat. Suspendisse vehicula accumsan purus nec varius. Donec fermentum lorem id felis sodales dictum. Quisque et dolor ipsum. Nam luctus consectetur dui vitae fermentum. Curabitur sodales consequat augue, id ultricies augue tempor ac. Aliquam ac magna id ipsum vehicula bibendum. Sed elementum congue tristique. Phasellus vel lorem eu lectus porta sodales. Etiam neque tortor, sagittis id pharetra quis, laoreet vel arcu.</p>
+
+<p style="color:navy;">Cras quam mi, ornare laoreet laoreet vel, vehicula at lacus. Maecenas a lacus accumsan augue convallis sagittis sed quis odio. Morbi sit amet turpis diam, dictum convallis urna. Cras eget interdum augue. Cras eu nisi sit amet dolor faucibus porttitor. Suspendisse potenti. Nunc vitae dolor risus, at cursus libero. Suspendisse bibendum tellus non nibh hendrerit tristique. Mauris eget orci elit. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam porta libero non ante laoreet semper. Proin volutpat sodales mi, ac fermentum erat sagittis in. Vivamus at viverra felis. Ut pretium facilisis ante et pharetra.</p>
+
+<p>Nulla facilisi. Cras varius quam eget libero aliquam vitae tincidunt leo rutrum. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Pellentesque a nisl massa, quis pretium urna. Proin vel porttitor tortor. Cras rhoncus congue velit in bibendum. Donec pharetra semper augue id lacinia. Quisque magna quam, hendrerit eu aliquam et, pellentesque ut tellus. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Maecenas nulla quam, rutrum eu feugiat at, elementum eu libero. Maecenas ullamcorper leo et turpis rutrum ac laoreet eros faucibus. Phasellus condimentum lorem quis neque imperdiet quis molestie enim iaculis. Phasellus risus est, vestibulum ut convallis ultrices, dignissim nec erat. Etiam congue lobortis laoreet. Nulla ut neque sed velit dapibus semper. Quisque nec dolor id nibh eleifend iaculis. Vivamus vitae fermentum odio. Etiam malesuada quam in nulla aliquam sed convallis dui feugiat.</p>
+
+<p><strong>Lorem ipsum</strong> dolor sit amet, consectetur adipiscing elit. In sed imperdiet lectus. Phasellus quis velit velit, non condimentum quam. Sed neque urna, ultrices ac volutpat vel, laoreet vitae augue. Sed vel velit erat. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Cras eget velit nulla, eu sagittis elit. Nunc ac arcu est, in lobortis tellus. Praesent condimentum rhoncus sodales. In hac habitasse platea dictumst. Proin porta eros pharetra enim tincidunt dignissim nec vel dolor. Cras sapien elit, ornare ac dignissim eu, ultricies ac eros. Maecenas augue magna, ultrices a congue in, mollis eu nulla. Nunc venenatis massa at est eleifend faucibus. Vivamus sed risus lectus, nec interdum nunc.</p>
+
+<img src="images/image_demo.jpg" width="54mm" height="80mm" />
+
+<p style="background-color:yellow;"><i>Fusce et felis vitae diam lobortis sollicitudin. Aenean tincidunt accumsan nisi, id vehicula quam laoreet elementum. Phasellus egestas interdum erat, et viverra ipsum ultricies ac. Praesent sagittis augue at augue volutpat eleifend. Cras nec orci neque. Mauris bibendum posuere blandit. Donec feugiat mollis dui sit amet pellentesque. Sed a enim justo. Donec tincidunt, nisl eget elementum aliquam, odio ipsum ultrices quam, eu porttitor ligula urna at lorem. Donec varius, eros et convallis laoreet, ligula tellus consequat felis, ut ornare metus tellus sodales velit. Duis sed diam ante. Ut rutrum malesuada massa, vitae consectetur ipsum rhoncus sed. Suspendisse potenti. Pellentesque a congue massa.</i></p>
+
+<p>Integer non sem eget neque mattis accumsan. Maecenas eu nisl mauris, sit amet interdum ipsum. In pharetra erat vel lectus venenatis elementum. Nulla non elit ligula, sit amet mollis urna. Morbi ut gravida est. Mauris tincidunt sem et turpis molestie malesuada. Curabitur vel nulla risus, sed mollis erat. Suspendisse vehicula accumsan purus nec varius. Donec fermentum lorem id felis sodales dictum. Quisque et dolor ipsum. Nam luctus consectetur dui vitae fermentum. Curabitur sodales consequat augue, id ultricies augue tempor ac. Aliquam ac magna id ipsum vehicula bibendum. Sed elementum congue tristique. Phasellus vel lorem eu lectus porta sodales. Etiam neque tortor, sagittis id pharetra quis, laoreet vel arcu.</p>
+
+<p style="color:navy;">Cras quam mi, ornare laoreet laoreet vel, vehicula at lacus. Maecenas a lacus accumsan augue convallis sagittis sed quis odio. Morbi sit amet turpis diam, dictum convallis urna. Cras eget interdum augue. Cras eu nisi sit amet dolor faucibus porttitor. Suspendisse potenti. Nunc vitae dolor risus, at cursus libero. Suspendisse bibendum tellus non nibh hendrerit tristique. Mauris eget orci elit. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam porta libero non ante laoreet semper. Proin volutpat sodales mi, ac fermentum erat sagittis in. Vivamus at viverra felis. Ut pretium facilisis ante et pharetra.</p>
+
+<p>Nulla facilisi. Cras varius quam eget libero aliquam vitae tincidunt leo rutrum. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Pellentesque a nisl massa, quis pretium urna. Proin vel porttitor tortor. Cras rhoncus congue velit in bibendum. Donec pharetra semper augue id lacinia. Quisque magna quam, hendrerit eu aliquam et, pellentesque ut tellus. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Maecenas nulla quam, rutrum eu feugiat at, elementum eu libero. Maecenas ullamcorper leo et turpis rutrum ac laoreet eros faucibus. Phasellus condimentum lorem quis neque imperdiet quis molestie enim iaculis. Phasellus risus est, vestibulum ut convallis ultrices, dignissim nec erat. Etiam congue lobortis laoreet. Nulla ut neque sed velit dapibus semper. Quisque nec dolor id nibh eleifend iaculis. Vivamus vitae fermentum odio. Etiam malesuada quam in nulla aliquam sed convallis dui feugiat.</p>
diff --git a/public/library/TCPDF/examples/data/table_data_demo.txt b/public/library/TCPDF/examples/data/table_data_demo.txt
new file mode 100644
index 0000000..5a48a42
--- /dev/null
+++ b/public/library/TCPDF/examples/data/table_data_demo.txt
@@ -0,0 +1,15 @@
+Austria;Vienna;83859;8075
+Belgium;Brussels;30518;10192
+Denmark;Copenhagen;43094;5295
+Finland;Helsinki;304529;5147
+France;Paris;543965;58728
+Germany;Berlin;357022;82057
+Greece;Athens;131625;10511
+Ireland;Dublin;70723;3694
+Italy;Roma;301316;57563
+Luxembourg;Luxembourg;2586;424
+Netherlands;Amsterdam;41526;15654
+Portugal;Lisbon;91906;9957
+Spain;Madrid;504790;39348
+Sweden;Stockholm;410934;8839
+United Kingdom;London;243820;58862
diff --git a/public/library/TCPDF/examples/data/utf8test.txt b/public/library/TCPDF/examples/data/utf8test.txt
new file mode 100644
index 0000000..291d4e7
--- /dev/null
+++ b/public/library/TCPDF/examples/data/utf8test.txt
@@ -0,0 +1,128 @@
+Sentences that contain all letters commonly used in a language
+--------------------------------------------------------------
+
+This file is UTF-8 encoded.
+
+Czech (cz)
+---------
+
+ Příšerně žluťoučký kůň úpěl ďábelské ódy.
+ Hleď, toť přízračný kůň v mátožné póze šíleně úpí.
+ Zvlášť zákeřný učeň s ďolíčky běží podél zóny úlů.
+ Loď čeří kýlem tůň obzvlášť v Grónské úžině.
+ Ó, náhlý déšť již zvířil prach a čilá laň teď běží s houfcem gazel k úkrytům.
+
+Danish (da)
+---------
+
+ Quizdeltagerne spiste jordbær med fløde, mens cirkusklovnen
+ Wolther spillede på xylofon.
+ (= Quiz contestants were eating strawbery with cream while Wolther
+ the circus clown played on xylophone.)
+
+German (de)
+-----------
+
+ Falsches Üben von Xylophonmusik quält jeden größeren Zwerg
+ (= Wrongful practicing of xylophone music tortures every larger dwarf)
+
+ Zwölf Boxkämpfer jagten Eva quer über den Sylter Deich
+ (= Twelve boxing fighters hunted Eva across the dike of Sylt)
+
+ Heizölrückstoßabdämpfung
+ (= fuel oil recoil absorber)
+ (jqvwxy missing, but all non-ASCII letters in one word)
+
+English (en)
+------------
+
+ The quick brown fox jumps over the lazy dog
+
+Spanish (es)
+------------
+
+ El pingüino Wenceslao hizo kilómetros bajo exhaustiva lluvia y
+ frío, añoraba a su querido cachorro.
+ (Contains every letter and every accent, but not every combination
+ of vowel + acute.)
+
+French (fr)
+-----------
+
+ Portez ce vieux whisky au juge blond qui fume sur son île intérieure, à
+ côté de l'alcôve ovoïde, où les bûches se consument dans l'âtre, ce
+ qui lui permet de penser à la cænogenèse de l'être dont il est question
+ dans la cause ambiguë entendue à Moÿ, dans un capharnaüm qui,
+ pense-t-il, diminue çà et là la qualité de son œuvre.
+
+ l'île exiguë
+ Où l'obèse jury mûr
+ Fête l'haï volapük,
+ Âne ex aéquo au whist,
+ Ôtez ce vœu déçu.
+
+ Le cœur déçu mais l'âme plutôt naïve, Louÿs rêva de crapaüter en
+ canoë au delà des îles, près du mälström où brûlent les novæ.
+
+Irish Gaelic (ga)
+-----------------
+
+ D'fhuascail Íosa, Úrmhac na hÓighe Beannaithe, pór Éava agus Ádhaimh
+
+Hungarian (hu)
+--------------
+
+ Árvíztűrő tükörfúrógép
+ (= flood-proof mirror-drilling machine, only all non-ASCII letters)
+
+Icelandic (is)
+--------------
+
+ Kæmi ný öxi hér ykist þjófum nú bæði víl og ádrepa
+
+ Sævör grét áðan því úlpan var ónýt
+ (some ASCII letters missing)
+
+Greek (el)
+-------------
+
+ Γαζέες καὶ μυρτιὲς δὲν θὰ βρῶ πιὰ στὸ χρυσαφὶ ξέφωτο
+ (= No more shall I see acacias or myrtles in the golden clearing)
+
+ Ξεσκεπάζω τὴν ψυχοφθόρα βδελυγμία
+ (= I uncover the soul-destroying abhorrence)
+
+Hebrew (iw)
+-----------
+
+ ? דג סקרן שט בים מאוכזב ולפתע מצא לו חברה איך הקליטה
+
+Polish (pl)
+-----------
+
+ Pchnąć w tę łódź jeża lub osiem skrzyń fig
+ (= To push a hedgehog or eight bins of figs in this boat)
+
+ Zażółć gęślą jaźń
+
+Russian (ru)
+------------
+
+ В чащах юга жил бы цитрус? Да, но фальшивый экземпляр!
+ (= Would a citrus live in the bushes of south? Yes, but only a fake one!)
+
+Thai (th)
+---------
+
+ [--------------------------|------------------------]
+ ๏ เป็นมนุษย์สุดประเสริฐเลิศคุณค่า กว่าบรรดาฝูงสัตว์เดรัจฉาน
+ จงฝ่าฟันพัฒนาวิชาการ อย่าล้างผลาญฤๅเข่นฆ่าบีฑาใคร
+ ไม่ถือโทษโกรธแช่งซัดฮึดฮัดด่า หัดอภัยเหมือนกีฬาอัชฌาสัย
+ ปฏิบัติประพฤติกฎกำหนดใจ พูดจาให้จ๊ะๆ จ๋าๆ น่าฟังเอย ฯ
+
+ [The copyright for the Thai example is owned by The Computer
+ Association of Thailand under the Royal Patronage of His Majesty the
+ King.]
+
+Please let me know if you find others! Special thanks to the people
+from all over the world who contributed these sentences.
diff --git a/public/library/TCPDF/examples/example_001.php b/public/library/TCPDF/examples/example_001.php
new file mode 100644
index 0000000..055c66a
--- /dev/null
+++ b/public/library/TCPDF/examples/example_001.php
@@ -0,0 +1,106 @@
+<?php
+//============================================================+
+// File name : example_001.php
+// Begin : 2008-03-04
+// Last Update : 2013-05-14
+//
+// Description : Example 001 for TCPDF class
+// Default Header and Footer
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * Creates an example PDF TEST document using TCPDF
+ * @package com.tecnick.tcpdf
+ * @abstract TCPDF - Example: Default Header and Footer
+ * @author Nicola Asuni
+ * @since 2008-03-04
+ */
+
+// Include the main TCPDF library (search for installation path).
+require_once('tcpdf_include.php');
+
+// create new PDF document
+$pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false);
+
+// set document information
+$pdf->SetCreator(PDF_CREATOR);
+$pdf->SetAuthor('Nicola Asuni');
+$pdf->SetTitle('TCPDF Example 001');
+$pdf->SetSubject('TCPDF Tutorial');
+$pdf->SetKeywords('TCPDF, PDF, example, test, guide');
+
+// set default header data
+$pdf->SetHeaderData(PDF_HEADER_LOGO, PDF_HEADER_LOGO_WIDTH, PDF_HEADER_TITLE.' 001', PDF_HEADER_STRING, array(0,64,255), array(0,64,128));
+$pdf->setFooterData(array(0,64,0), array(0,64,128));
+
+// set header and footer fonts
+$pdf->setHeaderFont(Array(PDF_FONT_NAME_MAIN, '', PDF_FONT_SIZE_MAIN));
+$pdf->setFooterFont(Array(PDF_FONT_NAME_DATA, '', PDF_FONT_SIZE_DATA));
+
+// set default monospaced font
+$pdf->SetDefaultMonospacedFont(PDF_FONT_MONOSPACED);
+
+// set margins
+$pdf->SetMargins(PDF_MARGIN_LEFT, PDF_MARGIN_TOP, PDF_MARGIN_RIGHT);
+$pdf->SetHeaderMargin(PDF_MARGIN_HEADER);
+$pdf->SetFooterMargin(PDF_MARGIN_FOOTER);
+
+// set auto page breaks
+$pdf->SetAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM);
+
+// set image scale factor
+$pdf->setImageScale(PDF_IMAGE_SCALE_RATIO);
+
+// set some language-dependent strings (optional)
+if (@file_exists(dirname(__FILE__).'/lang/eng.php')) {
+ require_once(dirname(__FILE__).'/lang/eng.php');
+ $pdf->setLanguageArray($l);
+}
+
+// ---------------------------------------------------------
+
+// set default font subsetting mode
+$pdf->setFontSubsetting(true);
+
+// Set font
+// dejavusans is a UTF-8 Unicode font, if you only need to
+// print standard ASCII chars, you can use core fonts like
+// helvetica or times to reduce file size.
+$pdf->SetFont('dejavusans', '', 14, '', true);
+
+// Add a page
+// This method has several options, check the source code documentation for more information.
+$pdf->AddPage();
+
+// set text shadow effect
+$pdf->setTextShadow(array('enabled'=>true, 'depth_w'=>0.2, 'depth_h'=>0.2, 'color'=>array(196,196,196), 'opacity'=>1, 'blend_mode'=>'Normal'));
+
+// Set some content to print
+$html = <<<EOD
+<h1>Welcome to <a href="http://www.tcpdf.org" style="text-decoration:none;background-color:#CC0000;color:black;">&nbsp;<span style="color:black;">TC</span><span style="color:white;">PDF</span>&nbsp;</a>!</h1>
+<i>This is the first example of TCPDF library.</i>
+<p>This text is printed using the <i>writeHTMLCell()</i> method but you can also use: <i>Multicell(), writeHTML(), Write(), Cell() and Text()</i>.</p>
+<p>Please check the source code documentation and other examples for further information.</p>
+<p style="color:#CC0000;">TO IMPROVE AND EXPAND TCPDF I NEED YOUR SUPPORT, PLEASE <a href="http://sourceforge.net/donate/index.php?group_id=128076">MAKE A DONATION!</a></p>
+EOD;
+
+// Print text using writeHTMLCell()
+$pdf->writeHTMLCell(0, 0, '', '', $html, 0, 1, 0, true, '', true);
+
+// ---------------------------------------------------------
+
+// Close and output PDF document
+// This method has several options, check the source code documentation for more information.
+$pdf->Output('example_001.pdf', 'I');
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/example_002.php b/public/library/TCPDF/examples/example_002.php
new file mode 100644
index 0000000..020dd29
--- /dev/null
+++ b/public/library/TCPDF/examples/example_002.php
@@ -0,0 +1,87 @@
+<?php
+//============================================================+
+// File name : example_002.php
+// Begin : 2008-03-04
+// Last Update : 2013-05-14
+//
+// Description : Example 002 for TCPDF class
+// Removing Header and Footer
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * Creates an example PDF TEST document using TCPDF
+ * @package com.tecnick.tcpdf
+ * @abstract TCPDF - Example: Removing Header and Footer
+ * @author Nicola Asuni
+ * @since 2008-03-04
+ */
+
+// Include the main TCPDF library (search for installation path).
+require_once('tcpdf_include.php');
+
+// create new PDF document
+$pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false);
+
+// set document information
+$pdf->SetCreator(PDF_CREATOR);
+$pdf->SetAuthor('Nicola Asuni');
+$pdf->SetTitle('TCPDF Example 002');
+$pdf->SetSubject('TCPDF Tutorial');
+$pdf->SetKeywords('TCPDF, PDF, example, test, guide');
+
+// remove default header/footer
+$pdf->setPrintHeader(false);
+$pdf->setPrintFooter(false);
+
+// set default monospaced font
+$pdf->SetDefaultMonospacedFont(PDF_FONT_MONOSPACED);
+
+// set margins
+$pdf->SetMargins(PDF_MARGIN_LEFT, PDF_MARGIN_TOP, PDF_MARGIN_RIGHT);
+
+// set auto page breaks
+$pdf->SetAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM);
+
+// set image scale factor
+$pdf->setImageScale(PDF_IMAGE_SCALE_RATIO);
+
+// set some language-dependent strings (optional)
+if (@file_exists(dirname(__FILE__).'/lang/eng.php')) {
+ require_once(dirname(__FILE__).'/lang/eng.php');
+ $pdf->setLanguageArray($l);
+}
+
+// ---------------------------------------------------------
+
+// set font
+$pdf->SetFont('times', 'BI', 20);
+
+// add a page
+$pdf->AddPage();
+
+// set some text to print
+$txt = <<<EOD
+TCPDF Example 002
+
+Default page header and footer are disabled using setPrintHeader() and setPrintFooter() methods.
+EOD;
+
+// print a block of text using Write()
+$pdf->Write(0, $txt, '', 0, 'C', true, 0, false, false, 0);
+
+// ---------------------------------------------------------
+
+//Close and output PDF document
+$pdf->Output('example_002.pdf', 'I');
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/example_003.php b/public/library/TCPDF/examples/example_003.php
new file mode 100644
index 0000000..73a0e8c
--- /dev/null
+++ b/public/library/TCPDF/examples/example_003.php
@@ -0,0 +1,118 @@
+<?php
+//============================================================+
+// File name : example_003.php
+// Begin : 2008-03-04
+// Last Update : 2013-05-14
+//
+// Description : Example 003 for TCPDF class
+// Custom Header and Footer
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * Creates an example PDF TEST document using TCPDF
+ * @package com.tecnick.tcpdf
+ * @abstract TCPDF - Example: Custom Header and Footer
+ * @author Nicola Asuni
+ * @since 2008-03-04
+ */
+
+// Include the main TCPDF library (search for installation path).
+require_once('tcpdf_include.php');
+
+
+// Extend the TCPDF class to create custom Header and Footer
+class MYPDF extends TCPDF {
+
+ //Page header
+ public function Header() {
+ // Logo
+ $image_file = K_PATH_IMAGES.'logo_example.jpg';
+ $this->Image($image_file, 10, 10, 15, '', 'JPG', '', 'T', false, 300, '', false, false, 0, false, false, false);
+ // Set font
+ $this->SetFont('helvetica', 'B', 20);
+ // Title
+ $this->Cell(0, 15, '<< TCPDF Example 003 >>', 0, false, 'C', 0, '', 0, false, 'M', 'M');
+ }
+
+ // Page footer
+ public function Footer() {
+ // Position at 15 mm from bottom
+ $this->SetY(-15);
+ // Set font
+ $this->SetFont('helvetica', 'I', 8);
+ // Page number
+ $this->Cell(0, 10, 'Page '.$this->getAliasNumPage().'/'.$this->getAliasNbPages(), 0, false, 'C', 0, '', 0, false, 'T', 'M');
+ }
+}
+
+// create new PDF document
+$pdf = new MYPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false);
+
+// set document information
+$pdf->SetCreator(PDF_CREATOR);
+$pdf->SetAuthor('Nicola Asuni');
+$pdf->SetTitle('TCPDF Example 003');
+$pdf->SetSubject('TCPDF Tutorial');
+$pdf->SetKeywords('TCPDF, PDF, example, test, guide');
+
+// set default header data
+$pdf->SetHeaderData(PDF_HEADER_LOGO, PDF_HEADER_LOGO_WIDTH, PDF_HEADER_TITLE, PDF_HEADER_STRING);
+
+// set header and footer fonts
+$pdf->setHeaderFont(Array(PDF_FONT_NAME_MAIN, '', PDF_FONT_SIZE_MAIN));
+$pdf->setFooterFont(Array(PDF_FONT_NAME_DATA, '', PDF_FONT_SIZE_DATA));
+
+// set default monospaced font
+$pdf->SetDefaultMonospacedFont(PDF_FONT_MONOSPACED);
+
+// set margins
+$pdf->SetMargins(PDF_MARGIN_LEFT, PDF_MARGIN_TOP, PDF_MARGIN_RIGHT);
+$pdf->SetHeaderMargin(PDF_MARGIN_HEADER);
+$pdf->SetFooterMargin(PDF_MARGIN_FOOTER);
+
+// set auto page breaks
+$pdf->SetAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM);
+
+// set image scale factor
+$pdf->setImageScale(PDF_IMAGE_SCALE_RATIO);
+
+// set some language-dependent strings (optional)
+if (@file_exists(dirname(__FILE__).'/lang/eng.php')) {
+ require_once(dirname(__FILE__).'/lang/eng.php');
+ $pdf->setLanguageArray($l);
+}
+
+// ---------------------------------------------------------
+
+// set font
+$pdf->SetFont('times', 'BI', 12);
+
+// add a page
+$pdf->AddPage();
+
+// set some text to print
+$txt = <<<EOD
+TCPDF Example 003
+
+Custom page header and footer are defined by extending the TCPDF class and overriding the Header() and Footer() methods.
+EOD;
+
+// print a block of text using Write()
+$pdf->Write(0, $txt, '', 0, 'C', true, 0, false, false, 0);
+
+// ---------------------------------------------------------
+
+//Close and output PDF document
+$pdf->Output('example_003.pdf', 'I');
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/example_004.php b/public/library/TCPDF/examples/example_004.php
new file mode 100644
index 0000000..88e08c1
--- /dev/null
+++ b/public/library/TCPDF/examples/example_004.php
@@ -0,0 +1,121 @@
+<?php
+//============================================================+
+// File name : example_004.php
+// Begin : 2008-03-04
+// Last Update : 2013-05-14
+//
+// Description : Example 004 for TCPDF class
+// Cell stretching
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * Creates an example PDF TEST document using TCPDF
+ * @package com.tecnick.tcpdf
+ * @abstract TCPDF - Example: Cell stretching
+ * @author Nicola Asuni
+ * @since 2008-03-04
+ */
+
+// Include the main TCPDF library (search for installation path).
+require_once('tcpdf_include.php');
+
+// create new PDF document
+$pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false);
+
+// set document information
+$pdf->SetCreator(PDF_CREATOR);
+$pdf->SetAuthor('Nicola Asuni');
+$pdf->SetTitle('TCPDF Example 004');
+$pdf->SetSubject('TCPDF Tutorial');
+$pdf->SetKeywords('TCPDF, PDF, example, test, guide');
+
+// set default header data
+$pdf->SetHeaderData(PDF_HEADER_LOGO, PDF_HEADER_LOGO_WIDTH, PDF_HEADER_TITLE.' 004', PDF_HEADER_STRING);
+
+// set header and footer fonts
+$pdf->setHeaderFont(Array(PDF_FONT_NAME_MAIN, '', PDF_FONT_SIZE_MAIN));
+$pdf->setFooterFont(Array(PDF_FONT_NAME_DATA, '', PDF_FONT_SIZE_DATA));
+
+// set default monospaced font
+$pdf->SetDefaultMonospacedFont(PDF_FONT_MONOSPACED);
+
+// set margins
+$pdf->SetMargins(PDF_MARGIN_LEFT, PDF_MARGIN_TOP, PDF_MARGIN_RIGHT);
+$pdf->SetHeaderMargin(PDF_MARGIN_HEADER);
+$pdf->SetFooterMargin(PDF_MARGIN_FOOTER);
+
+// set auto page breaks
+$pdf->SetAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM);
+
+// set image scale factor
+$pdf->setImageScale(PDF_IMAGE_SCALE_RATIO);
+
+// set some language-dependent strings (optional)
+if (@file_exists(dirname(__FILE__).'/lang/eng.php')) {
+ require_once(dirname(__FILE__).'/lang/eng.php');
+ $pdf->setLanguageArray($l);
+}
+
+// ---------------------------------------------------------
+
+// set font
+$pdf->SetFont('times', '', 11);
+
+// add a page
+$pdf->AddPage();
+
+//Cell($w, $h=0, $txt='', $border=0, $ln=0, $align='', $fill=0, $link='', $stretch=0, $ignore_min_height=false, $calign='T', $valign='M')
+
+// test Cell stretching
+$pdf->Cell(0, 0, 'TEST CELL STRETCH: no stretch', 1, 1, 'C', 0, '', 0);
+$pdf->Cell(0, 0, 'TEST CELL STRETCH: scaling', 1, 1, 'C', 0, '', 1);
+$pdf->Cell(0, 0, 'TEST CELL STRETCH: force scaling', 1, 1, 'C', 0, '', 2);
+$pdf->Cell(0, 0, 'TEST CELL STRETCH: spacing', 1, 1, 'C', 0, '', 3);
+$pdf->Cell(0, 0, 'TEST CELL STRETCH: force spacing', 1, 1, 'C', 0, '', 4);
+
+$pdf->Ln(5);
+
+$pdf->Cell(45, 0, 'TEST CELL STRETCH: scaling', 1, 1, 'C', 0, '', 1);
+$pdf->Cell(45, 0, 'TEST CELL STRETCH: force scaling', 1, 1, 'C', 0, '', 2);
+$pdf->Cell(45, 0, 'TEST CELL STRETCH: spacing', 1, 1, 'C', 0, '', 3);
+$pdf->Cell(45, 0, 'TEST CELL STRETCH: force spacing', 1, 1, 'C', 0, '', 4);
+
+$pdf->AddPage();
+
+// example using general stretching and spacing
+
+for ($stretching = 90; $stretching <= 110; $stretching += 10) {
+ for ($spacing = -0.254; $spacing <= 0.254; $spacing += 0.254) {
+
+ // set general stretching (scaling) value
+ $pdf->setFontStretching($stretching);
+
+ // set general spacing value
+ $pdf->setFontSpacing($spacing);
+
+ $pdf->Cell(0, 0, 'Stretching '.$stretching.'%, Spacing '.sprintf('%+.3F', $spacing).'mm, no stretch', 1, 1, 'C', 0, '', 0);
+ $pdf->Cell(0, 0, 'Stretching '.$stretching.'%, Spacing '.sprintf('%+.3F', $spacing).'mm, scaling', 1, 1, 'C', 0, '', 1);
+ $pdf->Cell(0, 0, 'Stretching '.$stretching.'%, Spacing '.sprintf('%+.3F', $spacing).'mm, force scaling', 1, 1, 'C', 0, '', 2);
+ $pdf->Cell(0, 0, 'Stretching '.$stretching.'%, Spacing '.sprintf('%+.3F', $spacing).'mm, spacing', 1, 1, 'C', 0, '', 3);
+ $pdf->Cell(0, 0, 'Stretching '.$stretching.'%, Spacing '.sprintf('%+.3F', $spacing).'mm, force spacing', 1, 1, 'C', 0, '', 4);
+
+ $pdf->Ln(2);
+ }
+}
+
+// ---------------------------------------------------------
+
+//Close and output PDF document
+$pdf->Output('example_004.pdf', 'I');
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/example_005.php b/public/library/TCPDF/examples/example_005.php
new file mode 100644
index 0000000..5a592d1
--- /dev/null
+++ b/public/library/TCPDF/examples/example_005.php
@@ -0,0 +1,158 @@
+<?php
+//============================================================+
+// File name : example_005.php
+// Begin : 2008-03-04
+// Last Update : 2013-05-14
+//
+// Description : Example 005 for TCPDF class
+// Multicell
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * Creates an example PDF TEST document using TCPDF
+ * @package com.tecnick.tcpdf
+ * @abstract TCPDF - Example: Multicell
+ * @author Nicola Asuni
+ * @since 2008-03-04
+ */
+
+// Include the main TCPDF library (search for installation path).
+require_once('tcpdf_include.php');
+
+// create new PDF document
+$pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false);
+
+// set document information
+$pdf->SetCreator(PDF_CREATOR);
+$pdf->SetAuthor('Nicola Asuni');
+$pdf->SetTitle('TCPDF Example 005');
+$pdf->SetSubject('TCPDF Tutorial');
+$pdf->SetKeywords('TCPDF, PDF, example, test, guide');
+
+// set default header data
+$pdf->SetHeaderData(PDF_HEADER_LOGO, PDF_HEADER_LOGO_WIDTH, PDF_HEADER_TITLE.' 005', PDF_HEADER_STRING);
+
+// set header and footer fonts
+$pdf->setHeaderFont(Array(PDF_FONT_NAME_MAIN, '', PDF_FONT_SIZE_MAIN));
+$pdf->setFooterFont(Array(PDF_FONT_NAME_DATA, '', PDF_FONT_SIZE_DATA));
+
+// set default monospaced font
+$pdf->SetDefaultMonospacedFont(PDF_FONT_MONOSPACED);
+
+// set margins
+$pdf->SetMargins(PDF_MARGIN_LEFT, PDF_MARGIN_TOP, PDF_MARGIN_RIGHT);
+$pdf->SetHeaderMargin(PDF_MARGIN_HEADER);
+$pdf->SetFooterMargin(PDF_MARGIN_FOOTER);
+
+// set auto page breaks
+$pdf->SetAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM);
+
+// set image scale factor
+$pdf->setImageScale(PDF_IMAGE_SCALE_RATIO);
+
+// set some language-dependent strings (optional)
+if (@file_exists(dirname(__FILE__).'/lang/eng.php')) {
+ require_once(dirname(__FILE__).'/lang/eng.php');
+ $pdf->setLanguageArray($l);
+}
+
+// ---------------------------------------------------------
+
+// set font
+$pdf->SetFont('times', '', 10);
+
+// add a page
+$pdf->AddPage();
+
+// set cell padding
+$pdf->setCellPaddings(1, 1, 1, 1);
+
+// set cell margins
+$pdf->setCellMargins(1, 1, 1, 1);
+
+// set color for background
+$pdf->SetFillColor(255, 255, 127);
+
+// MultiCell($w, $h, $txt, $border=0, $align='J', $fill=0, $ln=1, $x='', $y='', $reseth=true, $stretch=0, $ishtml=false, $autopadding=true, $maxh=0)
+
+// set some text for example
+$txt = 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.';
+
+// Multicell test
+$pdf->MultiCell(55, 5, '[LEFT] '.$txt, 1, 'L', 1, 0, '', '', true);
+$pdf->MultiCell(55, 5, '[RIGHT] '.$txt, 1, 'R', 0, 1, '', '', true);
+$pdf->MultiCell(55, 5, '[CENTER] '.$txt, 1, 'C', 0, 0, '', '', true);
+$pdf->MultiCell(55, 5, '[JUSTIFY] '.$txt."\n", 1, 'J', 1, 2, '' ,'', true);
+$pdf->MultiCell(55, 5, '[DEFAULT] '.$txt, 1, '', 0, 1, '', '', true);
+
+$pdf->Ln(4);
+
+// set color for background
+$pdf->SetFillColor(220, 255, 220);
+
+// Vertical alignment
+$pdf->MultiCell(55, 40, '[VERTICAL ALIGNMENT - TOP] '.$txt, 1, 'J', 1, 0, '', '', true, 0, false, true, 40, 'T');
+$pdf->MultiCell(55, 40, '[VERTICAL ALIGNMENT - MIDDLE] '.$txt, 1, 'J', 1, 0, '', '', true, 0, false, true, 40, 'M');
+$pdf->MultiCell(55, 40, '[VERTICAL ALIGNMENT - BOTTOM] '.$txt, 1, 'J', 1, 1, '', '', true, 0, false, true, 40, 'B');
+
+$pdf->Ln(4);
+
+// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
+// set color for background
+$pdf->SetFillColor(215, 235, 255);
+
+// set some text for example
+$txt = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. In sed imperdiet lectus. Phasellus quis velit velit, non condimentum quam. Sed neque urna, ultrices ac volutpat vel, laoreet vitae augue. Sed vel velit erat. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Cras eget velit nulla, eu sagittis elit. Nunc ac arcu est, in lobortis tellus. Praesent condimentum rhoncus sodales. In hac habitasse platea dictumst. Proin porta eros pharetra enim tincidunt dignissim nec vel dolor. Cras sapien elit, ornare ac dignissim eu, ultricies ac eros. Maecenas augue magna, ultrices a congue in, mollis eu nulla. Nunc venenatis massa at est eleifend faucibus. Vivamus sed risus lectus, nec interdum nunc.
+
+Fusce et felis vitae diam lobortis sollicitudin. Aenean tincidunt accumsan nisi, id vehicula quam laoreet elementum. Phasellus egestas interdum erat, et viverra ipsum ultricies ac. Praesent sagittis augue at augue volutpat eleifend. Cras nec orci neque. Mauris bibendum posuere blandit. Donec feugiat mollis dui sit amet pellentesque. Sed a enim justo. Donec tincidunt, nisl eget elementum aliquam, odio ipsum ultrices quam, eu porttitor ligula urna at lorem. Donec varius, eros et convallis laoreet, ligula tellus consequat felis, ut ornare metus tellus sodales velit. Duis sed diam ante. Ut rutrum malesuada massa, vitae consectetur ipsum rhoncus sed. Suspendisse potenti. Pellentesque a congue massa.';
+
+// print a blox of text using multicell()
+$pdf->MultiCell(80, 5, $txt."\n", 1, 'J', 1, 1, '' ,'', true);
+
+// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
+// AUTO-FITTING
+
+// set color for background
+$pdf->SetFillColor(255, 235, 235);
+
+// Fit text on cell by reducing font size
+$pdf->MultiCell(55, 60, '[FIT CELL] '.$txt."\n", 1, 'J', 1, 1, 125, 145, true, 0, false, true, 60, 'M', true);
+
+// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
+// CUSTOM PADDING
+
+// set color for background
+$pdf->SetFillColor(255, 255, 215);
+
+// set font
+$pdf->SetFont('helvetica', '', 8);
+
+// set cell padding
+$pdf->setCellPaddings(2, 4, 6, 8);
+
+$txt = "CUSTOM PADDING:\nLeft=2, Top=4, Right=6, Bottom=8\nLorem ipsum dolor sit amet, consectetur adipiscing elit. In sed imperdiet lectus. Phasellus quis velit velit, non condimentum quam. Sed neque urna, ultrices ac volutpat vel, laoreet vitae augue.\n";
+
+$pdf->MultiCell(55, 5, $txt, 1, 'J', 1, 2, 125, 210, true);
+
+// move pointer to last page
+$pdf->lastPage();
+
+// ---------------------------------------------------------
+
+//Close and output PDF document
+$pdf->Output('example_005.pdf', 'I');
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/example_006.php b/public/library/TCPDF/examples/example_006.php
new file mode 100644
index 0000000..481f70e
--- /dev/null
+++ b/public/library/TCPDF/examples/example_006.php
@@ -0,0 +1,330 @@
+<?php
+//============================================================+
+// File name : example_006.php
+// Begin : 2008-03-04
+// Last Update : 2013-05-14
+//
+// Description : Example 006 for TCPDF class
+// WriteHTML and RTL support
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * Creates an example PDF TEST document using TCPDF
+ * @package com.tecnick.tcpdf
+ * @abstract TCPDF - Example: WriteHTML and RTL support
+ * @author Nicola Asuni
+ * @since 2008-03-04
+ */
+
+// Include the main TCPDF library (search for installation path).
+require_once('tcpdf_include.php');
+
+// create new PDF document
+$pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false);
+
+// set document information
+$pdf->SetCreator(PDF_CREATOR);
+$pdf->SetAuthor('Nicola Asuni');
+$pdf->SetTitle('TCPDF Example 006');
+$pdf->SetSubject('TCPDF Tutorial');
+$pdf->SetKeywords('TCPDF, PDF, example, test, guide');
+
+// set default header data
+$pdf->SetHeaderData(PDF_HEADER_LOGO, PDF_HEADER_LOGO_WIDTH, PDF_HEADER_TITLE.' 006', PDF_HEADER_STRING);
+
+// set header and footer fonts
+$pdf->setHeaderFont(Array(PDF_FONT_NAME_MAIN, '', PDF_FONT_SIZE_MAIN));
+$pdf->setFooterFont(Array(PDF_FONT_NAME_DATA, '', PDF_FONT_SIZE_DATA));
+
+// set default monospaced font
+$pdf->SetDefaultMonospacedFont(PDF_FONT_MONOSPACED);
+
+// set margins
+$pdf->SetMargins(PDF_MARGIN_LEFT, PDF_MARGIN_TOP, PDF_MARGIN_RIGHT);
+$pdf->SetHeaderMargin(PDF_MARGIN_HEADER);
+$pdf->SetFooterMargin(PDF_MARGIN_FOOTER);
+
+// set auto page breaks
+$pdf->SetAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM);
+
+// set image scale factor
+$pdf->setImageScale(PDF_IMAGE_SCALE_RATIO);
+
+// set some language-dependent strings (optional)
+if (@file_exists(dirname(__FILE__).'/lang/eng.php')) {
+ require_once(dirname(__FILE__).'/lang/eng.php');
+ $pdf->setLanguageArray($l);
+}
+
+// ---------------------------------------------------------
+
+// set font
+$pdf->SetFont('dejavusans', '', 10);
+
+// add a page
+$pdf->AddPage();
+
+// writeHTML($html, $ln=true, $fill=false, $reseth=false, $cell=false, $align='')
+// writeHTMLCell($w, $h, $x, $y, $html='', $border=0, $ln=0, $fill=0, $reseth=true, $align='', $autopadding=true)
+
+// create some HTML content
+$html = '<h1>HTML Example</h1>
+Some special characters: &lt; € &euro; &#8364; &amp; è &egrave; &copy; &gt; \\slash \\\\double-slash \\\\\\triple-slash
+<h2>List</h2>
+List example:
+<ol>
+ <li><img src="images/logo_example.png" alt="test alt attribute" width="30" height="30" border="0" /> test image</li>
+ <li><b>bold text</b></li>
+ <li><i>italic text</i></li>
+ <li><u>underlined text</u></li>
+ <li><b>b<i>bi<u>biu</u>bi</i>b</b></li>
+ <li><a href="http://www.tecnick.com" dir="ltr">link to http://www.tecnick.com</a></li>
+ <li>Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.<br />Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.</li>
+ <li>SUBLIST
+ <ol>
+ <li>row one
+ <ul>
+ <li>sublist</li>
+ </ul>
+ </li>
+ <li>row two</li>
+ </ol>
+ </li>
+ <li><b>T</b>E<i>S</i><u>T</u> <del>line through</del></li>
+ <li><font size="+3">font + 3</font></li>
+ <li><small>small text</small> normal <small>small text</small> normal <sub>subscript</sub> normal <sup>superscript</sup> normal</li>
+</ol>
+<dl>
+ <dt>Coffee</dt>
+ <dd>Black hot drink</dd>
+ <dt>Milk</dt>
+ <dd>White cold drink</dd>
+</dl>
+<div style="text-align:center">IMAGES<br />
+<img src="images/logo_example.png" alt="test alt attribute" width="100" height="100" border="0" /><img src="images/tcpdf_box.svg" alt="test alt attribute" width="100" height="100" border="0" /><img src="images/logo_example.jpg" alt="test alt attribute" width="100" height="100" border="0" />
+</div>';
+
+// output the HTML content
+$pdf->writeHTML($html, true, false, true, false, '');
+
+
+// output some RTL HTML content
+$html = '<div style="text-align:center">The words &#8220;<span dir="rtl">&#1502;&#1494;&#1500; [mazel] &#1496;&#1493;&#1489; [tov]</span>&#8221; mean &#8220;Congratulations!&#8221;</div>';
+$pdf->writeHTML($html, true, false, true, false, '');
+
+// test some inline CSS
+$html = '<p>This is just an example of html code to demonstrate some supported CSS inline styles.
+<span style="font-weight: bold;">bold text</span>
+<span style="text-decoration: line-through;">line-trough</span>
+<span style="text-decoration: underline line-through;">underline and line-trough</span>
+<span style="color: rgb(0, 128, 64);">color</span>
+<span style="background-color: rgb(255, 0, 0); color: rgb(255, 255, 255);">background color</span>
+<span style="font-weight: bold;">bold</span>
+<span style="font-size: xx-small;">xx-small</span>
+<span style="font-size: x-small;">x-small</span>
+<span style="font-size: small;">small</span>
+<span style="font-size: medium;">medium</span>
+<span style="font-size: large;">large</span>
+<span style="font-size: x-large;">x-large</span>
+<span style="font-size: xx-large;">xx-large</span>
+</p>';
+
+$pdf->writeHTML($html, true, false, true, false, '');
+
+// reset pointer to the last page
+$pdf->lastPage();
+
+// - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+// Print a table
+
+// add a page
+$pdf->AddPage();
+
+// create some HTML content
+$subtable = '<table border="1" cellspacing="6" cellpadding="4"><tr><td>a</td><td>b</td></tr><tr><td>c</td><td>d</td></tr></table>';
+
+$html = '<h2>HTML TABLE:</h2>
+<table border="1" cellspacing="3" cellpadding="4">
+ <tr>
+ <th>#</th>
+ <th align="right">RIGHT align</th>
+ <th align="left">LEFT align</th>
+ <th>4A</th>
+ </tr>
+ <tr>
+ <td>1</td>
+ <td bgcolor="#cccccc" align="center" colspan="2">A1 ex<i>amp</i>le <a href="http://www.tcpdf.org">link</a> column span. One two tree four five six seven eight nine ten.<br />line after br<br /><small>small text</small> normal <sub>subscript</sub> normal <sup>superscript</sup> normal bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla<ol><li>first<ol><li>sublist</li><li>sublist</li></ol></li><li>second</li></ol><small color="#FF0000" bgcolor="#FFFF00">small small small small small small small small small small small small small small small small small small small small</small></td>
+ <td>4B</td>
+ </tr>
+ <tr>
+ <td>'.$subtable.'</td>
+ <td bgcolor="#0000FF" color="yellow" align="center">A2 € &euro; &#8364; &amp; è &egrave;<br/>A2 € &euro; &#8364; &amp; è &egrave;</td>
+ <td bgcolor="#FFFF00" align="left"><font color="#FF0000">Red</font> Yellow BG</td>
+ <td>4C</td>
+ </tr>
+ <tr>
+ <td>1A</td>
+ <td rowspan="2" colspan="2" bgcolor="#FFFFCC">2AA<br />2AB<br />2AC</td>
+ <td bgcolor="#FF0000">4D</td>
+ </tr>
+ <tr>
+ <td>1B</td>
+ <td>4E</td>
+ </tr>
+ <tr>
+ <td>1C</td>
+ <td>2C</td>
+ <td>3C</td>
+ <td>4F</td>
+ </tr>
+</table>';
+
+// output the HTML content
+$pdf->writeHTML($html, true, false, true, false, '');
+
+// Print some HTML Cells
+
+$html = '<span color="red">red</span> <span color="green">green</span> <span color="blue">blue</span><br /><span color="red">red</span> <span color="green">green</span> <span color="blue">blue</span>';
+
+$pdf->SetFillColor(255,255,0);
+
+$pdf->writeHTMLCell(0, 0, '', '', $html, 'LRTB', 1, 0, true, 'L', true);
+$pdf->writeHTMLCell(0, 0, '', '', $html, 'LRTB', 1, 1, true, 'C', true);
+$pdf->writeHTMLCell(0, 0, '', '', $html, 'LRTB', 1, 0, true, 'R', true);
+
+// reset pointer to the last page
+$pdf->lastPage();
+
+// - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+// Print a table
+
+// add a page
+$pdf->AddPage();
+
+// create some HTML content
+$html = '<h1>Image alignments on HTML table</h1>
+<table cellpadding="1" cellspacing="1" border="1" style="text-align:center;">
+<tr><td><img src="images/logo_example.png" border="0" height="41" width="41" /></td></tr>
+<tr style="text-align:left;"><td><img src="images/logo_example.png" border="0" height="41" width="41" align="top" /></td></tr>
+<tr style="text-align:center;"><td><img src="images/logo_example.png" border="0" height="41" width="41" align="middle" /></td></tr>
+<tr style="text-align:right;"><td><img src="images/logo_example.png" border="0" height="41" width="41" align="bottom" /></td></tr>
+<tr><td style="text-align:left;"><img src="images/logo_example.png" border="0" height="41" width="41" align="top" /></td></tr>
+<tr><td style="text-align:center;"><img src="images/logo_example.png" border="0" height="41" width="41" align="middle" /></td></tr>
+<tr><td style="text-align:right;"><img src="images/logo_example.png" border="0" height="41" width="41" align="bottom" /></td></tr>
+</table>';
+
+// output the HTML content
+$pdf->writeHTML($html, true, false, true, false, '');
+
+// reset pointer to the last page
+$pdf->lastPage();
+
+// - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+// Print all HTML colors
+
+// add a page
+$pdf->AddPage();
+
+$textcolors = '<h1>HTML Text Colors</h1>';
+$bgcolors = '<hr /><h1>HTML Background Colors</h1>';
+
+foreach(TCPDF_COLORS::$webcolor as $k => $v) {
+ $textcolors .= '<span color="#'.$v.'">'.$v.'</span> ';
+ $bgcolors .= '<span bgcolor="#'.$v.'" color="#333333">'.$v.'</span> ';
+}
+
+// output the HTML content
+$pdf->writeHTML($textcolors, true, false, true, false, '');
+$pdf->writeHTML($bgcolors, true, false, true, false, '');
+
+// - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
+// Test word-wrap
+
+// create some HTML content
+$html = '<hr />
+<h1>Various tests</h1>
+<a href="#2">link to page 2</a><br />
+<font face="courier"><b>thisisaverylongword</b></font> <font face="helvetica"><i>thisisanotherverylongword</i></font> <font face="times"><b>thisisaverylongword</b></font> thisisanotherverylongword <font face="times">thisisaverylongword</font> <font face="courier"><b>thisisaverylongword</b></font> <font face="helvetica"><i>thisisanotherverylongword</i></font> <font face="times"><b>thisisaverylongword</b></font> thisisanotherverylongword <font face="times">thisisaverylongword</font> <font face="courier"><b>thisisaverylongword</b></font> <font face="helvetica"><i>thisisanotherverylongword</i></font> <font face="times"><b>thisisaverylongword</b></font> thisisanotherverylongword <font face="times">thisisaverylongword</font> <font face="courier"><b>thisisaverylongword</b></font> <font face="helvetica"><i>thisisanotherverylongword</i></font> <font face="times"><b>thisisaverylongword</b></font> thisisanotherverylongword <font face="times">thisisaverylongword</font> <font face="courier"><b>thisisaverylongword</b></font> <font face="helvetica"><i>thisisanotherverylongword</i></font> <font face="times"><b>thisisaverylongword</b></font> thisisanotherverylongword <font face="times">thisisaverylongword</font>';
+
+// output the HTML content
+$pdf->writeHTML($html, true, false, true, false, '');
+
+// Test fonts nesting
+$html1 = 'Default <font face="courier">Courier <font face="helvetica">Helvetica <font face="times">Times <font face="dejavusans">dejavusans </font>Times </font>Helvetica </font>Courier </font>Default';
+$html2 = '<small>small text</small> normal <small>small text</small> normal <sub>subscript</sub> normal <sup>superscript</sup> normal';
+$html3 = '<font size="10" color="#ff7f50">The</font> <font size="10" color="#6495ed">quick</font> <font size="14" color="#dc143c">brown</font> <font size="18" color="#008000">fox</font> <font size="22"><a href="http://www.tcpdf.org">jumps</a></font> <font size="22" color="#a0522d">over</font> <font size="18" color="#da70d6">the</font> <font size="14" color="#9400d3">lazy</font> <font size="10" color="#4169el">dog</font>.';
+
+$html = $html1.'<br />'.$html2.'<br />'.$html3.'<br />'.$html3.'<br />'.$html2;
+
+// output the HTML content
+$pdf->writeHTML($html, true, false, true, false, '');
+
+// - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+// test pre tag
+
+// add a page
+$pdf->AddPage();
+
+$html = <<<EOF
+<div style="background-color:#880000;color:white;">
+Hello World!<br />
+Hello
+</div>
+<pre style="background-color:#336699;color:white;">
+int main() {
+ printf("HelloWorld");
+ return 0;
+}
+</pre>
+<tt>Monospace font</tt>, normal font, <tt>monospace font</tt>, normal font.
+<br />
+<div style="background-color:#880000;color:white;">DIV LEVEL 1<div style="background-color:#008800;color:white;">DIV LEVEL 2</div>DIV LEVEL 1</div>
+<br />
+<span style="background-color:#880000;color:white;">SPAN LEVEL 1 <span style="background-color:#008800;color:white;">SPAN LEVEL 2</span> SPAN LEVEL 1</span>
+EOF;
+
+// output the HTML content
+$pdf->writeHTML($html, true, false, true, false, '');
+
+// - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
+// test custom bullet points for list
+
+// add a page
+$pdf->AddPage();
+
+$html = <<<EOF
+<h1>Test custom bullet image for list items</h1>
+<ul style="font-size:14pt;list-style-type:img|png|4|4|images/logo_example.png">
+ <li>test custom bullet image</li>
+ <li>test custom bullet image</li>
+ <li>test custom bullet image</li>
+ <li>test custom bullet image</li>
+<ul>
+EOF;
+
+// output the HTML content
+$pdf->writeHTML($html, true, false, true, false, '');
+
+// - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
+// reset pointer to the last page
+$pdf->lastPage();
+
+// ---------------------------------------------------------
+
+//Close and output PDF document
+$pdf->Output('example_006.pdf', 'I');
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/example_007.php b/public/library/TCPDF/examples/example_007.php
new file mode 100644
index 0000000..97ebecb
--- /dev/null
+++ b/public/library/TCPDF/examples/example_007.php
@@ -0,0 +1,113 @@
+<?php
+//============================================================+
+// File name : example_007.php
+// Begin : 2008-03-04
+// Last Update : 2013-05-14
+//
+// Description : Example 007 for TCPDF class
+// Two independent columns with WriteHTMLCell()
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * Creates an example PDF TEST document using TCPDF
+ * @package com.tecnick.tcpdf
+ * @abstract TCPDF - Example: Two independent columns with WriteHTMLCell()
+ * @author Nicola Asuni
+ * @since 2008-03-04
+ */
+
+// Include the main TCPDF library (search for installation path).
+require_once('tcpdf_include.php');
+
+// create new PDF document
+$pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false);
+
+// set document information
+$pdf->SetCreator(PDF_CREATOR);
+$pdf->SetAuthor('Nicola Asuni');
+$pdf->SetTitle('TCPDF Example 007');
+$pdf->SetSubject('TCPDF Tutorial');
+$pdf->SetKeywords('TCPDF, PDF, example, test, guide');
+
+// set default header data
+$pdf->SetHeaderData(PDF_HEADER_LOGO, PDF_HEADER_LOGO_WIDTH, PDF_HEADER_TITLE.' 007', PDF_HEADER_STRING);
+
+// set header and footer fonts
+$pdf->setHeaderFont(Array(PDF_FONT_NAME_MAIN, '', PDF_FONT_SIZE_MAIN));
+$pdf->setFooterFont(Array(PDF_FONT_NAME_DATA, '', PDF_FONT_SIZE_DATA));
+
+// set default monospaced font
+$pdf->SetDefaultMonospacedFont(PDF_FONT_MONOSPACED);
+
+// set margins
+$pdf->SetMargins(PDF_MARGIN_LEFT, PDF_MARGIN_TOP, PDF_MARGIN_RIGHT);
+$pdf->SetHeaderMargin(PDF_MARGIN_HEADER);
+$pdf->SetFooterMargin(PDF_MARGIN_FOOTER);
+
+// set auto page breaks
+$pdf->SetAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM);
+
+// set image scale factor
+$pdf->setImageScale(PDF_IMAGE_SCALE_RATIO);
+
+// set some language-dependent strings (optional)
+if (@file_exists(dirname(__FILE__).'/lang/eng.php')) {
+ require_once(dirname(__FILE__).'/lang/eng.php');
+ $pdf->setLanguageArray($l);
+}
+
+// ---------------------------------------------------------
+
+// set font
+$pdf->SetFont('times', '', 12);
+
+// add a page
+$pdf->AddPage();
+
+// create columns content
+$left_column = '<b>LEFT COLUMN</b> left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column';
+
+$right_column = '<b>RIGHT COLUMN</b> right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column';
+
+// writeHTMLCell($w, $h, $x, $y, $html='', $border=0, $ln=0, $fill=0, $reseth=true, $align='', $autopadding=true)
+
+// get current vertical position
+$y = $pdf->getY();
+
+// set color for background
+$pdf->SetFillColor(255, 255, 200);
+
+// set color for text
+$pdf->SetTextColor(0, 63, 127);
+
+// write the first column
+$pdf->writeHTMLCell(80, '', '', $y, $left_column, 1, 0, 1, true, 'J', true);
+
+// set color for background
+$pdf->SetFillColor(215, 235, 255);
+
+// set color for text
+$pdf->SetTextColor(127, 31, 0);
+
+// write the second column
+$pdf->writeHTMLCell(80, '', '', '', $right_column, 1, 1, 1, true, 'J', true);
+
+// reset pointer to the last page
+$pdf->lastPage();
+
+// ---------------------------------------------------------
+
+//Close and output PDF document
+$pdf->Output('example_007.pdf', 'I');
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/example_008.php b/public/library/TCPDF/examples/example_008.php
new file mode 100644
index 0000000..4349c38
--- /dev/null
+++ b/public/library/TCPDF/examples/example_008.php
@@ -0,0 +1,97 @@
+<?php
+//============================================================+
+// File name : example_008.php
+// Begin : 2008-03-04
+// Last Update : 2013-05-14
+//
+// Description : Example 008 for TCPDF class
+// Include external UTF-8 text file
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * Creates an example PDF TEST document using TCPDF
+ * @package com.tecnick.tcpdf
+ * @abstract TCPDF - Example: Include external UTF-8 text file
+ * @author Nicola Asuni
+ * @since 2008-03-04
+ */
+
+// Include the main TCPDF library (search for installation path).
+require_once('tcpdf_include.php');
+
+// create new PDF document
+$pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false);
+
+// set document information
+$pdf->SetCreator(PDF_CREATOR);
+$pdf->SetAuthor('Nicola Asuni');
+$pdf->SetTitle('TCPDF Example 008');
+$pdf->SetSubject('TCPDF Tutorial');
+$pdf->SetKeywords('TCPDF, PDF, example, test, guide');
+
+// set default header data
+$pdf->SetHeaderData(PDF_HEADER_LOGO, PDF_HEADER_LOGO_WIDTH, PDF_HEADER_TITLE.' 008', PDF_HEADER_STRING);
+
+// set header and footer fonts
+$pdf->setHeaderFont(Array(PDF_FONT_NAME_MAIN, '', PDF_FONT_SIZE_MAIN));
+$pdf->setFooterFont(Array(PDF_FONT_NAME_DATA, '', PDF_FONT_SIZE_DATA));
+
+// set default monospaced font
+$pdf->SetDefaultMonospacedFont(PDF_FONT_MONOSPACED);
+
+// set margins
+$pdf->SetMargins(PDF_MARGIN_LEFT, PDF_MARGIN_TOP, PDF_MARGIN_RIGHT);
+$pdf->SetHeaderMargin(PDF_MARGIN_HEADER);
+$pdf->SetFooterMargin(PDF_MARGIN_FOOTER);
+
+// set auto page breaks
+$pdf->SetAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM);
+
+// set image scale factor
+$pdf->setImageScale(PDF_IMAGE_SCALE_RATIO);
+
+// set some language-dependent strings (optional)
+if (@file_exists(dirname(__FILE__).'/lang/eng.php')) {
+ require_once(dirname(__FILE__).'/lang/eng.php');
+ $pdf->setLanguageArray($l);
+}
+
+// ---------------------------------------------------------
+
+// set default font subsetting mode
+$pdf->setFontSubsetting(true);
+
+// set font
+$pdf->SetFont('freeserif', '', 12);
+
+// add a page
+$pdf->AddPage();
+
+// get esternal file content
+$utf8text = file_get_contents('data/utf8test.txt', false);
+
+// set color for text
+$pdf->SetTextColor(0, 63, 127);
+
+//Write($h, $txt, $link='', $fill=0, $align='', $ln=false, $stretch=0, $firstline=false, $firstblock=false, $maxh=0)
+
+// write the text
+$pdf->Write(5, $utf8text, '', 0, '', false, 0, false, false, 0);
+
+
+// ---------------------------------------------------------
+
+//Close and output PDF document
+$pdf->Output('example_008.pdf', 'I');
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/example_009.php b/public/library/TCPDF/examples/example_009.php
new file mode 100644
index 0000000..235dd72
--- /dev/null
+++ b/public/library/TCPDF/examples/example_009.php
@@ -0,0 +1,146 @@
+<?php
+//============================================================+
+// File name : example_009.php
+// Begin : 2008-03-04
+// Last Update : 2013-05-14
+//
+// Description : Example 009 for TCPDF class
+// Test Image
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * Creates an example PDF TEST document using TCPDF
+ * @package com.tecnick.tcpdf
+ * @abstract TCPDF - Example: Test Image
+ * @author Nicola Asuni
+ * @since 2008-03-04
+ */
+
+// Include the main TCPDF library (search for installation path).
+require_once('tcpdf_include.php');
+
+// create new PDF document
+$pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false);
+
+// set document information
+$pdf->SetCreator(PDF_CREATOR);
+$pdf->SetAuthor('Nicola Asuni');
+$pdf->SetTitle('TCPDF Example 009');
+$pdf->SetSubject('TCPDF Tutorial');
+$pdf->SetKeywords('TCPDF, PDF, example, test, guide');
+
+// set default header data
+$pdf->SetHeaderData(PDF_HEADER_LOGO, PDF_HEADER_LOGO_WIDTH, PDF_HEADER_TITLE.' 009', PDF_HEADER_STRING);
+
+// set header and footer fonts
+$pdf->setHeaderFont(Array(PDF_FONT_NAME_MAIN, '', PDF_FONT_SIZE_MAIN));
+$pdf->setFooterFont(Array(PDF_FONT_NAME_DATA, '', PDF_FONT_SIZE_DATA));
+
+// set default monospaced font
+$pdf->SetDefaultMonospacedFont(PDF_FONT_MONOSPACED);
+
+// set margins
+$pdf->SetMargins(PDF_MARGIN_LEFT, PDF_MARGIN_TOP, PDF_MARGIN_RIGHT);
+$pdf->SetHeaderMargin(PDF_MARGIN_HEADER);
+$pdf->SetFooterMargin(PDF_MARGIN_FOOTER);
+
+// set auto page breaks
+$pdf->SetAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM);
+
+// set image scale factor
+$pdf->setImageScale(PDF_IMAGE_SCALE_RATIO);
+
+// set some language-dependent strings (optional)
+if (@file_exists(dirname(__FILE__).'/lang/eng.php')) {
+ require_once(dirname(__FILE__).'/lang/eng.php');
+ $pdf->setLanguageArray($l);
+}
+
+// -------------------------------------------------------------------
+
+// add a page
+$pdf->AddPage();
+
+// set JPEG quality
+$pdf->setJPEGQuality(75);
+
+// Image method signature:
+// Image($file, $x='', $y='', $w=0, $h=0, $type='', $link='', $align='', $resize=false, $dpi=300, $palign='', $ismask=false, $imgmask=false, $border=0, $fitbox=false, $hidden=false, $fitonpage=false)
+
+// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
+// Example of Image from data stream ('PHP rules')
+$imgdata = base64_decode('iVBORw0KGgoAAAANSUhEUgAAABwAAAASCAMAAAB/2U7WAAAABlBMVEUAAAD///+l2Z/dAAAASUlEQVR4XqWQUQoAIAxC2/0vXZDrEX4IJTRkb7lobNUStXsB0jIXIAMSsQnWlsV+wULF4Avk9fLq2r8a5HSE35Q3eO2XP1A1wQkZSgETvDtKdQAAAABJRU5ErkJggg==');
+
+// The '@' character is used to indicate that follows an image data stream and not an image file name
+$pdf->Image('@'.$imgdata);
+
+// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
+// Image example with resizing
+$pdf->Image('images/image_demo.jpg', 15, 140, 75, 113, 'JPG', 'http://www.tcpdf.org', '', true, 150, '', false, false, 1, false, false, false);
+
+// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
+// test fitbox with all alignment combinations
+
+$horizontal_alignments = array('L', 'C', 'R');
+$vertical_alignments = array('T', 'M', 'B');
+
+$x = 15;
+$y = 35;
+$w = 30;
+$h = 30;
+// test all combinations of alignments
+for ($i = 0; $i < 3; ++$i) {
+ $fitbox = $horizontal_alignments[$i].' ';
+ $x = 15;
+ for ($j = 0; $j < 3; ++$j) {
+ $fitbox[1] = $vertical_alignments[$j];
+ $pdf->Rect($x, $y, $w, $h, 'F', array(), array(128,255,128));
+ $pdf->Image('images/image_demo.jpg', $x, $y, $w, $h, 'JPG', '', '', false, 300, '', false, false, 0, $fitbox, false, false);
+ $x += 32; // new column
+ }
+ $y += 32; // new row
+}
+
+$x = 115;
+$y = 35;
+$w = 25;
+$h = 50;
+for ($i = 0; $i < 3; ++$i) {
+ $fitbox = $horizontal_alignments[$i].' ';
+ $x = 115;
+ for ($j = 0; $j < 3; ++$j) {
+ $fitbox[1] = $vertical_alignments[$j];
+ $pdf->Rect($x, $y, $w, $h, 'F', array(), array(128,255,255));
+ $pdf->Image('images/image_demo.jpg', $x, $y, $w, $h, 'JPG', '', '', false, 300, '', false, false, 0, $fitbox, false, false);
+ $x += 27; // new column
+ }
+ $y += 52; // new row
+}
+
+// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
+// Stretching, position and alignment example
+
+$pdf->SetXY(110, 200);
+$pdf->Image('images/image_demo.jpg', '', '', 40, 40, '', '', 'T', false, 300, '', false, false, 1, false, false, false);
+$pdf->Image('images/image_demo.jpg', '', '', 40, 40, '', '', '', false, 300, '', false, false, 1, false, false, false);
+
+// -------------------------------------------------------------------
+
+//Close and output PDF document
+$pdf->Output('example_009.pdf', 'I');
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/example_010.php b/public/library/TCPDF/examples/example_010.php
new file mode 100644
index 0000000..5b980b0
--- /dev/null
+++ b/public/library/TCPDF/examples/example_010.php
@@ -0,0 +1,150 @@
+<?php
+//============================================================+
+// File name : example_010.php
+// Begin : 2008-03-04
+// Last Update : 2013-05-14
+//
+// Description : Example 010 for TCPDF class
+// Text on multiple columns
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * Creates an example PDF TEST document using TCPDF
+ * @package com.tecnick.tcpdf
+ * @abstract TCPDF - Example: Text on multiple columns
+ * @author Nicola Asuni
+ * @since 2008-03-04
+ */
+
+// Include the main TCPDF library (search for installation path).
+require_once('tcpdf_include.php');
+
+
+/**
+ * Extend TCPDF to work with multiple columns
+ */
+class MC_TCPDF extends TCPDF {
+
+ /**
+ * Print chapter
+ * @param $num (int) chapter number
+ * @param $title (string) chapter title
+ * @param $file (string) name of the file containing the chapter body
+ * @param $mode (boolean) if true the chapter body is in HTML, otherwise in simple text.
+ * @public
+ */
+ public function PrintChapter($num, $title, $file, $mode=false) {
+ // add a new page
+ $this->AddPage();
+ // disable existing columns
+ $this->resetColumns();
+ // print chapter title
+ $this->ChapterTitle($num, $title);
+ // set columns
+ $this->setEqualColumns(3, 57);
+ // print chapter body
+ $this->ChapterBody($file, $mode);
+ }
+
+ /**
+ * Set chapter title
+ * @param $num (int) chapter number
+ * @param $title (string) chapter title
+ * @public
+ */
+ public function ChapterTitle($num, $title) {
+ $this->SetFont('helvetica', '', 14);
+ $this->SetFillColor(200, 220, 255);
+ $this->Cell(180, 6, 'Chapter '.$num.' : '.$title, 0, 1, '', 1);
+ $this->Ln(4);
+ }
+
+ /**
+ * Print chapter body
+ * @param $file (string) name of the file containing the chapter body
+ * @param $mode (boolean) if true the chapter body is in HTML, otherwise in simple text.
+ * @public
+ */
+ public function ChapterBody($file, $mode=false) {
+ $this->selectColumn();
+ // get esternal file content
+ $content = file_get_contents($file, false);
+ // set font
+ $this->SetFont('times', '', 9);
+ $this->SetTextColor(50, 50, 50);
+ // print content
+ if ($mode) {
+ // ------ HTML MODE ------
+ $this->writeHTML($content, true, false, true, false, 'J');
+ } else {
+ // ------ TEXT MODE ------
+ $this->Write(0, $content, '', 0, 'J', true, 0, false, true, 0);
+ }
+ $this->Ln();
+ }
+} // end of extended class
+
+// ---------------------------------------------------------
+// EXAMPLE
+// ---------------------------------------------------------
+// create new PDF document
+$pdf = new MC_TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false);
+
+// set document information
+$pdf->SetCreator(PDF_CREATOR);
+$pdf->SetAuthor('Nicola Asuni');
+$pdf->SetTitle('TCPDF Example 010');
+$pdf->SetSubject('TCPDF Tutorial');
+$pdf->SetKeywords('TCPDF, PDF, example, test, guide');
+
+// set default header data
+$pdf->SetHeaderData(PDF_HEADER_LOGO, PDF_HEADER_LOGO_WIDTH, PDF_HEADER_TITLE.' 010', PDF_HEADER_STRING);
+
+// set header and footer fonts
+$pdf->setHeaderFont(Array(PDF_FONT_NAME_MAIN, '', PDF_FONT_SIZE_MAIN));
+$pdf->setFooterFont(Array(PDF_FONT_NAME_DATA, '', PDF_FONT_SIZE_DATA));
+
+// set default monospaced font
+$pdf->SetDefaultMonospacedFont(PDF_FONT_MONOSPACED);
+
+// set margins
+$pdf->SetMargins(PDF_MARGIN_LEFT, PDF_MARGIN_TOP, PDF_MARGIN_RIGHT);
+$pdf->SetHeaderMargin(PDF_MARGIN_HEADER);
+$pdf->SetFooterMargin(PDF_MARGIN_FOOTER);
+
+// set auto page breaks
+$pdf->SetAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM);
+
+// set image scale factor
+$pdf->setImageScale(PDF_IMAGE_SCALE_RATIO);
+
+// set some language-dependent strings (optional)
+if (@file_exists(dirname(__FILE__).'/lang/eng.php')) {
+ require_once(dirname(__FILE__).'/lang/eng.php');
+ $pdf->setLanguageArray($l);
+}
+
+// ---------------------------------------------------------
+
+// print TEXT
+$pdf->PrintChapter(1, 'LOREM IPSUM [TEXT]', 'data/chapter_demo_1.txt', false);
+
+// print HTML
+$pdf->PrintChapter(2, 'LOREM IPSUM [HTML]', 'data/chapter_demo_2.txt', true);
+
+// ---------------------------------------------------------
+
+//Close and output PDF document
+$pdf->Output('example_010.pdf', 'I');
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/example_011.php b/public/library/TCPDF/examples/example_011.php
new file mode 100644
index 0000000..623ba3b
--- /dev/null
+++ b/public/library/TCPDF/examples/example_011.php
@@ -0,0 +1,138 @@
+<?php
+//============================================================+
+// File name : example_011.php
+// Begin : 2008-03-04
+// Last Update : 2013-05-14
+//
+// Description : Example 011 for TCPDF class
+// Colored Table (very simple table)
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * Creates an example PDF TEST document using TCPDF
+ * @package com.tecnick.tcpdf
+ * @abstract TCPDF - Example: Colored Table
+ * @author Nicola Asuni
+ * @since 2008-03-04
+ */
+
+// Include the main TCPDF library (search for installation path).
+require_once('tcpdf_include.php');
+
+// extend TCPF with custom functions
+class MYPDF extends TCPDF {
+
+ // Load table data from file
+ public function LoadData($file) {
+ // Read file lines
+ $lines = file($file);
+ $data = array();
+ foreach($lines as $line) {
+ $data[] = explode(';', chop($line));
+ }
+ return $data;
+ }
+
+ // Colored table
+ public function ColoredTable($header,$data) {
+ // Colors, line width and bold font
+ $this->SetFillColor(255, 0, 0);
+ $this->SetTextColor(255);
+ $this->SetDrawColor(128, 0, 0);
+ $this->SetLineWidth(0.3);
+ $this->SetFont('', 'B');
+ // Header
+ $w = array(40, 35, 40, 45);
+ $num_headers = count($header);
+ for($i = 0; $i < $num_headers; ++$i) {
+ $this->Cell($w[$i], 7, $header[$i], 1, 0, 'C', 1);
+ }
+ $this->Ln();
+ // Color and font restoration
+ $this->SetFillColor(224, 235, 255);
+ $this->SetTextColor(0);
+ $this->SetFont('');
+ // Data
+ $fill = 0;
+ foreach($data as $row) {
+ $this->Cell($w[0], 6, $row[0], 'LR', 0, 'L', $fill);
+ $this->Cell($w[1], 6, $row[1], 'LR', 0, 'L', $fill);
+ $this->Cell($w[2], 6, number_format($row[2]), 'LR', 0, 'R', $fill);
+ $this->Cell($w[3], 6, number_format($row[3]), 'LR', 0, 'R', $fill);
+ $this->Ln();
+ $fill=!$fill;
+ }
+ $this->Cell(array_sum($w), 0, '', 'T');
+ }
+}
+
+// create new PDF document
+$pdf = new MYPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false);
+
+// set document information
+$pdf->SetCreator(PDF_CREATOR);
+$pdf->SetAuthor('Nicola Asuni');
+$pdf->SetTitle('TCPDF Example 011');
+$pdf->SetSubject('TCPDF Tutorial');
+$pdf->SetKeywords('TCPDF, PDF, example, test, guide');
+
+// set default header data
+$pdf->SetHeaderData(PDF_HEADER_LOGO, PDF_HEADER_LOGO_WIDTH, PDF_HEADER_TITLE.' 011', PDF_HEADER_STRING);
+
+// set header and footer fonts
+$pdf->setHeaderFont(Array(PDF_FONT_NAME_MAIN, '', PDF_FONT_SIZE_MAIN));
+$pdf->setFooterFont(Array(PDF_FONT_NAME_DATA, '', PDF_FONT_SIZE_DATA));
+
+// set default monospaced font
+$pdf->SetDefaultMonospacedFont(PDF_FONT_MONOSPACED);
+
+// set margins
+$pdf->SetMargins(PDF_MARGIN_LEFT, PDF_MARGIN_TOP, PDF_MARGIN_RIGHT);
+$pdf->SetHeaderMargin(PDF_MARGIN_HEADER);
+$pdf->SetFooterMargin(PDF_MARGIN_FOOTER);
+
+// set auto page breaks
+$pdf->SetAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM);
+
+// set image scale factor
+$pdf->setImageScale(PDF_IMAGE_SCALE_RATIO);
+
+// set some language-dependent strings (optional)
+if (@file_exists(dirname(__FILE__).'/lang/eng.php')) {
+ require_once(dirname(__FILE__).'/lang/eng.php');
+ $pdf->setLanguageArray($l);
+}
+
+// ---------------------------------------------------------
+
+// set font
+$pdf->SetFont('helvetica', '', 12);
+
+// add a page
+$pdf->AddPage();
+
+// column titles
+$header = array('Country', 'Capital', 'Area (sq km)', 'Pop. (thousands)');
+
+// data loading
+$data = $pdf->LoadData('data/table_data_demo.txt');
+
+// print colored table
+$pdf->ColoredTable($header, $data);
+
+// ---------------------------------------------------------
+
+// close and output PDF document
+$pdf->Output('example_011.pdf', 'I');
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/example_012.pdf b/public/library/TCPDF/examples/example_012.pdf
new file mode 100644
index 0000000..eec8ee0
--- /dev/null
+++ b/public/library/TCPDF/examples/example_012.pdf
Binary files differ
diff --git a/public/library/TCPDF/examples/example_012.php b/public/library/TCPDF/examples/example_012.php
new file mode 100644
index 0000000..aaa196b
--- /dev/null
+++ b/public/library/TCPDF/examples/example_012.php
@@ -0,0 +1,205 @@
+<?php
+//============================================================+
+// File name : example_012.php
+// Begin : 2008-03-04
+// Last Update : 2013-05-14
+//
+// Description : Example 012 for TCPDF class
+// Graphic Functions
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * Creates an example PDF TEST document using TCPDF
+ * @package com.tecnick.tcpdf
+ * @abstract TCPDF - Example: Graphic Functions
+ * @author Nicola Asuni
+ * @since 2008-03-04
+ */
+
+// Include the main TCPDF library (search for installation path).
+require_once('tcpdf_include.php');
+
+// create new PDF document
+$pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false);
+
+// set document information
+$pdf->SetCreator(PDF_CREATOR);
+$pdf->SetAuthor('Nicola Asuni');
+$pdf->SetTitle('TCPDF Example 012');
+$pdf->SetSubject('TCPDF Tutorial');
+$pdf->SetKeywords('TCPDF, PDF, example, test, guide');
+
+// disable header and footer
+$pdf->setPrintHeader(false);
+$pdf->setPrintFooter(false);
+
+// set default monospaced font
+$pdf->SetDefaultMonospacedFont(PDF_FONT_MONOSPACED);
+
+// set margins
+$pdf->SetMargins(PDF_MARGIN_LEFT, PDF_MARGIN_TOP, PDF_MARGIN_RIGHT);
+
+// set auto page breaks
+$pdf->SetAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM);
+
+// set image scale factor
+$pdf->setImageScale(PDF_IMAGE_SCALE_RATIO);
+
+// set some language-dependent strings (optional)
+if (@file_exists(dirname(__FILE__).'/lang/eng.php')) {
+ require_once(dirname(__FILE__).'/lang/eng.php');
+ $pdf->setLanguageArray($l);
+}
+
+// ---------------------------------------------------------
+
+// set font
+$pdf->SetFont('helvetica', '', 10);
+
+// add a page
+$pdf->AddPage();
+
+$style = array('width' => 0.5, 'cap' => 'butt', 'join' => 'miter', 'dash' => '10,20,5,10', 'phase' => 10, 'color' => array(255, 0, 0));
+$style2 = array('width' => 0.5, 'cap' => 'butt', 'join' => 'miter', 'dash' => 0, 'color' => array(255, 0, 0));
+$style3 = array('width' => 1, 'cap' => 'round', 'join' => 'round', 'dash' => '2,10', 'color' => array(255, 0, 0));
+$style4 = array('L' => 0,
+ 'T' => array('width' => 0.25, 'cap' => 'butt', 'join' => 'miter', 'dash' => '20,10', 'phase' => 10, 'color' => array(100, 100, 255)),
+ 'R' => array('width' => 0.50, 'cap' => 'round', 'join' => 'miter', 'dash' => 0, 'color' => array(50, 50, 127)),
+ 'B' => array('width' => 0.75, 'cap' => 'square', 'join' => 'miter', 'dash' => '30,10,5,10'));
+$style5 = array('width' => 0.25, 'cap' => 'butt', 'join' => 'miter', 'dash' => 0, 'color' => array(0, 64, 128));
+$style6 = array('width' => 0.5, 'cap' => 'butt', 'join' => 'miter', 'dash' => '10,10', 'color' => array(0, 128, 0));
+$style7 = array('width' => 0.5, 'cap' => 'butt', 'join' => 'miter', 'dash' => 0, 'color' => array(255, 128, 0));
+
+// Line
+$pdf->Text(5, 4, 'Line examples');
+$pdf->Line(5, 10, 80, 30, $style);
+$pdf->Line(5, 10, 5, 30, $style2);
+$pdf->Line(5, 10, 80, 10, $style3);
+
+// Rect
+$pdf->Text(100, 4, 'Rectangle examples');
+$pdf->Rect(100, 10, 40, 20, 'DF', $style4, array(220, 220, 200));
+$pdf->Rect(145, 10, 40, 20, 'D', array('all' => $style3));
+
+// Curve
+$pdf->Text(5, 34, 'Curve examples');
+$pdf->Curve(5, 40, 30, 55, 70, 45, 60, 75, null, $style6);
+$pdf->Curve(80, 40, 70, 75, 150, 45, 100, 75, 'F', $style6);
+$pdf->Curve(140, 40, 150, 55, 180, 45, 200, 75, 'DF', $style6, array(200, 220, 200));
+
+// Circle and ellipse
+$pdf->Text(5, 79, 'Circle and ellipse examples');
+$pdf->SetLineStyle($style5);
+$pdf->Circle(25,105,20);
+$pdf->Circle(25,105,10, 90, 180, null, $style6);
+$pdf->Circle(25,105,10, 270, 360, 'F');
+$pdf->Circle(25,105,10, 270, 360, 'C', $style6);
+
+$pdf->SetLineStyle($style5);
+$pdf->Ellipse(100,103,40,20);
+$pdf->Ellipse(100,105,20,10, 0, 90, 180, null, $style6);
+$pdf->Ellipse(100,105,20,10, 0, 270, 360, 'DF', $style6);
+
+$pdf->SetLineStyle($style5);
+$pdf->Ellipse(175,103,30,15,45);
+$pdf->Ellipse(175,105,15,7.50, 45, 90, 180, null, $style6);
+$pdf->Ellipse(175,105,15,7.50, 45, 270, 360, 'F', $style6, array(220, 200, 200));
+
+// Polygon
+$pdf->Text(5, 129, 'Polygon examples');
+$pdf->SetLineStyle(array('width' => 0.5, 'cap' => 'butt', 'join' => 'miter', 'dash' => 0, 'color' => array(0, 0, 0)));
+$pdf->Polygon(array(5,135,45,135,15,165));
+$pdf->Polygon(array(60,135,80,135,80,155,70,165,50,155), 'DF', array($style6, $style7, $style7, 0, $style6), array(220, 200, 200));
+$pdf->Polygon(array(120,135,140,135,150,155,110,155), 'D', array($style6, 0, $style7, $style6));
+$pdf->Polygon(array(160,135,190,155,170,155,200,160,160,165), 'DF', array('all' => $style6), array(220, 220, 220));
+
+// Polygonal Line
+$pdf->SetLineStyle(array('width' => 0.5, 'cap' => 'butt', 'join' => 'miter', 'dash' => 0, 'color' => array(0, 0, 164)));
+$pdf->PolyLine(array(80,165,90,160,100,165,110,160,120,165,130,160,140,165), 'D', array(), array());
+
+// Regular polygon
+$pdf->Text(5, 169, 'Regular polygon examples');
+$pdf->SetLineStyle($style5);
+$pdf->RegularPolygon(20, 190, 15, 6, 0, 1, 'F');
+$pdf->RegularPolygon(55, 190, 15, 6);
+$pdf->RegularPolygon(55, 190, 10, 6, 45, 0, 'DF', array($style6, 0, $style7, 0, $style7, $style7));
+$pdf->RegularPolygon(90, 190, 15, 3, 0, 1, 'DF', array('all' => $style5), array(200, 220, 200), 'F', array(255, 200, 200));
+$pdf->RegularPolygon(125, 190, 15, 4, 30, 1, null, array('all' => $style5), null, null, $style6);
+$pdf->RegularPolygon(160, 190, 15, 10);
+
+// Star polygon
+$pdf->Text(5, 209, 'Star polygon examples');
+$pdf->SetLineStyle($style5);
+$pdf->StarPolygon(20, 230, 15, 20, 3, 0, 1, 'F');
+$pdf->StarPolygon(55, 230, 15, 12, 5);
+$pdf->StarPolygon(55, 230, 7, 12, 5, 45, 0, 'DF', array('all' => $style7), array(220, 220, 200), 'F', array(255, 200, 200));
+$pdf->StarPolygon(90, 230, 15, 20, 6, 0, 1, 'DF', array('all' => $style5), array(220, 220, 200), 'F', array(255, 200, 200));
+$pdf->StarPolygon(125, 230, 15, 5, 2, 30, 1, null, array('all' => $style5), null, null, $style6);
+$pdf->StarPolygon(160, 230, 15, 10, 3);
+$pdf->StarPolygon(160, 230, 7, 50, 26);
+
+// Rounded rectangle
+$pdf->Text(5, 249, 'Rounded rectangle examples');
+$pdf->SetLineStyle(array('width' => 0.5, 'cap' => 'butt', 'join' => 'miter', 'dash' => 0, 'color' => array(0, 0, 0)));
+$pdf->RoundedRect(5, 255, 40, 30, 3.50, '1111', 'DF');
+$pdf->RoundedRect(50, 255, 40, 30, 6.50, '1000');
+$pdf->RoundedRect(95, 255, 40, 30, 10.0, '1111', null, $style6);
+$pdf->RoundedRect(140, 255, 40, 30, 8.0, '0101', 'DF', $style6, array(200, 200, 200));
+
+// Arrows
+$pdf->Text(185, 249, 'Arrows');
+$pdf->SetLineStyle($style5);
+$pdf->SetFillColor(255, 0, 0);
+$pdf->Arrow(200, 280, 185, 266, 0, 5, 15);
+$pdf->Arrow(200, 280, 190, 263, 1, 5, 15);
+$pdf->Arrow(200, 280, 195, 261, 2, 5, 15);
+$pdf->Arrow(200, 280, 200, 260, 3, 5, 15);
+
+// - . - . - . - . - . - . - . - . - . - . - . - . - . - . -
+
+// ellipse
+
+// add a page
+$pdf->AddPage();
+
+$pdf->Cell(0, 0, 'Arc of Ellipse');
+
+// center of ellipse
+$xc=100;
+$yc=100;
+
+// X Y axis
+$pdf->SetDrawColor(200, 200, 200);
+$pdf->Line($xc-50, $yc, $xc+50, $yc);
+$pdf->Line($xc, $yc-50, $xc, $yc+50);
+
+// ellipse axis
+$pdf->SetDrawColor(200, 220, 255);
+$pdf->Line($xc-50, $yc-50, $xc+50, $yc+50);
+$pdf->Line($xc-50, $yc+50, $xc+50, $yc-50);
+
+// ellipse
+$pdf->SetDrawColor(200, 255, 200);
+$pdf->Ellipse($xc, $yc, 30, 15, 45, 0, 360, 'D', array(), array(), 2);
+
+// ellipse arc
+$pdf->SetDrawColor(255, 0, 0);
+$pdf->Ellipse($xc, $yc, 30, 15, 45, 45, 90, 'D', array(), array(), 2);
+
+
+// ---------------------------------------------------------
+
+//Close and output PDF document
+$pdf->Output('example_012.pdf', 'I');
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/example_013.php b/public/library/TCPDF/examples/example_013.php
new file mode 100644
index 0000000..a472760
--- /dev/null
+++ b/public/library/TCPDF/examples/example_013.php
@@ -0,0 +1,229 @@
+<?php
+//============================================================+
+// File name : example_013.php
+// Begin : 2008-03-04
+// Last Update : 2013-05-14
+//
+// Description : Example 013 for TCPDF class
+// Graphic Transformations
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * Creates an example PDF TEST document using TCPDF
+ * @package com.tecnick.tcpdf
+ * @abstract TCPDF - Example: Graphic Transformations
+ * @author Nicola Asuni
+ * @since 2008-03-04
+ */
+
+// Include the main TCPDF library (search for installation path).
+require_once('tcpdf_include.php');
+
+// create new PDF document
+$pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false);
+
+// set document information
+$pdf->SetCreator(PDF_CREATOR);
+$pdf->SetAuthor('Nicola Asuni');
+$pdf->SetTitle('TCPDF Example 013');
+$pdf->SetSubject('TCPDF Tutorial');
+$pdf->SetKeywords('TCPDF, PDF, example, test, guide');
+
+// set default header data
+$pdf->SetHeaderData(PDF_HEADER_LOGO, PDF_HEADER_LOGO_WIDTH, PDF_HEADER_TITLE.' 013', PDF_HEADER_STRING);
+
+// set header and footer fonts
+$pdf->setHeaderFont(Array(PDF_FONT_NAME_MAIN, '', PDF_FONT_SIZE_MAIN));
+$pdf->setFooterFont(Array(PDF_FONT_NAME_DATA, '', PDF_FONT_SIZE_DATA));
+
+// set default monospaced font
+$pdf->SetDefaultMonospacedFont(PDF_FONT_MONOSPACED);
+
+// set margins
+$pdf->SetMargins(PDF_MARGIN_LEFT, PDF_MARGIN_TOP, PDF_MARGIN_RIGHT);
+$pdf->SetHeaderMargin(PDF_MARGIN_HEADER);
+$pdf->SetFooterMargin(PDF_MARGIN_FOOTER);
+
+// set auto page breaks
+$pdf->SetAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM);
+
+// set image scale factor
+$pdf->setImageScale(PDF_IMAGE_SCALE_RATIO);
+
+// set some language-dependent strings (optional)
+if (@file_exists(dirname(__FILE__).'/lang/eng.php')) {
+ require_once(dirname(__FILE__).'/lang/eng.php');
+ $pdf->setLanguageArray($l);
+}
+
+// ---------------------------------------------------------
+
+// set font
+$pdf->SetFont('helvetica', 'B', 20);
+
+// add a page
+$pdf->AddPage();
+
+$pdf->Write(0, 'Graphic Transformations', '', 0, 'C', 1, 0, false, false, 0);
+
+// set font
+$pdf->SetFont('helvetica', '', 10);
+
+// --- Scaling ---------------------------------------------
+$pdf->SetDrawColor(200);
+$pdf->SetTextColor(200);
+$pdf->Rect(50, 70, 40, 10, 'D');
+$pdf->Text(50, 66, 'Scale');
+$pdf->SetDrawColor(0);
+$pdf->SetTextColor(0);
+// Start Transformation
+$pdf->StartTransform();
+// Scale by 150% centered by (50,80) which is the lower left corner of the rectangle
+$pdf->ScaleXY(150, 50, 80);
+$pdf->Rect(50, 70, 40, 10, 'D');
+$pdf->Text(50, 66, 'Scale');
+// Stop Transformation
+$pdf->StopTransform();
+
+// --- Translation -----------------------------------------
+$pdf->SetDrawColor(200);
+$pdf->SetTextColor(200);
+$pdf->Rect(125, 70, 40, 10, 'D');
+$pdf->Text(125, 66, 'Translate');
+$pdf->SetDrawColor(0);
+$pdf->SetTextColor(0);
+// Start Transformation
+$pdf->StartTransform();
+// Translate 7 to the right, 5 to the bottom
+$pdf->Translate(7, 5);
+$pdf->Rect(125, 70, 40, 10, 'D');
+$pdf->Text(125, 66, 'Translate');
+// Stop Transformation
+$pdf->StopTransform();
+
+// --- Rotation --------------------------------------------
+$pdf->SetDrawColor(200);
+$pdf->SetTextColor(200);
+$pdf->Rect(70, 100, 40, 10, 'D');
+$pdf->Text(70, 96, 'Rotate');
+$pdf->SetDrawColor(0);
+$pdf->SetTextColor(0);
+// Start Transformation
+$pdf->StartTransform();
+// Rotate 20 degrees counter-clockwise centered by (70,110) which is the lower left corner of the rectangle
+$pdf->Rotate(20, 70, 110);
+$pdf->Rect(70, 100, 40, 10, 'D');
+$pdf->Text(70, 96, 'Rotate');
+// Stop Transformation
+$pdf->StopTransform();
+
+// --- Skewing ---------------------------------------------
+$pdf->SetDrawColor(200);
+$pdf->SetTextColor(200);
+$pdf->Rect(125, 100, 40, 10, 'D');
+$pdf->Text(125, 96, 'Skew');
+$pdf->SetDrawColor(0);
+$pdf->SetTextColor(0);
+// Start Transformation
+$pdf->StartTransform();
+// skew 30 degrees along the x-axis centered by (125,110) which is the lower left corner of the rectangle
+$pdf->SkewX(30, 125, 110);
+$pdf->Rect(125, 100, 40, 10, 'D');
+$pdf->Text(125, 96, 'Skew');
+// Stop Transformation
+$pdf->StopTransform();
+
+// --- Mirroring horizontally ------------------------------
+$pdf->SetDrawColor(200);
+$pdf->SetTextColor(200);
+$pdf->Rect(70, 130, 40, 10, 'D');
+$pdf->Text(70, 126, 'MirrorH');
+$pdf->SetDrawColor(0);
+$pdf->SetTextColor(0);
+// Start Transformation
+$pdf->StartTransform();
+// mirror horizontally with axis of reflection at x-position 70 (left side of the rectangle)
+$pdf->MirrorH(70);
+$pdf->Rect(70, 130, 40, 10, 'D');
+$pdf->Text(70, 126, 'MirrorH');
+// Stop Transformation
+$pdf->StopTransform();
+
+// --- Mirroring vertically --------------------------------
+$pdf->SetDrawColor(200);
+$pdf->SetTextColor(200);
+$pdf->Rect(125, 130, 40, 10, 'D');
+$pdf->Text(125, 126, 'MirrorV');
+$pdf->SetDrawColor(0);
+$pdf->SetTextColor(0);
+// Start Transformation
+$pdf->StartTransform();
+// mirror vertically with axis of reflection at y-position 140 (bottom side of the rectangle)
+$pdf->MirrorV(140);
+$pdf->Rect(125, 130, 40, 10, 'D');
+$pdf->Text(125, 126, 'MirrorV');
+// Stop Transformation
+$pdf->StopTransform();
+
+// --- Point reflection ------------------------------------
+$pdf->SetDrawColor(200);
+$pdf->SetTextColor(200);
+$pdf->Rect(70, 160, 40, 10, 'D');
+$pdf->Text(70, 156, 'MirrorP');
+$pdf->SetDrawColor(0);
+$pdf->SetTextColor(0);
+// Start Transformation
+$pdf->StartTransform();
+// point reflection at the lower left point of rectangle
+$pdf->MirrorP(70,170);
+$pdf->Rect(70, 160, 40, 10, 'D');
+$pdf->Text(70, 156, 'MirrorP');
+// Stop Transformation
+$pdf->StopTransform();
+
+// --- Mirroring against a straigth line described by a point (120, 120) and an angle -20°
+$angle=-20;
+$px=120;
+$py=170;
+
+// just for visualisation: the straight line to mirror against
+
+$pdf->SetDrawColor(200);
+$pdf->Line($px-1,$py-1,$px+1,$py+1);
+$pdf->Line($px-1,$py+1,$px+1,$py-1);
+$pdf->StartTransform();
+$pdf->Rotate($angle, $px, $py);
+$pdf->Line($px-5, $py, $px+60, $py);
+$pdf->StopTransform();
+
+$pdf->SetDrawColor(200);
+$pdf->SetTextColor(200);
+$pdf->Rect(125, 160, 40, 10, 'D');
+$pdf->Text(125, 156, 'MirrorL');
+$pdf->SetDrawColor(0);
+$pdf->SetTextColor(0);
+//Start Transformation
+$pdf->StartTransform();
+//mirror against the straight line
+$pdf->MirrorL($angle, $px, $py);
+$pdf->Rect(125, 160, 40, 10, 'D');
+$pdf->Text(125, 156, 'MirrorL');
+//Stop Transformation
+$pdf->StopTransform();
+
+// ---------------------------------------------------------
+
+//Close and output PDF document
+$pdf->Output('example_013.pdf', 'I');
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/example_014.php b/public/library/TCPDF/examples/example_014.php
new file mode 100644
index 0000000..27e4efc
--- /dev/null
+++ b/public/library/TCPDF/examples/example_014.php
@@ -0,0 +1,194 @@
+<?php
+//============================================================+
+// File name : example_014.php
+// Begin : 2008-03-04
+// Last Update : 2013-05-14
+//
+// Description : Example 014 for TCPDF class
+// Javascript Form and user rights (only works on Adobe Acrobat)
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * Creates an example PDF TEST document using TCPDF
+ * @package com.tecnick.tcpdf
+ * @abstract TCPDF - Example: Javascript Form and user rights (only works on Adobe Acrobat)
+ * @author Nicola Asuni
+ * @since 2008-03-04
+ */
+
+
+// Include the main TCPDF library (search for installation path).
+require_once('tcpdf_include.php');
+
+// create new PDF document
+$pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false);
+
+// set document information
+$pdf->SetCreator(PDF_CREATOR);
+$pdf->SetAuthor('Nicola Asuni');
+$pdf->SetTitle('TCPDF Example 014');
+$pdf->SetSubject('TCPDF Tutorial');
+$pdf->SetKeywords('TCPDF, PDF, example, test, guide');
+
+// set default header data
+$pdf->SetHeaderData(PDF_HEADER_LOGO, PDF_HEADER_LOGO_WIDTH, PDF_HEADER_TITLE.' 014', PDF_HEADER_STRING);
+
+// set header and footer fonts
+$pdf->setHeaderFont(Array(PDF_FONT_NAME_MAIN, '', PDF_FONT_SIZE_MAIN));
+$pdf->setFooterFont(Array(PDF_FONT_NAME_DATA, '', PDF_FONT_SIZE_DATA));
+
+// set default monospaced font
+$pdf->SetDefaultMonospacedFont(PDF_FONT_MONOSPACED);
+
+// set margins
+$pdf->SetMargins(PDF_MARGIN_LEFT, PDF_MARGIN_TOP, PDF_MARGIN_RIGHT);
+$pdf->SetHeaderMargin(PDF_MARGIN_HEADER);
+$pdf->SetFooterMargin(PDF_MARGIN_FOOTER);
+
+// set auto page breaks
+$pdf->SetAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM);
+
+// set image scale factor
+$pdf->setImageScale(PDF_IMAGE_SCALE_RATIO);
+
+// set some language-dependent strings (optional)
+if (@file_exists(dirname(__FILE__).'/lang/eng.php')) {
+ require_once(dirname(__FILE__).'/lang/eng.php');
+ $pdf->setLanguageArray($l);
+}
+
+// ---------------------------------------------------------
+
+// IMPORTANT: disable font subsetting to allow users editing the document
+$pdf->setFontSubsetting(false);
+
+// set font
+$pdf->SetFont('helvetica', '', 10, '', false);
+
+// add a page
+$pdf->AddPage();
+
+/*
+It is possible to create text fields, combo boxes, check boxes and buttons.
+Fields are created at the current position and are given a name.
+This name allows to manipulate them via JavaScript in order to perform some validation for instance.
+*/
+
+// set default form properties
+$pdf->setFormDefaultProp(array('lineWidth'=>1, 'borderStyle'=>'solid', 'fillColor'=>array(255, 255, 200), 'strokeColor'=>array(255, 128, 128)));
+
+$pdf->SetFont('helvetica', 'BI', 18);
+$pdf->Cell(0, 5, 'Example of Form', 0, 1, 'C');
+$pdf->Ln(10);
+
+$pdf->SetFont('helvetica', '', 12);
+
+// First name
+$pdf->Cell(35, 5, 'First name:');
+$pdf->TextField('firstname', 50, 5);
+$pdf->Ln(6);
+
+// Last name
+$pdf->Cell(35, 5, 'Last name:');
+$pdf->TextField('lastname', 50, 5);
+$pdf->Ln(6);
+
+// Gender
+$pdf->Cell(35, 5, 'Gender:');
+$pdf->ComboBox('gender', 30, 5, array(array('', '-'), array('M', 'Male'), array('F', 'Female')));
+$pdf->Ln(6);
+
+// Drink
+$pdf->Cell(35, 5, 'Drink:');
+//$pdf->RadioButton('drink', 5, array('readonly' => 'true'), array(), 'Water');
+$pdf->RadioButton('drink', 5, array(), array(), 'Water');
+$pdf->Cell(35, 5, 'Water');
+$pdf->Ln(6);
+$pdf->Cell(35, 5, '');
+$pdf->RadioButton('drink', 5, array(), array(), 'Beer', true);
+$pdf->Cell(35, 5, 'Beer');
+$pdf->Ln(6);
+$pdf->Cell(35, 5, '');
+$pdf->RadioButton('drink', 5, array(), array(), 'Wine');
+$pdf->Cell(35, 5, 'Wine');
+$pdf->Ln(6);
+$pdf->Cell(35, 5, '');
+$pdf->RadioButton('drink', 5, array(), array(), 'Milk');
+$pdf->Cell(35, 5, 'Milk');
+$pdf->Ln(10);
+
+// Newsletter
+$pdf->Cell(35, 5, 'Newsletter:');
+$pdf->CheckBox('newsletter', 5, true, array(), array(), 'OK');
+
+$pdf->Ln(10);
+// Address
+$pdf->Cell(35, 5, 'Address:');
+$pdf->TextField('address', 60, 18, array('multiline'=>true, 'lineWidth'=>0, 'borderStyle'=>'none'), array('v'=>'Lorem ipsum dolor sit amet, consectetur adipiscing elit.', 'dv'=>'Lorem ipsum dolor sit amet, consectetur adipiscing elit.'));
+$pdf->Ln(19);
+
+// Listbox
+$pdf->Cell(35, 5, 'List:');
+$pdf->ListBox('listbox', 60, 15, array('', 'item1', 'item2', 'item3', 'item4', 'item5', 'item6', 'item7'), array('multipleSelection'=>'true'));
+$pdf->Ln(20);
+
+// E-mail
+$pdf->Cell(35, 5, 'E-mail:');
+$pdf->TextField('email', 50, 5);
+$pdf->Ln(6);
+
+// Date of the day
+$pdf->Cell(35, 5, 'Date:');
+$pdf->TextField('date', 30, 5, array(), array('v'=>date('Y-m-d'), 'dv'=>date('Y-m-d')));
+$pdf->Ln(10);
+
+$pdf->SetX(50);
+
+// Button to validate and print
+$pdf->Button('print', 30, 10, 'Print', 'Print()', array('lineWidth'=>2, 'borderStyle'=>'beveled', 'fillColor'=>array(128, 196, 255), 'strokeColor'=>array(64, 64, 64)));
+
+// Reset Button
+$pdf->Button('reset', 30, 10, 'Reset', array('S'=>'ResetForm'), array('lineWidth'=>2, 'borderStyle'=>'beveled', 'fillColor'=>array(128, 196, 255), 'strokeColor'=>array(64, 64, 64)));
+
+// Submit Button
+$pdf->Button('submit', 30, 10, 'Submit', array('S'=>'SubmitForm', 'F'=>'http://localhost/printvars.php', 'Flags'=>array('ExportFormat')), array('lineWidth'=>2, 'borderStyle'=>'beveled', 'fillColor'=>array(128, 196, 255), 'strokeColor'=>array(64, 64, 64)));
+
+// Form validation functions
+$js = <<<EOD
+function CheckField(name,message) {
+ var f = getField(name);
+ if(f.value == '') {
+ app.alert(message);
+ f.setFocus();
+ return false;
+ }
+ return true;
+}
+function Print() {
+ if(!CheckField('firstname','First name is mandatory')) {return;}
+ if(!CheckField('lastname','Last name is mandatory')) {return;}
+ if(!CheckField('gender','Gender is mandatory')) {return;}
+ if(!CheckField('address','Address is mandatory')) {return;}
+ print();
+}
+EOD;
+
+// Add Javascript code
+$pdf->IncludeJS($js);
+
+// ---------------------------------------------------------
+
+//Close and output PDF document
+$pdf->Output('example_014.pdf', 'D');
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/example_015.php b/public/library/TCPDF/examples/example_015.php
new file mode 100644
index 0000000..4cc03ca
--- /dev/null
+++ b/public/library/TCPDF/examples/example_015.php
@@ -0,0 +1,161 @@
+<?php
+//============================================================+
+// File name : example_015.php
+// Begin : 2008-03-04
+// Last Update : 2013-05-14
+//
+// Description : Example 015 for TCPDF class
+// Bookmarks (Table of Content)
+// and Named Destinations.
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * Creates an example PDF TEST document using TCPDF
+ * @package com.tecnick.tcpdf
+ * @abstract TCPDF - Example: Bookmarks (Table of Content)
+ * @author Nicola Asuni
+ * @since 2008-03-04
+ */
+
+// Include the main TCPDF library (search for installation path).
+require_once('tcpdf_include.php');
+
+// create new PDF document
+$pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false);
+
+// set document information
+$pdf->SetCreator(PDF_CREATOR);
+$pdf->SetAuthor('Nicola Asuni');
+$pdf->SetTitle('TCPDF Example 015');
+$pdf->SetSubject('TCPDF Tutorial');
+$pdf->SetKeywords('TCPDF, PDF, example, test, guide');
+
+// set default header data
+$pdf->SetHeaderData(PDF_HEADER_LOGO, PDF_HEADER_LOGO_WIDTH, PDF_HEADER_TITLE.' 015', PDF_HEADER_STRING);
+
+// set header and footer fonts
+$pdf->setHeaderFont(Array(PDF_FONT_NAME_MAIN, '', PDF_FONT_SIZE_MAIN));
+$pdf->setFooterFont(Array(PDF_FONT_NAME_DATA, '', PDF_FONT_SIZE_DATA));
+
+// set default monospaced font
+$pdf->SetDefaultMonospacedFont(PDF_FONT_MONOSPACED);
+
+// set margins
+$pdf->SetMargins(PDF_MARGIN_LEFT, PDF_MARGIN_TOP, PDF_MARGIN_RIGHT);
+$pdf->SetHeaderMargin(PDF_MARGIN_HEADER);
+$pdf->SetFooterMargin(PDF_MARGIN_FOOTER);
+
+// set auto page breaks
+$pdf->SetAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM);
+
+// set image scale factor
+$pdf->setImageScale(PDF_IMAGE_SCALE_RATIO);
+
+// set some language-dependent strings (optional)
+if (@file_exists(dirname(__FILE__).'/lang/eng.php')) {
+ require_once(dirname(__FILE__).'/lang/eng.php');
+ $pdf->setLanguageArray($l);
+}
+
+// ---------------------------------------------------------
+
+// Bookmark($txt, $level=0, $y=-1, $page='', $style='', $color=array(0,0,0))
+
+// set font
+$pdf->SetFont('times', 'B', 20);
+
+// add a page
+$pdf->AddPage();
+
+// set a bookmark for the current position
+$pdf->Bookmark('Chapter 1', 0, 0, '', 'B', array(0,64,128));
+
+// print a line using Cell()
+$pdf->Cell(0, 10, 'Chapter 1', 0, 1, 'L');
+
+$pdf->SetFont('times', 'I', 14);
+$pdf->Write(0, 'You can set PDF Bookmarks using the Bookmark() method.
+You can set PDF Named Destinations using the setDestination() method.');
+
+$pdf->SetFont('times', 'B', 20);
+
+// add other pages and bookmarks
+
+$pdf->AddPage();
+$pdf->Bookmark('Paragraph 1.1', 1, 0, '', '', array(0,0,0));
+$pdf->Cell(0, 10, 'Paragraph 1.1', 0, 1, 'L');
+
+$pdf->AddPage();
+$pdf->Bookmark('Paragraph 1.2', 1, 0, '', '', array(0,0,0));
+$pdf->Cell(0, 10, 'Paragraph 1.2', 0, 1, 'L');
+
+$pdf->AddPage();
+$pdf->Bookmark('Sub-Paragraph 1.2.1', 2, 0, '', 'I', array(0,0,0));
+$pdf->Cell(0, 10, 'Sub-Paragraph 1.2.1', 0, 1, 'L');
+
+$pdf->AddPage();
+$pdf->Bookmark('Paragraph 1.3', 1, 0, '', '', array(0,0,0));
+$pdf->Cell(0, 10, 'Paragraph 1.3', 0, 1, 'L');
+
+$pdf->AddPage();
+// add a named destination so you can open this document at this page using the link: "example_015.pdf#chapter2"
+$pdf->setDestination('chapter2', 0, '');
+// add a bookmark that points to a named destination
+$pdf->Bookmark('Chapter 2', 0, 0, '', 'BI', array(128,0,0), -1, '#chapter2');
+$pdf->Cell(0, 10, 'Chapter 2', 0, 1, 'L');
+$pdf->SetFont('times', 'I', 14);
+$pdf->Write(0, 'Once saved, you can open this document at this page using the link: "example_015.pdf#chapter2".');
+
+$pdf->AddPage();
+$pdf->setDestination('chapter3', 0, '');
+$pdf->SetFont('times', 'B', 20);
+$pdf->Bookmark('Chapter 3', 0, 0, '', 'B', array(0,64,128));
+$pdf->Cell(0, 10, 'Chapter 3', 0, 1, 'L');
+
+$pdf->AddPage();
+$pdf->setDestination('chapter4', 0, '');
+$pdf->SetFont('times', 'B', 20);
+$pdf->Bookmark('Chapter 4', 0, 0, '', 'B', array(0,64,128));
+$pdf->Cell(0, 10, 'Chapter 4', 0, 1, 'L');
+
+$pdf->AddPage();
+$pdf->Bookmark('Chapter 5', 0, 0, '', 'B', array(0,128,0));
+$pdf->Cell(0, 10, 'Chapter 5', 0, 1, 'L');
+$txt = 'Example of File Attachment.
+Double click on the icon to open the attached file.';
+$pdf->SetFont('helvetica', '', 10);
+$pdf->Write(0, $txt, '', 0, 'L', true, 0, false, false, 0);
+
+// attach an external file TXT file
+$pdf->Annotation(20, 50, 5, 5, 'TXT file', array('Subtype'=>'FileAttachment', 'Name' => 'PushPin', 'FS' => 'data/utf8test.txt'));
+
+// attach an external file
+$pdf->Annotation(50, 50, 5, 5, 'PDF file', array('Subtype'=>'FileAttachment', 'Name' => 'PushPin', 'FS' => 'example_012.pdf'));
+
+// add a bookmark that points to an embedded file
+// NOTE: prefix the file name with the * character for generic file and with % character for PDF file
+$pdf->Bookmark('TXT file', 0, 0, '', 'B', array(128,0,255), -1, '*utf8test.txt');
+
+// add a bookmark that points to an embedded file
+// NOTE: prefix the file name with the * character for generic file and with % character for PDF file
+$pdf->Bookmark('PDF file', 0, 0, '', 'B', array(128,0,255), -1, '%example_012.pdf');
+
+// add a bookmark that points to an external URL
+$pdf->Bookmark('External URL', 0, 0, '', 'B', array(0,0,255), -1, 'http://www.tcpdf.org');
+
+// ---------------------------------------------------------
+
+//Close and output PDF document
+$pdf->Output('example_015.pdf', 'D');
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/example_016.php b/public/library/TCPDF/examples/example_016.php
new file mode 100644
index 0000000..34284f2
--- /dev/null
+++ b/public/library/TCPDF/examples/example_016.php
@@ -0,0 +1,134 @@
+<?php
+//============================================================+
+// File name : example_016.php
+// Begin : 2008-03-04
+// Last Update : 2013-05-14
+//
+// Description : Example 016 for TCPDF class
+// Document Encryption / Security
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * Creates an example PDF TEST document using TCPDF
+ * @package com.tecnick.tcpdf
+ * @abstract TCPDF - Example: Document Encryption / Security
+ * @author Nicola Asuni
+ * @since 2008-03-04
+ */
+
+// Include the main TCPDF library (search for installation path).
+require_once('tcpdf_include.php');
+
+// create new PDF document
+$pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false);
+
+
+// *** Set PDF protection (encryption) *********************
+
+/*
+ The permission array is composed of values taken from the following ones (specify the ones you want to block):
+ - print : Print the document;
+ - modify : Modify the contents of the document by operations other than those controlled by 'fill-forms', 'extract' and 'assemble';
+ - copy : Copy or otherwise extract text and graphics from the document;
+ - annot-forms : Add or modify text annotations, fill in interactive form fields, and, if 'modify' is also set, create or modify interactive form fields (including signature fields);
+ - fill-forms : Fill in existing interactive form fields (including signature fields), even if 'annot-forms' is not specified;
+ - extract : Extract text and graphics (in support of accessibility to users with disabilities or for other purposes);
+ - assemble : Assemble the document (insert, rotate, or delete pages and create bookmarks or thumbnail images), even if 'modify' is not set;
+ - print-high : Print the document to a representation from which a faithful digital copy of the PDF content could be generated. When this is not set, printing is limited to a low-level representation of the appearance, possibly of degraded quality.
+ - owner : (inverted logic - only for public-key) when set permits change of encryption and enables all other permissions.
+
+ If you don't set any password, the document will open as usual.
+ If you set a user password, the PDF viewer will ask for it before displaying the document.
+ The master (owner) password, if different from the user one, can be used to get full document access.
+
+ Possible encryption modes are:
+ 0 = RSA 40 bit
+ 1 = RSA 128 bit
+ 2 = AES 128 bit
+ 3 = AES 256 bit
+
+ NOTES:
+ - To create self-signed signature: openssl req -x509 -nodes -days 365000 -newkey rsa:1024 -keyout tcpdf.crt -out tcpdf.crt
+ - To export crt to p12: openssl pkcs12 -export -in tcpdf.crt -out tcpdf.p12
+ - To convert pfx certificate to pem: openssl pkcs12 -in tcpdf.pfx -out tcpdf.crt -nodes
+
+*/
+
+$pdf->SetProtection(array('print', 'copy'), '', null, 0, null);
+
+// Example with public-key
+// To open the document you need to install the private key (tcpdf.p12) on the Acrobat Reader. The password is: 1234
+//$pdf->SetProtection($permissions=array('print', 'copy'), $user_pass='', $owner_pass=null, $mode=1, $pubkeys=array(array('c' => 'file://../config/cert/tcpdf.crt', 'p' => array('print'))));
+
+// *********************************************************
+
+
+// set document information
+$pdf->SetCreator(PDF_CREATOR);
+$pdf->SetAuthor('Nicola Asuni');
+$pdf->SetTitle('TCPDF Example 016');
+$pdf->SetSubject('TCPDF Tutorial');
+$pdf->SetKeywords('TCPDF, PDF, example, test, guide');
+
+// set default header data
+$pdf->SetHeaderData(PDF_HEADER_LOGO, PDF_HEADER_LOGO_WIDTH, PDF_HEADER_TITLE.' 016', PDF_HEADER_STRING);
+
+// set header and footer fonts
+$pdf->setHeaderFont(Array('helvetica', '', PDF_FONT_SIZE_MAIN));
+$pdf->setFooterFont(Array('helvetica', '', PDF_FONT_SIZE_DATA));
+
+// set default monospaced font
+$pdf->SetDefaultMonospacedFont(PDF_FONT_MONOSPACED);
+
+// set margins
+$pdf->SetMargins(PDF_MARGIN_LEFT, PDF_MARGIN_TOP, PDF_MARGIN_RIGHT);
+$pdf->SetHeaderMargin(PDF_MARGIN_HEADER);
+$pdf->SetFooterMargin(PDF_MARGIN_FOOTER);
+
+// set auto page breaks
+$pdf->SetAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM);
+
+// set image scale factor
+$pdf->setImageScale(PDF_IMAGE_SCALE_RATIO);
+
+// set some language-dependent strings (optional)
+if (@file_exists(dirname(__FILE__).'/lang/eng.php')) {
+ require_once(dirname(__FILE__).'/lang/eng.php');
+ $pdf->setLanguageArray($l);
+}
+
+// ---------------------------------------------------------
+
+// set font
+$pdf->SetFont('times', '', 16);
+
+// add a page
+$pdf->AddPage();
+
+// set some text to print
+$txt = <<<EOD
+Encryption Example
+
+Consult the source code documentation for the SetProtection() method.
+EOD;
+
+// print a block of text using Write()
+$pdf->Write(0, $txt, '', 0, 'L', true, 0, false, false, 0);
+
+
+// ---------------------------------------------------------
+
+//Close and output PDF document
+$pdf->Output('example_016.pdf', 'D');
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/example_017.php b/public/library/TCPDF/examples/example_017.php
new file mode 100644
index 0000000..1324091
--- /dev/null
+++ b/public/library/TCPDF/examples/example_017.php
@@ -0,0 +1,117 @@
+<?php
+//============================================================+
+// File name : example_017.php
+// Begin : 2008-03-04
+// Last Update : 2013-05-14
+//
+// Description : Example 017 for TCPDF class
+// Two independent columns with MultiCell
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * Creates an example PDF TEST document using TCPDF
+ * @package com.tecnick.tcpdf
+ * @abstract TCPDF - Example: Two independent columns with MultiCell
+ * @author Nicola Asuni
+ * @since 2008-03-04
+ */
+
+// Include the main TCPDF library (search for installation path).
+require_once('tcpdf_include.php');
+
+// create new PDF document
+$pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false);
+
+// set document information
+$pdf->SetCreator(PDF_CREATOR);
+$pdf->SetAuthor('Nicola Asuni');
+$pdf->SetTitle('TCPDF Example 017');
+$pdf->SetSubject('TCPDF Tutorial');
+$pdf->SetKeywords('TCPDF, PDF, example, test, guide');
+
+// set default header data
+$pdf->SetHeaderData(PDF_HEADER_LOGO, PDF_HEADER_LOGO_WIDTH, PDF_HEADER_TITLE.' 017', PDF_HEADER_STRING);
+
+// set header and footer fonts
+$pdf->setHeaderFont(Array(PDF_FONT_NAME_MAIN, '', PDF_FONT_SIZE_MAIN));
+$pdf->setFooterFont(Array(PDF_FONT_NAME_DATA, '', PDF_FONT_SIZE_DATA));
+
+// set default monospaced font
+$pdf->SetDefaultMonospacedFont(PDF_FONT_MONOSPACED);
+
+// set margins
+$pdf->SetMargins(PDF_MARGIN_LEFT, PDF_MARGIN_TOP, PDF_MARGIN_RIGHT);
+$pdf->SetHeaderMargin(PDF_MARGIN_HEADER);
+$pdf->SetFooterMargin(PDF_MARGIN_FOOTER);
+
+// set auto page breaks
+$pdf->SetAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM);
+
+// set image scale factor
+$pdf->setImageScale(PDF_IMAGE_SCALE_RATIO);
+
+// set some language-dependent strings (optional)
+if (@file_exists(dirname(__FILE__).'/lang/eng.php')) {
+ require_once(dirname(__FILE__).'/lang/eng.php');
+ $pdf->setLanguageArray($l);
+}
+
+// ---------------------------------------------------------
+
+// set font
+$pdf->SetFont('helvetica', '', 20);
+
+// add a page
+$pdf->AddPage();
+
+$pdf->Write(0, 'Example of independent Multicell() columns', '', 0, 'L', true, 0, false, false, 0);
+
+$pdf->Ln(5);
+
+$pdf->SetFont('times', '', 12);
+
+// create columns content
+// create columns content
+$left_column = '[LEFT COLUMN] left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column left column'."\n";
+
+$right_column = '[RIGHT COLUMN] right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column right column'."\n";
+
+// MultiCell($w, $h, $txt, $border=0, $align='J', $fill=0, $ln=1, $x='', $y='', $reseth=true, $stretch=0, $ishtml=false, $autopadding=true, $maxh=0)
+
+// set color for background
+$pdf->SetFillColor(255, 255, 200);
+
+// set color for text
+$pdf->SetTextColor(0, 63, 127);
+
+// write the first column
+$pdf->MultiCell(80, 0, $left_column, 1, 'J', 1, 0, '', '', true, 0, false, true, 0);
+
+// set color for background
+$pdf->SetFillColor(215, 235, 255);
+
+// set color for text
+$pdf->SetTextColor(127, 31, 0);
+
+// write the second column
+$pdf->MultiCell(80, 0, $right_column, 1, 'J', 1, 1, '', '', true, 0, false, true, 0);
+
+// reset pointer to the last page
+$pdf->lastPage();
+
+// ---------------------------------------------------------
+
+//Close and output PDF document
+$pdf->Output('example_017.pdf', 'I');
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/example_018.php b/public/library/TCPDF/examples/example_018.php
new file mode 100644
index 0000000..a97a44a
--- /dev/null
+++ b/public/library/TCPDF/examples/example_018.php
@@ -0,0 +1,128 @@
+<?php
+//============================================================+
+// File name : example_018.php
+// Begin : 2008-03-06
+// Last Update : 2013-05-14
+//
+// Description : Example 018 for TCPDF class
+// RTL document with Persian language
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * Creates an example PDF TEST document using TCPDF
+ * @package com.tecnick.tcpdf
+ * @abstract TCPDF - Example: RTL document with Persian language
+ * @author Nicola Asuni
+ * @since 2008-03-06
+ */
+
+// Include the main TCPDF library (search for installation path).
+require_once('tcpdf_include.php');
+
+// create new PDF document
+$pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false);
+
+// set document information
+$pdf->SetCreator(PDF_CREATOR);
+$pdf->SetAuthor('Nicola Asuni');
+$pdf->SetTitle('TCPDF Example 018');
+$pdf->SetSubject('TCPDF Tutorial');
+$pdf->SetKeywords('TCPDF, PDF, example, test, guide');
+
+// set default header data
+$pdf->SetHeaderData(PDF_HEADER_LOGO, PDF_HEADER_LOGO_WIDTH, PDF_HEADER_TITLE.' 018', PDF_HEADER_STRING);
+
+// set header and footer fonts
+$pdf->setHeaderFont(Array(PDF_FONT_NAME_MAIN, '', PDF_FONT_SIZE_MAIN));
+$pdf->setFooterFont(Array(PDF_FONT_NAME_DATA, '', PDF_FONT_SIZE_DATA));
+
+// set default monospaced font
+$pdf->SetDefaultMonospacedFont(PDF_FONT_MONOSPACED);
+
+// set margins
+$pdf->SetMargins(PDF_MARGIN_LEFT, PDF_MARGIN_TOP, PDF_MARGIN_RIGHT);
+$pdf->SetHeaderMargin(PDF_MARGIN_HEADER);
+$pdf->SetFooterMargin(PDF_MARGIN_FOOTER);
+
+// set auto page breaks
+$pdf->SetAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM);
+
+// set image scale factor
+$pdf->setImageScale(PDF_IMAGE_SCALE_RATIO);
+
+// set some language dependent data:
+$lg = Array();
+$lg['a_meta_charset'] = 'UTF-8';
+$lg['a_meta_dir'] = 'rtl';
+$lg['a_meta_language'] = 'fa';
+$lg['w_page'] = 'page';
+
+// set some language-dependent strings (optional)
+$pdf->setLanguageArray($lg);
+
+// ---------------------------------------------------------
+
+// set font
+$pdf->SetFont('dejavusans', '', 12);
+
+// add a page
+$pdf->AddPage();
+
+// Persian and English content
+$htmlpersian = '<span color="#660000">Persian example:</span><br />سلام بالاخره مشکل PDF فارسی به طور کامل حل شد. اینم یک نمونش.<br />مشکل حرف \"ژ\" در بعضی کلمات مانند کلمه ویژه نیز بر طرف شد.<br />نگارش حروف لام و الف پشت سر هم نیز تصحیح شد.<br />با تشکر از "Asuni Nicola" و محمد علی گل کار برای پشتیبانی زبان فارسی.';
+$pdf->WriteHTML($htmlpersian, true, 0, true, 0);
+
+// set LTR direction for english translation
+$pdf->setRTL(false);
+
+$pdf->SetFontSize(10);
+
+// print newline
+$pdf->Ln();
+
+// Persian and English content
+$htmlpersiantranslation = '<span color="#0000ff">Hi, At last Problem of Persian PDF Solved completely. This is a example for it.<br />Problem of "jeh" letter in some word like "ویژه" (=special) fix too.<br />The joining of laa and alf letter fix now.<br />Special thanks to "Nicola Asuni" and "Mohamad Ali Golkar" for Persian support.</span>';
+$pdf->WriteHTML($htmlpersiantranslation, true, 0, true, 0);
+
+// Restore RTL direction
+$pdf->setRTL(true);
+
+// set font
+$pdf->SetFont('aefurat', '', 18);
+
+// print newline
+$pdf->Ln();
+
+// Arabic and English content
+$pdf->Cell(0, 12, 'بِسْمِ اللهِ الرَّحْمنِ الرَّحِيمِ',0,1,'C');
+$htmlcontent = 'تمَّ بِحمد الله حلّ مشكلة الكتابة باللغة العربية في ملفات الـ<span color="#FF0000">PDF</span> مع دعم الكتابة <span color="#0000FF">من اليمين إلى اليسار</span> و<span color="#009900">الحركَات</span> .<br />تم الحل بواسطة <span color="#993399">صالح المطرفي و Asuni Nicola</span> . ';
+$pdf->WriteHTML($htmlcontent, true, 0, true, 0);
+
+// set LTR direction for english translation
+$pdf->setRTL(false);
+
+// print newline
+$pdf->Ln();
+
+$pdf->SetFont('aealarabiya', '', 18);
+
+// Arabic and English content
+$htmlcontent2 = '<span color="#0000ff">This is Arabic "العربية" Example With TCPDF.</span>';
+$pdf->WriteHTML($htmlcontent2, true, 0, true, 0);
+
+// ---------------------------------------------------------
+
+//Close and output PDF document
+$pdf->Output('example_018.pdf', 'I');
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/example_019.php b/public/library/TCPDF/examples/example_019.php
new file mode 100644
index 0000000..a1d5f08
--- /dev/null
+++ b/public/library/TCPDF/examples/example_019.php
@@ -0,0 +1,98 @@
+<?php
+//============================================================+
+// File name : example_019.php
+// Begin : 2008-03-07
+// Last Update : 2013-05-14
+//
+// Description : Example 019 for TCPDF class
+// Non unicode with alternative config file
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * Creates an example PDF TEST document using TCPDF
+ * @package com.tecnick.tcpdf
+ * @abstract TCPDF - Example: Non unicode with alternative config file
+ * @author Nicola Asuni
+ * @since 2008-03-04
+ */
+
+// Include the main TCPDF library (search for installation path).
+require_once('tcpdf_include.php');
+
+// create new PDF document
+$pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, false, 'ISO-8859-1', false);
+
+// Set document information dictionary in unicode mode
+$pdf->SetDocInfoUnicode(true);
+
+// set document information
+$pdf->SetCreator(PDF_CREATOR);
+$pdf->SetAuthor('Nicola Asuni [€]');
+$pdf->SetTitle('TCPDF Example 019');
+$pdf->SetSubject('TCPDF Tutorial');
+$pdf->SetKeywords('TCPDF, PDF, example, test, guide');
+
+// set default header data
+$pdf->SetHeaderData(PDF_HEADER_LOGO, PDF_HEADER_LOGO_WIDTH, PDF_HEADER_TITLE.' 019', PDF_HEADER_STRING);
+
+// set header and footer fonts
+$pdf->setHeaderFont(Array(PDF_FONT_NAME_MAIN, '', PDF_FONT_SIZE_MAIN));
+$pdf->setFooterFont(Array(PDF_FONT_NAME_DATA, '', PDF_FONT_SIZE_DATA));
+
+// set default monospaced font
+$pdf->SetDefaultMonospacedFont(PDF_FONT_MONOSPACED);
+
+// set margins
+$pdf->SetMargins(PDF_MARGIN_LEFT, PDF_MARGIN_TOP, PDF_MARGIN_RIGHT);
+$pdf->SetHeaderMargin(PDF_MARGIN_HEADER);
+$pdf->SetFooterMargin(PDF_MARGIN_FOOTER);
+
+// set auto page breaks
+$pdf->SetAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM);
+
+// set image scale factor
+$pdf->setImageScale(PDF_IMAGE_SCALE_RATIO);
+
+// set some language dependent data:
+$lg = Array();
+$lg['a_meta_charset'] = 'ISO-8859-1';
+$lg['a_meta_dir'] = 'ltr';
+$lg['a_meta_language'] = 'en';
+$lg['w_page'] = 'page';
+
+// set some language-dependent strings (optional)
+$pdf->setLanguageArray($lg);
+
+// ---------------------------------------------------------
+
+// set font
+$pdf->SetFont('helvetica', '', 12);
+
+// add a page
+$pdf->AddPage();
+
+// set color for background
+$pdf->SetFillColor(200, 255, 200);
+
+$txt = 'An alternative configuration file is used on this example.
+Check the definition of the K_TCPDF_EXTERNAL_CONFIG constant on the source code.';
+
+// print some text
+$pdf->MultiCell(0, 0, $txt."\n", 1, 'J', 1, 1, '', '', true, 0, false, true, 0);
+
+// ---------------------------------------------------------
+
+//Close and output PDF document
+$pdf->Output('example_019.pdf', 'I');
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/example_020.php b/public/library/TCPDF/examples/example_020.php
new file mode 100644
index 0000000..6204f74
--- /dev/null
+++ b/public/library/TCPDF/examples/example_020.php
@@ -0,0 +1,146 @@
+<?php
+//============================================================+
+// File name : example_020.php
+// Begin : 2008-03-04
+// Last Update : 2013-05-14
+//
+// Description : Example 020 for TCPDF class
+// Two columns composed by MultiCell of different
+// heights
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+* Creates an example PDF TEST document using TCPDF
+* @package com.tecnick.tcpdf
+* @abstract TCPDF - Example: Two columns composed by MultiCell of different heights
+* @author Nicola Asuni
+* @since 2008-03-04
+*/
+
+// Include the main TCPDF library (search for installation path).
+require_once('tcpdf_include.php');
+
+// extend TCPF with custom functions
+class MYPDF extends TCPDF {
+
+ public function MultiRow($left, $right) {
+ // MultiCell($w, $h, $txt, $border=0, $align='J', $fill=0, $ln=1, $x='', $y='', $reseth=true, $stretch=0)
+
+ $page_start = $this->getPage();
+ $y_start = $this->GetY();
+
+ // write the left cell
+ $this->MultiCell(40, 0, $left, 1, 'R', 1, 2, '', '', true, 0);
+
+ $page_end_1 = $this->getPage();
+ $y_end_1 = $this->GetY();
+
+ $this->setPage($page_start);
+
+ // write the right cell
+ $this->MultiCell(0, 0, $right, 1, 'J', 0, 1, $this->GetX() ,$y_start, true, 0);
+
+ $page_end_2 = $this->getPage();
+ $y_end_2 = $this->GetY();
+
+ // set the new row position by case
+ if (max($page_end_1,$page_end_2) == $page_start) {
+ $ynew = max($y_end_1, $y_end_2);
+ } elseif ($page_end_1 == $page_end_2) {
+ $ynew = max($y_end_1, $y_end_2);
+ } elseif ($page_end_1 > $page_end_2) {
+ $ynew = $y_end_1;
+ } else {
+ $ynew = $y_end_2;
+ }
+
+ $this->setPage(max($page_end_1,$page_end_2));
+ $this->SetXY($this->GetX(),$ynew);
+ }
+
+}
+
+// create new PDF document
+$pdf = new MYPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false);
+
+// set document information
+$pdf->SetCreator(PDF_CREATOR);
+$pdf->SetAuthor('Nicola Asuni');
+$pdf->SetTitle('TCPDF Example 020');
+$pdf->SetSubject('TCPDF Tutorial');
+$pdf->SetKeywords('TCPDF, PDF, example, test, guide');
+
+// set default header data
+$pdf->SetHeaderData(PDF_HEADER_LOGO, PDF_HEADER_LOGO_WIDTH, PDF_HEADER_TITLE.' 020', PDF_HEADER_STRING);
+
+// set header and footer fonts
+$pdf->setHeaderFont(Array(PDF_FONT_NAME_MAIN, '', PDF_FONT_SIZE_MAIN));
+$pdf->setFooterFont(Array(PDF_FONT_NAME_DATA, '', PDF_FONT_SIZE_DATA));
+
+// set default monospaced font
+$pdf->SetDefaultMonospacedFont(PDF_FONT_MONOSPACED);
+
+// set margins
+$pdf->SetMargins(PDF_MARGIN_LEFT, PDF_MARGIN_TOP, PDF_MARGIN_RIGHT);
+$pdf->SetHeaderMargin(PDF_MARGIN_HEADER);
+$pdf->SetFooterMargin(PDF_MARGIN_FOOTER);
+
+// set auto page breaks
+$pdf->SetAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM);
+
+// set image scale factor
+$pdf->setImageScale(PDF_IMAGE_SCALE_RATIO);
+
+// set some language-dependent strings (optional)
+if (@file_exists(dirname(__FILE__).'/lang/eng.php')) {
+ require_once(dirname(__FILE__).'/lang/eng.php');
+ $pdf->setLanguageArray($l);
+}
+
+// ---------------------------------------------------------
+
+// set font
+$pdf->SetFont('helvetica', '', 20);
+// add a page
+$pdf->AddPage();
+
+$pdf->Write(0, 'Example of text layout using Multicell()', '', 0, 'L', true, 0, false, false, 0);
+
+$pdf->Ln(5);
+
+$pdf->SetFont('times', '', 9);
+
+//$pdf->SetCellPadding(0);
+//$pdf->SetLineWidth(2);
+
+// set color for background
+$pdf->SetFillColor(255, 255, 200);
+
+$text = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. In sed imperdiet lectus. Phasellus quis velit velit, non condimentum quam. Sed neque urna, ultrices ac volutpat vel, laoreet vitae augue. Sed vel velit erat. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Cras eget velit nulla, eu sagittis elit. Nunc ac arcu est, in lobortis tellus. Praesent condimentum rhoncus sodales. In hac habitasse platea dictumst. Proin porta eros pharetra enim tincidunt dignissim nec vel dolor. Cras sapien elit, ornare ac dignissim eu, ultricies ac eros. Maecenas augue magna, ultrices a congue in, mollis eu nulla. Nunc venenatis massa at est eleifend faucibus. Vivamus sed risus lectus, nec interdum nunc.
+
+Fusce et felis vitae diam lobortis sollicitudin. Aenean tincidunt accumsan nisi, id vehicula quam laoreet elementum. Phasellus egestas interdum erat, et viverra ipsum ultricies ac. Praesent sagittis augue at augue volutpat eleifend. Cras nec orci neque. Mauris bibendum posuere blandit. Donec feugiat mollis dui sit amet pellentesque. Sed a enim justo. Donec tincidunt, nisl eget elementum aliquam, odio ipsum ultrices quam, eu porttitor ligula urna at lorem. Donec varius, eros et convallis laoreet, ligula tellus consequat felis, ut ornare metus tellus sodales velit. Duis sed diam ante. Ut rutrum malesuada massa, vitae consectetur ipsum rhoncus sed. Suspendisse potenti. Pellentesque a congue massa.';
+
+// print some rows just as example
+for ($i = 0; $i < 10; ++$i) {
+ $pdf->MultiRow('Row '.($i+1), $text."\n");
+}
+
+// reset pointer to the last page
+$pdf->lastPage();
+
+// ---------------------------------------------------------
+
+//Close and output PDF document
+$pdf->Output('example_020.pdf', 'I');
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/example_021.php b/public/library/TCPDF/examples/example_021.php
new file mode 100644
index 0000000..65e39fb
--- /dev/null
+++ b/public/library/TCPDF/examples/example_021.php
@@ -0,0 +1,91 @@
+<?php
+//============================================================+
+// File name : example_021.php
+// Begin : 2008-03-04
+// Last Update : 2013-05-14
+//
+// Description : Example 021 for TCPDF class
+// WriteHTML text flow
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * Creates an example PDF TEST document using TCPDF
+ * @package com.tecnick.tcpdf
+ * @abstract TCPDF - Example: WriteHTML text flow.
+ * @author Nicola Asuni
+ * @since 2008-03-04
+ */
+
+// Include the main TCPDF library (search for installation path).
+require_once('tcpdf_include.php');
+
+// create new PDF document
+$pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false);
+
+// set document information
+$pdf->SetCreator(PDF_CREATOR);
+$pdf->SetAuthor('Nicola Asuni');
+$pdf->SetTitle('TCPDF Example 021');
+$pdf->SetSubject('TCPDF Tutorial');
+$pdf->SetKeywords('TCPDF, PDF, example, test, guide');
+
+// set default header data
+$pdf->SetHeaderData(PDF_HEADER_LOGO, PDF_HEADER_LOGO_WIDTH, PDF_HEADER_TITLE.' 021', PDF_HEADER_STRING);
+
+// set header and footer fonts
+$pdf->setHeaderFont(Array(PDF_FONT_NAME_MAIN, '', PDF_FONT_SIZE_MAIN));
+$pdf->setFooterFont(Array(PDF_FONT_NAME_DATA, '', PDF_FONT_SIZE_DATA));
+
+// set default monospaced font
+$pdf->SetDefaultMonospacedFont(PDF_FONT_MONOSPACED);
+
+// set margins
+$pdf->SetMargins(PDF_MARGIN_LEFT, PDF_MARGIN_TOP, PDF_MARGIN_RIGHT);
+$pdf->SetHeaderMargin(PDF_MARGIN_HEADER);
+$pdf->SetFooterMargin(PDF_MARGIN_FOOTER);
+
+// set auto page breaks
+$pdf->SetAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM);
+
+// set image scale factor
+$pdf->setImageScale(PDF_IMAGE_SCALE_RATIO);
+
+// set some language-dependent strings (optional)
+if (@file_exists(dirname(__FILE__).'/lang/eng.php')) {
+ require_once(dirname(__FILE__).'/lang/eng.php');
+ $pdf->setLanguageArray($l);
+}
+
+// ---------------------------------------------------------
+
+// set font
+$pdf->SetFont('helvetica', '', 9);
+
+// add a page
+$pdf->AddPage();
+
+// create some HTML content
+$html = '<h1>Example of HTML text flow</h1>Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. <em>Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur?</em> <em>Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?</em><br /><br /><b>A</b> + <b>B</b> = <b>C</b> &nbsp;&nbsp; -&gt; &nbsp;&nbsp; <i>C</i> - <i>B</i> = <i>A</i> &nbsp;&nbsp; -&gt; &nbsp;&nbsp; <i>C</i> - <i>A</i> = <i>B</i> -&gt; &nbsp;&nbsp; <b>A</b> + <b>B</b> = <b>C</b> &nbsp;&nbsp; -&gt; &nbsp;&nbsp; <i>C</i> - <i>B</i> = <i>A</i> &nbsp;&nbsp; -&gt; &nbsp;&nbsp; <i>C</i> - <i>A</i> = <i>B</i> -&gt; &nbsp;&nbsp; <b>A</b> + <b>B</b> = <b>C</b> &nbsp;&nbsp; -&gt; &nbsp;&nbsp; <i>C</i> - <i>B</i> = <i>A</i> &nbsp;&nbsp; -&gt; &nbsp;&nbsp; <i>C</i> - <i>A</i> = <i>B</i> -&gt; &nbsp;&nbsp; <b>A</b> + <b>B</b> = <b>C</b> &nbsp;&nbsp; -&gt; &nbsp;&nbsp; <i>C</i> - <i>B</i> = <i>A</i> &nbsp;&nbsp; -&gt; &nbsp;&nbsp; <i>C</i> - <i>A</i> = <i>B</i> &nbsp;&nbsp; -&gt; &nbsp;&nbsp; <b>A</b> + <b>B</b> = <b>C</b> &nbsp;&nbsp; -&gt; &nbsp;&nbsp; <i>C</i> - <i>B</i> = <i>A</i> &nbsp;&nbsp; -&gt; &nbsp;&nbsp; <i>C</i> - <i>A</i> = <i>B</i> -&gt; &nbsp;&nbsp; <b>A</b> + <b>B</b> = <b>C</b> &nbsp;&nbsp; -&gt; &nbsp;&nbsp; <i>C</i> - <i>B</i> = <i>A</i> &nbsp;&nbsp; -&gt; &nbsp;&nbsp; <i>C</i> - <i>A</i> = <i>B</i> -&gt; &nbsp;&nbsp; <b>A</b> + <b>B</b> = <b>C</b> &nbsp;&nbsp; -&gt; &nbsp;&nbsp; <i>C</i> - <i>B</i> = <i>A</i> &nbsp;&nbsp; -&gt; &nbsp;&nbsp; <i>C</i> - <i>A</i> = <i>B</i> -&gt; &nbsp;&nbsp; <b>A</b> + <b>B</b> = <b>C</b> &nbsp;&nbsp; -&gt; &nbsp;&nbsp; <i>C</i> - <i>B</i> = <i>A</i> &nbsp;&nbsp; -&gt; &nbsp;&nbsp; <i>C</i> - <i>A</i> = <i>B</i><br /><br /><b>Bold</b><i>Italic</i><u>Underlined</u> <b>Bold</b><i>Italic</i><u>Underlined</u> <b>Bold</b><i>Italic</i><u>Underlined</u> <b>Bold</b><i>Italic</i><u>Underlined</u> <b>Bold</b><i>Italic</i><u>Underlined</u> <b>Bold</b><i>Italic</i><u>Underlined</u> <b>Bold</b><i>Italic</i><u>Underlined</u> <b>Bold</b><i>Italic</i><u>Underlined</u> <b>Bold</b><i>Italic</i><u>Underlined</u> <b>Bold</b><i>Italic</i><u>Underlined</u> <b>Bold</b><i>Italic</i><u>Underlined</u> <b>Bold</b><i>Italic</i><u>Underlined</u> <b>Bold</b><i>Italic</i><u>Underlined</u> <b>Bold</b><i>Italic</i><u>Underlined</u> <b>Bold</b><i>Italic</i><u>Underlined</u>';
+
+// output the HTML content
+$pdf->writeHTML($html, true, 0, true, 0);
+
+// reset pointer to the last page
+$pdf->lastPage();
+
+// ---------------------------------------------------------
+
+//Close and output PDF document
+$pdf->Output('example_021.pdf', 'I');
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/example_022.php b/public/library/TCPDF/examples/example_022.php
new file mode 100644
index 0000000..ca35d68
--- /dev/null
+++ b/public/library/TCPDF/examples/example_022.php
@@ -0,0 +1,146 @@
+<?php
+//============================================================+
+// File name : example_022.php
+// Begin : 2008-03-04
+// Last Update : 2013-05-14
+//
+// Description : Example 022 for TCPDF class
+// CMYK colors
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * Creates an example PDF TEST document using TCPDF
+ * @package com.tecnick.tcpdf
+ * @abstract TCPDF - Example: CMYK colors.
+ * @author Nicola Asuni
+ * @since 2008-03-04
+ */
+
+// Include the main TCPDF library (search for installation path).
+require_once('tcpdf_include.php');
+
+// create new PDF document
+$pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false);
+
+// set document information
+$pdf->SetCreator(PDF_CREATOR);
+$pdf->SetAuthor('Nicola Asuni');
+$pdf->SetTitle('TCPDF Example 022');
+$pdf->SetSubject('TCPDF Tutorial');
+$pdf->SetKeywords('TCPDF, PDF, example, test, guide');
+
+// set default header data
+$pdf->SetHeaderData(PDF_HEADER_LOGO, PDF_HEADER_LOGO_WIDTH, PDF_HEADER_TITLE.' 022', PDF_HEADER_STRING);
+
+// set header and footer fonts
+$pdf->setHeaderFont(Array(PDF_FONT_NAME_MAIN, '', PDF_FONT_SIZE_MAIN));
+$pdf->setFooterFont(Array(PDF_FONT_NAME_DATA, '', PDF_FONT_SIZE_DATA));
+
+// set default monospaced font
+$pdf->SetDefaultMonospacedFont(PDF_FONT_MONOSPACED);
+
+// set margins
+$pdf->SetMargins(PDF_MARGIN_LEFT, PDF_MARGIN_TOP, PDF_MARGIN_RIGHT);
+$pdf->SetHeaderMargin(PDF_MARGIN_HEADER);
+$pdf->SetFooterMargin(PDF_MARGIN_FOOTER);
+
+// set auto page breaks
+$pdf->SetAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM);
+
+// set image scale factor
+$pdf->setImageScale(PDF_IMAGE_SCALE_RATIO);
+
+// set some language-dependent strings (optional)
+if (@file_exists(dirname(__FILE__).'/lang/eng.php')) {
+ require_once(dirname(__FILE__).'/lang/eng.php');
+ $pdf->setLanguageArray($l);
+}
+
+// ---------------------------------------------------------
+
+// check also the following methods:
+// SetDrawColorArray()
+// SetFillColorArray()
+// SetTextColorArray()
+
+// set font
+$pdf->SetFont('helvetica', 'B', 18);
+
+// add a page
+$pdf->AddPage();
+
+$pdf->Write(0, 'Example of CMYK, RGB and Grayscale colours', '', 0, 'L', true, 0, false, false, 0);
+
+// define style for border
+$border_style = array('all' => array('width' => 2, 'cap' => 'square', 'join' => 'miter', 'dash' => 0, 'phase' => 0));
+
+// --- CMYK ------------------------------------------------
+
+$pdf->SetDrawColor(50, 0, 0, 0);
+$pdf->SetFillColor(100, 0, 0, 0);
+$pdf->SetTextColor(100, 0, 0, 0);
+$pdf->Rect(30, 60, 30, 30, 'DF', $border_style);
+$pdf->Text(30, 92, 'Cyan');
+
+$pdf->SetDrawColor(0, 50, 0, 0);
+$pdf->SetFillColor(0, 100, 0, 0);
+$pdf->SetTextColor(0, 100, 0, 0);
+$pdf->Rect(70, 60, 30, 30, 'DF', $border_style);
+$pdf->Text(70, 92, 'Magenta');
+
+$pdf->SetDrawColor(0, 0, 50, 0);
+$pdf->SetFillColor(0, 0, 100, 0);
+$pdf->SetTextColor(0, 0, 100, 0);
+$pdf->Rect(110, 60, 30, 30, 'DF', $border_style);
+$pdf->Text(110, 92, 'Yellow');
+
+$pdf->SetDrawColor(0, 0, 0, 50);
+$pdf->SetFillColor(0, 0, 0, 100);
+$pdf->SetTextColor(0, 0, 0, 100);
+$pdf->Rect(150, 60, 30, 30, 'DF', $border_style);
+$pdf->Text(150, 92, 'Black');
+
+// --- RGB -------------------------------------------------
+
+$pdf->SetDrawColor(255, 127, 127);
+$pdf->SetFillColor(255, 0, 0);
+$pdf->SetTextColor(255, 0, 0);
+$pdf->Rect(30, 110, 30, 30, 'DF', $border_style);
+$pdf->Text(30, 142, 'Red');
+
+$pdf->SetDrawColor(127, 255, 127);
+$pdf->SetFillColor(0, 255, 0);
+$pdf->SetTextColor(0, 255, 0);
+$pdf->Rect(70, 110, 30, 30, 'DF', $border_style);
+$pdf->Text(70, 142, 'Green');
+
+$pdf->SetDrawColor(127, 127, 255);
+$pdf->SetFillColor(0, 0, 255);
+$pdf->SetTextColor(0, 0, 255);
+$pdf->Rect(110, 110, 30, 30, 'DF', $border_style);
+$pdf->Text(110, 142, 'Blue');
+
+// --- GRAY ------------------------------------------------
+
+$pdf->SetDrawColor(191);
+$pdf->SetFillColor(127);
+$pdf->SetTextColor(127);
+$pdf->Rect(30, 160, 30, 30, 'DF', $border_style);
+$pdf->Text(30, 192, 'Gray');
+
+// ---------------------------------------------------------
+
+//Close and output PDF document
+$pdf->Output('example_022.pdf', 'I');
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/example_023.php b/public/library/TCPDF/examples/example_023.php
new file mode 100644
index 0000000..dbb8b98
--- /dev/null
+++ b/public/library/TCPDF/examples/example_023.php
@@ -0,0 +1,113 @@
+<?php
+//============================================================+
+// File name : example_023.php
+// Begin : 2008-03-04
+// Last Update : 2013-05-14
+//
+// Description : Example 023 for TCPDF class
+// Page Groups
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * Creates an example PDF TEST document using TCPDF
+ * @package com.tecnick.tcpdf
+ * @abstract TCPDF - Example: Page Groups.
+ * @author Nicola Asuni
+ * @since 2008-03-04
+ */
+
+// Include the main TCPDF library (search for installation path).
+require_once('tcpdf_include.php');
+
+// create new PDF document
+$pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false);
+
+// set document information
+$pdf->SetCreator(PDF_CREATOR);
+$pdf->SetAuthor('Nicola Asuni');
+$pdf->SetTitle('TCPDF Example 023');
+$pdf->SetSubject('TCPDF Tutorial');
+$pdf->SetKeywords('TCPDF, PDF, example, test, guide');
+
+// set default header data
+$pdf->SetHeaderData(PDF_HEADER_LOGO, PDF_HEADER_LOGO_WIDTH, PDF_HEADER_TITLE.' 023', PDF_HEADER_STRING);
+
+// set header and footer fonts
+$pdf->setHeaderFont(Array(PDF_FONT_NAME_MAIN, '', PDF_FONT_SIZE_MAIN));
+$pdf->setFooterFont(Array(PDF_FONT_NAME_DATA, '', PDF_FONT_SIZE_DATA));
+
+// set default monospaced font
+$pdf->SetDefaultMonospacedFont(PDF_FONT_MONOSPACED);
+
+// set margins
+$pdf->SetMargins(PDF_MARGIN_LEFT, PDF_MARGIN_TOP, PDF_MARGIN_RIGHT);
+$pdf->SetHeaderMargin(PDF_MARGIN_HEADER);
+$pdf->SetFooterMargin(PDF_MARGIN_FOOTER);
+
+// set auto page breaks
+$pdf->SetAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM);
+
+// set image scale factor
+$pdf->setImageScale(PDF_IMAGE_SCALE_RATIO);
+
+// set some language-dependent strings (optional)
+if (@file_exists(dirname(__FILE__).'/lang/eng.php')) {
+ require_once(dirname(__FILE__).'/lang/eng.php');
+ $pdf->setLanguageArray($l);
+}
+
+// ---------------------------------------------------------
+
+// set font
+$pdf->SetFont('times', 'BI', 14);
+
+// Start First Page Group
+$pdf->startPageGroup();
+
+// add a page
+$pdf->AddPage();
+
+// set some text to print
+$txt = <<<EOD
+Example of page groups.
+Check the page numbers on the page footer.
+
+This is the first page of group 1.
+EOD;
+
+// print a block of text using Write()
+$pdf->Write(0, $txt, '', 0, 'L', true, 0, false, false, 0);
+
+// add second page
+$pdf->AddPage();
+$pdf->Cell(0, 10, 'This is the second page of group 1', 0, 1, 'L');
+
+// Start Second Page Group
+$pdf->startPageGroup();
+
+// add some pages
+$pdf->AddPage();
+$pdf->Cell(0, 10, 'This is the first page of group 2', 0, 1, 'L');
+$pdf->AddPage();
+$pdf->Cell(0, 10, 'This is the second page of group 2', 0, 1, 'L');
+$pdf->AddPage();
+$pdf->Cell(0, 10, 'This is the third page of group 2', 0, 1, 'L');
+$pdf->AddPage();
+$pdf->Cell(0, 10, 'This is the fourth page of group 2', 0, 1, 'L');
+
+// ---------------------------------------------------------
+
+//Close and output PDF document
+$pdf->Output('example_023.pdf', 'I');
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/example_024.php b/public/library/TCPDF/examples/example_024.php
new file mode 100644
index 0000000..b60d12d
--- /dev/null
+++ b/public/library/TCPDF/examples/example_024.php
@@ -0,0 +1,140 @@
+<?php
+//============================================================+
+// File name : example_024.php
+// Begin : 2008-03-04
+// Last Update : 2013-05-14
+//
+// Description : Example 024 for TCPDF class
+// Object Visibility and Layers
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * Creates an example PDF TEST document using TCPDF
+ * @package com.tecnick.tcpdf
+ * @abstract TCPDF - Example: Object Visibility and Layers
+ * @author Nicola Asuni
+ * @since 2008-03-04
+ */
+
+// Include the main TCPDF library (search for installation path).
+require_once('tcpdf_include.php');
+
+// create new PDF document
+$pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false);
+
+// set document information
+$pdf->SetCreator(PDF_CREATOR);
+$pdf->SetAuthor('Nicola Asuni');
+$pdf->SetTitle('TCPDF Example 024');
+$pdf->SetSubject('TCPDF Tutorial');
+$pdf->SetKeywords('TCPDF, PDF, example, test, guide');
+
+// set default header data
+$pdf->SetHeaderData(PDF_HEADER_LOGO, PDF_HEADER_LOGO_WIDTH, PDF_HEADER_TITLE.' 024', PDF_HEADER_STRING);
+
+// set header and footer fonts
+$pdf->setHeaderFont(Array(PDF_FONT_NAME_MAIN, '', PDF_FONT_SIZE_MAIN));
+$pdf->setFooterFont(Array(PDF_FONT_NAME_DATA, '', PDF_FONT_SIZE_DATA));
+
+// set default monospaced font
+$pdf->SetDefaultMonospacedFont(PDF_FONT_MONOSPACED);
+
+// set margins
+$pdf->SetMargins(PDF_MARGIN_LEFT, PDF_MARGIN_TOP, PDF_MARGIN_RIGHT);
+$pdf->SetHeaderMargin(PDF_MARGIN_HEADER);
+$pdf->SetFooterMargin(PDF_MARGIN_FOOTER);
+
+// set auto page breaks
+$pdf->SetAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM);
+
+// set image scale factor
+$pdf->setImageScale(PDF_IMAGE_SCALE_RATIO);
+
+// set some language-dependent strings (optional)
+if (@file_exists(dirname(__FILE__).'/lang/eng.php')) {
+ require_once(dirname(__FILE__).'/lang/eng.php');
+ $pdf->setLanguageArray($l);
+}
+
+// ---------------------------------------------------------
+
+// set font
+$pdf->SetFont('times', '', 18);
+
+// add a page
+$pdf->AddPage();
+
+/*
+ * setVisibility() allows to restrict the rendering of some
+ * elements to screen or printout. This can be useful, for
+ * instance, to put a background image or color that will
+ * show on screen but won't print.
+ */
+
+$txt = 'You can limit the visibility of PDF objects to screen or printer by using the setVisibility() method.
+Check the print preview of this document to display the alternative text.';
+
+$pdf->Write(0, $txt, '', 0, '', true, 0, false, false, 0);
+
+// change font size
+$pdf->SetFontSize(40);
+
+// change text color
+$pdf->SetTextColor(0,63,127);
+
+// set visibility only for screen
+$pdf->setVisibility('screen');
+
+// write something only for screen
+$pdf->Write(0, '[This line is for display]', '', 0, 'C', true, 0, false, false, 0);
+
+// set visibility only for print
+$pdf->setVisibility('print');
+
+// change text color
+$pdf->SetTextColor(127,0,0);
+
+// write something only for print
+$pdf->Write(0, '[This line is for printout]', '', 0, 'C', true, 0, false, false, 0);
+
+// restore visibility
+$pdf->setVisibility('all');
+
+// ---------------------------------------------------------
+
+// LAYERS
+
+// start a new layer
+$pdf->startLayer('layer1', true, true);
+
+// change font size
+$pdf->SetFontSize(18);
+
+// change text color
+$pdf->SetTextColor(0,127,0);
+
+$txt = 'Using the startLayer() method you can group PDF objects into layers.
+This text is on "layer1".';
+
+// write something
+$pdf->Write(0, $txt, '', 0, 'L', true, 0, false, false, 0);
+
+// close the current layer
+$pdf->endLayer();
+
+// ---------------------------------------------------------
+
+//Close and output PDF document
+$pdf->Output('example_024.pdf', 'D');
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/example_025.php b/public/library/TCPDF/examples/example_025.php
new file mode 100644
index 0000000..1260d62
--- /dev/null
+++ b/public/library/TCPDF/examples/example_025.php
@@ -0,0 +1,118 @@
+<?php
+//============================================================+
+// File name : example_025.php
+// Begin : 2008-03-04
+// Last Update : 2013-05-14
+//
+// Description : Example 025 for TCPDF class
+// Object Transparency
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * Creates an example PDF TEST document using TCPDF
+ * @package com.tecnick.tcpdf
+ * @abstract TCPDF - Example: Object Transparency
+ * @author Nicola Asuni
+ * @since 2008-03-04
+ */
+
+// Include the main TCPDF library (search for installation path).
+require_once('tcpdf_include.php');
+
+// create new PDF document
+$pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false);
+
+// set document information
+$pdf->SetCreator(PDF_CREATOR);
+$pdf->SetAuthor('Nicola Asuni');
+$pdf->SetTitle('TCPDF Example 025');
+$pdf->SetSubject('TCPDF Tutorial');
+$pdf->SetKeywords('TCPDF, PDF, example, test, guide');
+
+// set default header data
+$pdf->SetHeaderData(PDF_HEADER_LOGO, PDF_HEADER_LOGO_WIDTH, PDF_HEADER_TITLE.' 025', PDF_HEADER_STRING);
+
+// set header and footer fonts
+$pdf->setHeaderFont(Array(PDF_FONT_NAME_MAIN, '', PDF_FONT_SIZE_MAIN));
+$pdf->setFooterFont(Array(PDF_FONT_NAME_DATA, '', PDF_FONT_SIZE_DATA));
+
+// set default monospaced font
+$pdf->SetDefaultMonospacedFont(PDF_FONT_MONOSPACED);
+
+// set margins
+$pdf->SetMargins(PDF_MARGIN_LEFT, PDF_MARGIN_TOP, PDF_MARGIN_RIGHT);
+$pdf->SetHeaderMargin(PDF_MARGIN_HEADER);
+$pdf->SetFooterMargin(PDF_MARGIN_FOOTER);
+
+// set auto page breaks
+$pdf->SetAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM);
+
+// set image scale factor
+$pdf->setImageScale(PDF_IMAGE_SCALE_RATIO);
+
+// set some language-dependent strings (optional)
+if (@file_exists(dirname(__FILE__).'/lang/eng.php')) {
+ require_once(dirname(__FILE__).'/lang/eng.php');
+ $pdf->setLanguageArray($l);
+}
+
+// ---------------------------------------------------------
+
+// set font
+$pdf->SetFont('helvetica', '', 12);
+
+// add a page
+$pdf->AddPage();
+
+$txt = 'You can set the transparency of PDF objects using the setAlpha() method.';
+$pdf->Write(0, $txt, '', 0, '', true, 0, false, false, 0);
+
+/*
+ * setAlpha() gives transparency support. You can set the
+ * alpha channel from 0 (fully transparent) to 1 (fully
+ * opaque). It applies to all elements (text, drawings,
+ * images).
+ */
+
+$pdf->SetLineWidth(2);
+
+// draw opaque red square
+$pdf->SetFillColor(255, 0, 0);
+$pdf->SetDrawColor(127, 0, 0);
+$pdf->Rect(30, 40, 60, 60, 'DF');
+
+// set alpha to semi-transparency
+$pdf->SetAlpha(0.5);
+
+// draw green square
+$pdf->SetFillColor(0, 255, 0);
+$pdf->SetDrawColor(0, 127, 0);
+$pdf->Rect(50, 60, 60, 60, 'DF');
+
+// draw blue square
+$pdf->SetFillColor(0, 0, 255);
+$pdf->SetDrawColor(0, 0, 127);
+$pdf->Rect(70, 80, 60, 60, 'DF');
+
+// draw jpeg image
+$pdf->Image('images/image_demo.jpg', 90, 100, 60, 60, '', 'http://www.tcpdf.org', '', true, 72);
+
+// restore full opacity
+$pdf->SetAlpha(1);
+
+// ---------------------------------------------------------
+
+//Close and output PDF document
+$pdf->Output('example_025.pdf', 'I');
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/example_026.php b/public/library/TCPDF/examples/example_026.php
new file mode 100644
index 0000000..5646e91
--- /dev/null
+++ b/public/library/TCPDF/examples/example_026.php
@@ -0,0 +1,145 @@
+<?php
+//============================================================+
+// File name : example_026.php
+// Begin : 2008-03-04
+// Last Update : 2013-05-14
+//
+// Description : Example 026 for TCPDF class
+// Text Rendering Modes and Text Clipping
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * Creates an example PDF TEST document using TCPDF
+ * @package com.tecnick.tcpdf
+ * @abstract TCPDF - Example: Text Rendering Modes and Text Clipping
+ * @author Nicola Asuni
+ * @since 2008-03-04
+ */
+
+// Include the main TCPDF library (search for installation path).
+require_once('tcpdf_include.php');
+
+// create new PDF document
+$pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false);
+
+// set document information
+$pdf->SetCreator(PDF_CREATOR);
+$pdf->SetAuthor('Nicola Asuni');
+$pdf->SetTitle('TCPDF Example 026');
+$pdf->SetSubject('TCPDF Tutorial');
+$pdf->SetKeywords('TCPDF, PDF, example, test, guide');
+
+// set default header data
+$pdf->SetHeaderData(PDF_HEADER_LOGO, PDF_HEADER_LOGO_WIDTH, PDF_HEADER_TITLE.' 026', PDF_HEADER_STRING);
+
+// set header and footer fonts
+$pdf->setHeaderFont(Array(PDF_FONT_NAME_MAIN, '', PDF_FONT_SIZE_MAIN));
+$pdf->setFooterFont(Array(PDF_FONT_NAME_DATA, '', PDF_FONT_SIZE_DATA));
+
+// set default monospaced font
+$pdf->SetDefaultMonospacedFont(PDF_FONT_MONOSPACED);
+
+// set margins
+$pdf->SetMargins(PDF_MARGIN_LEFT, PDF_MARGIN_TOP, PDF_MARGIN_RIGHT);
+$pdf->SetHeaderMargin(PDF_MARGIN_HEADER);
+$pdf->SetFooterMargin(PDF_MARGIN_FOOTER);
+
+// set auto page breaks
+$pdf->SetAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM);
+
+// set image scale factor
+$pdf->setImageScale(PDF_IMAGE_SCALE_RATIO);
+
+// set some language-dependent strings (optional)
+if (@file_exists(dirname(__FILE__).'/lang/eng.php')) {
+ require_once(dirname(__FILE__).'/lang/eng.php');
+ $pdf->setLanguageArray($l);
+}
+
+// ---------------------------------------------------------
+
+// set font
+$pdf->SetFont('helvetica', '', 22);
+
+// add a page
+$pdf->AddPage();
+
+// set color for text stroke
+$pdf->SetDrawColor(255,0,0);
+
+
+$pdf->setTextRenderingMode($stroke=0, $fill=true, $clip=false);
+$pdf->Write(0, 'Fill text', '', 0, '', true, 0, false, false, 0);
+
+$pdf->setTextRenderingMode($stroke=0.2, $fill=false, $clip=false);
+$pdf->Write(0, 'Stroke text', '', 0, '', true, 0, false, false, 0);
+
+$pdf->setTextRenderingMode($stroke=0.2, $fill=true, $clip=false);
+$pdf->Write(0, 'Fill, then stroke text', '', 0, '', true, 0, false, false, 0);
+
+$pdf->setTextRenderingMode($stroke=0, $fill=false, $clip=false);
+$pdf->Write(0, 'Neither fill nor stroke text (invisible)', '', 0, '', true, 0, false, false, 0);
+
+
+// * * * CLIPPING MODES * * * * * * * * * * * * * * * * * *
+
+$pdf->StartTransform();
+$pdf->setTextRenderingMode($stroke=0, $fill=true, $clip=true);
+$pdf->Write(0, 'Fill text and add to path for clipping', '', 0, '', true, 0, false, false, 0);
+$pdf->Image('images/image_demo.jpg', 15, 65, 170, 10, '', '', '', true, 72);
+$pdf->StopTransform();
+
+$pdf->StartTransform();
+$pdf->setTextRenderingMode($stroke=0.3, $fill=false, $clip=true);
+$pdf->Write(0, 'Stroke text and add to path for clipping', '', 0, '', true, 0, false, false, 0);
+$pdf->Image('images/image_demo.jpg', 15, 75, 170, 10, '', '', '', true, 72);
+$pdf->StopTransform();
+
+$pdf->StartTransform();
+$pdf->setTextRenderingMode($stroke=0.3, $fill=true, $clip=true);
+$pdf->Write(0, 'Fill, then stroke text and add to path for clipping', '', 0, '', true, 0, false, false, 0);
+$pdf->Image('images/image_demo.jpg', 15, 85, 170, 10, '', '', '', true, 72);
+$pdf->StopTransform();
+
+$pdf->StartTransform();
+$pdf->setTextRenderingMode($stroke=0, $fill=false, $clip=true);
+$pdf->Write(0, 'Add text to path for clipping', '', 0, '', true, 0, false, false, 0);
+$pdf->Image('images/image_demo.jpg', 15, 95, 170, 10, '', '', '', true, 72);
+$pdf->StopTransform();
+
+// reset text rendering mode
+$pdf->setTextRenderingMode($stroke=0, $fill=true, $clip=false);
+
+// * * * HTML MODE * * * * * * * * * * * * * * * * * * * * *
+
+// The following attributes were added to HTML:
+// stroke : stroke width
+// strokecolor : stroke color
+// fill : true (default) to fill the font, false otherwise
+
+
+// create some HTML content with text rendering modes
+$html = '<span stroke="0" fill="true">HTML Fill text</span><br />';
+$html .= '<span stroke="0.2" fill="false">HTML Stroke text</span><br />';
+$html .= '<span stroke="0.2" fill="true" strokecolor="#FF0000" color="#FFFF00">HTML Fill, then stroke text</span><br />';
+$html .= '<span stroke="0" fill="false">HTML Neither fill nor stroke text (invisible)</span><br />';
+
+// output the HTML content
+$pdf->writeHTML($html, true, 0, true, 0);
+
+// ---------------------------------------------------------
+
+//Close and output PDF document
+$pdf->Output('example_026.pdf', 'I');
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/example_027.php b/public/library/TCPDF/examples/example_027.php
new file mode 100644
index 0000000..a237074
--- /dev/null
+++ b/public/library/TCPDF/examples/example_027.php
@@ -0,0 +1,418 @@
+<?php
+//============================================================+
+// File name : example_027.php
+// Begin : 2008-03-04
+// Last Update : 2013-05-14
+//
+// Description : Example 027 for TCPDF class
+// 1D Barcodes
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * Creates an example PDF TEST document using TCPDF
+ * @package com.tecnick.tcpdf
+ * @abstract TCPDF - Example: 1D Barcodes.
+ * @author Nicola Asuni
+ * @since 2008-03-04
+ */
+
+// Include the main TCPDF library (search for installation path).
+require_once('tcpdf_include.php');
+
+// create new PDF document
+$pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false);
+
+// set document information
+$pdf->SetCreator(PDF_CREATOR);
+$pdf->SetAuthor('Nicola Asuni');
+$pdf->SetTitle('TCPDF Example 027');
+$pdf->SetSubject('TCPDF Tutorial');
+$pdf->SetKeywords('TCPDF, PDF, example, test, guide');
+
+// set default header data
+$pdf->SetHeaderData(PDF_HEADER_LOGO, PDF_HEADER_LOGO_WIDTH, PDF_HEADER_TITLE.' 027', PDF_HEADER_STRING);
+
+// set header and footer fonts
+$pdf->setHeaderFont(Array(PDF_FONT_NAME_MAIN, '', PDF_FONT_SIZE_MAIN));
+$pdf->setFooterFont(Array(PDF_FONT_NAME_DATA, '', PDF_FONT_SIZE_DATA));
+
+// set default monospaced font
+$pdf->SetDefaultMonospacedFont(PDF_FONT_MONOSPACED);
+
+// set margins
+$pdf->SetMargins(PDF_MARGIN_LEFT, PDF_MARGIN_TOP, PDF_MARGIN_RIGHT);
+$pdf->SetHeaderMargin(PDF_MARGIN_HEADER);
+$pdf->SetFooterMargin(PDF_MARGIN_FOOTER);
+
+// set auto page breaks
+$pdf->SetAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM);
+
+// set image scale factor
+$pdf->setImageScale(PDF_IMAGE_SCALE_RATIO);
+
+// set some language-dependent strings (optional)
+if (@file_exists(dirname(__FILE__).'/lang/eng.php')) {
+ require_once(dirname(__FILE__).'/lang/eng.php');
+ $pdf->setLanguageArray($l);
+}
+
+// ---------------------------------------------------------
+
+// set a barcode on the page footer
+$pdf->setBarcode(date('Y-m-d H:i:s'));
+
+// set font
+$pdf->SetFont('helvetica', '', 11);
+
+// add a page
+$pdf->AddPage();
+
+// print a message
+$txt = "You can also export 1D barcodes in other formats (PNG, SVG, HTML). Check the examples inside the barcodes directory.\n";
+$pdf->MultiCell(70, 50, $txt, 0, 'J', false, 1, 125, 30, true, 0, false, true, 0, 'T', false);
+$pdf->SetY(30);
+
+// -----------------------------------------------------------------------------
+
+$pdf->SetFont('helvetica', '', 10);
+
+// define barcode style
+$style = array(
+ 'position' => '',
+ 'align' => 'C',
+ 'stretch' => false,
+ 'fitwidth' => true,
+ 'cellfitalign' => '',
+ 'border' => true,
+ 'hpadding' => 'auto',
+ 'vpadding' => 'auto',
+ 'fgcolor' => array(0,0,0),
+ 'bgcolor' => false, //array(255,255,255),
+ 'text' => true,
+ 'font' => 'helvetica',
+ 'fontsize' => 8,
+ 'stretchtext' => 4
+);
+
+// PRINT VARIOUS 1D BARCODES
+
+// CODE 39 - ANSI MH10.8M-1983 - USD-3 - 3 of 9.
+$pdf->Cell(0, 0, 'CODE 39 - ANSI MH10.8M-1983 - USD-3 - 3 of 9', 0, 1);
+$pdf->write1DBarcode('CODE 39', 'C39', '', '', '', 18, 0.4, $style, 'N');
+
+$pdf->Ln();
+
+// CODE 39 + CHECKSUM
+$pdf->Cell(0, 0, 'CODE 39 + CHECKSUM', 0, 1);
+$pdf->write1DBarcode('CODE 39 +', 'C39+', '', '', '', 18, 0.4, $style, 'N');
+
+$pdf->Ln();
+
+// CODE 39 EXTENDED
+$pdf->Cell(0, 0, 'CODE 39 EXTENDED', 0, 1);
+$pdf->write1DBarcode('CODE 39 E', 'C39E', '', '', '', 18, 0.4, $style, 'N');
+
+$pdf->Ln();
+
+// CODE 39 EXTENDED + CHECKSUM
+$pdf->Cell(0, 0, 'CODE 39 EXTENDED + CHECKSUM', 0, 1);
+$pdf->write1DBarcode('CODE 39 E+', 'C39E+', '', '', '', 18, 0.4, $style, 'N');
+
+$pdf->Ln();
+
+// CODE 93 - USS-93
+$pdf->Cell(0, 0, 'CODE 93 - USS-93', 0, 1);
+$pdf->write1DBarcode('TEST93', 'C93', '', '', '', 18, 0.4, $style, 'N');
+
+$pdf->Ln();
+
+// Standard 2 of 5
+$pdf->Cell(0, 0, 'Standard 2 of 5', 0, 1);
+$pdf->write1DBarcode('1234567', 'S25', '', '', '', 18, 0.4, $style, 'N');
+
+$pdf->Ln();
+
+// Standard 2 of 5 + CHECKSUM
+$pdf->Cell(0, 0, 'Standard 2 of 5 + CHECKSUM', 0, 1);
+$pdf->write1DBarcode('1234567', 'S25+', '', '', '', 18, 0.4, $style, 'N');
+
+$pdf->Ln();
+
+// Interleaved 2 of 5
+$pdf->Cell(0, 0, 'Interleaved 2 of 5', 0, 1);
+$pdf->write1DBarcode('1234567', 'I25', '', '', '', 18, 0.4, $style, 'N');
+
+$pdf->Ln();
+
+// Interleaved 2 of 5 + CHECKSUM
+$pdf->Cell(0, 0, 'Interleaved 2 of 5 + CHECKSUM', 0, 1);
+$pdf->write1DBarcode('1234567', 'I25+', '', '', '', 18, 0.4, $style, 'N');
+
+
+// add a page ----------
+$pdf->AddPage();
+
+// CODE 128 AUTO
+$pdf->Cell(0, 0, 'CODE 128 AUTO', 0, 1);
+$pdf->write1DBarcode('CODE 128 AUTO', 'C128', '', '', '', 18, 0.4, $style, 'N');
+
+$pdf->Ln();
+
+// CODE 128 A
+$pdf->Cell(0, 0, 'CODE 128 A', 0, 1);
+$pdf->write1DBarcode('CODE 128 A', 'C128A', '', '', '', 18, 0.4, $style, 'N');
+
+$pdf->Ln();
+
+// CODE 128 B
+$pdf->Cell(0, 0, 'CODE 128 B', 0, 1);
+$pdf->write1DBarcode('CODE 128 B', 'C128B', '', '', '', 18, 0.4, $style, 'N');
+
+$pdf->Ln();
+
+// CODE 128 C
+$pdf->Cell(0, 0, 'CODE 128 C', 0, 1);
+$pdf->write1DBarcode('0123456789', 'C128C', '', '', '', 18, 0.4, $style, 'N');
+
+$pdf->Ln();
+
+// EAN 8
+$pdf->Cell(0, 0, 'EAN 8', 0, 1);
+$pdf->write1DBarcode('1234567', 'EAN8', '', '', '', 18, 0.4, $style, 'N');
+
+$pdf->Ln();
+
+// EAN 13
+$pdf->Cell(0, 0, 'EAN 13', 0, 1);
+$pdf->write1DBarcode('1234567890128', 'EAN13', '', '', '', 18, 0.4, $style, 'N');
+
+$pdf->Ln();
+
+// UPC-A
+$pdf->Cell(0, 0, 'UPC-A', 0, 1);
+$pdf->write1DBarcode('12345678901', 'UPCA', '', '', '', 18, 0.4, $style, 'N');
+
+$pdf->Ln();
+
+// UPC-E
+$pdf->Cell(0, 0, 'UPC-E', 0, 1);
+$pdf->write1DBarcode('04210000526', 'UPCE', '', '', '', 18, 0.4, $style, 'N');
+
+// add a page ----------
+$pdf->AddPage();
+
+// 5-Digits UPC-Based Extension
+$pdf->Cell(0, 0, '5-Digits UPC-Based Extension', 0, 1);
+$pdf->write1DBarcode('51234', 'EAN5', '', '', '', 18, 0.4, $style, 'N');
+
+$pdf->Ln();
+
+// 2-Digits UPC-Based Extension
+$pdf->Cell(0, 0, '2-Digits UPC-Based Extension', 0, 1);
+$pdf->write1DBarcode('34', 'EAN2', '', '', '', 18, 0.4, $style, 'N');
+
+$pdf->Ln();
+
+// MSI
+$pdf->Cell(0, 0, 'MSI', 0, 1);
+$pdf->write1DBarcode('80523', 'MSI', '', '', '', 18, 0.4, $style, 'N');
+
+$pdf->Ln();
+
+// MSI + CHECKSUM (module 11)
+$pdf->Cell(0, 0, 'MSI + CHECKSUM (module 11)', 0, 1);
+$pdf->write1DBarcode('80523', 'MSI+', '', '', '', 18, 0.4, $style, 'N');
+
+$pdf->Ln();
+
+// CODABAR
+$pdf->Cell(0, 0, 'CODABAR', 0, 1);
+$pdf->write1DBarcode('123456789', 'CODABAR', '', '', '', 18, 0.4, $style, 'N');
+
+$pdf->Ln();
+
+// CODE 11
+$pdf->Cell(0, 0, 'CODE 11', 0, 1);
+$pdf->write1DBarcode('123-456-789', 'CODE11', '', '', '', 18, 0.4, $style, 'N');
+
+$pdf->Ln();
+
+// PHARMACODE
+$pdf->Cell(0, 0, 'PHARMACODE', 0, 1);
+$pdf->write1DBarcode('789', 'PHARMA', '', '', '', 18, 0.4, $style, 'N');
+
+$pdf->Ln();
+
+// PHARMACODE TWO-TRACKS
+$pdf->Cell(0, 0, 'PHARMACODE TWO-TRACKS', 0, 1);
+$pdf->write1DBarcode('105', 'PHARMA2T', '', '', '', 18, 2, $style, 'N');
+
+// add a page ----------
+$pdf->AddPage();
+
+// IMB - Intelligent Mail Barcode - Onecode - USPS-B-3200
+$pdf->Cell(0, 0, 'IMB - Intelligent Mail Barcode - Onecode - USPS-B-3200', 0, 1);
+$pdf->write1DBarcode('01234567094987654321-01234567891', 'IMB', '', '', '', 15, 0.6, $style, 'N');
+
+$pdf->Ln();
+
+// POSTNET
+$pdf->Cell(0, 0, 'POSTNET', 0, 1);
+$pdf->write1DBarcode('98000', 'POSTNET', '', '', '', 15, 0.6, $style, 'N');
+
+$pdf->Ln();
+
+// PLANET
+$pdf->Cell(0, 0, 'PLANET', 0, 1);
+$pdf->write1DBarcode('98000', 'PLANET', '', '', '', 15, 0.6, $style, 'N');
+
+$pdf->Ln();
+
+// RMS4CC (Royal Mail 4-state Customer Code) - CBC (Customer Bar Code)
+$pdf->Cell(0, 0, 'RMS4CC (Royal Mail 4-state Customer Code) - CBC (Customer Bar Code)', 0, 1);
+$pdf->write1DBarcode('SN34RD1A', 'RMS4CC', '', '', '', 15, 0.6, $style, 'N');
+
+$pdf->Ln();
+
+// KIX (Klant index - Customer index)
+$pdf->Cell(0, 0, 'KIX (Klant index - Customer index)', 0, 1);
+$pdf->write1DBarcode('SN34RDX1A', 'KIX', '', '', '', 15, 0.6, $style, 'N');
+
+// - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+// TEST BARCODE ALIGNMENTS
+
+// add a page
+$pdf->AddPage();
+
+// set a background color
+$style['bgcolor'] = array(255,255,240);
+$style['fgcolor'] = array(127,0,0);
+
+// Left position
+$style['position'] = 'L';
+$pdf->write1DBarcode('LEFT', 'C128A', '', '', '', 15, 0.4, $style, 'N');
+
+$pdf->Ln(2);
+
+// Center position
+$style['position'] = 'C';
+$pdf->write1DBarcode('CENTER', 'C128A', '', '', '', 15, 0.4, $style, 'N');
+
+$pdf->Ln(2);
+
+// Right position
+$style['position'] = 'R';
+$pdf->write1DBarcode('RIGHT', 'C128A', '', '', '', 15, 0.4, $style, 'N');
+
+$pdf->Ln(2);
+// . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
+
+$style['fgcolor'] = array(0,127,0);
+$style['position'] = '';
+$style['stretch'] = false; // disable stretch
+$style['fitwidth'] = false; // disable fitwidth
+
+// Left alignment
+$style['align'] = 'L';
+$pdf->write1DBarcode('LEFT', 'C128A', '', '', '', 15, 0.4, $style, 'N');
+
+$pdf->Ln(2);
+
+// Center alignment
+$style['align'] = 'C';
+$pdf->write1DBarcode('CENTER', 'C128A', '', '', '', 15, 0.4, $style, 'N');
+
+$pdf->Ln(2);
+
+// Right alignment
+$style['align'] = 'R';
+$pdf->write1DBarcode('RIGHT', 'C128A', '', '', '', 15, 0.4, $style, 'N');
+
+$pdf->Ln(2);
+// . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
+
+$style['fgcolor'] = array(0,64,127);
+$style['position'] = '';
+$style['stretch'] = false; // disable stretch
+$style['fitwidth'] = true; // disable fitwidth
+
+// Left alignment
+$style['cellfitalign'] = 'L';
+$pdf->write1DBarcode('LEFT', 'C128A', 105, '', 90, 15, 0.4, $style, 'N');
+
+$pdf->Ln(2);
+
+// Center alignment
+$style['cellfitalign'] = 'C';
+$pdf->write1DBarcode('CENTER', 'C128A', 105, '', 90, 15, 0.4, $style, 'N');
+
+$pdf->Ln(2);
+
+// Right alignment
+$style['cellfitalign'] = 'R';
+$pdf->write1DBarcode('RIGHT', 'C128A', 105, '', 90, 15, 0.4, $style, 'N');
+
+$pdf->Ln(2);
+// . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
+
+$style['fgcolor'] = array(127,0,127);
+
+// Left alignment
+$style['position'] = 'L';
+$pdf->write1DBarcode('LEFT', 'C128A', '', '', '', 15, 0.4, $style, 'N');
+
+$pdf->Ln(2);
+
+// Center alignment
+$style['position'] = 'C';
+$pdf->write1DBarcode('CENTER', 'C128A', '', '', '', 15, 0.4, $style, 'N');
+
+$pdf->Ln(2);
+
+// Right alignment
+$style['position'] = 'R';
+$pdf->write1DBarcode('RIGHT', 'C128A', '', '', '', 15, 0.4, $style, 'N');
+
+// - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+// TEST BARCODE STYLE
+
+// define barcode style
+$style = array(
+ 'position' => '',
+ 'align' => '',
+ 'stretch' => true,
+ 'fitwidth' => false,
+ 'cellfitalign' => '',
+ 'border' => true,
+ 'hpadding' => 'auto',
+ 'vpadding' => 'auto',
+ 'fgcolor' => array(0,0,128),
+ 'bgcolor' => array(255,255,128),
+ 'text' => true,
+ 'label' => 'CUSTOM LABEL',
+ 'font' => 'helvetica',
+ 'fontsize' => 8,
+ 'stretchtext' => 4
+);
+
+// CODE 39 EXTENDED + CHECKSUM
+$pdf->Cell(0, 0, 'CODE 39 EXTENDED + CHECKSUM', 0, 1);
+$pdf->SetLineStyle(array('width' => 1, 'cap' => 'butt', 'join' => 'miter', 'dash' => 0, 'color' => array(255, 0, 0)));
+$pdf->write1DBarcode('CODE 39 E+', 'C39E+', '', '', 120, 25, 0.4, $style, 'N');
+
+// ---------------------------------------------------------
+
+//Close and output PDF document
+$pdf->Output('example_027.pdf', 'I');
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/example_028.php b/public/library/TCPDF/examples/example_028.php
new file mode 100644
index 0000000..f250ac5
--- /dev/null
+++ b/public/library/TCPDF/examples/example_028.php
@@ -0,0 +1,138 @@
+<?php
+//============================================================+
+// File name : example_028.php
+// Begin : 2008-03-04
+// Last Update : 2013-05-14
+//
+// Description : Example 028 for TCPDF class
+// Changing page formats
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * Creates an example PDF TEST document using TCPDF
+ * @package com.tecnick.tcpdf
+ * @abstract TCPDF - Example: changing page formats
+ * @author Nicola Asuni
+ * @since 2008-03-04
+ */
+
+// Include the main TCPDF library (search for installation path).
+require_once('tcpdf_include.php');
+
+// create new PDF document
+$pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false);
+
+// set document information
+$pdf->SetCreator(PDF_CREATOR);
+$pdf->SetAuthor('Nicola Asuni');
+$pdf->SetTitle('TCPDF Example 028');
+$pdf->SetSubject('TCPDF Tutorial');
+$pdf->SetKeywords('TCPDF, PDF, example, test, guide');
+
+// remove default header/footer
+$pdf->setPrintHeader(false);
+$pdf->setPrintFooter(false);
+
+// set default monospaced font
+$pdf->SetDefaultMonospacedFont(PDF_FONT_MONOSPACED);
+
+// set margins
+$pdf->SetMargins(10, PDF_MARGIN_TOP, 10);
+
+// set auto page breaks
+$pdf->SetAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM);
+
+// set image scale factor
+$pdf->setImageScale(PDF_IMAGE_SCALE_RATIO);
+
+// set some language-dependent strings (optional)
+if (@file_exists(dirname(__FILE__).'/lang/eng.php')) {
+ require_once(dirname(__FILE__).'/lang/eng.php');
+ $pdf->setLanguageArray($l);
+}
+
+// ---------------------------------------------------------
+
+$pdf->SetDisplayMode('fullpage', 'SinglePage', 'UseNone');
+
+// set font
+$pdf->SetFont('times', 'B', 20);
+
+$pdf->AddPage('P', 'A4');
+$pdf->Cell(0, 0, 'A4 PORTRAIT', 1, 1, 'C');
+
+$pdf->AddPage('L', 'A4');
+$pdf->Cell(0, 0, 'A4 LANDSCAPE', 1, 1, 'C');
+
+$pdf->AddPage('P', 'A5');
+$pdf->Cell(0, 0, 'A5 PORTRAIT', 1, 1, 'C');
+
+$pdf->AddPage('L', 'A5');
+$pdf->Cell(0, 0, 'A5 LANDSCAPE', 1, 1, 'C');
+
+$pdf->AddPage('P', 'A6');
+$pdf->Cell(0, 0, 'A6 PORTRAIT', 1, 1, 'C');
+
+$pdf->AddPage('L', 'A6');
+$pdf->Cell(0, 0, 'A6 LANDSCAPE', 1, 1, 'C');
+
+$pdf->AddPage('P', 'A7');
+$pdf->Cell(0, 0, 'A7 PORTRAIT', 1, 1, 'C');
+
+$pdf->AddPage('L', 'A7');
+$pdf->Cell(0, 0, 'A7 LANDSCAPE', 1, 1, 'C');
+
+
+// --- test backward editing ---
+
+
+$pdf->setPage(1, true);
+$pdf->SetY(50);
+$pdf->Cell(0, 0, 'A4 test', 1, 1, 'C');
+
+$pdf->setPage(2, true);
+$pdf->SetY(50);
+$pdf->Cell(0, 0, 'A4 test', 1, 1, 'C');
+
+$pdf->setPage(3, true);
+$pdf->SetY(50);
+$pdf->Cell(0, 0, 'A5 test', 1, 1, 'C');
+
+$pdf->setPage(4, true);
+$pdf->SetY(50);
+$pdf->Cell(0, 0, 'A5 test', 1, 1, 'C');
+
+$pdf->setPage(5, true);
+$pdf->SetY(50);
+$pdf->Cell(0, 0, 'A6 test', 1, 1, 'C');
+
+$pdf->setPage(6, true);
+$pdf->SetY(50);
+$pdf->Cell(0, 0, 'A6 test', 1, 1, 'C');
+
+$pdf->setPage(7, true);
+$pdf->SetY(40);
+$pdf->Cell(0, 0, 'A7 test', 1, 1, 'C');
+
+$pdf->setPage(8, true);
+$pdf->SetY(40);
+$pdf->Cell(0, 0, 'A7 test', 1, 1, 'C');
+
+$pdf->lastPage();
+
+// ---------------------------------------------------------
+
+//Close and output PDF document
+$pdf->Output('example_028.pdf', 'I');
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/example_029.php b/public/library/TCPDF/examples/example_029.php
new file mode 100644
index 0000000..33be97e
--- /dev/null
+++ b/public/library/TCPDF/examples/example_029.php
@@ -0,0 +1,124 @@
+<?php
+//============================================================+
+// File name : example_029.php
+// Begin : 2008-06-09
+// Last Update : 2013-05-14
+//
+// Description : Example 029 for TCPDF class
+// Set PDF viewer display preferences.
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * Creates an example PDF TEST document using TCPDF
+ * @package com.tecnick.tcpdf
+ * @abstract TCPDF - Example: Set PDF viewer display preferences.
+ * @author Nicola Asuni
+ * @since 2008-06-09
+ */
+
+// Include the main TCPDF library (search for installation path).
+require_once('tcpdf_include.php');
+
+// create new PDF document
+$pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false);
+
+// set document information
+$pdf->SetCreator(PDF_CREATOR);
+$pdf->SetAuthor('Nicola Asuni');
+$pdf->SetTitle('TCPDF Example 029');
+$pdf->SetSubject('TCPDF Tutorial');
+$pdf->SetKeywords('TCPDF, PDF, example, test, guide');
+
+// set default header data
+$pdf->SetHeaderData(PDF_HEADER_LOGO, PDF_HEADER_LOGO_WIDTH, PDF_HEADER_TITLE.' 029', PDF_HEADER_STRING);
+
+// set header and footer fonts
+$pdf->setHeaderFont(Array(PDF_FONT_NAME_MAIN, '', PDF_FONT_SIZE_MAIN));
+$pdf->setFooterFont(Array(PDF_FONT_NAME_DATA, '', PDF_FONT_SIZE_DATA));
+
+// set default monospaced font
+$pdf->SetDefaultMonospacedFont(PDF_FONT_MONOSPACED);
+
+// set margins
+$pdf->SetMargins(PDF_MARGIN_LEFT, PDF_MARGIN_TOP, PDF_MARGIN_RIGHT);
+$pdf->SetHeaderMargin(PDF_MARGIN_HEADER);
+$pdf->SetFooterMargin(PDF_MARGIN_FOOTER);
+
+// set auto page breaks
+$pdf->SetAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM);
+
+// set image scale factor
+$pdf->setImageScale(PDF_IMAGE_SCALE_RATIO);
+
+// set some language-dependent strings (optional)
+if (@file_exists(dirname(__FILE__).'/lang/eng.php')) {
+ require_once(dirname(__FILE__).'/lang/eng.php');
+ $pdf->setLanguageArray($l);
+}
+
+// ---------------------------------------------------------
+
+// set array for viewer preferences
+$preferences = array(
+ 'HideToolbar' => true,
+ 'HideMenubar' => true,
+ 'HideWindowUI' => true,
+ 'FitWindow' => true,
+ 'CenterWindow' => true,
+ 'DisplayDocTitle' => true,
+ 'NonFullScreenPageMode' => 'UseNone', // UseNone, UseOutlines, UseThumbs, UseOC
+ 'ViewArea' => 'CropBox', // CropBox, BleedBox, TrimBox, ArtBox
+ 'ViewClip' => 'CropBox', // CropBox, BleedBox, TrimBox, ArtBox
+ 'PrintArea' => 'CropBox', // CropBox, BleedBox, TrimBox, ArtBox
+ 'PrintClip' => 'CropBox', // CropBox, BleedBox, TrimBox, ArtBox
+ 'PrintScaling' => 'AppDefault', // None, AppDefault
+ 'Duplex' => 'DuplexFlipLongEdge', // Simplex, DuplexFlipShortEdge, DuplexFlipLongEdge
+ 'PickTrayByPDFSize' => true,
+ 'PrintPageRange' => array(1,1,2,3),
+ 'NumCopies' => 2
+);
+
+// Check the example n. 60 for advanced page settings
+
+// set pdf viewer preferences
+$pdf->setViewerPreferences($preferences);
+
+// set font
+$pdf->SetFont('times', '', 14);
+
+// add a page
+$pdf->AddPage();
+
+// print a line
+$pdf->Cell(0, 12, 'DISPLAY PREFERENCES - PAGE 1', 1, 1, 'C');
+
+$pdf->Ln(5);
+
+$pdf->Write(0, 'You can use the setViewerPreferences() method to change viewer preferences.', '', 0, 'L', true, 0, false, false, 0);
+
+// add a page
+$pdf->AddPage();
+// print a line
+$pdf->Cell(0, 12, 'DISPLAY PREFERENCES - PAGE 2', 0, 0, 'C');
+
+// add a page
+$pdf->AddPage();
+// print a line
+$pdf->Cell(0, 12, 'DISPLAY PREFERENCES - PAGE 3', 0, 0, 'C');
+
+// ---------------------------------------------------------
+
+//Close and output PDF document
+$pdf->Output('example_029.pdf', 'D');
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/example_030.php b/public/library/TCPDF/examples/example_030.php
new file mode 100644
index 0000000..ed4e799
--- /dev/null
+++ b/public/library/TCPDF/examples/example_030.php
@@ -0,0 +1,188 @@
+<?php
+//============================================================+
+// File name : example_030.php
+// Begin : 2008-06-09
+// Last Update : 2013-05-14
+//
+// Description : Example 030 for TCPDF class
+// Colour gradients
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * Creates an example PDF TEST document using TCPDF
+ * @package com.tecnick.tcpdf
+ * @abstract TCPDF - Example: Colour gradients
+ * @author Nicola Asuni
+ * @since 2008-06-09
+ */
+
+// Include the main TCPDF library (search for installation path).
+require_once('tcpdf_include.php');
+
+// create new PDF document
+$pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false);
+
+// set document information
+$pdf->SetCreator(PDF_CREATOR);
+$pdf->SetAuthor('Nicola Asuni');
+$pdf->SetTitle('TCPDF Example 030');
+$pdf->SetSubject('TCPDF Tutorial');
+$pdf->SetKeywords('TCPDF, PDF, example, test, guide');
+
+// set default header data
+$pdf->SetHeaderData(PDF_HEADER_LOGO, PDF_HEADER_LOGO_WIDTH, PDF_HEADER_TITLE.' 030', PDF_HEADER_STRING);
+
+// set header and footer fonts
+$pdf->setHeaderFont(Array(PDF_FONT_NAME_MAIN, '', PDF_FONT_SIZE_MAIN));
+$pdf->setFooterFont(Array(PDF_FONT_NAME_DATA, '', PDF_FONT_SIZE_DATA));
+
+// set default monospaced font
+$pdf->SetDefaultMonospacedFont(PDF_FONT_MONOSPACED);
+
+// set margins
+$pdf->SetMargins(PDF_MARGIN_LEFT, PDF_MARGIN_TOP, PDF_MARGIN_RIGHT);
+$pdf->SetHeaderMargin(PDF_MARGIN_HEADER);
+$pdf->SetFooterMargin(PDF_MARGIN_FOOTER);
+
+// set auto page breaks
+$pdf->SetAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM);
+
+// set image scale factor
+$pdf->setImageScale(PDF_IMAGE_SCALE_RATIO);
+
+// set some language-dependent strings (optional)
+if (@file_exists(dirname(__FILE__).'/lang/eng.php')) {
+ require_once(dirname(__FILE__).'/lang/eng.php');
+ $pdf->setLanguageArray($l);
+}
+
+// ---------------------------------------------------------
+
+// set font
+$pdf->SetFont('helvetica', 'B', 20);
+
+// --- first page ------------------------------------------
+
+// add a page
+$pdf->AddPage();
+
+$pdf->Cell(0, 0, 'TCPDF Gradients', 0, 1, 'C', 0, '', 0, false, 'T', 'M');
+
+// set colors for gradients (r,g,b) or (grey 0-255)
+$red = array(255, 0, 0);
+$blue = array(0, 0, 200);
+$yellow = array(255, 255, 0);
+$green = array(0, 255, 0);
+$white = array(255);
+$black = array(0);
+
+// set the coordinates x1,y1,x2,y2 of the gradient (see linear_gradient_coords.jpg)
+$coords = array(0, 0, 1, 0);
+
+// paint a linear gradient
+$pdf->LinearGradient(20, 45, 80, 80, $red, $blue, $coords);
+
+// write label
+$pdf->Text(20, 130, 'LinearGradient()');
+
+// set the coordinates fx,fy,cx,cy,r of the gradient (see radial_gradient_coords.jpg)
+$coords = array(0.5, 0.5, 1, 1, 1.2);
+
+// paint a radial gradient
+$pdf->RadialGradient(110, 45, 80, 80, $white, $black, $coords);
+
+// write label
+$pdf->Text(110, 130, 'RadialGradient()');
+
+// paint a coons patch mesh with default coordinates
+$pdf->CoonsPatchMesh(20, 155, 80, 80, $yellow, $blue, $green, $red);
+
+// write label
+$pdf->Text(20, 240, 'CoonsPatchMesh()');
+
+// set the coordinates for the cubic Bézier points x1,y1 ... x12, y12 of the patch (see coons_patch_mesh_coords.jpg)
+$coords = array(
+ 0.00,0.00, 0.33,0.20, //lower left
+ 0.67,0.00, 1.00,0.00, 0.80,0.33, //lower right
+ 0.80,0.67, 1.00,1.00, 0.67,0.80, //upper right
+ 0.33,1.00, 0.00,1.00, 0.20,0.67, //upper left
+ 0.00,0.33); //lower left
+$coords_min = 0; //minimum value of the coordinates
+$coords_max = 1; //maximum value of the coordinates
+
+// paint a coons patch gradient with the above coordinates
+$pdf->CoonsPatchMesh(110, 155, 80, 80, $yellow, $blue, $green, $red, $coords, $coords_min, $coords_max);
+
+// write label
+$pdf->Text(110, 240, 'CoonsPatchMesh()');
+
+// --- second page -----------------------------------------
+$pdf->AddPage();
+
+// first patch: f = 0
+$patch_array[0]['f'] = 0;
+$patch_array[0]['points'] = array(
+ 0.00,0.00, 0.33,0.00,
+ 0.67,0.00, 1.00,0.00, 1.00,0.33,
+ 0.8,0.67, 1.00,1.00, 0.67,0.8,
+ 0.33,1.80, 0.00,1.00, 0.00,0.67,
+ 0.00,0.33);
+$patch_array[0]['colors'][0] = array('r' => 255, 'g' => 255, 'b' => 0);
+$patch_array[0]['colors'][1] = array('r' => 0, 'g' => 0, 'b' => 255);
+$patch_array[0]['colors'][2] = array('r' => 0, 'g' => 255,'b' => 0);
+$patch_array[0]['colors'][3] = array('r' => 255, 'g' => 0,'b' => 0);
+
+// second patch - above the other: f = 2
+$patch_array[1]['f'] = 2;
+$patch_array[1]['points'] = array(
+ 0.00,1.33,
+ 0.00,1.67, 0.00,2.00, 0.33,2.00,
+ 0.67,2.00, 1.00,2.00, 1.00,1.67,
+ 1.5,1.33);
+$patch_array[1]['colors'][0]=array('r' => 0, 'g' => 0, 'b' => 0);
+$patch_array[1]['colors'][1]=array('r' => 255, 'g' => 0, 'b' => 255);
+
+// third patch - right of the above: f = 3
+$patch_array[2]['f'] = 3;
+$patch_array[2]['points'] = array(
+ 1.33,0.80,
+ 1.67,1.50, 2.00,1.00, 2.00,1.33,
+ 2.00,1.67, 2.00,2.00, 1.67,2.00,
+ 1.33,2.00);
+$patch_array[2]['colors'][0] = array('r' => 0, 'g' => 255, 'b' => 255);
+$patch_array[2]['colors'][1] = array('r' => 0, 'g' => 0, 'b' => 0);
+
+// fourth patch - below the above, which means left(?) of the above: f = 1
+$patch_array[3]['f'] = 1;
+$patch_array[3]['points'] = array(
+ 2.00,0.67,
+ 2.00,0.33, 2.00,0.00, 1.67,0.00,
+ 1.33,0.00, 1.00,0.00, 1.00,0.33,
+ 0.8,0.67);
+$patch_array[3]['colors'][0] = array('r' => 0, 'g' => 0, 'b' => 0);
+$patch_array[3]['colors'][1] = array('r' => 0, 'g' => 0, 'b' => 255);
+
+$coords_min = 0;
+$coords_max = 2;
+
+$pdf->CoonsPatchMesh(10, 45, 190, 200, '', '', '', '', $patch_array, $coords_min, $coords_max);
+
+// write label
+$pdf->Text(10, 250, 'CoonsPatchMesh()');
+
+// ---------------------------------------------------------
+
+//Close and output PDF document
+$pdf->Output('example_030.pdf', 'D');
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/example_031.php b/public/library/TCPDF/examples/example_031.php
new file mode 100644
index 0000000..160d162
--- /dev/null
+++ b/public/library/TCPDF/examples/example_031.php
@@ -0,0 +1,103 @@
+<?php
+//============================================================+
+// File name : example_031.php
+// Begin : 2008-06-09
+// Last Update : 2013-05-14
+//
+// Description : Example 031 for TCPDF class
+// Pie Chart
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * Creates an example PDF TEST document using TCPDF
+ * @package com.tecnick.tcpdf
+ * @abstract TCPDF - Example: Pie Chart
+ * @author Nicola Asuni
+ * @since 2008-06-09
+ */
+
+// Include the main TCPDF library (search for installation path).
+require_once('tcpdf_include.php');
+
+// create new PDF document
+$pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false);
+
+// set document information
+$pdf->SetCreator(PDF_CREATOR);
+$pdf->SetAuthor('Nicola Asuni');
+$pdf->SetTitle('TCPDF Example 031');
+$pdf->SetSubject('TCPDF Tutorial');
+$pdf->SetKeywords('TCPDF, PDF, example, test, guide');
+
+// set default header data
+$pdf->SetHeaderData(PDF_HEADER_LOGO, PDF_HEADER_LOGO_WIDTH, PDF_HEADER_TITLE.' 031', PDF_HEADER_STRING);
+
+// set header and footer fonts
+$pdf->setHeaderFont(Array(PDF_FONT_NAME_MAIN, '', PDF_FONT_SIZE_MAIN));
+$pdf->setFooterFont(Array(PDF_FONT_NAME_DATA, '', PDF_FONT_SIZE_DATA));
+
+// set default monospaced font
+$pdf->SetDefaultMonospacedFont(PDF_FONT_MONOSPACED);
+
+// set margins
+$pdf->SetMargins(PDF_MARGIN_LEFT, PDF_MARGIN_TOP, PDF_MARGIN_RIGHT);
+$pdf->SetHeaderMargin(PDF_MARGIN_HEADER);
+$pdf->SetFooterMargin(PDF_MARGIN_FOOTER);
+
+// set auto page breaks
+$pdf->SetAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM);
+
+// set image scale factor
+$pdf->setImageScale(PDF_IMAGE_SCALE_RATIO);
+
+// set some language-dependent strings (optional)
+if (@file_exists(dirname(__FILE__).'/lang/eng.php')) {
+ require_once(dirname(__FILE__).'/lang/eng.php');
+ $pdf->setLanguageArray($l);
+}
+
+// ---------------------------------------------------------
+
+// set font
+$pdf->SetFont('helvetica', 'B', 20);
+
+// add a page
+$pdf->AddPage();
+
+$pdf->Write(0, 'Example of PieSector() method.');
+
+$xc = 105;
+$yc = 100;
+$r = 50;
+
+$pdf->SetFillColor(0, 0, 255);
+$pdf->PieSector($xc, $yc, $r, 20, 120, 'FD', false, 0, 2);
+
+$pdf->SetFillColor(0, 255, 0);
+$pdf->PieSector($xc, $yc, $r, 120, 250, 'FD', false, 0, 2);
+
+$pdf->SetFillColor(255, 0, 0);
+$pdf->PieSector($xc, $yc, $r, 250, 20, 'FD', false, 0, 2);
+
+// write labels
+$pdf->SetTextColor(255,255,255);
+$pdf->Text(105, 65, 'BLUE');
+$pdf->Text(60, 95, 'GREEN');
+$pdf->Text(120, 115, 'RED');
+
+// ---------------------------------------------------------
+
+//Close and output PDF document
+$pdf->Output('example_031.pdf', 'I');
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/example_032.php b/public/library/TCPDF/examples/example_032.php
new file mode 100644
index 0000000..b38f5ae
--- /dev/null
+++ b/public/library/TCPDF/examples/example_032.php
@@ -0,0 +1,91 @@
+<?php
+//============================================================+
+// File name : example_032.php
+// Begin : 2008-06-09
+// Last Update : 2013-06-19
+//
+// Description : Example 032 for TCPDF class
+// EPS/AI image
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * Creates an example PDF TEST document using TCPDF
+ * @package com.tecnick.tcpdf
+ * @abstract TCPDF - Example: EPS/AI image
+ * @author Nicola Asuni
+ * @since 2008-06-09
+ */
+
+// Include the main TCPDF library (search for installation path).
+require_once('tcpdf_include.php');
+
+// create new PDF document
+$pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false);
+
+// set document information
+$pdf->SetCreator(PDF_CREATOR);
+$pdf->SetAuthor('Nicola Asuni');
+$pdf->SetTitle('TCPDF Example 032');
+$pdf->SetSubject('TCPDF Tutorial');
+$pdf->SetKeywords('TCPDF, PDF, example, test, guide');
+
+// set default header data
+$pdf->SetHeaderData(PDF_HEADER_LOGO, PDF_HEADER_LOGO_WIDTH, PDF_HEADER_TITLE.' 032', PDF_HEADER_STRING);
+
+// set header and footer fonts
+$pdf->setHeaderFont(Array(PDF_FONT_NAME_MAIN, '', PDF_FONT_SIZE_MAIN));
+$pdf->setFooterFont(Array(PDF_FONT_NAME_DATA, '', PDF_FONT_SIZE_DATA));
+
+// set default monospaced font
+$pdf->SetDefaultMonospacedFont(PDF_FONT_MONOSPACED);
+
+// set margins
+$pdf->SetMargins(PDF_MARGIN_LEFT, PDF_MARGIN_TOP, PDF_MARGIN_RIGHT);
+$pdf->SetHeaderMargin(PDF_MARGIN_HEADER);
+$pdf->SetFooterMargin(PDF_MARGIN_FOOTER);
+
+// set auto page breaks
+$pdf->SetAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM);
+
+// set image scale factor
+$pdf->setImageScale(PDF_IMAGE_SCALE_RATIO);
+
+// set some language-dependent strings (optional)
+if (@file_exists(dirname(__FILE__).'/lang/eng.php')) {
+ require_once(dirname(__FILE__).'/lang/eng.php');
+ $pdf->setLanguageArray($l);
+}
+
+// ---------------------------------------------------------
+
+// set font
+$pdf->SetFont('helvetica', '', 12);
+
+$pdf->AddPage();
+
+$html = <<<EOD
+Example of ImageEPS() method for AI and EPS images<br />
+NOTE: <i>Please use SVG format for a better vector support</i>.
+EOD;
+
+// Print text using writeHTMLCell()
+$pdf->writeHTMLCell(0, 0, '', '', $html, 0, 1, 0, true, '', true);
+
+$pdf->ImageEps('images/tcpdf_box.ai', 10, 40, 150, '', 'http://www.tcpdf.org', true, '', '', 0, false);
+
+// ---------------------------------------------------------
+
+//Close and output PDF document
+$pdf->Output('example_032.pdf', 'I');
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/example_033.php b/public/library/TCPDF/examples/example_033.php
new file mode 100644
index 0000000..4f95e40
--- /dev/null
+++ b/public/library/TCPDF/examples/example_033.php
@@ -0,0 +1,105 @@
+<?php
+//============================================================+
+// File name : example_033.php
+// Begin : 2008-06-24
+// Last Update : 2013-05-14
+//
+// Description : Example 033 for TCPDF class
+// Mixed font types
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * Creates an example PDF TEST document using TCPDF
+ * @package com.tecnick.tcpdf
+ * @abstract TCPDF - Example: Mixed font types
+ * @author Nicola Asuni
+ * @since 2008-06-24
+ */
+
+// Include the main TCPDF library (search for installation path).
+require_once('tcpdf_include.php');
+
+// create new PDF document
+$pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false);
+
+// set document information
+$pdf->SetCreator(PDF_CREATOR);
+$pdf->SetAuthor('Nicola Asuni');
+$pdf->SetTitle('TCPDF Example 033');
+$pdf->SetSubject('TCPDF Tutorial');
+$pdf->SetKeywords('TCPDF, PDF, example, test, guide');
+
+// set default header data
+$pdf->SetHeaderData(PDF_HEADER_LOGO, PDF_HEADER_LOGO_WIDTH, PDF_HEADER_TITLE.' 033', PDF_HEADER_STRING);
+
+// set header and footer fonts
+$pdf->setHeaderFont(Array(PDF_FONT_NAME_MAIN, '', PDF_FONT_SIZE_MAIN));
+$pdf->setFooterFont(Array(PDF_FONT_NAME_DATA, '', PDF_FONT_SIZE_DATA));
+
+// set default monospaced font
+$pdf->SetDefaultMonospacedFont(PDF_FONT_MONOSPACED);
+
+// set margins
+$pdf->SetMargins(PDF_MARGIN_LEFT, PDF_MARGIN_TOP, PDF_MARGIN_RIGHT);
+$pdf->SetHeaderMargin(PDF_MARGIN_HEADER);
+$pdf->SetFooterMargin(PDF_MARGIN_FOOTER);
+
+// set auto page breaks
+$pdf->SetAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM);
+
+// set image scale factor
+$pdf->setImageScale(PDF_IMAGE_SCALE_RATIO);
+
+// set some language-dependent strings (optional)
+if (@file_exists(dirname(__FILE__).'/lang/eng.php')) {
+ require_once(dirname(__FILE__).'/lang/eng.php');
+ $pdf->setLanguageArray($l);
+}
+
+// ---------------------------------------------------------
+
+// add a page
+$pdf->AddPage();
+
+// set default font subsetting mode
+$pdf->setFontSubsetting(false);
+
+$pdf->SetFont('helvetica', 'B', 20);
+
+$pdf->Write(0, 'Font Types', '', 0, 'C', 1, 0, false, false, 0);
+
+$pdf->Ln(10);
+
+$pdf->SetFont('times', '', 10);
+
+$pdf->MultiCell(80, 0, "[Core font] : Cras eros leo, porttitor porta, accumsan fermentum, ornare ac, est. Praesent dui lorem, imperdiet at, cursus sed, facilisis aliquam, nibh. Nulla accumsan nonummy diam. Donec tempus. Etiam posuere. Proin lectus. Donec purus. Duis in sem pretium urna feugiat vehicula. Ut suscipit velit eget massa. Nam nonummy, enim commodo euismod placerat, tortor elit tempus lectus, quis suscipit metus lorem blandit turpis.\n", 1, 'J', 0, 1, '', '', true, 0);
+
+$pdf->Ln(2);
+
+$pdf->SetFont('dejavusans', '', 10);
+
+$pdf->MultiCell(80, 0, "[True Type Unicode font] : Cras eros leo, porttitor porta, accumsan fermentum, ornare ac, est. Praesent dui lorem, imperdiet at, cursus sed, facilisis aliquam, nibh. Nulla accumsan nonummy diam. Donec tempus. Etiam posuere. Proin lectus. Donec purus. Duis in sem pretium urna feugiat vehicula. Ut suscipit velit eget massa. Nam nonummy, enim commodo euismod placerat, tortor elit tempus lectus, quis suscipit metus lorem blandit turpis.\n", 1, 'J', 0, 1, '', '', true, 0);
+
+$pdf->Ln(2);
+
+$pdf->SetFont('cid0jp', '', 9);
+
+$pdf->MultiCell(80, 0, "[CID-0 font] : Cras eros leo, porttitor porta, accumsan fermentum, ornare ac, est. Praesent dui lorem, imperdiet at, cursus sed, facilisis aliquam, nibh. Nulla accumsan nonummy diam. Donec tempus. Etiam posuere. Proin lectus. Donec purus. Duis in sem pretium urna feugiat vehicula. Ut suscipit velit eget massa. Nam nonummy, enim commodo euismod placerat, tortor elit tempus lectus, quis suscipit metus lorem blandit turpis.\n", 1, 'J', 0, 1, '', '', true, 0);
+
+
+// ---------------------------------------------------------
+
+//Close and output PDF document
+$pdf->Output('example_033.pdf', 'I');
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/example_034.php b/public/library/TCPDF/examples/example_034.php
new file mode 100644
index 0000000..bb15902
--- /dev/null
+++ b/public/library/TCPDF/examples/example_034.php
@@ -0,0 +1,96 @@
+<?php
+//============================================================+
+// File name : example_034.php
+// Begin : 2008-07-18
+// Last Update : 2013-05-14
+//
+// Description : Example 034 for TCPDF class
+// Clipping
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * Creates an example PDF TEST document using TCPDF
+ * @package com.tecnick.tcpdf
+ * @abstract TCPDF - Example: Clipping
+ * @author Nicola Asuni
+ * @since 2008-03-04
+ */
+
+// Include the main TCPDF library (search for installation path).
+require_once('tcpdf_include.php');
+
+// create new PDF document
+$pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false);
+
+// set document information
+$pdf->SetCreator(PDF_CREATOR);
+$pdf->SetAuthor('Nicola Asuni');
+$pdf->SetTitle('TCPDF Example 034');
+$pdf->SetSubject('TCPDF Tutorial');
+$pdf->SetKeywords('TCPDF, PDF, example, test, guide');
+
+// set default header data
+$pdf->SetHeaderData(PDF_HEADER_LOGO, PDF_HEADER_LOGO_WIDTH, PDF_HEADER_TITLE.' 034', PDF_HEADER_STRING);
+
+// set header and footer fonts
+$pdf->setHeaderFont(Array(PDF_FONT_NAME_MAIN, '', PDF_FONT_SIZE_MAIN));
+$pdf->setFooterFont(Array(PDF_FONT_NAME_DATA, '', PDF_FONT_SIZE_DATA));
+
+// set default monospaced font
+$pdf->SetDefaultMonospacedFont(PDF_FONT_MONOSPACED);
+
+// set margins
+$pdf->SetMargins(PDF_MARGIN_LEFT, PDF_MARGIN_TOP, PDF_MARGIN_RIGHT);
+$pdf->SetHeaderMargin(PDF_MARGIN_HEADER);
+$pdf->SetFooterMargin(PDF_MARGIN_FOOTER);
+
+// set auto page breaks
+$pdf->SetAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM);
+
+// set image scale factor
+$pdf->setImageScale(PDF_IMAGE_SCALE_RATIO);
+
+// set some language-dependent strings (optional)
+if (@file_exists(dirname(__FILE__).'/lang/eng.php')) {
+ require_once(dirname(__FILE__).'/lang/eng.php');
+ $pdf->setLanguageArray($l);
+}
+
+// ---------------------------------------------------------
+
+// set font
+$pdf->SetFont('helvetica', 'B', 20);
+
+// add a page
+$pdf->AddPage();
+
+$pdf->Write(0, 'Image Clipping using geometric functions', '', 0, 'C', 1, 0, false, false, 0);
+
+//Start Graphic Transformation
+$pdf->StartTransform();
+
+// set clipping mask
+$pdf->StarPolygon(105, 100, 30, 10, 3, 0, 1, 'CNZ');
+
+// draw jpeg image to be clipped
+$pdf->Image('images/image_demo.jpg', 75, 70, 60, 60, '', 'http://www.tcpdf.org', '', true, 72);
+
+//Stop Graphic Transformation
+$pdf->StopTransform();
+
+// ---------------------------------------------------------
+
+//Close and output PDF document
+$pdf->Output('example_034.pdf', 'I');
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/example_035.php b/public/library/TCPDF/examples/example_035.php
new file mode 100644
index 0000000..0e5280c
--- /dev/null
+++ b/public/library/TCPDF/examples/example_035.php
@@ -0,0 +1,111 @@
+<?php
+//============================================================+
+// File name : example_035.php
+// Begin : 2008-07-22
+// Last Update : 2013-05-14
+//
+// Description : Example 035 for TCPDF class
+// Line styles with cells and multicells
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * Creates an example PDF TEST document using TCPDF
+ * @package com.tecnick.tcpdf
+ * @abstract TCPDF - Example: Line styles with cells and multicells
+ * @author Nicola Asuni
+ * @since 2008-03-04
+ */
+
+// Include the main TCPDF library (search for installation path).
+require_once('tcpdf_include.php');
+
+// create new PDF document
+$pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false);
+
+// set document information
+$pdf->SetCreator(PDF_CREATOR);
+$pdf->SetAuthor('Nicola Asuni');
+$pdf->SetTitle('TCPDF Example 035');
+$pdf->SetSubject('TCPDF Tutorial');
+$pdf->SetKeywords('TCPDF, PDF, example, test, guide');
+
+// set default header data
+$pdf->SetHeaderData(PDF_HEADER_LOGO, PDF_HEADER_LOGO_WIDTH, PDF_HEADER_TITLE.' 035', PDF_HEADER_STRING);
+
+// set header and footer fonts
+$pdf->setHeaderFont(Array(PDF_FONT_NAME_MAIN, '', PDF_FONT_SIZE_MAIN));
+$pdf->setFooterFont(Array(PDF_FONT_NAME_DATA, '', PDF_FONT_SIZE_DATA));
+
+// set default monospaced font
+$pdf->SetDefaultMonospacedFont(PDF_FONT_MONOSPACED);
+
+// set margins
+$pdf->SetMargins(PDF_MARGIN_LEFT, PDF_MARGIN_TOP, PDF_MARGIN_RIGHT);
+$pdf->SetHeaderMargin(PDF_MARGIN_HEADER);
+$pdf->SetFooterMargin(PDF_MARGIN_FOOTER);
+
+// set auto page breaks
+$pdf->SetAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM);
+
+// set image scale factor
+$pdf->setImageScale(PDF_IMAGE_SCALE_RATIO);
+
+// set some language-dependent strings (optional)
+if (@file_exists(dirname(__FILE__).'/lang/eng.php')) {
+ require_once(dirname(__FILE__).'/lang/eng.php');
+ $pdf->setLanguageArray($l);
+}
+
+// ---------------------------------------------------------
+
+// set font
+$pdf->SetFont('times', 'BI', 16);
+
+// add a page
+$pdf->AddPage();
+
+$pdf->Write(0, 'Example of SetLineStyle() method', '', 0, 'L', true, 0, false, false, 0);
+
+$pdf->Ln();
+
+$pdf->SetLineStyle(array('width' => 0.5, 'cap' => 'butt', 'join' => 'miter', 'dash' => 4, 'color' => array(255, 0, 0)));
+$pdf->SetFillColor(255,255,128);
+$pdf->SetTextColor(0,0,128);
+
+$text="DUMMY";
+
+$pdf->Cell(0, 0, $text, 1, 1, 'L', 1, 0);
+
+$pdf->Ln();
+
+$pdf->SetLineStyle(array('width' => 0.5, 'cap' => 'butt', 'join' => 'miter', 'dash' => 0, 'color' => array(0, 0, 255)));
+$pdf->SetFillColor(255,255,0);
+$pdf->SetTextColor(0,0,255);
+$pdf->MultiCell(60, 4, $text, 1, 'C', 1, 0);
+
+$pdf->SetLineStyle(array('width' => 0.5, 'cap' => 'butt', 'join' => 'miter', 'dash' => 0, 'color' => array(255, 255, 0)));
+$pdf->SetFillColor(0,0,255);
+$pdf->SetTextColor(255,255,0);
+$pdf->MultiCell(60, 4, $text, 'TB', 'C', 1, 0);
+
+$pdf->SetLineStyle(array('width' => 0.5, 'cap' => 'butt', 'join' => 'miter', 'dash' => 0, 'color' => array(255, 0, 255)));
+$pdf->SetFillColor(0,255,0);
+$pdf->SetTextColor(255,0,255);
+$pdf->MultiCell(60, 4, $text, 1, 'C', 1, 1);
+
+// ---------------------------------------------------------
+
+//Close and output PDF document
+$pdf->Output('example_035.pdf', 'I');
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/example_036.php b/public/library/TCPDF/examples/example_036.php
new file mode 100644
index 0000000..2625497
--- /dev/null
+++ b/public/library/TCPDF/examples/example_036.php
@@ -0,0 +1,89 @@
+<?php
+//============================================================+
+// File name : example_036.php
+// Begin : 2008-08-08
+// Last Update : 2013-05-14
+//
+// Description : Example 036 for TCPDF class
+// Annotations
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * Creates an example PDF TEST document using TCPDF
+ * @package com.tecnick.tcpdf
+ * @abstract TCPDF - Example: Annotations
+ * @author Nicola Asuni
+ * @since 2008-08-08
+ */
+
+// Include the main TCPDF library (search for installation path).
+require_once('tcpdf_include.php');
+
+// create new PDF document
+$pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false);
+
+// set document information
+$pdf->SetCreator(PDF_CREATOR);
+$pdf->SetAuthor('Nicola Asuni');
+$pdf->SetTitle('TCPDF Example 036');
+$pdf->SetSubject('TCPDF Tutorial');
+$pdf->SetKeywords('TCPDF, PDF, example, test, guide');
+
+// set default header data
+$pdf->SetHeaderData(PDF_HEADER_LOGO, PDF_HEADER_LOGO_WIDTH, PDF_HEADER_TITLE.' 036', PDF_HEADER_STRING);
+
+// set header and footer fonts
+$pdf->setHeaderFont(Array(PDF_FONT_NAME_MAIN, '', PDF_FONT_SIZE_MAIN));
+$pdf->setFooterFont(Array(PDF_FONT_NAME_DATA, '', PDF_FONT_SIZE_DATA));
+
+// set default monospaced font
+$pdf->SetDefaultMonospacedFont(PDF_FONT_MONOSPACED);
+
+// set margins
+$pdf->SetMargins(PDF_MARGIN_LEFT, PDF_MARGIN_TOP, PDF_MARGIN_RIGHT);
+$pdf->SetHeaderMargin(PDF_MARGIN_HEADER);
+$pdf->SetFooterMargin(PDF_MARGIN_FOOTER);
+
+// set auto page breaks
+$pdf->SetAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM);
+
+// set image scale factor
+$pdf->setImageScale(PDF_IMAGE_SCALE_RATIO);
+
+// set some language-dependent strings (optional)
+if (@file_exists(dirname(__FILE__).'/lang/eng.php')) {
+ require_once(dirname(__FILE__).'/lang/eng.php');
+ $pdf->setLanguageArray($l);
+}
+
+// ---------------------------------------------------------
+
+// set font
+$pdf->SetFont('times', '', 16);
+
+// add a page
+$pdf->AddPage();
+
+$txt = 'Example of Text Annotation.
+Move your mouse over the yellow box or double click on it to display the annotation text.';
+$pdf->Write(0, $txt, '', 0, 'L', true, 0, false, false, 0);
+
+// text annotation
+$pdf->Annotation(83, 27, 10, 10, "Text annotation example\naccented letters test: àèéìòù", array('Subtype'=>'Text', 'Name' => 'Comment', 'T' => 'title example', 'Subj' => 'example', 'C' => array(255, 255, 0)));
+
+// ---------------------------------------------------------
+
+//Close and output PDF document
+$pdf->Output('example_036.pdf', 'I');
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/example_037.php b/public/library/TCPDF/examples/example_037.php
new file mode 100644
index 0000000..deb7d92
--- /dev/null
+++ b/public/library/TCPDF/examples/example_037.php
@@ -0,0 +1,147 @@
+<?php
+//============================================================+
+// File name : example_037.php
+// Begin : 2008-09-12
+// Last Update : 2013-09-30
+//
+// Description : Example 037 for TCPDF class
+// Spot colors
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * Creates an example PDF TEST document using TCPDF
+ * @package com.tecnick.tcpdf
+ * @abstract TCPDF - Example: Spot colors.
+ * @author Nicola Asuni
+ * @since 2008-09-12
+ */
+
+// Include the main TCPDF library (search for installation path).
+require_once('tcpdf_include.php');
+
+// create new PDF document
+$pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false);
+
+// set document information
+$pdf->SetCreator(PDF_CREATOR);
+$pdf->SetAuthor('Nicola Asuni');
+$pdf->SetTitle('TCPDF Example 037');
+$pdf->SetSubject('TCPDF Tutorial');
+$pdf->SetKeywords('TCPDF, PDF, example, test, guide');
+
+// set default header data
+$pdf->SetHeaderData(PDF_HEADER_LOGO, PDF_HEADER_LOGO_WIDTH, PDF_HEADER_TITLE.' 037', PDF_HEADER_STRING);
+
+// set header and footer fonts
+$pdf->setHeaderFont(Array(PDF_FONT_NAME_MAIN, '', PDF_FONT_SIZE_MAIN));
+$pdf->setFooterFont(Array(PDF_FONT_NAME_DATA, '', PDF_FONT_SIZE_DATA));
+
+// set default monospaced font
+$pdf->SetDefaultMonospacedFont(PDF_FONT_MONOSPACED);
+
+// set margins
+$pdf->SetMargins(PDF_MARGIN_LEFT, PDF_MARGIN_TOP, PDF_MARGIN_RIGHT);
+$pdf->SetHeaderMargin(PDF_MARGIN_HEADER);
+$pdf->SetFooterMargin(PDF_MARGIN_FOOTER);
+
+// set auto page breaks
+$pdf->SetAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM);
+
+// set image scale factor
+$pdf->setImageScale(PDF_IMAGE_SCALE_RATIO);
+
+// set some language-dependent strings (optional)
+if (@file_exists(dirname(__FILE__).'/lang/eng.php')) {
+ require_once(dirname(__FILE__).'/lang/eng.php');
+ $pdf->setLanguageArray($l);
+}
+
+// ---------------------------------------------------------
+
+// set font
+$pdf->SetFont('helvetica', '', 11);
+
+// add a page
+$pdf->AddPage();
+
+$html = '<h1>Example of Spot Colors</h1>Spot colors are single ink colors, rather than colors produced by four (CMYK), six (CMYKOG) or more inks in the printing process (process colors). They can be obtained by special vendors, but often the printers have found their own way of mixing inks to match defined colors.<br /><br />As long as no open standard for spot colours exists, TCPDF users will have to buy a colour book by one of the colour manufacturers and insert the values and names of spot colours directly into the $spotcolor array in <b><em>include/tcpdf_colors.php</em></b> file, or define them using the <b><em>AddSpotColor()</em></b> method.<br /><br />Common industry standard spot colors are:<br /><span color="#008800">ANPA-COLOR, DIC, FOCOLTONE, GCMI, HKS, PANTONE, TOYO, TRUMATCH</span>.';
+
+// Print text using writeHTMLCell()
+$pdf->writeHTMLCell(0, 0, '', '', $html, 0, 1, 0, true, 'J', true);
+
+
+$pdf->SetFont('helvetica', '', 10);
+
+// Define some new spot colors
+// $c, $m, $y and $k (2nd, 3rd, 4th and 5th parameter) are the CMYK color components.
+// AddSpotColor($name, $c, $m, $y, $k)
+
+$pdf->AddSpotColor('My TCPDF Dark Green', 100, 50, 80, 45);
+$pdf->AddSpotColor('My TCPDF Light Yellow', 0, 0, 55, 0);
+$pdf->AddSpotColor('My TCPDF Black', 0, 0, 0, 100);
+$pdf->AddSpotColor('My TCPDF Red', 30, 100, 90, 10);
+$pdf->AddSpotColor('My TCPDF Green', 100, 30, 100, 0);
+$pdf->AddSpotColor('My TCPDF Blue', 100, 60, 10, 5);
+$pdf->AddSpotColor('My TCPDF Yellow', 0, 20, 100, 0);
+
+// Select the spot color
+// $tint (the second parameter) is the intensity of the color (0-100).
+// SetTextSpotColor($name, $tint=100)
+// SetDrawSpotColor($name, $tint=100)
+// SetFillSpotColor($name, $tint=100)
+
+$pdf->SetTextSpotColor('My TCPDF Black', 100);
+$pdf->SetDrawSpotColor('My TCPDF Black', 100);
+
+$starty = 100;
+
+// print some spot colors
+
+$pdf->SetFillSpotColor('My TCPDF Dark Green', 100);
+$pdf->Rect(30, $starty, 40, 20, 'DF');
+$pdf->Text(73, $starty + 8, 'My TCPDF Dark Green');
+
+$starty += 24;
+$pdf->SetFillSpotColor('My TCPDF Light Yellow', 100);
+$pdf->Rect(30, $starty, 40, 20, 'DF');
+$pdf->Text(73, $starty + 8, 'My TCPDF Light Yellow');
+
+
+// --- default values defined on spotcolors.php ---
+
+$starty += 24;
+$pdf->SetFillSpotColor('My TCPDF Red', 100);
+$pdf->Rect(30, $starty, 40, 20, 'DF');
+$pdf->Text(73, $starty + 8, 'My TCPDF Red');
+
+$starty += 24;
+$pdf->SetFillSpotColor('My TCPDF Green', 100);
+$pdf->Rect(30, $starty, 40, 20, 'DF');
+$pdf->Text(73, $starty + 8, 'My TCPDF Green');
+
+$starty += 24;
+$pdf->SetFillSpotColor('My TCPDF Blue', 100);
+$pdf->Rect(30, $starty, 40, 20, 'DF');
+$pdf->Text(73, $starty + 8, 'My TCPDF Blue');
+
+$starty += 24;
+$pdf->SetFillSpotColor('My TCPDF Yellow', 100);
+$pdf->Rect(30, $starty, 40, 20, 'DF');
+$pdf->Text(73, $starty + 8, 'My TCPDF Yellow');
+
+// ---------------------------------------------------------
+
+//Close and output PDF document
+$pdf->Output('example_037.pdf', 'I');
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/example_038.php b/public/library/TCPDF/examples/example_038.php
new file mode 100644
index 0000000..a1e57e2
--- /dev/null
+++ b/public/library/TCPDF/examples/example_038.php
@@ -0,0 +1,92 @@
+<?php
+//============================================================+
+// File name : example_038.php
+// Begin : 2008-09-15
+// Last Update : 2013-05-14
+//
+// Description : Example 038 for TCPDF class
+// CID-0 CJK unembedded font
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * Creates an example PDF TEST document using TCPDF
+ * @package com.tecnick.tcpdf
+ * @abstract TCPDF - Example: CID-0 CJK unembedded font
+ * @author Nicola Asuni
+ * @since 2008-09-15
+ */
+
+// Include the main TCPDF library (search for installation path).
+require_once('tcpdf_include.php');
+
+// create new PDF document
+$pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false);
+
+// set document information
+$pdf->SetCreator(PDF_CREATOR);
+$pdf->SetAuthor('Nicola Asuni');
+$pdf->SetTitle('TCPDF Example 038');
+$pdf->SetSubject('TCPDF Tutorial');
+$pdf->SetKeywords('TCPDF, PDF, example, test, guide');
+
+// set default header data
+$pdf->SetHeaderData(PDF_HEADER_LOGO, PDF_HEADER_LOGO_WIDTH, PDF_HEADER_TITLE.' 038', PDF_HEADER_STRING);
+
+// set header and footer fonts
+$pdf->setHeaderFont(Array(PDF_FONT_NAME_MAIN, '', PDF_FONT_SIZE_MAIN));
+$pdf->setFooterFont(Array(PDF_FONT_NAME_DATA, '', PDF_FONT_SIZE_DATA));
+
+// set default monospaced font
+$pdf->SetDefaultMonospacedFont(PDF_FONT_MONOSPACED);
+
+// set margins
+$pdf->SetMargins(PDF_MARGIN_LEFT, PDF_MARGIN_TOP, PDF_MARGIN_RIGHT);
+$pdf->SetHeaderMargin(PDF_MARGIN_HEADER);
+$pdf->SetFooterMargin(PDF_MARGIN_FOOTER);
+
+// set auto page breaks
+$pdf->SetAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM);
+
+// set image scale factor
+$pdf->setImageScale(PDF_IMAGE_SCALE_RATIO);
+
+// set some language-dependent strings (optional)
+if (@file_exists(dirname(__FILE__).'/lang/eng.php')) {
+ require_once(dirname(__FILE__).'/lang/eng.php');
+ $pdf->setLanguageArray($l);
+}
+
+// ---------------------------------------------------------
+
+// set font
+$pdf->SetFont('helvetica', '', 20);
+
+// add a page
+$pdf->AddPage();
+
+$txt = 'Example of CID-0 CJK unembedded font.
+To display extended text you must have CJK fonts installed for your PDF reader:';
+$pdf->Write(0, $txt, '', 0, 'L', true, 0, false, false, 0);
+
+// set font
+$pdf->SetFont('cid0jp', '', 40);
+
+$txt = 'こんにちは世界';
+$pdf->Write(0, $txt, '', 0, 'L', true, 0, false, false, 0);
+
+// ---------------------------------------------------------
+
+//Close and output PDF document
+$pdf->Output('example_038.pdf', 'I');
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/example_039.php b/public/library/TCPDF/examples/example_039.php
new file mode 100644
index 0000000..4a8775c
--- /dev/null
+++ b/public/library/TCPDF/examples/example_039.php
@@ -0,0 +1,104 @@
+<?php
+//============================================================+
+// File name : example_039.php
+// Begin : 2008-10-16
+// Last Update : 2014-01-13
+//
+// Description : Example 039 for TCPDF class
+// HTML justification
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * Creates an example PDF TEST document using TCPDF
+ * @package com.tecnick.tcpdf
+ * @abstract TCPDF - Example: HTML justification
+ * @author Nicola Asuni
+ * @since 2008-10-18
+ */
+
+// Include the main TCPDF library (search for installation path).
+require_once('tcpdf_include.php');
+
+// create new PDF document
+$pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false);
+
+// set document information
+$pdf->SetCreator(PDF_CREATOR);
+$pdf->SetAuthor('Nicola Asuni');
+$pdf->SetTitle('TCPDF Example 039');
+$pdf->SetSubject('TCPDF Tutorial');
+$pdf->SetKeywords('TCPDF, PDF, example, test, guide');
+
+// set default header data
+$pdf->SetHeaderData(PDF_HEADER_LOGO, PDF_HEADER_LOGO_WIDTH, PDF_HEADER_TITLE.' 039', PDF_HEADER_STRING);
+
+// set header and footer fonts
+$pdf->setHeaderFont(Array(PDF_FONT_NAME_MAIN, '', PDF_FONT_SIZE_MAIN));
+$pdf->setFooterFont(Array(PDF_FONT_NAME_DATA, '', PDF_FONT_SIZE_DATA));
+
+// set default monospaced font
+$pdf->SetDefaultMonospacedFont(PDF_FONT_MONOSPACED);
+
+// set margins
+$pdf->SetMargins(PDF_MARGIN_LEFT, PDF_MARGIN_TOP, PDF_MARGIN_RIGHT);
+$pdf->SetHeaderMargin(PDF_MARGIN_HEADER);
+$pdf->SetFooterMargin(PDF_MARGIN_FOOTER);
+
+// set auto page breaks
+$pdf->SetAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM);
+
+// set image scale factor
+$pdf->setImageScale(PDF_IMAGE_SCALE_RATIO);
+
+// set some language-dependent strings (optional)
+if (@file_exists(dirname(__FILE__).'/lang/eng.php')) {
+ require_once(dirname(__FILE__).'/lang/eng.php');
+ $pdf->setLanguageArray($l);
+}
+
+// ---------------------------------------------------------
+
+// add a page
+$pdf->AddPage();
+
+// set font
+$pdf->SetFont('helvetica', 'B', 20);
+
+$pdf->Write(0, 'Example of HTML Justification', '', 0, 'L', true, 0, false, false, 0);
+
+// create some HTML content
+$html = '<span style="text-align:justify;">a <u>abc</u> abcdefghijkl (abcdef) abcdefg <b>abcdefghi</b> a ((abc)) abcd <img src="images/logo_example.png" border="0" height="41" width="41" /> <img src="images/tcpdf_box.svg" alt="test alt attribute" width="80" height="60" border="0" /> abcdef abcdefg <b>abcdefghi</b> a abc abcd abcdef abcdefg <b>abcdefghi</b> a abc abcd abcdef abcdefg <b>abcdefghi</b> a <u>abc</u> abcd abcdef abcdefg <b>abcdefghi</b> a abc \(abcd\) abcdef abcdefg <b>abcdefghi</b> a abc \\\(abcd\\\) abcdef abcdefg <b>abcdefghi</b> a abc abcd abcdef abcdefg <b>abcdefghi</b> a abc abcd abcdef abcdefg <b>abcdefghi</b> a abc abcd abcdef abcdefg abcdefghi a abc abcd <a href="http://tcpdf.org">abcdef abcdefg</a> start a abc before <span style="background-color:yellow">yellow color</span> after a abc abcd abcdef abcdefg abcdefghi a abc abcd end abcdefg abcdefghi a abc abcd abcdef abcdefg abcdefghi a abc abcd abcdef abcdefg abcdefghi a abc abcd abcdef abcdefg abcdefghi a abc abcd abcdef abcdefg abcdefghi a abc abcd abcdef abcdefg abcdefghi a abc abcd abcdef abcdefg abcdefghi a abc abcd abcdef abcdefg abcdefghi<br />abcd abcdef abcdefg abcdefghi<br />abcd abcde abcdef</span>';
+
+// set core font
+$pdf->SetFont('helvetica', '', 10);
+
+// output the HTML content
+$pdf->writeHTML($html, true, 0, true, true);
+
+$pdf->Ln();
+
+// set UTF-8 Unicode font
+$pdf->SetFont('dejavusans', '', 10);
+
+// output the HTML content
+$pdf->writeHTML($html, true, 0, true, true);
+
+// reset pointer to the last page
+$pdf->lastPage();
+
+// ---------------------------------------------------------
+
+//Close and output PDF document
+$pdf->Output('example_039.pdf', 'I');
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/example_040.php b/public/library/TCPDF/examples/example_040.php
new file mode 100644
index 0000000..c1d9091
--- /dev/null
+++ b/public/library/TCPDF/examples/example_040.php
@@ -0,0 +1,116 @@
+<?php
+//============================================================+
+// File name : example_040.php
+// Begin : 2008-10-28
+// Last Update : 2013-05-14
+//
+// Description : Example 040 for TCPDF class
+// Booklet mode (double-sided pages)
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * Creates an example PDF TEST document using TCPDF
+ * @package com.tecnick.tcpdf
+ * @abstract TCPDF - Example: Booklet mode (double-sided pages)
+ * @author Nicola Asuni
+ * @since 2008-10-28
+ */
+
+// Include the main TCPDF library (search for installation path).
+require_once('tcpdf_include.php');
+
+// create new PDF document
+$pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false);
+
+// set document information
+$pdf->SetCreator(PDF_CREATOR);
+$pdf->SetAuthor('Nicola Asuni');
+$pdf->SetTitle('TCPDF Example 040');
+$pdf->SetSubject('TCPDF Tutorial');
+$pdf->SetKeywords('TCPDF, PDF, example, test, guide');
+
+// set default header data
+$pdf->SetHeaderData(PDF_HEADER_LOGO, PDF_HEADER_LOGO_WIDTH, PDF_HEADER_TITLE.' 040', PDF_HEADER_STRING);
+
+// set header and footer fonts
+$pdf->setHeaderFont(Array(PDF_FONT_NAME_MAIN, '', PDF_FONT_SIZE_MAIN));
+$pdf->setFooterFont(Array(PDF_FONT_NAME_DATA, '', PDF_FONT_SIZE_DATA));
+
+// set default monospaced font
+$pdf->SetDefaultMonospacedFont(PDF_FONT_MONOSPACED);
+
+// set margins
+$pdf->SetMargins(PDF_MARGIN_LEFT, PDF_MARGIN_TOP, PDF_MARGIN_RIGHT);
+$pdf->SetHeaderMargin(PDF_MARGIN_HEADER);
+$pdf->SetFooterMargin(PDF_MARGIN_FOOTER);
+
+// set auto page breaks
+$pdf->SetAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM);
+
+// set image scale factor
+$pdf->setImageScale(PDF_IMAGE_SCALE_RATIO);
+
+// set some language-dependent strings (optional)
+if (@file_exists(dirname(__FILE__).'/lang/eng.php')) {
+ require_once(dirname(__FILE__).'/lang/eng.php');
+ $pdf->setLanguageArray($l);
+}
+
+// ---------------------------------------------------------
+
+// set display mode
+$pdf->SetDisplayMode($zoom='fullpage', $layout='TwoColumnRight', $mode='UseNone');
+
+// set pdf viewer preferences
+$pdf->setViewerPreferences(array('Duplex' => 'DuplexFlipLongEdge'));
+
+// set booklet mode
+$pdf->SetBooklet(true, 10, 30);
+
+// set core font
+$pdf->SetFont('helvetica', '', 18);
+
+// add a page (left page)
+$pdf->AddPage();
+
+$pdf->Write(0, 'Example of booklet mode', '', 0, 'L', true, 0, false, false, 0);
+
+// print a line using Cell()
+$pdf->Cell(0, 0, 'PAGE 1', 1, 1, 'C');
+
+
+// add a page (right page)
+$pdf->AddPage();
+
+// print a line using Cell()
+$pdf->Cell(0, 0, 'PAGE 2', 1, 1, 'C');
+
+
+// add a page (left page)
+$pdf->AddPage();
+
+// print a line using Cell()
+$pdf->Cell(0, 0, 'PAGE 3', 1, 1, 'C');
+
+// add a page (right page)
+$pdf->AddPage();
+
+// print a line using Cell()
+$pdf->Cell(0, 0, 'PAGE 4', 1, 1, 'C');
+
+// ---------------------------------------------------------
+
+//Close and output PDF document
+$pdf->Output('example_040.pdf', 'I');
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/example_041.php b/public/library/TCPDF/examples/example_041.php
new file mode 100644
index 0000000..973bdf9
--- /dev/null
+++ b/public/library/TCPDF/examples/example_041.php
@@ -0,0 +1,90 @@
+<?php
+//============================================================+
+// File name : example_041.php
+// Begin : 2008-12-07
+// Last Update : 2013-05-14
+//
+// Description : Example 041 for TCPDF class
+// Annotation - FileAttachment
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * Creates an example PDF TEST document using TCPDF
+ * @package com.tecnick.tcpdf
+ * @abstract TCPDF - Annotation - FileAttachment
+ * @author Nicola Asuni
+ * @since 2008-12-07
+ */
+
+// Include the main TCPDF library (search for installation path).
+require_once('tcpdf_include.php');
+
+// create new PDF document
+$pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false);
+
+// set document information
+$pdf->SetCreator(PDF_CREATOR);
+$pdf->SetAuthor('Nicola Asuni');
+$pdf->SetTitle('TCPDF Example 041');
+$pdf->SetSubject('TCPDF Tutorial');
+$pdf->SetKeywords('TCPDF, PDF, example, test, guide');
+
+// set default header data
+$pdf->SetHeaderData(PDF_HEADER_LOGO, PDF_HEADER_LOGO_WIDTH, PDF_HEADER_TITLE.' 041', PDF_HEADER_STRING);
+
+// set header and footer fonts
+$pdf->setHeaderFont(Array(PDF_FONT_NAME_MAIN, '', PDF_FONT_SIZE_MAIN));
+$pdf->setFooterFont(Array(PDF_FONT_NAME_DATA, '', PDF_FONT_SIZE_DATA));
+
+// set default monospaced font
+$pdf->SetDefaultMonospacedFont(PDF_FONT_MONOSPACED);
+
+// set margins
+$pdf->SetMargins(PDF_MARGIN_LEFT, PDF_MARGIN_TOP, PDF_MARGIN_RIGHT);
+$pdf->SetHeaderMargin(PDF_MARGIN_HEADER);
+$pdf->SetFooterMargin(PDF_MARGIN_FOOTER);
+
+// set auto page breaks
+$pdf->SetAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM);
+
+// set image scale factor
+$pdf->setImageScale(PDF_IMAGE_SCALE_RATIO);
+
+// set some language-dependent strings (optional)
+if (@file_exists(dirname(__FILE__).'/lang/eng.php')) {
+ require_once(dirname(__FILE__).'/lang/eng.php');
+ $pdf->setLanguageArray($l);
+}
+
+// ---------------------------------------------------------
+
+// set font
+$pdf->SetFont('times', '', 16);
+
+// add a page
+$pdf->AddPage();
+
+
+$txt = 'Example of File Attachment.
+Double click on the icon to open the attached file.';
+$pdf->Write(0, $txt, '', 0, 'L', true, 0, false, false, 0);
+
+// attach an external file
+$pdf->Annotation(85, 27, 5, 5, 'text file', array('Subtype'=>'FileAttachment', 'Name' => 'PushPin', 'FS' => 'data/utf8test.txt'));
+
+// ---------------------------------------------------------
+
+//Close and output PDF document
+$pdf->Output('example_041.pdf', 'D');
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/example_042.php b/public/library/TCPDF/examples/example_042.php
new file mode 100644
index 0000000..14c9fd0
--- /dev/null
+++ b/public/library/TCPDF/examples/example_042.php
@@ -0,0 +1,102 @@
+<?php
+//============================================================+
+// File name : example_042.php
+// Begin : 2008-12-23
+// Last Update : 2013-05-14
+//
+// Description : Example 042 for TCPDF class
+// Test Image with alpha channel
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * Creates an example PDF TEST document using TCPDF
+ * @package com.tecnick.tcpdf
+ * @abstract TCPDF - Example: Test Image with alpha channel
+ * @author Nicola Asuni
+ * @since 2008-12-23
+ */
+
+// Include the main TCPDF library (search for installation path).
+require_once('tcpdf_include.php');
+
+// create new PDF document
+$pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false);
+
+// set document information
+$pdf->SetCreator(PDF_CREATOR);
+$pdf->SetAuthor('Nicola Asuni');
+$pdf->SetTitle('TCPDF Example 042');
+$pdf->SetSubject('TCPDF Tutorial');
+$pdf->SetKeywords('TCPDF, PDF, example, test, guide');
+
+// set default header data
+$pdf->SetHeaderData(PDF_HEADER_LOGO, PDF_HEADER_LOGO_WIDTH, PDF_HEADER_TITLE.' 042', PDF_HEADER_STRING);
+
+// set header and footer fonts
+$pdf->setHeaderFont(Array(PDF_FONT_NAME_MAIN, '', PDF_FONT_SIZE_MAIN));
+$pdf->setFooterFont(Array(PDF_FONT_NAME_DATA, '', PDF_FONT_SIZE_DATA));
+
+// set default monospaced font
+$pdf->SetDefaultMonospacedFont(PDF_FONT_MONOSPACED);
+
+// set margins
+$pdf->SetMargins(PDF_MARGIN_LEFT, PDF_MARGIN_TOP, PDF_MARGIN_RIGHT);
+$pdf->SetHeaderMargin(PDF_MARGIN_HEADER);
+$pdf->SetFooterMargin(PDF_MARGIN_FOOTER);
+
+// set auto page breaks
+$pdf->SetAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM);
+
+// set image scale factor
+$pdf->setImageScale(PDF_IMAGE_SCALE_RATIO);
+
+// set some language-dependent strings (optional)
+if (@file_exists(dirname(__FILE__).'/lang/eng.php')) {
+ require_once(dirname(__FILE__).'/lang/eng.php');
+ $pdf->setLanguageArray($l);
+}
+
+// ---------------------------------------------------------
+
+// set JPEG quality
+//$pdf->setJPEGQuality(75);
+
+$pdf->SetFont('helvetica', '', 18);
+
+// add a page
+$pdf->AddPage();
+
+// create background text
+$background_text = str_repeat('TCPDF test PNG Alpha Channel ', 50);
+$pdf->MultiCell(0, 5, $background_text, 0, 'J', 0, 2, '', '', true, 0, false);
+
+// --- Method (A) ------------------------------------------
+// the Image() method recognizes the alpha channel embedded on the image:
+
+$pdf->Image('images/image_with_alpha.png', 50, 50, 100, '', '', 'http://www.tcpdf.org', '', false, 300);
+
+// --- Method (B) ------------------------------------------
+// provide image + separate 8-bit mask
+
+// first embed mask image (w, h, x and y will be ignored, the image will be scaled to the target image's size)
+$mask = $pdf->Image('images/alpha.png', 50, 140, 100, '', '', '', '', false, 300, '', true);
+
+// embed image, masked with previously embedded mask
+$pdf->Image('images/img.png', 50, 140, 100, '', '', 'http://www.tcpdf.org', '', false, 300, '', false, $mask);
+
+// ---------------------------------------------------------
+
+//Close and output PDF document
+$pdf->Output('example_042.pdf', 'I');
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/example_043.php b/public/library/TCPDF/examples/example_043.php
new file mode 100644
index 0000000..116827e
--- /dev/null
+++ b/public/library/TCPDF/examples/example_043.php
@@ -0,0 +1,85 @@
+<?php
+//============================================================+
+// File name : example_043.php
+// Begin : 2009-01-02
+// Last Update : 2013-05-14
+//
+// Description : Example 043 for TCPDF class
+// Disk caching
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * Creates an example PDF TEST document using TCPDF
+ * @package com.tecnick.tcpdf
+ * @abstract TCPDF - Example: Disk caching
+ * @author Nicola Asuni
+ * @since 2009-01-02
+ */
+
+// Include the main TCPDF library (search for installation path).
+require_once('tcpdf_include.php');
+
+// create new PDF document
+$pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', true);
+
+// set document information
+$pdf->SetCreator(PDF_CREATOR);
+$pdf->SetAuthor('Nicola Asuni');
+$pdf->SetTitle('TCPDF Example 043');
+$pdf->SetSubject('TCPDF Tutorial');
+$pdf->SetKeywords('TCPDF, PDF, example, test, guide');
+
+// set default header data
+$pdf->SetHeaderData(PDF_HEADER_LOGO, PDF_HEADER_LOGO_WIDTH, PDF_HEADER_TITLE.' 043', PDF_HEADER_STRING);
+
+// set header and footer fonts
+$pdf->setHeaderFont(Array(PDF_FONT_NAME_MAIN, '', PDF_FONT_SIZE_MAIN));
+$pdf->setFooterFont(Array(PDF_FONT_NAME_DATA, '', PDF_FONT_SIZE_DATA));
+
+// set default monospaced font
+$pdf->SetDefaultMonospacedFont(PDF_FONT_MONOSPACED);
+
+// set margins
+$pdf->SetMargins(PDF_MARGIN_LEFT, PDF_MARGIN_TOP, PDF_MARGIN_RIGHT);
+$pdf->SetHeaderMargin(PDF_MARGIN_HEADER);
+$pdf->SetFooterMargin(PDF_MARGIN_FOOTER);
+
+// set auto page breaks
+$pdf->SetAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM);
+
+// set image scale factor
+$pdf->setImageScale(PDF_IMAGE_SCALE_RATIO);
+
+// set some language-dependent strings (optional)
+if (@file_exists(dirname(__FILE__).'/lang/eng.php')) {
+ require_once(dirname(__FILE__).'/lang/eng.php');
+ $pdf->setLanguageArray($l);
+}
+
+// ---------------------------------------------------------
+
+// set font
+$pdf->SetFont('helvetica', '', 16);
+
+// add a page
+$pdf->AddPage();
+
+// Multicell test
+$pdf->MultiCell(0, 0, 'DISK CACHING TEST: check the parameters of the class constructor.', 1, 'L', 0, 0, '', '', true);
+
+// ---------------------------------------------------------
+
+//Close and output PDF document
+$pdf->Output('example_043.pdf', 'I');
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/example_044.php b/public/library/TCPDF/examples/example_044.php
new file mode 100644
index 0000000..949270c
--- /dev/null
+++ b/public/library/TCPDF/examples/example_044.php
@@ -0,0 +1,128 @@
+<?php
+//============================================================+
+// File name : example_044.php
+// Begin : 2009-01-02
+// Last Update : 2013-05-14
+//
+// Description : Example 044 for TCPDF class
+// Move, copy and delete pages
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * Creates an example PDF TEST document using TCPDF
+ * @package com.tecnick.tcpdf
+ * @abstract TCPDF - Example: Move, copy and delete pages
+ * @author Nicola Asuni
+ * @since 2009-01-02
+ */
+
+// Include the main TCPDF library (search for installation path).
+require_once('tcpdf_include.php');
+
+// create new PDF document
+$pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false);
+
+// set document information
+$pdf->SetCreator(PDF_CREATOR);
+$pdf->SetAuthor('Nicola Asuni');
+$pdf->SetTitle('TCPDF Example 044');
+$pdf->SetSubject('TCPDF Tutorial');
+$pdf->SetKeywords('TCPDF, PDF, example, test, guide');
+
+// set default header data
+$pdf->SetHeaderData(PDF_HEADER_LOGO, PDF_HEADER_LOGO_WIDTH, PDF_HEADER_TITLE.' 044', PDF_HEADER_STRING);
+
+// set header and footer fonts
+$pdf->setHeaderFont(Array(PDF_FONT_NAME_MAIN, '', PDF_FONT_SIZE_MAIN));
+$pdf->setFooterFont(Array(PDF_FONT_NAME_DATA, '', PDF_FONT_SIZE_DATA));
+
+// set default monospaced font
+$pdf->SetDefaultMonospacedFont(PDF_FONT_MONOSPACED);
+
+// set margins
+$pdf->SetMargins(PDF_MARGIN_LEFT, PDF_MARGIN_TOP, PDF_MARGIN_RIGHT);
+$pdf->SetHeaderMargin(PDF_MARGIN_HEADER);
+$pdf->SetFooterMargin(PDF_MARGIN_FOOTER);
+
+// set auto page breaks
+$pdf->SetAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM);
+
+// set image scale factor
+$pdf->setImageScale(PDF_IMAGE_SCALE_RATIO);
+
+// set some language-dependent strings (optional)
+if (@file_exists(dirname(__FILE__).'/lang/eng.php')) {
+ require_once(dirname(__FILE__).'/lang/eng.php');
+ $pdf->setLanguageArray($l);
+}
+
+// ---------------------------------------------------------
+
+// set font
+$pdf->SetFont('helvetica', 'B', 40);
+
+// print a line using Cell()
+$pdf->AddPage();
+$pdf->Cell(0, 10, 'PAGE: A', 0, 1, 'L');
+
+// add some vertical space
+$pdf->Ln(10);
+
+// print some text
+$pdf->SetFont('times', 'I', 16);
+$txt = 'TCPDF allows you to Copy, Move and Delete pages.';
+$pdf->Write(0, $txt, '', 0, 'L', true, 0, false, false, 0);
+
+$pdf->SetFont('helvetica', 'B', 40);
+
+$pdf->AddPage();
+$pdf->Cell(0, 10, 'PAGE: B', 0, 1, 'L');
+
+$pdf->AddPage();
+$pdf->Cell(0, 10, 'PAGE: D', 0, 1, 'L');
+
+$pdf->AddPage();
+$pdf->Cell(0, 10, 'PAGE: E', 0, 1, 'L');
+
+$pdf->AddPage();
+$pdf->Cell(0, 10, 'PAGE: E-2', 0, 1, 'L');
+
+$pdf->AddPage();
+$pdf->Cell(0, 10, 'PAGE: F', 0, 1, 'L');
+
+$pdf->AddPage();
+$pdf->Cell(0, 10, 'PAGE: C', 0, 1, 'L');
+
+$pdf->AddPage();
+$pdf->Cell(0, 10, 'PAGE: G', 0, 1, 'L');
+
+// Move page 7 to page 3
+$pdf->movePage(7, 3);
+
+// Delete page 6
+$pdf->deletePage(6);
+
+$pdf->AddPage();
+$pdf->Cell(0, 10, 'PAGE: H', 0, 1, 'L');
+
+// copy the second page
+$pdf->copyPage(2);
+
+// NOTE: to insert a page to a previous position, you can add a new page to the end of document and then move it using movePage().
+
+// ---------------------------------------------------------
+
+//Close and output PDF document
+$pdf->Output('example_044.pdf', 'I');
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/example_045.php b/public/library/TCPDF/examples/example_045.php
new file mode 100644
index 0000000..0f49abc
--- /dev/null
+++ b/public/library/TCPDF/examples/example_045.php
@@ -0,0 +1,140 @@
+<?php
+//============================================================+
+// File name : example_045.php
+// Begin : 2008-03-04
+// Last Update : 2013-05-14
+//
+// Description : Example 045 for TCPDF class
+// Bookmarks and Table of Content
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * Creates an example PDF TEST document using TCPDF
+ * @package com.tecnick.tcpdf
+ * @abstract TCPDF - Example: Bookmarks and Table of Content
+ * @author Nicola Asuni
+ * @since 2008-03-04
+ */
+
+// Include the main TCPDF library (search for installation path).
+require_once('tcpdf_include.php');
+
+// create new PDF document
+$pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false);
+
+// set document information
+$pdf->SetCreator(PDF_CREATOR);
+$pdf->SetAuthor('Nicola Asuni');
+$pdf->SetTitle('TCPDF Example 045');
+$pdf->SetSubject('TCPDF Tutorial');
+$pdf->SetKeywords('TCPDF, PDF, example, test, guide');
+
+// set default header data
+$pdf->SetHeaderData(PDF_HEADER_LOGO, PDF_HEADER_LOGO_WIDTH, PDF_HEADER_TITLE.' 045', PDF_HEADER_STRING);
+
+// set header and footer fonts
+$pdf->setHeaderFont(Array(PDF_FONT_NAME_MAIN, '', PDF_FONT_SIZE_MAIN));
+$pdf->setFooterFont(Array(PDF_FONT_NAME_DATA, '', PDF_FONT_SIZE_DATA));
+
+// set default monospaced font
+$pdf->SetDefaultMonospacedFont(PDF_FONT_MONOSPACED);
+
+// set margins
+$pdf->SetMargins(PDF_MARGIN_LEFT, PDF_MARGIN_TOP, PDF_MARGIN_RIGHT);
+$pdf->SetHeaderMargin(PDF_MARGIN_HEADER);
+$pdf->SetFooterMargin(PDF_MARGIN_FOOTER);
+
+// set auto page breaks
+$pdf->SetAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM);
+
+// set image scale factor
+$pdf->setImageScale(PDF_IMAGE_SCALE_RATIO);
+
+// set some language-dependent strings (optional)
+if (@file_exists(dirname(__FILE__).'/lang/eng.php')) {
+ require_once(dirname(__FILE__).'/lang/eng.php');
+ $pdf->setLanguageArray($l);
+}
+
+// ---------------------------------------------------------
+
+// set font
+$pdf->SetFont('times', 'B', 20);
+
+// add a page
+$pdf->AddPage();
+
+// set a bookmark for the current position
+$pdf->Bookmark('Chapter 1', 0, 0, '', 'B', array(0,64,128));
+
+// print a line using Cell()
+$pdf->Cell(0, 10, 'Chapter 1', 0, 1, 'L');
+
+// Create a fixed link to the first page using the * character
+$index_link = $pdf->AddLink();
+$pdf->SetLink($index_link, 0, '*1');
+$pdf->Cell(0, 10, 'Link to INDEX', 0, 1, 'R', false, $index_link);
+
+$pdf->AddPage();
+$pdf->Bookmark('Paragraph 1.1', 1, 0, '', '', array(128,0,0));
+$pdf->Cell(0, 10, 'Paragraph 1.1', 0, 1, 'L');
+
+$pdf->AddPage();
+$pdf->Bookmark('Paragraph 1.2', 1, 0, '', '', array(128,0,0));
+$pdf->Cell(0, 10, 'Paragraph 1.2', 0, 1, 'L');
+
+$pdf->AddPage();
+$pdf->Bookmark('Sub-Paragraph 1.2.1', 2, 0, '', 'I', array(0,128,0));
+$pdf->Cell(0, 10, 'Sub-Paragraph 1.2.1', 0, 1, 'L');
+
+$pdf->AddPage();
+$pdf->Bookmark('Paragraph 1.3', 1, 0, '', '', array(128,0,0));
+$pdf->Cell(0, 10, 'Paragraph 1.3', 0, 1, 'L');
+
+// fixed link to the first page using the * character
+$html = '<a href="#*1" style="color:blue;">link to INDEX (page 1)</a>';
+$pdf->writeHTML($html, true, false, true, false, '');
+
+
+// add some pages and bookmarks
+for ($i = 2; $i < 12; $i++) {
+ $pdf->AddPage();
+ $pdf->Bookmark('Chapter '.$i, 0, 0, '', 'B', array(0,64,128));
+ $pdf->Cell(0, 10, 'Chapter '.$i, 0, 1, 'L');
+}
+
+// . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
+
+// add a new page for TOC
+$pdf->addTOCPage();
+
+// write the TOC title
+$pdf->SetFont('times', 'B', 16);
+$pdf->MultiCell(0, 0, 'Table Of Content', 0, 'C', 0, 1, '', '', true, 0);
+$pdf->Ln();
+
+$pdf->SetFont('dejavusans', '', 12);
+
+// add a simple Table Of Content at first page
+// (check the example n. 59 for the HTML version)
+$pdf->addTOC(1, 'courier', '.', 'INDEX', 'B', array(128,0,0));
+
+// end of TOC page
+$pdf->endTOCPage();
+
+// ---------------------------------------------------------
+
+//Close and output PDF document
+$pdf->Output('example_045.pdf', 'I');
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/example_046.php b/public/library/TCPDF/examples/example_046.php
new file mode 100644
index 0000000..70d11d3
--- /dev/null
+++ b/public/library/TCPDF/examples/example_046.php
@@ -0,0 +1,123 @@
+<?php
+//============================================================+
+// File name : example_046.php
+// Begin : 2009-02-28
+// Last Update : 2013-05-14
+//
+// Description : Example 046 for TCPDF class
+// Text Hyphenation
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * Creates an example PDF TEST document using TCPDF
+ * @package com.tecnick.tcpdf
+ * @abstract TCPDF - Example: text Hyphenation
+ * @author Nicola Asuni
+ * @since 2009-02-28
+ */
+
+// Include the main TCPDF library (search for installation path).
+require_once('tcpdf_include.php');
+
+// create new PDF document
+$pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false);
+
+// set document information
+$pdf->SetCreator(PDF_CREATOR);
+$pdf->SetAuthor('Nicola Asuni');
+$pdf->SetTitle('TCPDF Example 046');
+$pdf->SetSubject('TCPDF Tutorial');
+$pdf->SetKeywords('TCPDF, PDF, example, test, guide');
+
+// set default header data
+$pdf->SetHeaderData(PDF_HEADER_LOGO, PDF_HEADER_LOGO_WIDTH, PDF_HEADER_TITLE.' 046', PDF_HEADER_STRING);
+
+// set header and footer fonts
+$pdf->setHeaderFont(Array(PDF_FONT_NAME_MAIN, '', PDF_FONT_SIZE_MAIN));
+$pdf->setFooterFont(Array(PDF_FONT_NAME_DATA, '', PDF_FONT_SIZE_DATA));
+
+// set default monospaced font
+$pdf->SetDefaultMonospacedFont(PDF_FONT_MONOSPACED);
+
+// set margins
+$pdf->SetMargins(PDF_MARGIN_LEFT, PDF_MARGIN_TOP, PDF_MARGIN_RIGHT);
+$pdf->SetHeaderMargin(PDF_MARGIN_HEADER);
+$pdf->SetFooterMargin(PDF_MARGIN_FOOTER);
+
+// set auto page breaks
+$pdf->SetAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM);
+
+// set image scale factor
+$pdf->setImageScale(PDF_IMAGE_SCALE_RATIO);
+
+// set some language-dependent strings (optional)
+if (@file_exists(dirname(__FILE__).'/lang/eng.php')) {
+ require_once(dirname(__FILE__).'/lang/eng.php');
+ $pdf->setLanguageArray($l);
+}
+
+// ---------------------------------------------------------
+
+// set font
+$pdf->SetFont('helvetica', 'B', 20);
+
+// add a page
+$pdf->AddPage();
+
+$pdf->Write(0, 'Example of Text Hyphenation', '', 0, 'L', true, 0, false, false, 0);
+
+$pdf->Ln(10);
+
+/*
+Unicode Data for SHY:
+ Name : SOFT HYPHEN, commonly abbreviated as SHY
+ HTML Entity (decimal): &#173;
+ HTML Entity (hex): &#xad;
+ HTML Entity (named): &shy;
+ How to type in Microsoft Windows: [Alt +00AD] or [Alt 0173]
+ UTF-8 (hex): 0xC2 0xAD (c2ad)
+*/
+
+/*
+// You can automatically add SOFT HYPHENS to your text using
+// the hyphenateText() method, but this requires either an
+// hyphenation pattern array of a hyphenation pattern TEX file.
+// You can download hyphenation TEX patterns from:
+// http://www.ctan.org/tex-archive/language/hyph-utf8/tex/generic/hyph-utf8/patterns/
+
+// EXAMPLE:
+
+$html = 'On the other hand, we denounce with righteous indignation and dislike men who are so beguiled and demoralized by the charms of pleasure of the moment, so blinded by desire, that they cannot foresee the pain and trouble that are bound to ensue; and equal blame belongs to those who fail in their duty through weakness of will, which is the same as saying through shrinking from toil and pain. These cases are perfectly simple and easy to distinguish. In a free hour, when our power of choice is untrammelled and when nothing prevents our being able to do what we like best, every pleasure is to be welcomed and every pain avoided. But in certain circumstances and owing to the claims of duty or the obligations of business it will frequently occur that pleasures have to be repudiated and annoyances accepted. The wise man therefore always holds in these matters to this principle of selection: he rejects pleasures to secure other greater pleasures, or else he endures pains to avoid worse pains.';
+
+$hyphen_patterns = $pdf->getHyphenPatternsFromTEX('hyphens/hyph-en-gb.tex');
+
+$html = $pdf->hyphenateText($html, $hyphen_patterns, array(), 1, 2, 1, 8);
+*/
+
+
+// HTML text with soft hyphens (&shy;)
+$html = 'On the other hand, we de&shy;nounce with righ&shy;teous in&shy;dig&shy;na&shy;tion and dis&shy;like men who are so be&shy;guiled and de&shy;mo&shy;r&shy;al&shy;ized by the charms of plea&shy;sure of the mo&shy;ment, so blind&shy;ed by de&shy;sire, that they can&shy;not fore&shy;see the pain and trou&shy;ble that are bound to en&shy;sue; and equal blame be&shy;longs to those who fail in their du&shy;ty through weak&shy;ness of will, which is the same as say&shy;ing through shrink&shy;ing from toil and pain. Th&shy;ese cas&shy;es are per&shy;fect&shy;ly sim&shy;ple and easy to distin&shy;guish. In a free hour, when our pow&shy;er of choice is un&shy;tram&shy;melled and when noth&shy;ing pre&shy;vents our be&shy;ing able to do what we like best, ev&shy;ery plea&shy;sure is to be wel&shy;comed and ev&shy;ery pain avoid&shy;ed. But in cer&shy;tain cir&shy;cum&shy;s&shy;tances and ow&shy;ing to the claims of du&shy;ty or the obli&shy;ga&shy;tions of busi&shy;ness it will fre&shy;quent&shy;ly oc&shy;cur that plea&shy;sures have to be re&shy;pu&shy;di&shy;at&shy;ed and an&shy;noy&shy;ances ac&shy;cept&shy;ed. The wise man there&shy;fore al&shy;ways holds in th&shy;ese mat&shy;ters to this prin&shy;ci&shy;ple of se&shy;lec&shy;tion: he re&shy;jects plea&shy;sures to se&shy;cure other greater plea&shy;sures, or else he en&shy;dures pains to avoid worse pains.';
+
+$pdf->SetFont('times', '', 10);
+$pdf->SetDrawColor(255,0,0);
+$pdf->SetTextColor(0,63,127);
+
+// print a cell
+$pdf->writeHTMLCell(50, 0, '', '', $html, 1, 1, 0, true, 'J');
+
+// ---------------------------------------------------------
+
+//Close and output PDF document
+$pdf->Output('example_046.pdf', 'I');
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/example_047.php b/public/library/TCPDF/examples/example_047.php
new file mode 100644
index 0000000..a26ae5d
--- /dev/null
+++ b/public/library/TCPDF/examples/example_047.php
@@ -0,0 +1,117 @@
+<?php
+//============================================================+
+// File name : example_047.php
+// Begin : 2009-03-19
+// Last Update : 2013-05-14
+//
+// Description : Example 047 for TCPDF class
+// Transactions
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * Creates an example PDF TEST document using TCPDF
+ * @package com.tecnick.tcpdf
+ * @abstract TCPDF - Example: Transactions
+ * @author Nicola Asuni
+ * @since 2009-03-19
+ */
+
+// Include the main TCPDF library (search for installation path).
+require_once('tcpdf_include.php');
+
+// create new PDF document
+$pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false);
+
+// set document information
+$pdf->SetCreator(PDF_CREATOR);
+$pdf->SetAuthor('Nicola Asuni');
+$pdf->SetTitle('TCPDF Example 047');
+$pdf->SetSubject('TCPDF Tutorial');
+$pdf->SetKeywords('TCPDF, PDF, example, test, guide');
+
+// set default header data
+$pdf->SetHeaderData(PDF_HEADER_LOGO, PDF_HEADER_LOGO_WIDTH, PDF_HEADER_TITLE.' 047', PDF_HEADER_STRING);
+
+// set header and footer fonts
+$pdf->setHeaderFont(Array(PDF_FONT_NAME_MAIN, '', PDF_FONT_SIZE_MAIN));
+$pdf->setFooterFont(Array(PDF_FONT_NAME_DATA, '', PDF_FONT_SIZE_DATA));
+
+// set default monospaced font
+$pdf->SetDefaultMonospacedFont(PDF_FONT_MONOSPACED);
+
+// set margins
+$pdf->SetMargins(PDF_MARGIN_LEFT, PDF_MARGIN_TOP, PDF_MARGIN_RIGHT);
+$pdf->SetHeaderMargin(PDF_MARGIN_HEADER);
+$pdf->SetFooterMargin(PDF_MARGIN_FOOTER);
+
+// set auto page breaks
+$pdf->SetAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM);
+
+// set image scale factor
+$pdf->setImageScale(PDF_IMAGE_SCALE_RATIO);
+
+// set some language-dependent strings (optional)
+if (@file_exists(dirname(__FILE__).'/lang/eng.php')) {
+ require_once(dirname(__FILE__).'/lang/eng.php');
+ $pdf->setLanguageArray($l);
+}
+
+// ---------------------------------------------------------
+
+// set font
+$pdf->SetFont('helvetica', '', 16);
+
+// add a page
+$pdf->AddPage();
+
+$txt = 'Example of Transactions.
+TCPDF allows you to undo some operations using the Transactions.
+Check the source code for further information.';
+$pdf->Write(0, $txt, '', 0, 'L', true, 0, false, false, 0);
+
+$pdf->Ln(5);
+
+$pdf->SetFont('times', '', 12);
+
+// start transaction
+$pdf->startTransaction();
+
+$pdf->Write(0, "LINE 1\n");
+$pdf->Write(0, "LINE 2\n");
+
+// restarts transaction
+$pdf->startTransaction();
+
+$pdf->Write(0, "LINE 3\n");
+$pdf->Write(0, "LINE 4\n");
+
+// rolls back to the last (re)start
+$pdf = $pdf->rollbackTransaction();
+
+$pdf->Write(0, "LINE 5\n");
+$pdf->Write(0, "LINE 6\n");
+
+// start transaction
+$pdf->startTransaction();
+
+$pdf->Write(0, "LINE 7\n");
+
+// commit transaction (actually just frees memory)
+$pdf->commitTransaction();
+
+// ---------------------------------------------------------
+
+//Close and output PDF document
+$pdf->Output('example_047.pdf', 'I');
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/example_048.php b/public/library/TCPDF/examples/example_048.php
new file mode 100644
index 0000000..ca88a14
--- /dev/null
+++ b/public/library/TCPDF/examples/example_048.php
@@ -0,0 +1,313 @@
+<?php
+//============================================================+
+// File name : example_048.php
+// Begin : 2009-03-20
+// Last Update : 2013-05-14
+//
+// Description : Example 048 for TCPDF class
+// HTML tables and table headers
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * Creates an example PDF TEST document using TCPDF
+ * @package com.tecnick.tcpdf
+ * @abstract TCPDF - Example: HTML tables and table headers
+ * @author Nicola Asuni
+ * @since 2009-03-20
+ */
+
+// Include the main TCPDF library (search for installation path).
+require_once('tcpdf_include.php');
+
+// create new PDF document
+$pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false);
+
+// set document information
+$pdf->SetCreator(PDF_CREATOR);
+$pdf->SetAuthor('Nicola Asuni');
+$pdf->SetTitle('TCPDF Example 048');
+$pdf->SetSubject('TCPDF Tutorial');
+$pdf->SetKeywords('TCPDF, PDF, example, test, guide');
+
+// set default header data
+$pdf->SetHeaderData(PDF_HEADER_LOGO, PDF_HEADER_LOGO_WIDTH, PDF_HEADER_TITLE.' 048', PDF_HEADER_STRING);
+
+// set header and footer fonts
+$pdf->setHeaderFont(Array(PDF_FONT_NAME_MAIN, '', PDF_FONT_SIZE_MAIN));
+$pdf->setFooterFont(Array(PDF_FONT_NAME_DATA, '', PDF_FONT_SIZE_DATA));
+
+// set default monospaced font
+$pdf->SetDefaultMonospacedFont(PDF_FONT_MONOSPACED);
+
+// set margins
+$pdf->SetMargins(PDF_MARGIN_LEFT, PDF_MARGIN_TOP, PDF_MARGIN_RIGHT);
+$pdf->SetHeaderMargin(PDF_MARGIN_HEADER);
+$pdf->SetFooterMargin(PDF_MARGIN_FOOTER);
+
+// set auto page breaks
+$pdf->SetAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM);
+
+// set image scale factor
+$pdf->setImageScale(PDF_IMAGE_SCALE_RATIO);
+
+// set some language-dependent strings (optional)
+if (@file_exists(dirname(__FILE__).'/lang/eng.php')) {
+ require_once(dirname(__FILE__).'/lang/eng.php');
+ $pdf->setLanguageArray($l);
+}
+
+// ---------------------------------------------------------
+
+// set font
+$pdf->SetFont('helvetica', 'B', 20);
+
+// add a page
+$pdf->AddPage();
+
+$pdf->Write(0, 'Example of HTML tables', '', 0, 'L', true, 0, false, false, 0);
+
+$pdf->SetFont('helvetica', '', 8);
+
+// -----------------------------------------------------------------------------
+
+$tbl = <<<EOD
+<table cellspacing="0" cellpadding="1" border="1">
+ <tr>
+ <td rowspan="3">COL 1 - ROW 1<br />COLSPAN 3</td>
+ <td>COL 2 - ROW 1</td>
+ <td>COL 3 - ROW 1</td>
+ </tr>
+ <tr>
+ <td rowspan="2">COL 2 - ROW 2 - COLSPAN 2<br />text line<br />text line<br />text line<br />text line</td>
+ <td>COL 3 - ROW 2</td>
+ </tr>
+ <tr>
+ <td>COL 3 - ROW 3</td>
+ </tr>
+
+</table>
+EOD;
+
+$pdf->writeHTML($tbl, true, false, false, false, '');
+
+// -----------------------------------------------------------------------------
+
+$tbl = <<<EOD
+<table cellspacing="0" cellpadding="1" border="1">
+ <tr>
+ <td rowspan="3">COL 1 - ROW 1<br />COLSPAN 3<br />text line<br />text line<br />text line<br />text line<br />text line<br />text line</td>
+ <td>COL 2 - ROW 1</td>
+ <td>COL 3 - ROW 1</td>
+ </tr>
+ <tr>
+ <td rowspan="2">COL 2 - ROW 2 - COLSPAN 2<br />text line<br />text line<br />text line<br />text line</td>
+ <td>COL 3 - ROW 2</td>
+ </tr>
+ <tr>
+ <td>COL 3 - ROW 3</td>
+ </tr>
+
+</table>
+EOD;
+
+$pdf->writeHTML($tbl, true, false, false, false, '');
+
+// -----------------------------------------------------------------------------
+
+$tbl = <<<EOD
+<table cellspacing="0" cellpadding="1" border="1">
+ <tr>
+ <td rowspan="3">COL 1 - ROW 1<br />COLSPAN 3<br />text line<br />text line<br />text line<br />text line<br />text line<br />text line</td>
+ <td>COL 2 - ROW 1</td>
+ <td>COL 3 - ROW 1</td>
+ </tr>
+ <tr>
+ <td rowspan="2">COL 2 - ROW 2 - COLSPAN 2<br />text line<br />text line<br />text line<br />text line</td>
+ <td>COL 3 - ROW 2<br />text line<br />text line</td>
+ </tr>
+ <tr>
+ <td>COL 3 - ROW 3</td>
+ </tr>
+
+</table>
+EOD;
+
+$pdf->writeHTML($tbl, true, false, false, false, '');
+
+// -----------------------------------------------------------------------------
+
+$tbl = <<<EOD
+<table border="1">
+<tr>
+<th rowspan="3">Left column</th>
+<th colspan="5">Heading Column Span 5</th>
+<th colspan="9">Heading Column Span 9</th>
+</tr>
+<tr>
+<th rowspan="2">Rowspan 2<br />This is some text that fills the table cell.</th>
+<th colspan="2">span 2</th>
+<th colspan="2">span 2</th>
+<th rowspan="2">2 rows</th>
+<th colspan="8">Colspan 8</th>
+</tr>
+<tr>
+<th>1a</th>
+<th>2a</th>
+<th>1b</th>
+<th>2b</th>
+<th>1</th>
+<th>2</th>
+<th>3</th>
+<th>4</th>
+<th>5</th>
+<th>6</th>
+<th>7</th>
+<th>8</th>
+</tr>
+</table>
+EOD;
+
+$pdf->writeHTML($tbl, true, false, false, false, '');
+
+// -----------------------------------------------------------------------------
+
+// Table with rowspans and THEAD
+$tbl = <<<EOD
+<table border="1" cellpadding="2" cellspacing="2">
+<thead>
+ <tr style="background-color:#FFFF00;color:#0000FF;">
+ <td width="30" align="center"><b>A</b></td>
+ <td width="140" align="center"><b>XXXX</b></td>
+ <td width="140" align="center"><b>XXXX</b></td>
+ <td width="80" align="center"> <b>XXXX</b></td>
+ <td width="80" align="center"><b>XXXX</b></td>
+ <td width="45" align="center"><b>XXXX</b></td>
+ </tr>
+ <tr style="background-color:#FF0000;color:#FFFF00;">
+ <td width="30" align="center"><b>B</b></td>
+ <td width="140" align="center"><b>XXXX</b></td>
+ <td width="140" align="center"><b>XXXX</b></td>
+ <td width="80" align="center"> <b>XXXX</b></td>
+ <td width="80" align="center"><b>XXXX</b></td>
+ <td width="45" align="center"><b>XXXX</b></td>
+ </tr>
+</thead>
+ <tr>
+ <td width="30" align="center">1.</td>
+ <td width="140" rowspan="6">XXXX<br />XXXX<br />XXXX<br />XXXX<br />XXXX<br />XXXX<br />XXXX<br />XXXX</td>
+ <td width="140">XXXX<br />XXXX</td>
+ <td width="80">XXXX<br />XXXX</td>
+ <td width="80">XXXX</td>
+ <td align="center" width="45">XXXX<br />XXXX</td>
+ </tr>
+ <tr>
+ <td width="30" align="center" rowspan="3">2.</td>
+ <td width="140" rowspan="3">XXXX<br />XXXX</td>
+ <td width="80">XXXX<br />XXXX</td>
+ <td width="80">XXXX<br />XXXX</td>
+ <td align="center" width="45">XXXX<br />XXXX</td>
+ </tr>
+ <tr>
+ <td width="80">XXXX<br />XXXX<br />XXXX<br />XXXX</td>
+ <td width="80">XXXX<br />XXXX</td>
+ <td align="center" width="45">XXXX<br />XXXX</td>
+ </tr>
+ <tr>
+ <td width="80" rowspan="2" >RRRRRR<br />XXXX<br />XXXX<br />XXXX<br />XXXX<br />XXXX<br />XXXX<br />XXXX</td>
+ <td width="80">XXXX<br />XXXX</td>
+ <td align="center" width="45">XXXX<br />XXXX</td>
+ </tr>
+ <tr>
+ <td width="30" align="center">3.</td>
+ <td width="140">XXXX1<br />XXXX</td>
+ <td width="80">XXXX<br />XXXX</td>
+ <td align="center" width="45">XXXX<br />XXXX</td>
+ </tr>
+ <tr>
+ <td width="30" align="center">4.</td>
+ <td width="140">XXXX<br />XXXX</td>
+ <td width="80">XXXX<br />XXXX</td>
+ <td width="80">XXXX<br />XXXX</td>
+ <td align="center" width="45">XXXX<br />XXXX</td>
+ </tr>
+</table>
+EOD;
+
+$pdf->writeHTML($tbl, true, false, false, false, '');
+
+$pdf->writeHTML($tbl, true, false, false, false, '');
+
+// -----------------------------------------------------------------------------
+
+// NON-BREAKING TABLE (nobr="true")
+
+$tbl = <<<EOD
+<table border="1" cellpadding="2" cellspacing="2" nobr="true">
+ <tr>
+ <th colspan="3" align="center">NON-BREAKING TABLE</th>
+ </tr>
+ <tr>
+ <td>1-1</td>
+ <td>1-2</td>
+ <td>1-3</td>
+ </tr>
+ <tr>
+ <td>2-1</td>
+ <td>3-2</td>
+ <td>3-3</td>
+ </tr>
+ <tr>
+ <td>3-1</td>
+ <td>3-2</td>
+ <td>3-3</td>
+ </tr>
+</table>
+EOD;
+
+$pdf->writeHTML($tbl, true, false, false, false, '');
+
+// -----------------------------------------------------------------------------
+
+// NON-BREAKING ROWS (nobr="true")
+
+$tbl = <<<EOD
+<table border="1" cellpadding="2" cellspacing="2" align="center">
+ <tr nobr="true">
+ <th colspan="3">NON-BREAKING ROWS</th>
+ </tr>
+ <tr nobr="true">
+ <td>ROW 1<br />COLUMN 1</td>
+ <td>ROW 1<br />COLUMN 2</td>
+ <td>ROW 1<br />COLUMN 3</td>
+ </tr>
+ <tr nobr="true">
+ <td>ROW 2<br />COLUMN 1</td>
+ <td>ROW 2<br />COLUMN 2</td>
+ <td>ROW 2<br />COLUMN 3</td>
+ </tr>
+ <tr nobr="true">
+ <td>ROW 3<br />COLUMN 1</td>
+ <td>ROW 3<br />COLUMN 2</td>
+ <td>ROW 3<br />COLUMN 3</td>
+ </tr>
+</table>
+EOD;
+
+$pdf->writeHTML($tbl, true, false, false, false, '');
+
+// -----------------------------------------------------------------------------
+
+//Close and output PDF document
+$pdf->Output('example_048.pdf', 'I');
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/example_049.php b/public/library/TCPDF/examples/example_049.php
new file mode 100644
index 0000000..7a764fb
--- /dev/null
+++ b/public/library/TCPDF/examples/example_049.php
@@ -0,0 +1,126 @@
+<?php
+//============================================================+
+// File name : example_049.php
+// Begin : 2009-04-03
+// Last Update : 2014-12-10
+//
+// Description : Example 049 for TCPDF class
+// WriteHTML with TCPDF callback functions
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * Creates an example PDF TEST document using TCPDF
+ * @package com.tecnick.tcpdf
+ * @abstract TCPDF - Example: WriteHTML with TCPDF callback functions
+ * @author Nicola Asuni
+ * @since 2008-03-04
+ */
+
+// Include the main TCPDF library (search for installation path).
+require_once('tcpdf_include.php');
+
+// create new PDF document
+$pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false);
+
+// set document information
+$pdf->SetCreator(PDF_CREATOR);
+$pdf->SetAuthor('Nicola Asuni');
+$pdf->SetTitle('TCPDF Example 049');
+$pdf->SetSubject('TCPDF Tutorial');
+$pdf->SetKeywords('TCPDF, PDF, example, test, guide');
+
+// set default header data
+$pdf->SetHeaderData(PDF_HEADER_LOGO, PDF_HEADER_LOGO_WIDTH, PDF_HEADER_TITLE.' 049', PDF_HEADER_STRING);
+
+// set header and footer fonts
+$pdf->setHeaderFont(Array(PDF_FONT_NAME_MAIN, '', PDF_FONT_SIZE_MAIN));
+$pdf->setFooterFont(Array(PDF_FONT_NAME_DATA, '', PDF_FONT_SIZE_DATA));
+
+// set default monospaced font
+$pdf->SetDefaultMonospacedFont(PDF_FONT_MONOSPACED);
+
+// set margins
+$pdf->SetMargins(PDF_MARGIN_LEFT, PDF_MARGIN_TOP, PDF_MARGIN_RIGHT);
+$pdf->SetHeaderMargin(PDF_MARGIN_HEADER);
+$pdf->SetFooterMargin(PDF_MARGIN_FOOTER);
+
+// set auto page breaks
+$pdf->SetAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM);
+
+// set image scale factor
+$pdf->setImageScale(PDF_IMAGE_SCALE_RATIO);
+
+// set some language-dependent strings (optional)
+if (@file_exists(dirname(__FILE__).'/lang/eng.php')) {
+ require_once(dirname(__FILE__).'/lang/eng.php');
+ $pdf->setLanguageArray($l);
+}
+
+// ---------------------------------------------------------
+
+// set font
+$pdf->SetFont('helvetica', '', 10);
+
+// add a page
+$pdf->AddPage();
+
+
+/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+
+IMPORTANT:
+If you are printing user-generated content, tcpdf tag can be unsafe.
+You can disable this tag by setting to false the K_TCPDF_CALLS_IN_HTML
+constant on TCPDF configuration file.
+
+For security reasons, the parameters for the 'params' attribute of TCPDF
+tag must be prepared as an array and encoded with the
+serializeTCPDFtagParameters() method (see the example below).
+
+ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
+
+
+$html = '<h1>Test TCPDF Methods in HTML</h1>
+<h2 style="color:red;">IMPORTANT:</h2>
+<span style="color:red;">If you are using user-generated content, the tcpdf tag can be unsafe.<br />
+You can disable this tag by setting to false the <b>K_TCPDF_CALLS_IN_HTML</b> constant on TCPDF configuration file.</span>
+<h2>write1DBarcode method in HTML</h2>';
+
+$params = $pdf->serializeTCPDFtagParameters(array('CODE 39', 'C39', '', '', 80, 30, 0.4, array('position'=>'S', 'border'=>true, 'padding'=>4, 'fgcolor'=>array(0,0,0), 'bgcolor'=>array(255,255,255), 'text'=>true, 'font'=>'helvetica', 'fontsize'=>8, 'stretchtext'=>4), 'N'));
+$html .= '<tcpdf method="write1DBarcode" params="'.$params.'" />';
+
+$params = $pdf->serializeTCPDFtagParameters(array('CODE 128', 'C128', '', '', 80, 30, 0.4, array('position'=>'S', 'border'=>true, 'padding'=>4, 'fgcolor'=>array(0,0,0), 'bgcolor'=>array(255,255,255), 'text'=>true, 'font'=>'helvetica', 'fontsize'=>8, 'stretchtext'=>4), 'N'));
+$html .= '<tcpdf method="write1DBarcode" params="'.$params.'" />';
+
+$html .= '<tcpdf method="AddPage" /><h2>Graphic Functions</h2>';
+
+$params = $pdf->serializeTCPDFtagParameters(array(0));
+$html .= '<tcpdf method="SetDrawColor" params="'.$params.'" />';
+
+$params = $pdf->serializeTCPDFtagParameters(array(50, 50, 40, 10, 'DF', array(), array(0,128,255)));
+$html .= '<tcpdf method="Rect" params="'.$params.'" />';
+
+
+// output the HTML content
+$pdf->writeHTML($html, true, 0, true, 0);
+
+// - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
+// reset pointer to the last page
+$pdf->lastPage();
+
+// ---------------------------------------------------------
+
+//Close and output PDF document
+$pdf->Output('example_049.pdf', 'I');
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/example_050.php b/public/library/TCPDF/examples/example_050.php
new file mode 100644
index 0000000..5ccae31
--- /dev/null
+++ b/public/library/TCPDF/examples/example_050.php
@@ -0,0 +1,210 @@
+<?php
+//============================================================+
+// File name : example_050.php
+// Begin : 2009-04-09
+// Last Update : 2013-05-14
+//
+// Description : Example 050 for TCPDF class
+// 2D Barcodes
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * Creates an example PDF TEST document using TCPDF
+ * @package com.tecnick.tcpdf
+ * @abstract TCPDF - Example: 2D barcodes.
+ * @author Nicola Asuni
+ * @since 2008-03-04
+ */
+
+// Include the main TCPDF library (search for installation path).
+require_once('tcpdf_include.php');
+
+// create new PDF document
+$pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false);
+
+// set document information
+$pdf->SetCreator(PDF_CREATOR);
+$pdf->SetAuthor('Nicola Asuni');
+$pdf->SetTitle('TCPDF Example 050');
+$pdf->SetSubject('TCPDF Tutorial');
+$pdf->SetKeywords('TCPDF, PDF, example, test, guide');
+
+// set default header data
+$pdf->SetHeaderData(PDF_HEADER_LOGO, PDF_HEADER_LOGO_WIDTH, PDF_HEADER_TITLE.' 050', PDF_HEADER_STRING);
+
+// set header and footer fonts
+$pdf->setHeaderFont(Array(PDF_FONT_NAME_MAIN, '', PDF_FONT_SIZE_MAIN));
+$pdf->setFooterFont(Array(PDF_FONT_NAME_DATA, '', PDF_FONT_SIZE_DATA));
+
+// set default monospaced font
+$pdf->SetDefaultMonospacedFont(PDF_FONT_MONOSPACED);
+
+// set margins
+$pdf->SetMargins(PDF_MARGIN_LEFT, PDF_MARGIN_TOP, PDF_MARGIN_RIGHT);
+$pdf->SetHeaderMargin(PDF_MARGIN_HEADER);
+$pdf->SetFooterMargin(PDF_MARGIN_FOOTER);
+
+// set auto page breaks
+$pdf->SetAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM);
+
+// set image scale factor
+$pdf->setImageScale(PDF_IMAGE_SCALE_RATIO);
+
+// set some language-dependent strings (optional)
+if (@file_exists(dirname(__FILE__).'/lang/eng.php')) {
+ require_once(dirname(__FILE__).'/lang/eng.php');
+ $pdf->setLanguageArray($l);
+}
+
+// ---------------------------------------------------------
+
+// NOTE: 2D barcode algorithms must be implemented on 2dbarcode.php class file.
+
+// set font
+$pdf->SetFont('helvetica', '', 11);
+
+// add a page
+$pdf->AddPage();
+
+// print a message
+$txt = "You can also export 2D barcodes in other formats (PNG, SVG, HTML). Check the examples inside the barcode directory.\n";
+$pdf->MultiCell(70, 50, $txt, 0, 'J', false, 1, 125, 30, true, 0, false, true, 0, 'T', false);
+
+
+$pdf->SetFont('helvetica', '', 10);
+
+// - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
+// set style for barcode
+$style = array(
+ 'border' => true,
+ 'vpadding' => 'auto',
+ 'hpadding' => 'auto',
+ 'fgcolor' => array(0,0,0),
+ 'bgcolor' => false, //array(255,255,255)
+ 'module_width' => 1, // width of a single module in points
+ 'module_height' => 1 // height of a single module in points
+);
+
+// write RAW 2D Barcode
+
+$code = '111011101110111,010010001000010,010011001110010,010010000010010,010011101110010';
+$pdf->write2DBarcode($code, 'RAW', 80, 30, 30, 20, $style, 'N');
+
+// write RAW2 2D Barcode
+$code = '[111011101110111][010010001000010][010011001110010][010010000010010][010011101110010]';
+$pdf->write2DBarcode($code, 'RAW2', 80, 60, 30, 20, $style, 'N');
+
+// - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
+// set style for barcode
+$style = array(
+ 'border' => 2,
+ 'vpadding' => 'auto',
+ 'hpadding' => 'auto',
+ 'fgcolor' => array(0,0,0),
+ 'bgcolor' => false, //array(255,255,255)
+ 'module_width' => 1, // width of a single module in points
+ 'module_height' => 1 // height of a single module in points
+);
+
+// QRCODE,L : QR-CODE Low error correction
+$pdf->write2DBarcode('www.tcpdf.org', 'QRCODE,L', 20, 30, 50, 50, $style, 'N');
+$pdf->Text(20, 25, 'QRCODE L');
+
+// QRCODE,M : QR-CODE Medium error correction
+$pdf->write2DBarcode('www.tcpdf.org', 'QRCODE,M', 20, 90, 50, 50, $style, 'N');
+$pdf->Text(20, 85, 'QRCODE M');
+
+// QRCODE,Q : QR-CODE Better error correction
+$pdf->write2DBarcode('www.tcpdf.org', 'QRCODE,Q', 20, 150, 50, 50, $style, 'N');
+$pdf->Text(20, 145, 'QRCODE Q');
+
+// QRCODE,H : QR-CODE Best error correction
+$pdf->write2DBarcode('www.tcpdf.org', 'QRCODE,H', 20, 210, 50, 50, $style, 'N');
+$pdf->Text(20, 205, 'QRCODE H');
+
+// -------------------------------------------------------------------
+// PDF417 (ISO/IEC 15438:2006)
+
+/*
+
+ The $type parameter can be simple 'PDF417' or 'PDF417' followed by a
+ number of comma-separated options:
+
+ 'PDF417,a,e,t,s,f,o0,o1,o2,o3,o4,o5,o6'
+
+ Possible options are:
+
+ a = aspect ratio (width/height);
+ e = error correction level (0-8);
+
+ Macro Control Block options:
+
+ t = total number of macro segments;
+ s = macro segment index (0-99998);
+ f = file ID;
+ o0 = File Name (text);
+ o1 = Segment Count (numeric);
+ o2 = Time Stamp (numeric);
+ o3 = Sender (text);
+ o4 = Addressee (text);
+ o5 = File Size (numeric);
+ o6 = Checksum (numeric).
+
+ Parameters t, s and f are required for a Macro Control Block, all other parametrs are optional.
+ To use a comma character ',' on text options, replace it with the character 255: "\xff".
+
+*/
+
+$pdf->write2DBarcode('www.tcpdf.org', 'PDF417', 80, 90, 0, 30, $style, 'N');
+$pdf->Text(80, 85, 'PDF417 (ISO/IEC 15438:2006)');
+
+// -------------------------------------------------------------------
+// DATAMATRIX (ISO/IEC 16022:2006)
+
+$pdf->write2DBarcode('http://www.tcpdf.org', 'DATAMATRIX', 80, 150, 50, 50, $style, 'N');
+$pdf->Text(80, 145, 'DATAMATRIX (ISO/IEC 16022:2006)');
+
+// -------------------------------------------------------------------
+
+// new style
+$style = array(
+ 'border' => 2,
+ 'padding' => 'auto',
+ 'fgcolor' => array(0,0,255),
+ 'bgcolor' => array(255,255,64)
+);
+
+// QRCODE,H : QR-CODE Best error correction
+$pdf->write2DBarcode('www.tcpdf.org', 'QRCODE,H', 80, 210, 50, 50, $style, 'N');
+$pdf->Text(80, 205, 'QRCODE H - COLORED');
+
+// new style
+$style = array(
+ 'border' => false,
+ 'padding' => 0,
+ 'fgcolor' => array(128,0,0),
+ 'bgcolor' => false
+);
+
+// QRCODE,H : QR-CODE Best error correction
+$pdf->write2DBarcode('www.tcpdf.org', 'QRCODE,H', 140, 210, 50, 50, $style, 'N');
+$pdf->Text(140, 205, 'QRCODE H - NO PADDING');
+
+// ---------------------------------------------------------
+
+//Close and output PDF document
+$pdf->Output('example_050.pdf', 'I');
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/example_051.php b/public/library/TCPDF/examples/example_051.php
new file mode 100644
index 0000000..dc2d94e
--- /dev/null
+++ b/public/library/TCPDF/examples/example_051.php
@@ -0,0 +1,145 @@
+<?php
+//============================================================+
+// File name : example_051.php
+// Begin : 2009-04-16
+// Last Update : 2013-05-14
+//
+// Description : Example 051 for TCPDF class
+// Full page background
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * Creates an example PDF TEST document using TCPDF
+ * @package com.tecnick.tcpdf
+ * @abstract TCPDF - Example: Full page background
+ * @author Nicola Asuni
+ * @since 2009-04-16
+ */
+
+// Include the main TCPDF library (search for installation path).
+require_once('tcpdf_include.php');
+
+
+// Extend the TCPDF class to create custom Header and Footer
+class MYPDF extends TCPDF {
+ //Page header
+ public function Header() {
+ // get the current page break margin
+ $bMargin = $this->getBreakMargin();
+ // get current auto-page-break mode
+ $auto_page_break = $this->AutoPageBreak;
+ // disable auto-page-break
+ $this->SetAutoPageBreak(false, 0);
+ // set bacground image
+ $img_file = K_PATH_IMAGES.'image_demo.jpg';
+ $this->Image($img_file, 0, 0, 210, 297, '', '', '', false, 300, '', false, false, 0);
+ // restore auto-page-break status
+ $this->SetAutoPageBreak($auto_page_break, $bMargin);
+ // set the starting point for the page content
+ $this->setPageMark();
+ }
+}
+
+// create new PDF document
+$pdf = new MYPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false);
+
+// set document information
+$pdf->SetCreator(PDF_CREATOR);
+$pdf->SetAuthor('Nicola Asuni');
+$pdf->SetTitle('TCPDF Example 051');
+$pdf->SetSubject('TCPDF Tutorial');
+$pdf->SetKeywords('TCPDF, PDF, example, test, guide');
+
+// set header and footer fonts
+$pdf->setHeaderFont(Array(PDF_FONT_NAME_MAIN, '', PDF_FONT_SIZE_MAIN));
+
+// set default monospaced font
+$pdf->SetDefaultMonospacedFont(PDF_FONT_MONOSPACED);
+
+// set margins
+$pdf->SetMargins(PDF_MARGIN_LEFT, PDF_MARGIN_TOP, PDF_MARGIN_RIGHT);
+$pdf->SetHeaderMargin(0);
+$pdf->SetFooterMargin(0);
+
+// remove default footer
+$pdf->setPrintFooter(false);
+
+// set auto page breaks
+$pdf->SetAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM);
+
+// set image scale factor
+$pdf->setImageScale(PDF_IMAGE_SCALE_RATIO);
+
+// set some language-dependent strings (optional)
+if (@file_exists(dirname(__FILE__).'/lang/eng.php')) {
+ require_once(dirname(__FILE__).'/lang/eng.php');
+ $pdf->setLanguageArray($l);
+}
+
+// ---------------------------------------------------------
+
+// set font
+$pdf->SetFont('times', '', 48);
+
+// add a page
+$pdf->AddPage();
+
+// Print a text
+$html = '<span style="background-color:yellow;color:blue;">&nbsp;PAGE 1&nbsp;</span>
+<p stroke="0.2" fill="true" strokecolor="yellow" color="blue" style="font-family:helvetica;font-weight:bold;font-size:26pt;">You can set a full page background.</p>';
+$pdf->writeHTML($html, true, false, true, false, '');
+
+
+// add a page
+$pdf->AddPage();
+
+// Print a text
+$html = '<span style="background-color:yellow;color:blue;">&nbsp;PAGE 2&nbsp;</span>';
+$pdf->writeHTML($html, true, false, true, false, '');
+
+// --- example with background set on page ---
+
+// remove default header
+$pdf->setPrintHeader(false);
+
+// add a page
+$pdf->AddPage();
+
+
+// -- set new background ---
+
+// get the current page break margin
+$bMargin = $pdf->getBreakMargin();
+// get current auto-page-break mode
+$auto_page_break = $pdf->getAutoPageBreak();
+// disable auto-page-break
+$pdf->SetAutoPageBreak(false, 0);
+// set bacground image
+$img_file = K_PATH_IMAGES.'image_demo.jpg';
+$pdf->Image($img_file, 0, 0, 210, 297, '', '', '', false, 300, '', false, false, 0);
+// restore auto-page-break status
+$pdf->SetAutoPageBreak($auto_page_break, $bMargin);
+// set the starting point for the page content
+$pdf->setPageMark();
+
+
+// Print a text
+$html = '<span style="color:white;text-align:center;font-weight:bold;font-size:80pt;">PAGE 3</span>';
+$pdf->writeHTML($html, true, false, true, false, '');
+
+// ---------------------------------------------------------
+
+//Close and output PDF document
+$pdf->Output('example_051.pdf', 'I');
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/example_052.php b/public/library/TCPDF/examples/example_052.php
new file mode 100644
index 0000000..2af27f0
--- /dev/null
+++ b/public/library/TCPDF/examples/example_052.php
@@ -0,0 +1,121 @@
+<?php
+//============================================================+
+// File name : example_052.php
+// Begin : 2009-05-07
+// Last Update : 2013-05-14
+//
+// Description : Example 052 for TCPDF class
+// Certification Signature (experimental)
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * Creates an example PDF TEST document using TCPDF
+ * @package com.tecnick.tcpdf
+ * @abstract TCPDF - Example: Certification Signature (experimental)
+ * @author Nicola Asuni
+ * @since 2009-05-07
+ */
+
+// Include the main TCPDF library (search for installation path).
+require_once('tcpdf_include.php');
+
+// create new PDF document
+$pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false);
+
+// set document information
+$pdf->SetCreator(PDF_CREATOR);
+$pdf->SetAuthor('Nicola Asuni');
+$pdf->SetTitle('TCPDF Example 052');
+$pdf->SetSubject('TCPDF Tutorial');
+$pdf->SetKeywords('TCPDF, PDF, example, test, guide');
+
+// set default header data
+$pdf->SetHeaderData(PDF_HEADER_LOGO, PDF_HEADER_LOGO_WIDTH, PDF_HEADER_TITLE.' 052', PDF_HEADER_STRING);
+
+// set header and footer fonts
+$pdf->setHeaderFont(Array(PDF_FONT_NAME_MAIN, '', PDF_FONT_SIZE_MAIN));
+$pdf->setFooterFont(Array(PDF_FONT_NAME_DATA, '', PDF_FONT_SIZE_DATA));
+
+// set default monospaced font
+$pdf->SetDefaultMonospacedFont(PDF_FONT_MONOSPACED);
+
+// set margins
+$pdf->SetMargins(PDF_MARGIN_LEFT, PDF_MARGIN_TOP, PDF_MARGIN_RIGHT);
+$pdf->SetHeaderMargin(PDF_MARGIN_HEADER);
+$pdf->SetFooterMargin(PDF_MARGIN_FOOTER);
+
+// set auto page breaks
+$pdf->SetAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM);
+
+// set image scale factor
+$pdf->setImageScale(PDF_IMAGE_SCALE_RATIO);
+
+// set some language-dependent strings (optional)
+if (@file_exists(dirname(__FILE__).'/lang/eng.php')) {
+ require_once(dirname(__FILE__).'/lang/eng.php');
+ $pdf->setLanguageArray($l);
+}
+
+// ---------------------------------------------------------
+
+/*
+NOTES:
+ - To create self-signed signature: openssl req -x509 -nodes -days 365000 -newkey rsa:1024 -keyout tcpdf.crt -out tcpdf.crt
+ - To export crt to p12: openssl pkcs12 -export -in tcpdf.crt -out tcpdf.p12
+ - To convert pfx certificate to pem: openssl pkcs12 -in tcpdf.pfx -out tcpdf.crt -nodes
+*/
+
+// set certificate file
+$certificate = 'file://data/cert/tcpdf.crt';
+
+// set additional information
+$info = array(
+ 'Name' => 'TCPDF',
+ 'Location' => 'Office',
+ 'Reason' => 'Testing TCPDF',
+ 'ContactInfo' => 'http://www.tcpdf.org',
+ );
+
+// set document signature
+$pdf->setSignature($certificate, $certificate, 'tcpdfdemo', '', 2, $info);
+
+// set font
+$pdf->SetFont('helvetica', '', 12);
+
+// add a page
+$pdf->AddPage();
+
+// print a line of text
+$text = 'This is a <b color="#FF0000">digitally signed document</b> using the default (example) <b>tcpdf.crt</b> certificate.<br />To validate this signature you have to load the <b color="#006600">tcpdf.fdf</b> on the Arobat Reader to add the certificate to <i>List of Trusted Identities</i>.<br /><br />For more information check the source code of this example and the source code documentation for the <i>setSignature()</i> method.<br /><br /><a href="http://www.tcpdf.org">www.tcpdf.org</a>';
+$pdf->writeHTML($text, true, 0, true, 0);
+
+// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+// *** set signature appearance ***
+
+// create content for signature (image and/or text)
+$pdf->Image('images/tcpdf_signature.png', 180, 60, 15, 15, 'PNG');
+
+// define active area for signature appearance
+$pdf->setSignatureAppearance(180, 60, 15, 15);
+
+// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
+// *** set an empty signature appearance ***
+$pdf->addEmptySignatureAppearance(180, 80, 15, 15);
+
+// ---------------------------------------------------------
+
+//Close and output PDF document
+$pdf->Output('example_052.pdf', 'D');
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/example_053.php b/public/library/TCPDF/examples/example_053.php
new file mode 100644
index 0000000..8c784d5
--- /dev/null
+++ b/public/library/TCPDF/examples/example_053.php
@@ -0,0 +1,108 @@
+<?php
+//============================================================+
+// File name : example_053.php
+// Begin : 2009-09-02
+// Last Update : 2013-05-14
+//
+// Description : Example 053 for TCPDF class
+// Javascript example.
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * Creates an example PDF TEST document using TCPDF
+ * @package com.tecnick.tcpdf
+ * @abstract TCPDF - Example: Javascript example.
+ * @author Nicola Asuni
+ * @since 2009-09-02
+ */
+
+// Include the main TCPDF library (search for installation path).
+require_once('tcpdf_include.php');
+
+// create new PDF document
+$pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false);
+
+// set document information
+$pdf->SetCreator(PDF_CREATOR);
+$pdf->SetAuthor('Nicola Asuni');
+$pdf->SetTitle('TCPDF Example 053');
+$pdf->SetSubject('TCPDF Tutorial');
+$pdf->SetKeywords('TCPDF, PDF, example, test, guide');
+
+// set default header data
+$pdf->SetHeaderData(PDF_HEADER_LOGO, PDF_HEADER_LOGO_WIDTH, PDF_HEADER_TITLE.' 053', PDF_HEADER_STRING);
+
+// set header and footer fonts
+$pdf->setHeaderFont(Array(PDF_FONT_NAME_MAIN, '', PDF_FONT_SIZE_MAIN));
+$pdf->setFooterFont(Array(PDF_FONT_NAME_DATA, '', PDF_FONT_SIZE_DATA));
+
+// set default monospaced font
+$pdf->SetDefaultMonospacedFont(PDF_FONT_MONOSPACED);
+
+// set margins
+$pdf->SetMargins(PDF_MARGIN_LEFT, PDF_MARGIN_TOP, PDF_MARGIN_RIGHT);
+$pdf->SetHeaderMargin(PDF_MARGIN_HEADER);
+$pdf->SetFooterMargin(PDF_MARGIN_FOOTER);
+
+// set auto page breaks
+$pdf->SetAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM);
+
+// set image scale factor
+$pdf->setImageScale(PDF_IMAGE_SCALE_RATIO);
+
+// set some language-dependent strings (optional)
+if (@file_exists(dirname(__FILE__).'/lang/eng.php')) {
+ require_once(dirname(__FILE__).'/lang/eng.php');
+ $pdf->setLanguageArray($l);
+}
+
+// ---------------------------------------------------------
+
+// set font
+$pdf->SetFont('times', '', 14);
+
+// add a page
+$pdf->AddPage();
+
+// print a some of text
+$text = 'This is an example of <strong>JavaScript</strong> usage on PDF documents.<br /><br />For more information check the source code of this example, the source code documentation for the <i>IncludeJS()</i> method and the <i>JavaScript for Acrobat API Reference</i> guide.<br /><br /><a href="http://www.tcpdf.org">www.tcpdf.org</a>';
+$pdf->writeHTML($text, true, 0, true, 0);
+
+// write some JavaScript code
+$js = <<<EOD
+app.alert('JavaScript Popup Example', 3, 0, 'Welcome');
+var cResponse = app.response({
+ cQuestion: 'How are you today?',
+ cTitle: 'Your Health Status',
+ cDefault: 'Fine',
+ cLabel: 'Response:'
+});
+if (cResponse == null) {
+ app.alert('Thanks for trying anyway.', 3, 0, 'Result');
+} else {
+ app.alert('You responded, "'+cResponse+'", to the health question.', 3, 0, 'Result');
+}
+EOD;
+
+// force print dialog
+$js .= 'print(true);';
+
+// set javascript
+$pdf->IncludeJS($js);
+
+// ---------------------------------------------------------
+
+//Close and output PDF document
+$pdf->Output('example_053.pdf', 'D');
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/example_054.php b/public/library/TCPDF/examples/example_054.php
new file mode 100644
index 0000000..af4545d
--- /dev/null
+++ b/public/library/TCPDF/examples/example_054.php
@@ -0,0 +1,128 @@
+<?php
+//============================================================+
+// File name : example_054.php
+// Begin : 2009-09-07
+// Last Update : 2013-05-14
+//
+// Description : Example 054 for TCPDF class
+// XHTML Forms
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * Creates an example PDF TEST document using TCPDF
+ * @package com.tecnick.tcpdf
+ * @abstract TCPDF - Example: XHTML Forms
+ * @author Nicola Asuni
+ * @since 2009-09-07
+ */
+
+// Include the main TCPDF library (search for installation path).
+require_once('tcpdf_include.php');
+
+// create new PDF document
+$pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false);
+
+// set document information
+$pdf->SetCreator(PDF_CREATOR);
+$pdf->SetAuthor('Nicola Asuni');
+$pdf->SetTitle('TCPDF Example 054');
+$pdf->SetSubject('TCPDF Tutorial');
+$pdf->SetKeywords('TCPDF, PDF, example, test, guide');
+
+// set default header data
+$pdf->SetHeaderData(PDF_HEADER_LOGO, PDF_HEADER_LOGO_WIDTH, PDF_HEADER_TITLE.' 054', PDF_HEADER_STRING);
+
+// set header and footer fonts
+$pdf->setHeaderFont(Array(PDF_FONT_NAME_MAIN, '', PDF_FONT_SIZE_MAIN));
+$pdf->setFooterFont(Array(PDF_FONT_NAME_DATA, '', PDF_FONT_SIZE_DATA));
+
+// set default monospaced font
+$pdf->SetDefaultMonospacedFont(PDF_FONT_MONOSPACED);
+
+// set margins
+$pdf->SetMargins(PDF_MARGIN_LEFT, PDF_MARGIN_TOP, PDF_MARGIN_RIGHT);
+$pdf->SetHeaderMargin(PDF_MARGIN_HEADER);
+$pdf->SetFooterMargin(PDF_MARGIN_FOOTER);
+
+// set auto page breaks
+$pdf->SetAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM);
+
+// set image scale factor
+$pdf->setImageScale(PDF_IMAGE_SCALE_RATIO);
+
+// set some language-dependent strings (optional)
+if (@file_exists(dirname(__FILE__).'/lang/eng.php')) {
+ require_once(dirname(__FILE__).'/lang/eng.php');
+ $pdf->setLanguageArray($l);
+}
+
+// ---------------------------------------------------------
+
+// IMPORTANT: disable font subsetting to allow users editing the document
+$pdf->setFontSubsetting(false);
+
+// set font
+$pdf->SetFont('helvetica', '', 10, '', false);
+
+// add a page
+$pdf->AddPage();
+
+// create some HTML content
+$html = <<<EOD
+<h1>XHTML Form Example</h1>
+<form method="post" action="http://localhost/printvars.php" enctype="multipart/form-data">
+<label for="name">name:</label> <input type="text" name="name" value="" size="20" maxlength="30" /><br />
+<label for="password">password:</label> <input type="password" name="password" value="" size="20" maxlength="30" /><br /><br />
+<label for="infile">file:</label> <input type="file" name="userfile" size="20" /><br /><br />
+<input type="checkbox" name="agree" value="1" checked="checked" /> <label for="agree">I agree </label><br /><br />
+<input type="radio" name="radioquestion" id="rqa" value="1" /> <label for="rqa">one</label><br />
+<input type="radio" name="radioquestion" id="rqb" value="2" checked="checked"/> <label for="rqb">two</label><br />
+<input type="radio" name="radioquestion" id="rqc" value="3" /> <label for="rqc">three</label><br /><br />
+<label for="selection">select:</label>
+<select name="selection" size="0">
+ <option value="0">zero</option>
+ <option value="1">one</option>
+ <option value="2">two</option>
+ <option value="3">three</option>
+</select><br /><br />
+<label for="selection">select:</label>
+<select name="multiselection" size="2" multiple="multiple">
+ <option value="0">zero</option>
+ <option value="1">one</option>
+ <option value="2">two</option>
+ <option value="3">three</option>
+</select><br /><br /><br />
+<label for="text">text area:</label><br />
+<textarea cols="40" rows="3" name="text">line one
+line two</textarea><br />
+<br /><br /><br />
+<input type="reset" name="reset" value="Reset" />
+<input type="submit" name="submit" value="Submit" />
+<input type="button" name="print" value="Print" onclick="print()" />
+<input type="hidden" name="hiddenfield" value="OK" />
+<br />
+</form>
+EOD;
+
+// output the HTML content
+$pdf->writeHTML($html, true, 0, true, 0);
+
+// reset pointer to the last page
+$pdf->lastPage();
+
+// ---------------------------------------------------------
+
+//Close and output PDF document
+$pdf->Output('example_054.pdf', 'D');
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/example_055.php b/public/library/TCPDF/examples/example_055.php
new file mode 100644
index 0000000..a825966
--- /dev/null
+++ b/public/library/TCPDF/examples/example_055.php
@@ -0,0 +1,115 @@
+<?php
+//============================================================+
+// File name : example_055.php
+// Begin : 2009-10-21
+// Last Update : 2014-12-10
+//
+// Description : Example 055 for TCPDF class
+// Display all characters available on core fonts.
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * Display all characters available on core fonts.
+ * @package com.tecnick.tcpdf
+ * @abstract TCPDF - Example: XHTML Forms
+ * @author Nicola Asuni
+ * @since 2009-10-21
+ */
+
+// Include the main TCPDF library (search for installation path).
+require_once('tcpdf_include.php');
+
+// create new PDF document
+$pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false);
+
+// set document information
+$pdf->SetCreator(PDF_CREATOR);
+$pdf->SetAuthor('Nicola Asuni');
+$pdf->SetTitle('TCPDF Example 055');
+$pdf->SetSubject('TCPDF Tutorial');
+$pdf->SetKeywords('TCPDF, PDF, example, test, guide');
+
+// set default header data
+$pdf->SetHeaderData(PDF_HEADER_LOGO, PDF_HEADER_LOGO_WIDTH, PDF_HEADER_TITLE.' 055', PDF_HEADER_STRING);
+
+// set header and footer fonts
+$pdf->setHeaderFont(Array(PDF_FONT_NAME_MAIN, '', PDF_FONT_SIZE_MAIN));
+$pdf->setFooterFont(Array(PDF_FONT_NAME_DATA, '', PDF_FONT_SIZE_DATA));
+
+// set default monospaced font
+$pdf->SetDefaultMonospacedFont(PDF_FONT_MONOSPACED);
+
+// set margins
+$pdf->SetMargins(PDF_MARGIN_LEFT, PDF_MARGIN_TOP, PDF_MARGIN_RIGHT);
+$pdf->SetHeaderMargin(PDF_MARGIN_HEADER);
+$pdf->SetFooterMargin(PDF_MARGIN_FOOTER);
+
+// set auto page breaks
+$pdf->SetAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM);
+
+// set image scale factor
+$pdf->setImageScale(PDF_IMAGE_SCALE_RATIO);
+
+// set some language-dependent strings (optional)
+if (@file_exists(dirname(__FILE__).'/lang/eng.php')) {
+ require_once(dirname(__FILE__).'/lang/eng.php');
+ $pdf->setLanguageArray($l);
+}
+
+// ---------------------------------------------------------
+
+// set font
+$pdf->SetFont('helvetica', '', 14);
+
+// array of font names
+$core_fonts = array('courier', 'courierB', 'courierI', 'courierBI', 'helvetica', 'helveticaB', 'helveticaI', 'helveticaBI', 'times', 'timesB', 'timesI', 'timesBI', 'symbol', 'zapfdingbats');
+
+// set fill color
+$pdf->SetFillColor(221,238,255);
+
+// create one HTML table for each core font
+foreach($core_fonts as $font) {
+ // add a page
+ $pdf->AddPage();
+
+ // Cell($w, $h=0, $txt='', $border=0, $ln=0, $align='', $fill=false, $link='', $stretch=0, $ignore_min_height=false, $calign='T', $valign='M')
+
+ // set font for title
+ $pdf->SetFont('helvetica', 'B', 16);
+
+ // print font name
+ $pdf->Cell(0, 10, 'FONT: '.$font, 1, 1, 'C', true, '', 0, false, 'T', 'M');
+
+ // set font for chars
+ $pdf->SetFont($font, '', 16);
+
+ // print each character
+ for ($i = 0; $i < 256; ++$i) {
+ if (($i > 0) AND (($i % 16) == 0)) {
+ $pdf->Ln();
+ }
+ $pdf->Cell(11.25, 11.25, TCPDF_FONTS::unichr($i), 1, 0, 'C', false, '', 0, false, 'T', 'M');
+ }
+
+ $pdf->Ln(20);
+
+ // print a pangram
+ $pdf->Cell(0, 0, 'The quick brown fox jumps over the lazy dog', 0, 1, 'C', false, '', 0, false, 'T', 'M');
+}
+
+// ---------------------------------------------------------
+
+//Close and output PDF document
+$pdf->Output('example_055.pdf', 'D');
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/example_056.php b/public/library/TCPDF/examples/example_056.php
new file mode 100644
index 0000000..c3dfe25
--- /dev/null
+++ b/public/library/TCPDF/examples/example_056.php
@@ -0,0 +1,133 @@
+<?php
+//============================================================+
+// File name : example_056.php
+// Begin : 2010-03-26
+// Last Update : 2013-09-30
+//
+// Description : Example 056 for TCPDF class
+// Crop marks and color registration bars
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * Creates an example PDF TEST document using TCPDF
+ * @package com.tecnick.tcpdf
+ * @abstract TCPDF - Example: Crop marks and color registration bars
+ * @author Nicola Asuni
+ * @since 2010-03-26
+ */
+
+// Include the main TCPDF library (search for installation path).
+require_once('tcpdf_include.php');
+
+// create new PDF document
+$pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false);
+
+// set document information
+$pdf->SetCreator(PDF_CREATOR);
+$pdf->SetAuthor('Nicola Asuni');
+$pdf->SetTitle('TCPDF Example 056');
+$pdf->SetSubject('TCPDF Tutorial');
+$pdf->SetKeywords('TCPDF, PDF, example, test, guide');
+
+// set default header data
+$pdf->SetHeaderData(PDF_HEADER_LOGO, PDF_HEADER_LOGO_WIDTH, PDF_HEADER_TITLE.' 056', PDF_HEADER_STRING);
+
+// set header and footer fonts
+$pdf->setHeaderFont(Array(PDF_FONT_NAME_MAIN, '', PDF_FONT_SIZE_MAIN));
+$pdf->setFooterFont(Array(PDF_FONT_NAME_DATA, '', PDF_FONT_SIZE_DATA));
+
+// set default monospaced font
+$pdf->SetDefaultMonospacedFont(PDF_FONT_MONOSPACED);
+
+// set margins
+$pdf->SetMargins(PDF_MARGIN_LEFT, PDF_MARGIN_TOP, PDF_MARGIN_RIGHT);
+$pdf->SetHeaderMargin(PDF_MARGIN_HEADER);
+$pdf->SetFooterMargin(PDF_MARGIN_FOOTER);
+
+// set auto page breaks
+$pdf->SetAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM);
+
+// set image scale factor
+$pdf->setImageScale(PDF_IMAGE_SCALE_RATIO);
+
+// set some language-dependent strings (optional)
+if (@file_exists(dirname(__FILE__).'/lang/eng.php')) {
+ require_once(dirname(__FILE__).'/lang/eng.php');
+ $pdf->setLanguageArray($l);
+}
+
+// ---------------------------------------------------------
+
+// set font
+$pdf->SetFont('helvetica', '', 18);
+
+// add a page
+$pdf->AddPage();
+
+$pdf->Write(0, 'Example of Registration Marks, Crop Marks and Color Bars', '', 0, 'L', true, 0, false, false, 0);
+
+$pdf->Ln(5);
+
+// color registration bars
+
+// A,W,R,G,B,C,M,Y,K,RGB,CMYK,ALL,ALLSPOT,<SPOT_COLOR_NAME>
+$pdf->colorRegistrationBar(50, 70, 40, 40, true, false, 'A,R,G,B,C,M,Y,K');
+$pdf->colorRegistrationBar(90, 70, 40, 40, true, true, 'A,R,G,B,C,M,Y,K');
+$pdf->colorRegistrationBar(50, 115, 80, 5, false, true, 'A,W,R,G,B,C,M,Y,K,ALL');
+$pdf->colorRegistrationBar(135, 70, 5, 50, false, false, 'A,W,R,G,B,C,M,Y,K,ALL');
+
+// corner crop marks
+
+$pdf->cropMark(50, 70, 10, 10, 'TL');
+$pdf->cropMark(140, 70, 10, 10, 'TR');
+$pdf->cropMark(50, 120, 10, 10, 'BL');
+$pdf->cropMark(140, 120, 10, 10, 'BR');
+
+// various crop marks
+
+$pdf->cropMark(95, 65, 5, 5, 'LEFT,TOP,RIGHT', array(255,0,0));
+$pdf->cropMark(95, 125, 5, 5, 'LEFT,BOTTOM,RIGHT', array(255,0,0));
+
+$pdf->cropMark(45, 95, 5, 5, 'TL,BL', array(0,255,0));
+$pdf->cropMark(145, 95, 5, 5, 'TR,BR', array(0,255,0));
+
+$pdf->cropMark(95, 140, 5, 5, 'A,D', array(0,0,255));
+
+// registration marks
+
+$pdf->registrationMark(40, 60, 5, false);
+$pdf->registrationMark(150, 60, 5, true, array(0,0,0), array(255,255,0));
+$pdf->registrationMark(40, 130, 5, true, array(0,0,0), array(255,255,0));
+$pdf->registrationMark(150, 130, 5, false, array(100,100,100,100,'All'), array(0,0,0,0,'None'));
+
+// test registration bar with spot colors
+
+$pdf->AddSpotColor('My TCPDF Dark Green', 100, 50, 80, 45);
+$pdf->AddSpotColor('My TCPDF Light Yellow', 0, 0, 55, 0);
+$pdf->AddSpotColor('My TCPDF Black', 0, 0, 0, 100);
+$pdf->AddSpotColor('My TCPDF Red', 30, 100, 90, 10);
+$pdf->AddSpotColor('My TCPDF Green', 100, 30, 100, 0);
+$pdf->AddSpotColor('My TCPDF Blue', 100, 60, 10, 5);
+$pdf->AddSpotColor('My TCPDF Yellow', 0, 20, 100, 0);
+
+$pdf->colorRegistrationBar(50, 150, 80, 10, false, true, 'ALLSPOT');
+
+// CMYK registration mark
+$pdf->registrationMarkCMYK(150, 155, 8);
+
+// ---------------------------------------------------------
+
+//Close and output PDF document
+$pdf->Output('example_056.pdf', 'I');
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/example_057.php b/public/library/TCPDF/examples/example_057.php
new file mode 100644
index 0000000..9714b40
--- /dev/null
+++ b/public/library/TCPDF/examples/example_057.php
@@ -0,0 +1,268 @@
+<?php
+//============================================================+
+// File name : example_057.php
+// Begin : 2010-04-03
+// Last Update : 2013-05-14
+//
+// Description : Example 057 for TCPDF class
+// Cell vertical alignments
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * Creates an example PDF TEST document using TCPDF
+ * @package com.tecnick.tcpdf
+ * @abstract TCPDF - Example: Cell vertical alignments
+ * @author Nicola Asuni
+ * @since 2008-03-04
+ */
+
+// Include the main TCPDF library (search for installation path).
+require_once('tcpdf_include.php');
+
+// create new PDF document
+$pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false);
+
+// set document information
+$pdf->SetCreator(PDF_CREATOR);
+$pdf->SetAuthor('Nicola Asuni');
+$pdf->SetTitle('TCPDF Example 057');
+$pdf->SetSubject('TCPDF Tutorial');
+$pdf->SetKeywords('TCPDF, PDF, example, test, guide');
+
+// set default header data
+$pdf->SetHeaderData(PDF_HEADER_LOGO, PDF_HEADER_LOGO_WIDTH, PDF_HEADER_TITLE.' 057', PDF_HEADER_STRING);
+
+// set header and footer fonts
+$pdf->setHeaderFont(Array(PDF_FONT_NAME_MAIN, '', PDF_FONT_SIZE_MAIN));
+$pdf->setFooterFont(Array(PDF_FONT_NAME_DATA, '', PDF_FONT_SIZE_DATA));
+
+// set default monospaced font
+$pdf->SetDefaultMonospacedFont(PDF_FONT_MONOSPACED);
+
+// set margins
+$pdf->SetMargins(PDF_MARGIN_LEFT, PDF_MARGIN_TOP, PDF_MARGIN_RIGHT);
+$pdf->SetHeaderMargin(PDF_MARGIN_HEADER);
+$pdf->SetFooterMargin(PDF_MARGIN_FOOTER);
+
+// set auto page breaks
+$pdf->SetAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM);
+
+// set image scale factor
+$pdf->setImageScale(PDF_IMAGE_SCALE_RATIO);
+
+// set some language-dependent strings (optional)
+if (@file_exists(dirname(__FILE__).'/lang/eng.php')) {
+ require_once(dirname(__FILE__).'/lang/eng.php');
+ $pdf->setLanguageArray($l);
+}
+
+// ---------------------------------------------------------
+
+// set font
+$pdf->SetFont('helvetica', 'B', 20);
+
+// add a page
+$pdf->AddPage();
+
+$pdf->Write(0, 'Example of alignment options for Cell()', '', 0, 'L', true, 0, false, false, 0);
+
+$pdf->SetFont('helvetica', '', 11);
+
+// set border width
+$pdf->SetLineWidth(0.7);
+
+// set color for cell border
+$pdf->SetDrawColor(0,128,255);
+
+$pdf->setCellHeightRatio(3);
+
+$pdf->SetXY(15, 60);
+
+// text on center
+$pdf->Cell(30, 0, 'Top-Center', 1, $ln=0, 'C', 0, '', 0, false, 'T', 'C');
+$pdf->Cell(30, 0, 'Center-Center', 1, $ln=0, 'C', 0, '', 0, false, 'C', 'C');
+$pdf->Cell(30, 0, 'Bottom-Center', 1, $ln=0, 'C', 0, '', 0, false, 'B', 'C');
+$pdf->Cell(30, 0, 'Ascent-Center', 1, $ln=0, 'C', 0, '', 0, false, 'A', 'C');
+$pdf->Cell(30, 0, 'Baseline-Center', 1, $ln=0, 'C', 0, '', 0, false, 'L', 'C');
+$pdf->Cell(30, 0, 'Descent-Center', 1, $ln=0, 'C', 0, '', 0, false, 'D', 'C');
+
+
+$pdf->SetXY(15, 90);
+
+// text on top
+$pdf->Cell(30, 0, 'Top-Top', 1, $ln=0, 'C', 0, '', 0, false, 'T', 'T');
+$pdf->Cell(30, 0, 'Center-Top', 1, $ln=0, 'C', 0, '', 0, false, 'C', 'T');
+$pdf->Cell(30, 0, 'Bottom-Top', 1, $ln=0, 'C', 0, '', 0, false, 'B', 'T');
+$pdf->Cell(30, 0, 'Ascent-Top', 1, $ln=0, 'C', 0, '', 0, false, 'A', 'T');
+$pdf->Cell(30, 0, 'Baseline-Top', 1, $ln=0, 'C', 0, '', 0, false, 'L', 'T');
+$pdf->Cell(30, 0, 'Descent-Top', 1, $ln=0, 'C', 0, '', 0, false, 'D', 'T');
+
+
+$pdf->SetXY(15, 120);
+
+// text on bottom
+$pdf->Cell(30, 0, 'Top-Bottom', 1, $ln=0, 'C', 0, '', 0, false, 'T', 'B');
+$pdf->Cell(30, 0, 'Center-Bottom', 1, $ln=0, 'C', 0, '', 0, false, 'C', 'B');
+$pdf->Cell(30, 0, 'Bottom-Bottom', 1, $ln=0, 'C', 0, '', 0, false, 'B', 'B');
+$pdf->Cell(30, 0, 'Ascent-Bottom', 1, $ln=0, 'C', 0, '', 0, false, 'A', 'B');
+$pdf->Cell(30, 0, 'Baseline-Bottom', 1, $ln=0, 'C', 0, '', 0, false, 'L', 'B');
+$pdf->Cell(30, 0, 'Descent-Bottom', 1, $ln=0, 'C', 0, '', 0, false, 'D', 'B');
+
+
+// draw some reference lines
+$linestyle = array('width' => 0.1, 'cap' => 'butt', 'join' => 'miter', 'dash' => '', 'phase' => 0, 'color' => array(255, 0, 0));
+$pdf->Line(15, 60, 195, 60, $linestyle);
+$pdf->Line(15, 90, 195, 90, $linestyle);
+$pdf->Line(15, 120, 195, 120, $linestyle);
+
+// - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
+// Print an image to explain cell measures
+
+$pdf->Image('images/tcpdf_cell.png', 15, 160, 100, 100, 'PNG', '', '', false, 300, '', false, false, 0, false, false, false);
+$legend = 'LEGEND:
+
+X: cell x top-left origin (top-right for RTL)
+Y: cell y top-left origin (top-right for RTL)
+CW: cell width
+CH: cell height
+LW: line width
+NRL: normal line position
+EXT: external line position
+INT: internal line position
+ML: margin left
+MR: margin right
+MT: margin top
+MB: margin bottom
+PL: padding left
+PR: padding right
+PT: padding top
+PB: padding bottom
+TW: text width
+FA: font ascent
+FB: font baseline
+FD: font descent';
+$pdf->SetFont('helvetica', '', 10);
+$pdf->setCellHeightRatio(1.25);
+$pdf->MultiCell(0, 0, $legend, 0, 'L', false, 1, 125, 160, true, 0, false, true, 0, 'T', false);
+
+// - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
+// CELL BORDERS
+
+// add a page
+$pdf->AddPage();
+
+$pdf->SetFont('helvetica', 'B', 20);
+
+$pdf->Write(0, 'Example of borders for Cell()', '', 0, 'L', true, 0, false, false, 0);
+
+$pdf->SetFont('helvetica', '', 11);
+
+// set border width
+$pdf->SetLineWidth(0.508);
+
+// set color for cell border
+$pdf->SetDrawColor(0,128,255);
+
+// set filling color
+$pdf->SetFillColor(255,255,128);
+
+// set cell height ratio
+$pdf->setCellHeightRatio(3);
+
+$pdf->Cell(30, 0, '1', 1, 1, 'C', 1, '', 0, false, 'T', 'C');
+$pdf->Ln(2);
+$pdf->Cell(30, 0, 'LTRB', 'LTRB', 1, 'C', 1, '', 0, false, 'T', 'C');
+$pdf->Ln(2);
+$pdf->Cell(30, 0, 'LTR', 'LTR', 1, 'C', 1, '', 0, false, 'T', 'C');
+$pdf->Ln(2);
+$pdf->Cell(30, 0, 'TRB', 'TRB', 1, 'C', 1, '', 0, false, 'T', 'C');
+$pdf->Ln(2);
+$pdf->Cell(30, 0, 'LRB', 'LRB', 1, 'C', 1, '', 0, false, 'T', 'C');
+$pdf->Ln(2);
+$pdf->Cell(30, 0, 'LTB', 'LTB', 1, 'C', 1, '', 0, false, 'T', 'C');
+$pdf->Ln(2);
+$pdf->Cell(30, 0, 'LT', 'LT', 1, 'C', 1, '', 0, false, 'T', 'C');
+$pdf->Ln(2);
+$pdf->Cell(30, 0, 'TR', 'TR', 1, 'C', 1, '', 0, false, 'T', 'C');
+$pdf->Ln(2);
+$pdf->Cell(30, 0, 'RB', 'RB', 1, 'C', 1, '', 0, false, 'T', 'C');
+$pdf->Ln(2);
+$pdf->Cell(30, 0, 'LB', 'LB', 1, 'C', 1, '', 0, false, 'T', 'C');
+$pdf->Ln(2);
+$pdf->Cell(30, 0, 'LR', 'LR', 1, 'C', 1, '', 0, false, 'T', 'C');
+$pdf->Ln(2);
+$pdf->Cell(30, 0, 'TB', 'TB', 1, 'C', 1, '', 0, false, 'T', 'C');
+$pdf->Ln(2);
+$pdf->Cell(30, 0, 'L', 'L', 1, 'C', 1, '', 0, false, 'T', 'C');
+$pdf->Ln(2);
+$pdf->Cell(30, 0, 'T', 'T', 1, 'C', 1, '', 0, false, 'T', 'C');
+$pdf->Ln(2);
+$pdf->Cell(30, 0, 'R', 'R', 1, 'C', 1, '', 0, false, 'T', 'C');
+$pdf->Ln(2);
+$pdf->Cell(30, 0, 'B', 'B', 1, 'C', 1, '', 0, false, 'T', 'C');
+
+// - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
+// ADVANCED SETTINGS FOR CELL BORDERS
+
+// add a page
+$pdf->AddPage();
+
+$pdf->SetFont('helvetica', 'B', 20);
+
+$pdf->Write(0, 'Example of advanced border settings for Cell()', '', 0, 'L', true, 0, false, false, 0);
+
+$pdf->SetFont('helvetica', '', 11);
+
+// set border width
+$pdf->SetLineWidth(1);
+
+// set color for cell border
+$pdf->SetDrawColor(0,128,255);
+
+// set filling color
+$pdf->SetFillColor(255,255,128);
+
+$border = array('LTRB' => array('width' => 2, 'cap' => 'butt', 'join' => 'miter', 'dash' => 0, 'color' => array(255, 0, 0)));
+$pdf->Cell(30, 0, 'LTRB', $border, 1, 'C', 1, '', 0, false, 'T', 'C');
+$pdf->Ln(5);
+
+$border = array(
+'L' => array('width' => 2, 'cap' => 'square', 'join' => 'miter', 'dash' => 0, 'color' => array(255, 0, 0)),
+'R' => array('width' => 2, 'cap' => 'square', 'join' => 'miter', 'dash' => 0, 'color' => array(255, 0, 255)),
+'T' => array('width' => 2, 'cap' => 'square', 'join' => 'miter', 'dash' => 0, 'color' => array(0, 255, 0)),
+'B' => array('width' => 2, 'cap' => 'square', 'join' => 'miter', 'dash' => 0, 'color' => array(0, 0, 255)));
+$pdf->Cell(30, 0, 'LTRB', $border, 1, 'C', 1, '', 0, false, 'T', 'C');
+$pdf->Ln(5);
+
+$border = array('mode' => 'ext', 'LTRB' => array('width' => 2, 'cap' => 'butt', 'join' => 'miter', 'dash' => 0, 'color' => array(255, 0, 0)));
+$pdf->Cell(30, 0, 'LTRB EXT', $border, 1, 'C', 1, '', 0, false, 'T', 'C');
+$pdf->Ln(5);
+
+$border = array('mode' => 'int', 'LTRB' => array('width' => 2, 'cap' => 'butt', 'join' => 'miter', 'dash' => 0, 'color' => array(255, 0, 0)));
+$pdf->Cell(30, 0, 'LTRB INT', $border, 1, 'C', 1, '', 0, false, 'T', 'C');
+$pdf->Ln(5);
+
+// - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
+// reset pointer to the last page
+$pdf->lastPage();
+
+// ---------------------------------------------------------
+
+//Close and output PDF document
+$pdf->Output('example_057.pdf', 'I');
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/example_058.php b/public/library/TCPDF/examples/example_058.php
new file mode 100644
index 0000000..1e472fb
--- /dev/null
+++ b/public/library/TCPDF/examples/example_058.php
@@ -0,0 +1,94 @@
+<?php
+//============================================================+
+// File name : example_058.php
+// Begin : 2010-04-22
+// Last Update : 2013-05-14
+//
+// Description : Example 058 for TCPDF class
+// SVG Image
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * Creates an example PDF TEST document using TCPDF
+ * @package com.tecnick.tcpdf
+ * @abstract TCPDF - Example: SVG Image
+ * @author Nicola Asuni
+ * @since 2010-05-02
+ */
+
+// Include the main TCPDF library (search for installation path).
+require_once('tcpdf_include.php');
+
+// create new PDF document
+$pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false);
+
+// set document information
+$pdf->SetCreator(PDF_CREATOR);
+$pdf->SetAuthor('Nicola Asuni');
+$pdf->SetTitle('TCPDF Example 058');
+$pdf->SetSubject('TCPDF Tutorial');
+$pdf->SetKeywords('TCPDF, PDF, example, test, guide');
+
+// set default header data
+$pdf->SetHeaderData(PDF_HEADER_LOGO, PDF_HEADER_LOGO_WIDTH, PDF_HEADER_TITLE.' 058', PDF_HEADER_STRING);
+
+// set header and footer fonts
+$pdf->setHeaderFont(Array(PDF_FONT_NAME_MAIN, '', PDF_FONT_SIZE_MAIN));
+$pdf->setFooterFont(Array(PDF_FONT_NAME_DATA, '', PDF_FONT_SIZE_DATA));
+
+// set default monospaced font
+$pdf->SetDefaultMonospacedFont(PDF_FONT_MONOSPACED);
+
+// set margins
+$pdf->SetMargins(PDF_MARGIN_LEFT, PDF_MARGIN_TOP, PDF_MARGIN_RIGHT);
+$pdf->SetHeaderMargin(PDF_MARGIN_HEADER);
+$pdf->SetFooterMargin(PDF_MARGIN_FOOTER);
+
+// set auto page breaks
+$pdf->SetAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM);
+
+// set image scale factor
+$pdf->setImageScale(PDF_IMAGE_SCALE_RATIO);
+
+// set some language-dependent strings (optional)
+if (@file_exists(dirname(__FILE__).'/lang/eng.php')) {
+ require_once(dirname(__FILE__).'/lang/eng.php');
+ $pdf->setLanguageArray($l);
+}
+
+// ---------------------------------------------------------
+
+// set font
+$pdf->SetFont('helvetica', '', 10);
+
+// add a page
+$pdf->AddPage();
+
+// NOTE: Uncomment the following line to rasterize SVG image using the ImageMagick library.
+//$pdf->setRasterizeVectorImages(true);
+
+$pdf->ImageSVG($file='images/testsvg.svg', $x=15, $y=30, $w='', $h='', $link='http://www.tcpdf.org', $align='', $palign='', $border=1, $fitonpage=false);
+
+$pdf->ImageSVG($file='images/tux.svg', $x=30, $y=100, $w='', $h=100, $link='', $align='', $palign='', $border=0, $fitonpage=false);
+
+$pdf->SetFont('helvetica', '', 8);
+$pdf->SetY(195);
+$txt = '© The copyright holder of the above Tux image is Larry Ewing, allows anyone to use it for any purpose, provided that the copyright holder is properly attributed. Redistribution, derivative work, commercial use, and all other use is permitted.';
+$pdf->Write(0, $txt, '', 0, 'L', true, 0, false, false, 0);
+
+// ---------------------------------------------------------
+
+//Close and output PDF document
+$pdf->Output('example_058.pdf', 'D');
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/example_059.php b/public/library/TCPDF/examples/example_059.php
new file mode 100644
index 0000000..9396784
--- /dev/null
+++ b/public/library/TCPDF/examples/example_059.php
@@ -0,0 +1,190 @@
+<?php
+//============================================================+
+// File name : example_059.php
+// Begin : 2010-05-06
+// Last Update : 2013-05-14
+//
+// Description : Example 059 for TCPDF class
+// Table Of Content using HTML templates.
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * Creates an example PDF TEST document using TCPDF
+ * @package com.tecnick.tcpdf
+ * @abstract TCPDF - Example: Table Of Content using HTML templates.
+ * @author Nicola Asuni
+ * @since 2010-05-06
+ */
+
+// Include the main TCPDF library (search for installation path).
+require_once('tcpdf_include.php');
+
+/**
+ * TCPDF class extension with custom header and footer for TOC page
+ */
+class TOC_TCPDF extends TCPDF {
+
+ /**
+ * Overwrite Header() method.
+ * @public
+ */
+ public function Header() {
+ if ($this->tocpage) {
+ // *** replace the following parent::Header() with your code for TOC page
+ parent::Header();
+ } else {
+ // *** replace the following parent::Header() with your code for normal pages
+ parent::Header();
+ }
+ }
+
+ /**
+ * Overwrite Footer() method.
+ * @public
+ */
+ public function Footer() {
+ if ($this->tocpage) {
+ // *** replace the following parent::Footer() with your code for TOC page
+ parent::Footer();
+ } else {
+ // *** replace the following parent::Footer() with your code for normal pages
+ parent::Footer();
+ }
+ }
+
+} // end of class
+
+// create new PDF document
+$pdf = new TOC_TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false);
+
+// set document information
+$pdf->SetCreator(PDF_CREATOR);
+$pdf->SetAuthor('Nicola Asuni');
+$pdf->SetTitle('TCPDF Example 059');
+$pdf->SetSubject('TCPDF Tutorial');
+$pdf->SetKeywords('TCPDF, PDF, example, test, guide');
+
+// set default header data
+$pdf->SetHeaderData(PDF_HEADER_LOGO, PDF_HEADER_LOGO_WIDTH, PDF_HEADER_TITLE.' 059', PDF_HEADER_STRING);
+
+// set header and footer fonts
+$pdf->setHeaderFont(Array(PDF_FONT_NAME_MAIN, '', PDF_FONT_SIZE_MAIN));
+$pdf->setFooterFont(Array(PDF_FONT_NAME_DATA, '', PDF_FONT_SIZE_DATA));
+
+// set default monospaced font
+$pdf->SetDefaultMonospacedFont(PDF_FONT_MONOSPACED);
+
+// set margins
+$pdf->SetMargins(PDF_MARGIN_LEFT, PDF_MARGIN_TOP, PDF_MARGIN_RIGHT);
+$pdf->SetHeaderMargin(PDF_MARGIN_HEADER);
+$pdf->SetFooterMargin(PDF_MARGIN_FOOTER);
+
+// set auto page breaks
+$pdf->SetAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM);
+
+// set image scale factor
+$pdf->setImageScale(PDF_IMAGE_SCALE_RATIO);
+
+// set some language-dependent strings (optional)
+if (@file_exists(dirname(__FILE__).'/lang/eng.php')) {
+ require_once(dirname(__FILE__).'/lang/eng.php');
+ $pdf->setLanguageArray($l);
+}
+
+// set font
+$pdf->SetFont('helvetica', '', 10);
+
+// ---------------------------------------------------------
+
+// create some content ...
+
+// add a page
+$pdf->AddPage();
+
+// set a bookmark for the current position
+$pdf->Bookmark('Chapter 1', 0, 0, '', 'B', array(0,64,128));
+
+// print a line using Cell()
+$pdf->Cell(0, 10, 'Chapter 1', 0, 1, 'L');
+
+$pdf->AddPage();
+$pdf->Bookmark('Paragraph 1.1', 1, 0, '', '', array(128,0,0));
+$pdf->Cell(0, 10, 'Paragraph 1.1', 0, 1, 'L');
+
+$pdf->AddPage();
+$pdf->Bookmark('Paragraph 1.2', 1, 0, '', '', array(128,0,0));
+$pdf->Cell(0, 10, 'Paragraph 1.2', 0, 1, 'L');
+
+$pdf->AddPage();
+$pdf->Bookmark('Sub-Paragraph 1.2.1', 2, 0, '', 'I', array(0,128,0));
+$pdf->Cell(0, 10, 'Sub-Paragraph 1.2.1', 0, 1, 'L');
+
+$pdf->AddPage();
+$pdf->Bookmark('Paragraph 1.3', 1, 0, '', '', array(128,0,0));
+$pdf->Cell(0, 10, 'Paragraph 1.3', 0, 1, 'L');
+
+// add some pages and bookmarks
+for ($i = 2; $i < 12; $i++) {
+ $pdf->AddPage();
+ $pdf->Bookmark('Chapter '.$i, 0, 0, '', 'B', array(0,64,128));
+ $pdf->Cell(0, 10, 'Chapter '.$i, 0, 1, 'L');
+}
+
+
+// . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
+
+
+// add a new page for TOC
+$pdf->addTOCPage();
+
+// write the TOC title and/or other elements on the TOC page
+$pdf->SetFont('times', 'B', 16);
+$pdf->MultiCell(0, 0, 'Table Of Content', 0, 'C', 0, 1, '', '', true, 0);
+$pdf->Ln();
+$pdf->SetFont('helvetica', '', 10);
+
+// define styles for various bookmark levels
+$bookmark_templates = array();
+
+/*
+ * The key of the $bookmark_templates array represent the bookmark level (from 0 to n).
+ * The following templates will be replaced with proper content:
+ * #TOC_DESCRIPTION# this will be replaced with the bookmark description;
+ * #TOC_PAGE_NUMBER# this will be replaced with page number.
+ *
+ * NOTES:
+ * If you want to align the page number on the right you have to use a monospaced font like courier, otherwise you can left align using any font type.
+ * The following is just an example, you can get various styles by combining various HTML elements.
+ */
+
+// A monospaced font for the page number is mandatory to get the right alignment
+$bookmark_templates[0] = '<table border="0" cellpadding="0" cellspacing="0" style="background-color:#EEFAFF"><tr><td width="155mm"><span style="font-family:times;font-weight:bold;font-size:12pt;color:black;">#TOC_DESCRIPTION#</span></td><td width="25mm"><span style="font-family:courier;font-weight:bold;font-size:12pt;color:black;" align="right">#TOC_PAGE_NUMBER#</span></td></tr></table>';
+$bookmark_templates[1] = '<table border="0" cellpadding="0" cellspacing="0"><tr><td width="5mm">&nbsp;</td><td width="150mm"><span style="font-family:times;font-size:11pt;color:green;">#TOC_DESCRIPTION#</span></td><td width="25mm"><span style="font-family:courier;font-weight:bold;font-size:11pt;color:green;" align="right">#TOC_PAGE_NUMBER#</span></td></tr></table>';
+$bookmark_templates[2] = '<table border="0" cellpadding="0" cellspacing="0"><tr><td width="10mm">&nbsp;</td><td width="145mm"><span style="font-family:times;font-size:10pt;color:#666666;"><i>#TOC_DESCRIPTION#</i></span></td><td width="25mm"><span style="font-family:courier;font-weight:bold;font-size:10pt;color:#666666;" align="right">#TOC_PAGE_NUMBER#</span></td></tr></table>';
+// add other bookmark level templates here ...
+
+// add table of content at page 1
+// (check the example n. 45 for a text-only TOC
+$pdf->addHTMLTOC(1, 'INDEX', $bookmark_templates, true, 'B', array(128,0,0));
+
+// end of TOC page
+$pdf->endTOCPage();
+
+// . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
+
+// ---------------------------------------------------------
+
+//Close and output PDF document
+$pdf->Output('example_059.pdf', 'D');
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/example_060.php b/public/library/TCPDF/examples/example_060.php
new file mode 100644
index 0000000..03bad28
--- /dev/null
+++ b/public/library/TCPDF/examples/example_060.php
@@ -0,0 +1,108 @@
+<?php
+//============================================================+
+// File name : example_060.php
+// Begin : 2010-05-17
+// Last Update : 2013-05-14
+//
+// Description : Example 060 for TCPDF class
+// Advanced page settings.
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * Creates an example PDF TEST document using TCPDF
+ * @package com.tecnick.tcpdf
+ * @abstract TCPDF - Example: Advanced page settings.
+ * @author Nicola Asuni
+ * @since 2010-05-17
+ */
+
+// Include the main TCPDF library (search for installation path).
+require_once('tcpdf_include.php');
+
+// create new PDF document
+$pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false);
+
+// set document information
+$pdf->SetCreator(PDF_CREATOR);
+$pdf->SetAuthor('Nicola Asuni');
+$pdf->SetTitle('TCPDF Example 060');
+$pdf->SetSubject('TCPDF Tutorial');
+$pdf->SetKeywords('TCPDF, PDF, example, test, guide');
+
+// set default header data
+$pdf->SetHeaderData(PDF_HEADER_LOGO, PDF_HEADER_LOGO_WIDTH, PDF_HEADER_TITLE.' 060', PDF_HEADER_STRING);
+
+// set header and footer fonts
+$pdf->setHeaderFont(Array(PDF_FONT_NAME_MAIN, '', PDF_FONT_SIZE_MAIN));
+$pdf->setFooterFont(Array(PDF_FONT_NAME_DATA, '', PDF_FONT_SIZE_DATA));
+
+// set default monospaced font
+$pdf->SetDefaultMonospacedFont(PDF_FONT_MONOSPACED);
+
+// set margins
+$pdf->SetMargins(PDF_MARGIN_LEFT, PDF_MARGIN_TOP, PDF_MARGIN_RIGHT);
+$pdf->SetHeaderMargin(PDF_MARGIN_HEADER);
+$pdf->SetFooterMargin(PDF_MARGIN_FOOTER);
+
+// set auto page breaks
+$pdf->SetAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM);
+
+// set image scale factor
+$pdf->setImageScale(PDF_IMAGE_SCALE_RATIO);
+
+// set some language-dependent strings (optional)
+if (@file_exists(dirname(__FILE__).'/lang/eng.php')) {
+ require_once(dirname(__FILE__).'/lang/eng.php');
+ $pdf->setLanguageArray($l);
+}
+
+// set font
+$pdf->SetFont('helvetica', '', 20);
+
+// ---------------------------------------------------------
+
+// set page format (read source code documentation for further information)
+$page_format = array(
+ 'MediaBox' => array ('llx' => 0, 'lly' => 0, 'urx' => 210, 'ury' => 297),
+ 'CropBox' => array ('llx' => 0, 'lly' => 0, 'urx' => 210, 'ury' => 297),
+ 'BleedBox' => array ('llx' => 5, 'lly' => 5, 'urx' => 205, 'ury' => 292),
+ 'TrimBox' => array ('llx' => 10, 'lly' => 10, 'urx' => 200, 'ury' => 287),
+ 'ArtBox' => array ('llx' => 15, 'lly' => 15, 'urx' => 195, 'ury' => 282),
+ 'Dur' => 3,
+ 'trans' => array(
+ 'D' => 1.5,
+ 'S' => 'Split',
+ 'Dm' => 'V',
+ 'M' => 'O'
+ ),
+ 'Rotate' => 90,
+ 'PZ' => 1,
+);
+
+// Check the example n. 29 for viewer preferences
+
+// add first page ---
+$pdf->AddPage('P', $page_format, false, false);
+$pdf->Cell(0, 12, 'First Page', 1, 1, 'C');
+
+// add second page ---
+$page_format['Rotate'] = 270;
+$pdf->AddPage('P', $page_format, false, false);
+$pdf->Cell(0, 12, 'Second Page', 1, 1, 'C');
+
+// ---------------------------------------------------------
+
+//Close and output PDF document
+$pdf->Output('example_060.pdf', 'I');
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/example_061.php b/public/library/TCPDF/examples/example_061.php
new file mode 100644
index 0000000..13e18c2
--- /dev/null
+++ b/public/library/TCPDF/examples/example_061.php
@@ -0,0 +1,264 @@
+<?php
+//============================================================+
+// File name : example_061.php
+// Begin : 2010-05-24
+// Last Update : 2014-01-25
+//
+// Description : Example 061 for TCPDF class
+// XHTML + CSS
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * Creates an example PDF TEST document using TCPDF
+ * @package com.tecnick.tcpdf
+ * @abstract TCPDF - Example: XHTML + CSS
+ * @author Nicola Asuni
+ * @since 2010-05-25
+ */
+
+// Include the main TCPDF library (search for installation path).
+require_once('tcpdf_include.php');
+
+// create new PDF document
+$pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false);
+
+// set document information
+$pdf->SetCreator(PDF_CREATOR);
+$pdf->SetAuthor('Nicola Asuni');
+$pdf->SetTitle('TCPDF Example 061');
+$pdf->SetSubject('TCPDF Tutorial');
+$pdf->SetKeywords('TCPDF, PDF, example, test, guide');
+
+// set default header data
+$pdf->SetHeaderData(PDF_HEADER_LOGO, PDF_HEADER_LOGO_WIDTH, PDF_HEADER_TITLE.' 061', PDF_HEADER_STRING);
+
+// set header and footer fonts
+$pdf->setHeaderFont(Array(PDF_FONT_NAME_MAIN, '', PDF_FONT_SIZE_MAIN));
+$pdf->setFooterFont(Array(PDF_FONT_NAME_DATA, '', PDF_FONT_SIZE_DATA));
+
+// set default monospaced font
+$pdf->SetDefaultMonospacedFont(PDF_FONT_MONOSPACED);
+
+// set margins
+$pdf->SetMargins(PDF_MARGIN_LEFT, PDF_MARGIN_TOP, PDF_MARGIN_RIGHT);
+$pdf->SetHeaderMargin(PDF_MARGIN_HEADER);
+$pdf->SetFooterMargin(PDF_MARGIN_FOOTER);
+
+// set auto page breaks
+$pdf->SetAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM);
+
+// set image scale factor
+$pdf->setImageScale(PDF_IMAGE_SCALE_RATIO);
+
+// set some language-dependent strings (optional)
+if (@file_exists(dirname(__FILE__).'/lang/eng.php')) {
+ require_once(dirname(__FILE__).'/lang/eng.php');
+ $pdf->setLanguageArray($l);
+}
+
+// ---------------------------------------------------------
+
+// set font
+$pdf->SetFont('helvetica', '', 10);
+
+// add a page
+$pdf->AddPage();
+
+/* NOTE:
+ * *********************************************************
+ * You can load external XHTML using :
+ *
+ * $html = file_get_contents('/path/to/your/file.html');
+ *
+ * External CSS files will be automatically loaded.
+ * Sometimes you need to fix the path of the external CSS.
+ * *********************************************************
+ */
+
+// define some HTML content with style
+$html = <<<EOF
+<!-- EXAMPLE OF CSS STYLE -->
+<style>
+ h1 {
+ color: navy;
+ font-family: times;
+ font-size: 24pt;
+ text-decoration: underline;
+ }
+ p.first {
+ color: #003300;
+ font-family: helvetica;
+ font-size: 12pt;
+ }
+ p.first span {
+ color: #006600;
+ font-style: italic;
+ }
+ p#second {
+ color: rgb(00,63,127);
+ font-family: times;
+ font-size: 12pt;
+ text-align: justify;
+ }
+ p#second > span {
+ background-color: #FFFFAA;
+ }
+ table.first {
+ color: #003300;
+ font-family: helvetica;
+ font-size: 8pt;
+ border-left: 3px solid red;
+ border-right: 3px solid #FF00FF;
+ border-top: 3px solid green;
+ border-bottom: 3px solid blue;
+ background-color: #ccffcc;
+ }
+ td {
+ border: 2px solid blue;
+ background-color: #ffffee;
+ }
+ td.second {
+ border: 2px dashed green;
+ }
+ div.test {
+ color: #CC0000;
+ background-color: #FFFF66;
+ font-family: helvetica;
+ font-size: 10pt;
+ border-style: solid solid solid solid;
+ border-width: 2px 2px 2px 2px;
+ border-color: green #FF00FF blue red;
+ text-align: center;
+ }
+ .lowercase {
+ text-transform: lowercase;
+ }
+ .uppercase {
+ text-transform: uppercase;
+ }
+ .capitalize {
+ text-transform: capitalize;
+ }
+</style>
+
+<h1 class="title">Example of <i style="color:#990000">XHTML + CSS</i></h1>
+
+<p class="first">Example of paragraph with class selector. <span>Lorem ipsum dolor sit amet, consectetur adipiscing elit. In sed imperdiet lectus. Phasellus quis velit velit, non condimentum quam. Sed neque urna, ultrices ac volutpat vel, laoreet vitae augue. Sed vel velit erat. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Cras eget velit nulla, eu sagittis elit. Nunc ac arcu est, in lobortis tellus. Praesent condimentum rhoncus sodales. In hac habitasse platea dictumst. Proin porta eros pharetra enim tincidunt dignissim nec vel dolor. Cras sapien elit, ornare ac dignissim eu, ultricies ac eros. Maecenas augue magna, ultrices a congue in, mollis eu nulla. Nunc venenatis massa at est eleifend faucibus. Vivamus sed risus lectus, nec interdum nunc.</span></p>
+
+<p id="second">Example of paragraph with ID selector. <span>Fusce et felis vitae diam lobortis sollicitudin. Aenean tincidunt accumsan nisi, id vehicula quam laoreet elementum. Phasellus egestas interdum erat, et viverra ipsum ultricies ac. Praesent sagittis augue at augue volutpat eleifend. Cras nec orci neque. Mauris bibendum posuere blandit. Donec feugiat mollis dui sit amet pellentesque. Sed a enim justo. Donec tincidunt, nisl eget elementum aliquam, odio ipsum ultrices quam, eu porttitor ligula urna at lorem. Donec varius, eros et convallis laoreet, ligula tellus consequat felis, ut ornare metus tellus sodales velit. Duis sed diam ante. Ut rutrum malesuada massa, vitae consectetur ipsum rhoncus sed. Suspendisse potenti. Pellentesque a congue massa.</span></p>
+
+<div class="test">example of DIV with border and fill.
+<br />Lorem ipsum dolor sit amet, consectetur adipiscing elit.
+<br /><span class="lowercase">text-transform <b>LOWERCASE</b> Lorem ipsum dolor sit amet, consectetur adipiscing elit.</span>
+<br /><span class="uppercase">text-transform <b>uppercase</b> Lorem ipsum dolor sit amet, consectetur adipiscing elit.</span>
+<br /><span class="capitalize">text-transform <b>cAPITALIZE</b> Lorem ipsum dolor sit amet, consectetur adipiscing elit.</span>
+</div>
+
+<br />
+
+<table class="first" cellpadding="4" cellspacing="6">
+ <tr>
+ <td width="30" align="center"><b>No.</b></td>
+ <td width="140" align="center" bgcolor="#FFFF00"><b>XXXX</b></td>
+ <td width="140" align="center"><b>XXXX</b></td>
+ <td width="80" align="center"> <b>XXXX</b></td>
+ <td width="80" align="center"><b>XXXX</b></td>
+ <td width="45" align="center"><b>XXXX</b></td>
+ </tr>
+ <tr>
+ <td width="30" align="center">1.</td>
+ <td width="140" rowspan="6" class="second">XXXX<br />XXXX<br />XXXX<br />XXXX<br />XXXX<br />XXXX<br />XXXX<br />XXXX</td>
+ <td width="140">XXXX<br />XXXX</td>
+ <td width="80">XXXX<br />XXXX</td>
+ <td width="80">XXXX</td>
+ <td align="center" width="45">XXXX<br />XXXX</td>
+ </tr>
+ <tr>
+ <td width="30" align="center" rowspan="3">2.</td>
+ <td width="140" rowspan="3">XXXX<br />XXXX</td>
+ <td width="80">XXXX<br />XXXX</td>
+ <td width="80">XXXX<br />XXXX</td>
+ <td align="center" width="45">XXXX<br />XXXX</td>
+ </tr>
+ <tr>
+ <td width="80">XXXX<br />XXXX<br />XXXX<br />XXXX</td>
+ <td width="80">XXXX<br />XXXX</td>
+ <td align="center" width="45">XXXX<br />XXXX</td>
+ </tr>
+ <tr>
+ <td width="80" rowspan="2" >XXXX<br />XXXX<br />XXXX<br />XXXX<br />XXXX<br />XXXX<br />XXXX<br />XXXX</td>
+ <td width="80">XXXX<br />XXXX</td>
+ <td align="center" width="45">XXXX<br />XXXX</td>
+ </tr>
+ <tr>
+ <td width="30" align="center">3.</td>
+ <td width="140">XXXX<br />XXXX</td>
+ <td width="80">XXXX<br />XXXX</td>
+ <td align="center" width="45">XXXX<br />XXXX</td>
+ </tr>
+ <tr bgcolor="#FFFF80">
+ <td width="30" align="center">4.</td>
+ <td width="140" bgcolor="#00CC00" color="#FFFF00">XXXX<br />XXXX</td>
+ <td width="80">XXXX<br />XXXX</td>
+ <td width="80">XXXX<br />XXXX</td>
+ <td align="center" width="45">XXXX<br />XXXX</td>
+ </tr>
+</table>
+EOF;
+
+// output the HTML content
+$pdf->writeHTML($html, true, false, true, false, '');
+
+// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
+// add a page
+$pdf->AddPage();
+
+$html = '
+<h1>HTML TIPS & TRICKS</h1>
+
+<h3>REMOVE CELL PADDING</h3>
+<pre>$pdf->SetCellPadding(0);</pre>
+This is used to remove any additional vertical space inside a single cell of text.
+
+<h3>REMOVE TAG TOP AND BOTTOM MARGINS</h3>
+<pre>$tagvs = array(\'p\' => array(0 => array(\'h\' => 0, \'n\' => 0), 1 => array(\'h\' => 0, \'n\' => 0)));
+$pdf->setHtmlVSpace($tagvs);</pre>
+Since the CSS margin command is not yet implemented on TCPDF, you need to set the spacing of block tags using the following method.
+
+<h3>SET LINE HEIGHT</h3>
+<pre>$pdf->setCellHeightRatio(1.25);</pre>
+You can use the following method to fine tune the line height (the number is a percentage relative to font height).
+
+<h3>CHANGE THE PIXEL CONVERSION RATIO</h3>
+<pre>$pdf->setImageScale(0.47);</pre>
+This is used to adjust the conversion ratio between pixels and document units. Increase the value to get smaller objects.<br />
+Since you are using pixel unit, this method is important to set theright zoom factor.<br /><br />
+Suppose that you want to print a web page larger 1024 pixels to fill all the available page width.<br />
+An A4 page is larger 210mm equivalent to 8.268 inches, if you subtract 13mm (0.512") of margins for each side, the remaining space is 184mm (7.244 inches).<br />
+The default resolution for a PDF document is 300 DPI (dots per inch), so you have 7.244 * 300 = 2173.2 dots (this is the maximum number of points you can print at 300 DPI for the given width).<br />
+The conversion ratio is approximatively 1024 / 2173.2 = 0.47 px/dots<br />
+If the web page is larger 1280 pixels, on the same A4 page the conversion ratio to use is 1280 / 2173.2 = 0.59 pixels/dots';
+
+// output the HTML content
+$pdf->writeHTML($html, true, false, true, false, '');
+
+// reset pointer to the last page
+$pdf->lastPage();
+
+// ---------------------------------------------------------
+
+//Close and output PDF document
+$pdf->Output('example_061.pdf', 'I');
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/example_062.php b/public/library/TCPDF/examples/example_062.php
new file mode 100644
index 0000000..45fc25d
--- /dev/null
+++ b/public/library/TCPDF/examples/example_062.php
@@ -0,0 +1,140 @@
+<?php
+//============================================================+
+// File name : example_062.php
+// Begin : 2010-08-25
+// Last Update : 2013-05-14
+//
+// Description : Example 062 for TCPDF class
+// XObject Template
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * Creates an example PDF TEST document using TCPDF
+ * @package com.tecnick.tcpdf
+ * @abstract TCPDF - Example: XObject Template
+ * @author Nicola Asuni
+ * @since 2010-08-25
+ */
+
+// Include the main TCPDF library (search for installation path).
+require_once('tcpdf_include.php');
+
+// create new PDF document
+$pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false);
+
+// set document information
+$pdf->SetCreator(PDF_CREATOR);
+$pdf->SetAuthor('Nicola Asuni');
+$pdf->SetTitle('TCPDF Example 062');
+$pdf->SetSubject('TCPDF Tutorial');
+$pdf->SetKeywords('TCPDF, PDF, example, test, guide');
+
+// set default header data
+$pdf->SetHeaderData(PDF_HEADER_LOGO, PDF_HEADER_LOGO_WIDTH, PDF_HEADER_TITLE.' 062', PDF_HEADER_STRING);
+
+// set header and footer fonts
+$pdf->setHeaderFont(Array(PDF_FONT_NAME_MAIN, '', PDF_FONT_SIZE_MAIN));
+$pdf->setFooterFont(Array(PDF_FONT_NAME_DATA, '', PDF_FONT_SIZE_DATA));
+
+// set default monospaced font
+$pdf->SetDefaultMonospacedFont(PDF_FONT_MONOSPACED);
+
+// set margins
+$pdf->SetMargins(PDF_MARGIN_LEFT, PDF_MARGIN_TOP, PDF_MARGIN_RIGHT);
+$pdf->SetHeaderMargin(PDF_MARGIN_HEADER);
+$pdf->SetFooterMargin(PDF_MARGIN_FOOTER);
+
+// set auto page breaks
+$pdf->SetAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM);
+
+// set image scale factor
+$pdf->setImageScale(PDF_IMAGE_SCALE_RATIO);
+
+// set some language-dependent strings (optional)
+if (@file_exists(dirname(__FILE__).'/lang/eng.php')) {
+ require_once(dirname(__FILE__).'/lang/eng.php');
+ $pdf->setLanguageArray($l);
+}
+
+// ---------------------------------------------------------
+
+// set font
+$pdf->SetFont('helvetica', 'B', 20);
+
+// add a page
+$pdf->AddPage();
+
+$pdf->Write(0, 'XObject Templates', '', 0, 'C', 1, 0, false, false, 0);
+
+/*
+ * An XObject Template is a PDF block that is a self-contained
+ * description of any sequence of graphics objects (including path
+ * objects, text objects, and sampled images).
+ * An XObject Template may be painted multiple times, either on
+ * several pages or at several locations on the same page and produces
+ * the same results each time, subject only to the graphics state at
+ * the time it is invoked.
+ */
+
+
+// start a new XObject Template and set transparency group option
+$template_id = $pdf->startTemplate(60, 60, true);
+
+// create Template content
+// ...................................................................
+//Start Graphic Transformation
+$pdf->StartTransform();
+
+// set clipping mask
+$pdf->StarPolygon(30, 30, 29, 10, 3, 0, 1, 'CNZ');
+
+// draw jpeg image to be clipped
+$pdf->Image('images/image_demo.jpg', 0, 0, 60, 60, '', '', '', true, 72, '', false, false, 0, false, false, false);
+
+//Stop Graphic Transformation
+$pdf->StopTransform();
+
+$pdf->SetXY(0, 0);
+
+$pdf->SetFont('times', '', 40);
+
+$pdf->SetTextColor(255, 0, 0);
+
+// print a text
+$pdf->Cell(60, 60, 'Template', 0, 0, 'C', false, '', 0, false, 'T', 'M');
+// ...................................................................
+
+// end the current Template
+$pdf->endTemplate();
+
+
+// print the selected Template various times using various transparencies
+
+$pdf->SetAlpha(0.4);
+$pdf->printTemplate($template_id, 15, 50, 20, 20, '', '', false);
+
+$pdf->SetAlpha(0.6);
+$pdf->printTemplate($template_id, 27, 62, 40, 40, '', '', false);
+
+$pdf->SetAlpha(0.8);
+$pdf->printTemplate($template_id, 55, 85, 60, 60, '', '', false);
+
+$pdf->SetAlpha(1);
+$pdf->printTemplate($template_id, 95, 125, 80, 80, '', '', false);
+
+// ---------------------------------------------------------
+
+//Close and output PDF document
+$pdf->Output('example_062.pdf', 'I');
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/example_063.php b/public/library/TCPDF/examples/example_063.php
new file mode 100644
index 0000000..de13515
--- /dev/null
+++ b/public/library/TCPDF/examples/example_063.php
@@ -0,0 +1,131 @@
+<?php
+//============================================================+
+// File name : example_063.php
+// Begin : 2010-09-29
+// Last Update : 2013-05-14
+//
+// Description : Example 063 for TCPDF class
+// Text stretching and spacing (tracking)
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * Creates an example PDF TEST document using TCPDF
+ * @package com.tecnick.tcpdf
+ * @abstract TCPDF - Example: Text stretching and spacing (tracking)
+ * @author Nicola Asuni
+ * @since 2010-09-29
+ */
+
+// Include the main TCPDF library (search for installation path).
+require_once('tcpdf_include.php');
+
+// create new PDF document
+$pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false);
+
+// set document information
+$pdf->SetCreator(PDF_CREATOR);
+$pdf->SetAuthor('Nicola Asuni');
+$pdf->SetTitle('TCPDF Example 063');
+$pdf->SetSubject('TCPDF Tutorial');
+$pdf->SetKeywords('TCPDF, PDF, example, test, guide');
+
+// set default header data
+$pdf->SetHeaderData(PDF_HEADER_LOGO, PDF_HEADER_LOGO_WIDTH, PDF_HEADER_TITLE.' 063', PDF_HEADER_STRING);
+
+// set header and footer fonts
+$pdf->setHeaderFont(Array(PDF_FONT_NAME_MAIN, '', PDF_FONT_SIZE_MAIN));
+$pdf->setFooterFont(Array(PDF_FONT_NAME_DATA, '', PDF_FONT_SIZE_DATA));
+
+// set default monospaced font
+$pdf->SetDefaultMonospacedFont(PDF_FONT_MONOSPACED);
+
+// set margins
+$pdf->SetMargins(PDF_MARGIN_LEFT, PDF_MARGIN_TOP, PDF_MARGIN_RIGHT);
+$pdf->SetHeaderMargin(PDF_MARGIN_HEADER);
+$pdf->SetFooterMargin(PDF_MARGIN_FOOTER);
+
+// set auto page breaks
+$pdf->SetAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM);
+
+// set image scale factor
+$pdf->setImageScale(PDF_IMAGE_SCALE_RATIO);
+
+// set some language-dependent strings (optional)
+if (@file_exists(dirname(__FILE__).'/lang/eng.php')) {
+ require_once(dirname(__FILE__).'/lang/eng.php');
+ $pdf->setLanguageArray($l);
+}
+
+// ---------------------------------------------------------
+
+// set font
+$pdf->SetFont('helvetica', 'B', 16);
+
+// add a page
+$pdf->AddPage();
+
+$pdf->Write(0, 'Example of Text Stretching and Spacing (tracking)', '', 0, 'L', true, 0, false, false, 0);
+$pdf->Ln(5);
+
+// create several cells to display all cases of stretching and spacing combinations.
+
+$fonts = array('times', 'dejavuserif');
+$alignments = array('L' => 'LEFT', 'C' => 'CENTER', 'R' => 'RIGHT', 'J' => 'JUSTIFY');
+
+
+// Test all cases using direct stretching/spacing methods
+foreach ($fonts as $fkey => $font) {
+ $pdf->SetFont($font, '', 14);
+ foreach ($alignments as $align_mode => $align_name) {
+ for ($stretching = 90; $stretching <= 110; $stretching += 10) {
+ for ($spacing = -0.254; $spacing <= 0.254; $spacing += 0.254) {
+ $pdf->setFontStretching($stretching);
+ $pdf->setFontSpacing($spacing);
+ $txt = $align_name.' | Stretching = '.$stretching.'% | Spacing = '.sprintf('%+.3F', $spacing).'mm';
+ $pdf->Cell(0, 0, $txt, 1, 1, $align_mode);
+ }
+ }
+ }
+ $pdf->AddPage();
+}
+
+
+// Test all cases using CSS stretching/spacing properties
+foreach ($fonts as $fkey => $font) {
+ $pdf->SetFont($font, '', 11);
+ foreach ($alignments as $align_mode => $align_name) {
+ for ($stretching = 90; $stretching <= 110; $stretching += 10) {
+ for ($spacing = -0.254; $spacing <= 0.254; $spacing += 0.254) {
+ $html = '<span style="font-stretch:'.$stretching.'%;letter-spacing:'.$spacing.'mm;"><span style="color:red;">'.$align_name.'</span> | <span style="color:green;">Stretching = '.$stretching.'%</span> | <span style="color:blue;">Spacing = '.sprintf('%+.3F', $spacing).'mm</span><br />Lorem ipsum dolor sit amet, consectetur adipiscing elit. In sed imperdiet lectus. Phasellus quis velit velit, non condimentum quam. Sed neque urna, ultrices ac volutpat vel, laoreet vitae augue. Sed vel velit erat. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos.</span>';
+ $pdf->writeHTMLCell(0, 0, '', '', $html, 1, 1, false, true, $align_mode, false);
+ }
+ }
+ if (!(($fkey == 1) AND ($align_mode == 'J'))) {
+ $pdf->AddPage();
+ }
+ }
+}
+
+
+// reset font stretching
+$pdf->setFontStretching(100);
+
+// reset font spacing
+$pdf->setFontSpacing(0);
+
+// ---------------------------------------------------------
+
+//Close and output PDF document
+$pdf->Output('example_063.pdf', 'I');
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/example_064.php b/public/library/TCPDF/examples/example_064.php
new file mode 100644
index 0000000..39da071
--- /dev/null
+++ b/public/library/TCPDF/examples/example_064.php
@@ -0,0 +1,176 @@
+<?php
+//============================================================+
+// File name : example_064.php
+// Begin : 2010-10-13
+// Last Update : 2013-05-14
+//
+// Description : Example 064 for TCPDF class
+// No-write page regions
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * Creates an example PDF TEST document using TCPDF
+ * @package com.tecnick.tcpdf
+ * @abstract TCPDF - Example: No-write page regions
+ * @author Nicola Asuni
+ * @since 2010-10-14
+ */
+
+// Include the main TCPDF library (search for installation path).
+require_once('tcpdf_include.php');
+
+// create new PDF document
+$pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false);
+
+// set document information
+$pdf->SetCreator(PDF_CREATOR);
+$pdf->SetAuthor('Nicola Asuni');
+$pdf->SetTitle('TCPDF Example 064');
+$pdf->SetSubject('TCPDF Tutorial');
+$pdf->SetKeywords('TCPDF, PDF, example, test, guide');
+
+// set default header data
+$pdf->SetHeaderData(PDF_HEADER_LOGO, PDF_HEADER_LOGO_WIDTH, PDF_HEADER_TITLE.' 064', PDF_HEADER_STRING);
+
+// set header and footer fonts
+$pdf->setHeaderFont(Array(PDF_FONT_NAME_MAIN, '', PDF_FONT_SIZE_MAIN));
+$pdf->setFooterFont(Array(PDF_FONT_NAME_DATA, '', PDF_FONT_SIZE_DATA));
+
+// set default monospaced font
+$pdf->SetDefaultMonospacedFont(PDF_FONT_MONOSPACED);
+
+// set margins
+$pdf->SetMargins(PDF_MARGIN_LEFT, PDF_MARGIN_TOP, PDF_MARGIN_RIGHT);
+$pdf->SetHeaderMargin(PDF_MARGIN_HEADER);
+$pdf->SetFooterMargin(PDF_MARGIN_FOOTER);
+
+// set auto page breaks
+$pdf->SetAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM);
+
+// set image scale factor
+$pdf->setImageScale(PDF_IMAGE_SCALE_RATIO);
+
+// set some language-dependent strings (optional)
+if (@file_exists(dirname(__FILE__).'/lang/eng.php')) {
+ require_once(dirname(__FILE__).'/lang/eng.php');
+ $pdf->setLanguageArray($l);
+}
+
+// ---------------------------------------------------------
+
+// set font
+$pdf->SetFont('helvetica', '', 8);
+
+
+// define some html content for testing
+$txt = '<p style="text-align:justify;color:blue;font-size:12pt;"><span style="color:red;font-size:14pt;font-weight:bold;">TEST PAGE REGIONS:</span> <span style="color:green;">A no-write region is a portion of the page with a rectangular or trapezium shape that will not be covered when writing text or html code. A region is always aligned on the left or right side of the page ad is defined using a vertical segment. You can set multiple regions for the same page. You can combine several adjacent regions to approximate curved shapes.</span> Lorem ipsum dolor sit amet, consectetur adipiscing elit. In sed imperdiet lectus. Phasellus quis velit velit, non condimentum quam. Sed neque urna, ultrices ac volutpat vel, laoreet vitae augue. Sed vel velit erat. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Cras eget velit nulla, eu sagittis elit. Nunc ac arcu est, in lobortis tellus. Praesent condimentum rhoncus sodales. In hac habitasse platea dictumst. Proin porta eros pharetra enim tincidunt dignissim nec vel dolor. Cras sapien elit, ornare ac dignissim eu, ultricies ac eros. Maecenas augue magna, ultrices a congue in, mollis eu nulla. Nunc venenatis massa at est eleifend faucibus. Vivamus sed risus lectus, nec interdum nunc.
+Fusce et felis vitae diam lobortis sollicitudin. Aenean tincidunt accumsan nisi, id vehicula quam laoreet elementum. Phasellus egestas interdum erat, et viverra ipsum ultricies ac. Praesent sagittis augue at augue volutpat eleifend. Cras nec orci neque. Mauris bibendum posuere blandit. Donec feugiat mollis dui sit amet pellentesque. Sed a enim justo. Donec tincidunt, nisl eget elementum aliquam, odio ipsum ultrices quam, eu porttitor ligula urna at lorem. Donec varius, eros et convallis laoreet, ligula tellus consequat felis, ut ornare metus tellus sodales velit. Duis sed diam ante. Ut rutrum malesuada massa, vitae consectetur ipsum rhoncus sed. Suspendisse potenti. Pellentesque a congue massa.
+Integer non sem eget neque mattis accumsan. Maecenas eu nisl mauris, sit amet interdum ipsum. In pharetra erat vel lectus venenatis elementum. Nulla non elit ligula, sit amet mollis urna. Morbi ut gravida est. Mauris tincidunt sem et turpis molestie malesuada. Curabitur vel nulla risus, sed mollis erat. Suspendisse vehicula accumsan purus nec varius. Donec fermentum lorem id felis sodales dictum. Quisque et dolor ipsum. Nam luctus consectetur dui vitae fermentum. Curabitur sodales consequat augue, id ultricies augue tempor ac. Aliquam ac magna id ipsum vehicula bibendum. Sed elementum congue tristique. <img src="images/image_demo.jpg" width="5mm" height="5mm" /> Phasellus vel lorem eu lectus porta sodales. Etiam neque tortor, sagittis id pharetra quis, laoreet vel arcu.
+Cras quam mi, ornare laoreet laoreet vel, vehicula at lacus. Maecenas a lacus accumsan augue convallis sagittis sed quis odio. Morbi sit amet turpis diam, dictum convallis urna. Cras eget interdum augue. Cras eu nisi sit amet dolor faucibus porttitor. Suspendisse potenti. Nunc vitae dolor risus, at cursus libero. Suspendisse bibendum tellus non nibh hendrerit tristique. Mauris eget orci elit. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam porta libero non ante laoreet semper. Proin volutpat sodales mi, ac fermentum erat sagittis in. Vivamus at viverra felis. Ut pretium facilisis ante et pharetra.
+Nulla facilisi. Cras varius quam eget libero aliquam vitae tincidunt leo rutrum. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Pellentesque a nisl massa, quis pretium urna. Proin vel porttitor tortor. Cras rhoncus congue velit in bibendum. Donec pharetra semper augue id lacinia. Quisque magna quam, hendrerit eu aliquam et, pellentesque ut tellus. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Maecenas nulla quam, rutrum eu feugiat at, elementum eu libero. Maecenas ullamcorper leo et turpis rutrum ac laoreet eros faucibus. Phasellus condimentum lorem quis neque imperdiet quis molestie enim iaculis. Phasellus risus est, vestibulum ut convallis ultrices, dignissim nec erat. Etiam congue lobortis laoreet. Nulla ut neque sed velit dapibus semper. Quisque nec dolor id nibh eleifend iaculis. Vivamus vitae fermentum odio. Etiam malesuada quam in nulla aliquam sed convallis dui feugiat.</p>';
+
+
+// add a page
+$pdf->AddPage();
+
+// print some graphic content
+$pdf->Image('images/image_demo.jpg', 155, 30, 40, 40, 'JPG', '', '', true);
+$pdf->Image('images/image_demo.jpg', 15, 230, 40, 40, 'JPG', '', '', true);
+
+// define some graphic styles
+$styleA = array('width' => 0.254, 'cap' => 'butt', 'join' => 'miter', 'dash' => 0, 'color' => array(255, 0, 0));
+$styleB = array('width' => 0.254, 'cap' => 'butt', 'join' => 'miter', 'dash' => 3, 'color' => array(127, 127, 127));
+$pdf->SetFillColor(220, 255, 220);
+
+// write a trapezoid with some information about no-write page regions
+$pdf->Polygon(array(15,90, 57,90, 67,140, 15,140), 'DF', array($styleB, $styleA, $styleB, $styleB));
+$pdf->SetXY(15, 90);
+$pdf->Cell(42, 0, 'xt,yt', 0, 0, 'R', false, '', 0, false, 'T', 'T');
+$pdf->SetXY(15, 140);
+$pdf->Cell(52, 0, 'xb,yb', 0, 0, 'R', false, '', 0, false, 'B', 'B');
+$pdf->SetXY(15, 115);
+$pdf->Cell(40, 0, 'side', 0, 0, 'R', false, '', 0, false, 'B', 'B');
+$pdf->SetLineStyle(array('width' => 0.254, 'cap' => 'butt', 'join' => 'miter', 'dash' => 0, 'color' => array(0, 0, 0)));
+$pdf->Arrow(60, 115, 35, 115, 2, 5, 15);
+
+// write a trapezoid with some information about no-write page regions
+$pdf->Polygon(array(145,130, 195,130, 195,180, 155,180), 'DF', array($styleB, $styleB, $styleB, $styleA));
+$pdf->SetXY(145, 130);
+$pdf->Cell(42, 0, 'xt,yt', 0, 0, 'L', false, '', 0, false, 'T', 'T');
+$pdf->SetXY(155, 180);
+$pdf->Cell(52, 0, 'xb,yb', 0, 0, 'L', false, '', 0, false, 'B', 'B');
+$pdf->SetXY(160, 155);
+$pdf->Cell(30, 0, 'side', 0, 0, 'L', false, '', 0, false, 'B', 'B');
+$pdf->SetLineStyle(array('width' => 0.254, 'cap' => 'butt', 'join' => 'miter', 'dash' => 0, 'color' => array(0, 0, 0)));
+$pdf->Arrow(155, 155, 180, 155, 2, 5, 15);
+
+// reset x,y position
+$pdf->SetXY(15, 30);
+
+
+// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
+
+// define no-write page regions to avoid text overlapping images
+/*
+ 'page' => page number or empy for current page
+ 'xt' => X top
+ 'yt' => Y top
+ 'yb' => Y bottom
+ 'side' => page side ('L' = left or 'R' = right)
+*/
+$regions = array(
+array('page' => '', 'xt' => 153, 'yt' => 30, 'xb' => 153, 'yb' => 70, 'side' => 'R'),
+array('page' => '', 'xt' => 60, 'yt' => 90, 'xb' => 70, 'yb' => 140, 'side' => 'L'),
+array('page' => '', 'xt' => 143, 'yt' => 130, 'xb' => 153, 'yb' => 180, 'side' => 'R'),
+array('page' => '', 'xt' => 58, 'yt' => 230, 'xb' => 58, 'yb' => 270, 'side' => 'L')
+);
+
+// set page regions, check also getPageRegions(), addPageRegion() and removePageRegion()
+$pdf->setPageRegions($regions);
+
+// write html text
+$pdf->writeHTML($txt, true, false, true, false, '');
+
+
+// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
+// set a circular no-write region on the second page
+$regions = array(
+array('page' => 2, 'xt' => 195, 'yt' => 110, 'xb' => 179.693, 'yb' => 113.045, 'side' => 'R'),
+array('page' => 2, 'xt' => 179.693, 'yt' => 113.045, 'xb' => 166.716, 'yb' => 121.716, 'side' => 'R'),
+array('page' => 2, 'xt' => 166.716, 'yt' => 121.716, 'xb' => 158.045, 'yb' => 134.693, 'side' => 'R'),
+array('page' => 2, 'xt' => 158.045, 'yt' => 134.693, 'xb' => 155, 'yb' => 150, 'side' => 'R'),
+array('page' => 2, 'xt' => 155, 'yt' => 150, 'xb' => 158.045, 'yb' => 165.307, 'side' => 'R'),
+array('page' => 2, 'xt' => 158.045, 'yt' => 165.307, 'xb' => 166.716, 'yb' => 178.284, 'side' => 'R'),
+array('page' => 2, 'xt' => 166.716, 'yt' => 178.284, 'xb' => 179.693, 'yb' => 186.955, 'side' => 'R'),
+array('page' => 2, 'xt' => 179.693, 'yt' => 186.955, 'xb' => 195, 'yb' => 190, 'side' => 'R')
+);
+$pdf->setPageRegions($regions);
+
+$pdf->Polygon(array(195,110, 179.693,113.045, 166.716,121.716, 158.045,134.693, 155,150, 158.045,165.307, 166.716,178.284, 179.693,186.955, 195,190), 'DF');
+
+$pdf->Ln(15);
+
+// define some html content for testing
+$txt = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. In sed imperdiet lectus. Phasellus quis velit velit, non condimentum quam. Sed neque urna, ultrices ac volutpat vel, laoreet vitae augue. Sed vel velit erat. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Cras eget velit nulla, eu sagittis elit. Nunc ac arcu est, in lobortis tellus. Praesent condimentum rhoncus sodales. In hac habitasse platea dictumst. Proin porta eros pharetra enim tincidunt dignissim nec vel dolor. Cras sapien elit, ornare ac dignissim eu, ultricies ac eros. Maecenas augue magna, ultrices a congue in, mollis eu nulla. Nunc venenatis massa at est eleifend faucibus. Vivamus sed risus lectus, nec interdum nunc. Fusce et felis vitae diam lobortis sollicitudin. Aenean tincidunt accumsan nisi, id vehicula quam laoreet elementum. Phasellus egestas interdum erat, et viverra ipsum ultricies ac. Praesent sagittis augue at augue volutpat eleifend. Cras nec orci neque. Mauris bibendum posuere blandit. Donec feugiat mollis dui sit amet pellentesque. Sed a enim justo. Donec tincidunt, nisl eget elementum aliquam, odio ipsum ultrices quam, eu porttitor ligula urna at lorem. Donec varius, eros et convallis laoreet, ligula tellus consequat felis, ut ornare metus tellus sodales velit. Duis sed diam ante. Ut rutrum malesuada massa, vitae consectetur ipsum rhoncus sed. Suspendisse potenti. Pellentesque a congue massa. Integer non sem eget neque mattis accumsan. Maecenas eu nisl mauris, sit amet interdum ipsum. In pharetra erat vel lectus venenatis elementum. Nulla non elit ligula, sit amet mollis urna. Morbi ut gravida est. Mauris tincidunt sem et turpis molestie malesuada. Curabitur vel nulla risus, sed mollis erat. Suspendisse vehicula accumsan purus nec varius. Donec fermentum lorem id felis sodales dictum. Quisque et dolor ipsum. Nam luctus consectetur dui vitae fermentum. Curabitur sodales consequat augue, id ultricies augue tempor ac. Aliquam ac magna id ipsum vehicula bibendum. Sed elementum congue tristique. Phasellus vel lorem eu lectus porta sodales. Etiam neque tortor, sagittis id pharetra quis, laoreet vel arcu. Cras quam mi, ornare laoreet laoreet vel, vehicula at lacus. Maecenas a lacus accumsan augue convallis sagittis sed quis odio. Morbi sit amet turpis diam, dictum convallis urna. Cras eget interdum augue. Cras eu nisi sit amet dolor faucibus porttitor. Suspendisse potenti. Nunc vitae dolor risus, at cursus libero. Suspendisse bibendum tellus non nibh hendrerit tristique. Mauris eget orci elit. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam porta libero non ante laoreet semper. Proin volutpat sodales mi, ac fermentum erat sagittis in. Vivamus at viverra felis. Ut pretium facilisis ante et pharetra. Nulla facilisi. Cras varius quam eget libero aliquam vitae tincidunt leo rutrum. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Pellentesque a nisl massa, quis pretium urna. Proin vel porttitor tortor. Cras rhoncus congue velit in bibendum. Donec pharetra semper augue id lacinia. Quisque magna quam, hendrerit eu aliquam et, pellentesque ut tellus. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Maecenas nulla quam, rutrum eu feugiat at, elementum eu libero. Maecenas ullamcorper leo et turpis rutrum ac laoreet eros faucibus. Phasellus condimentum lorem quis neque imperdiet quis molestie enim iaculis. Phasellus risus est, vestibulum ut convallis ultrices, dignissim nec erat. Etiam congue lobortis laoreet. Nulla ut neque sed velit dapibus semper. Quisque nec dolor id nibh eleifend iaculis. Vivamus vitae fermentum odio. Etiam malesuada quam in nulla aliquam sed convallis dui feugiat.'."\n";
+
+// write text
+$pdf->MultiCell(0, 0, $txt, 0, 'J', false, 1, '', '', true, 0, false, true, 0, 'T', false);
+
+// ---------------------------------------------------------
+
+//Close and output PDF document
+$pdf->Output('example_064.pdf', 'I');
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/example_065.php b/public/library/TCPDF/examples/example_065.php
new file mode 100644
index 0000000..f1bbcbe
--- /dev/null
+++ b/public/library/TCPDF/examples/example_065.php
@@ -0,0 +1,98 @@
+<?php
+//============================================================+
+// File name : example_065.php
+// Begin : 2011-09-28
+// Last Update : 2013-05-14
+//
+// Description : Example 065 for TCPDF class
+// Creates an example PDF/A-1b document using TCPDF
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * Creates an example PDF/A-1b document using TCPDF
+ * @package com.tecnick.tcpdf
+ * @abstract TCPDF - Example: PDF/A-1b mode
+ * @author Nicola Asuni
+ * @since 2011-09-28
+ */
+
+// Include the main TCPDF library (search for installation path).
+require_once('tcpdf_include.php');
+
+// create new PDF document
+$pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false, true);
+
+// set document information
+$pdf->SetCreator(PDF_CREATOR);
+$pdf->SetAuthor('Nicola Asuni');
+$pdf->SetTitle('TCPDF Example 065');
+$pdf->SetSubject('TCPDF Tutorial');
+$pdf->SetKeywords('TCPDF, PDF, example, test, guide');
+
+// set default header data
+$pdf->SetHeaderData(PDF_HEADER_LOGO, PDF_HEADER_LOGO_WIDTH, PDF_HEADER_TITLE.' 065', PDF_HEADER_STRING);
+
+// set header and footer fonts
+$pdf->setHeaderFont(Array(PDF_FONT_NAME_MAIN, '', PDF_FONT_SIZE_MAIN));
+$pdf->setFooterFont(Array(PDF_FONT_NAME_DATA, '', PDF_FONT_SIZE_DATA));
+
+// set default monospaced font
+$pdf->SetDefaultMonospacedFont(PDF_FONT_MONOSPACED);
+
+// set margins
+$pdf->SetMargins(PDF_MARGIN_LEFT, PDF_MARGIN_TOP, PDF_MARGIN_RIGHT);
+$pdf->SetHeaderMargin(PDF_MARGIN_HEADER);
+$pdf->SetFooterMargin(PDF_MARGIN_FOOTER);
+
+// set auto page breaks
+$pdf->SetAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM);
+
+// set image scale factor
+$pdf->setImageScale(PDF_IMAGE_SCALE_RATIO);
+
+// set some language-dependent strings (optional)
+if (@file_exists(dirname(__FILE__).'/lang/eng.php')) {
+ require_once(dirname(__FILE__).'/lang/eng.php');
+ $pdf->setLanguageArray($l);
+}
+
+// ---------------------------------------------------------
+
+// set default font subsetting mode
+$pdf->setFontSubsetting(true);
+
+// Set font
+$pdf->SetFont('helvetica', '', 14, '', true);
+
+// Add a page
+// This method has several options, check the source code documentation for more information.
+$pdf->AddPage();
+
+// Set some content to print
+$html = <<<EOD
+<h1>Example of <a href="http://www.tcpdf.org" style="text-decoration:none;background-color:#CC0000;color:black;">&nbsp;<span style="color:black;">TC</span><span style="color:white;">PDF</span>&nbsp;</a> document in <span style="background-color:#99ccff;color:black;"> PDF/A-1b </span> mode.</h1>
+<i>This document conforms to the standard <b>PDF/A-1b (ISO 19005-1:2005)</b>.</i>
+<p>Please check the source code documentation and other examples for further information (<a href="http://www.tcpdf.org">http://www.tcpdf.org</a>).</p>
+<p style="color:#CC0000;">TO IMPROVE AND EXPAND TCPDF I NEED YOUR SUPPORT, PLEASE <a href="http://sourceforge.net/donate/index.php?group_id=128076">MAKE A DONATION!</a></p>
+EOD;
+
+// Print text using writeHTMLCell()
+$pdf->writeHTMLCell(0, 0, '', '', $html, 0, 1, 0, true, '', true);
+
+// ---------------------------------------------------------
+
+// Close and output PDF document
+// This method has several options, check the source code documentation for more information.
+$pdf->Output('example_065.pdf', 'I');
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/images/_blank.png b/public/library/TCPDF/examples/images/_blank.png
new file mode 100644
index 0000000..38f7b2f
--- /dev/null
+++ b/public/library/TCPDF/examples/images/_blank.png
Binary files differ
diff --git a/public/library/TCPDF/examples/images/alpha.png b/public/library/TCPDF/examples/images/alpha.png
new file mode 100644
index 0000000..5447918
--- /dev/null
+++ b/public/library/TCPDF/examples/images/alpha.png
Binary files differ
diff --git a/public/library/TCPDF/examples/images/image_demo.jpg b/public/library/TCPDF/examples/images/image_demo.jpg
new file mode 100644
index 0000000..262bce2
--- /dev/null
+++ b/public/library/TCPDF/examples/images/image_demo.jpg
Binary files differ
diff --git a/public/library/TCPDF/examples/images/image_with_alpha.png b/public/library/TCPDF/examples/images/image_with_alpha.png
new file mode 100644
index 0000000..3011618
--- /dev/null
+++ b/public/library/TCPDF/examples/images/image_with_alpha.png
Binary files differ
diff --git a/public/library/TCPDF/examples/images/img.png b/public/library/TCPDF/examples/images/img.png
new file mode 100644
index 0000000..9c1a075
--- /dev/null
+++ b/public/library/TCPDF/examples/images/img.png
Binary files differ
diff --git a/public/library/TCPDF/examples/images/logo_example.gif b/public/library/TCPDF/examples/images/logo_example.gif
new file mode 100644
index 0000000..010b487
--- /dev/null
+++ b/public/library/TCPDF/examples/images/logo_example.gif
Binary files differ
diff --git a/public/library/TCPDF/examples/images/logo_example.jpg b/public/library/TCPDF/examples/images/logo_example.jpg
new file mode 100644
index 0000000..6d9b8fd
--- /dev/null
+++ b/public/library/TCPDF/examples/images/logo_example.jpg
Binary files differ
diff --git a/public/library/TCPDF/examples/images/logo_example.png b/public/library/TCPDF/examples/images/logo_example.png
new file mode 100644
index 0000000..1379945
--- /dev/null
+++ b/public/library/TCPDF/examples/images/logo_example.png
Binary files differ
diff --git a/public/library/TCPDF/examples/images/tcpdf_box.ai b/public/library/TCPDF/examples/images/tcpdf_box.ai
new file mode 100644
index 0000000..0c14846
--- /dev/null
+++ b/public/library/TCPDF/examples/images/tcpdf_box.ai
@@ -0,0 +1,214 @@
+%!PS-Adobe-3.0 EPSF
+%%Creator: Adobe Illustrator
+%%BoundingBox: -7 0 487 327
+%%HiResBoundingBox: -6.66162 2.44007e-05 486.662 326.648
+%AI5_FileFormat 3
+%%EndComments
+%%BeginProlog
+%%EndProlog
+%%BeginSetup
+%%EndSetup
+1 XR
+%AI5_BeginLayer
+1 1 1 1 0 0 -1 49 80 161 Lb
+(New Layer) Ln
+0.620000 0.580000 0.435000 0.996000 K
+[] 0 d
+1.402287 w
+0 j
+0 J
+0.263000 0.290000 0.898000 0.263000 k
+72.7885 255.643 m
+277.08 286.778 L
+425.478 260.993 L
+408.269 190.301 L
+113.504 181.247 L
+113.504 181.247 72.9813 241.769 72.7885 255.643 C
+b
+0.620000 0.580000 0.435000 0.996000 K
+1 j
+0.094000 0.102000 0.369000 0.016000 k
+423.247 259.914 m
+240.217 207.097 L
+240.635 0.701168 L
+397.776 116.053 L
+423.247 259.914 L
+b
+0.620000 0.580000 0.435000 0.996000 K
+0.133000 0.141000 0.541000 0.035000 k
+72.1745 254.207 m
+240.217 207.097 L
+240.561 0.783816 L
+101.054 87.946 L
+72.1745 254.207 L
+b
+0.047000 0.059000 0.184000 0.004000 k
+423.247 259.914 m
+308.187 51.1553 L
+396.862 116.972 L
+423.247 259.914 L
+f
+0.620000 0.580000 0.435000 0.996000 K
+0 j
+0.047000 0.059000 0.184000 0.004000 k
+479.312 250.415 m
+423.613 260.243 L
+240.385 206.966 L
+314.061 186.394 L
+479.312 250.415 L
+b
+0.620000 0.580000 0.435000 0.996000 K
+0.047000 0.059000 0.184000 0.004000 k
+69.9121 254.273 m
+237.965 207.131 L
+163.618 164.537 L
+0.687544 234.686 L
+69.9121 254.273 L
+b
+0.620000 0.580000 0.435000 0.996000 K
+0.047000 0.059000 0.184000 0.004000 k
+242.971 319.299 m
+275.613 286.233 L
+72.5703 254.295 L
+16.555 296.161 L
+242.971 319.299 L
+b
+0.620000 0.580000 0.435000 0.996000 K
+0.133000 0.141000 0.541000 0.035000 k
+423.496 260.684 m
+275.426 286.441 L
+307.326 316.69 L
+462.053 292.606 L
+423.496 260.684 L
+b
+0.196000 0.227000 0.871000 0.106000 k
+75.26 254.037 m
+274.806 285.371 L
+227.928 211.257 L
+163.396 228.836 130.937 238.701 75.26 254.037 C
+f
+0.620000 0.580000 0.435000 0.996000 K
+1 j
+0.169000 0.314000 0.424000 0.094000 k
+275.528 286.329 m
+274.75 216.78 L
+275.528 286.329 L
+b
+0.031000 0.949000 0.745000 0.729000 k
+285.929 160.982 m
+285.929 160.982 285.078 139.734 285.078 139.734 C
+285.078 139.734 275.378 135.096 275.378 135.096 C
+275.378 135.096 273.058 57.6061 273.058 57.6061 C
+273.058 57.6061 257.133 47.3536 257.133 47.3536 C
+257.133 47.3536 258.059 126.816 258.059 126.816 C
+258.059 126.816 247.186 121.618 247.186 121.618 C
+247.186 121.618 247.186 144.26 247.186 144.26 C
+247.186 144.26 285.929 160.982 285.929 160.982 C
+F
+0.031000 0.949000 0.745000 0.729000 k
+320.884 135.342 m
+320.884 135.342 307.279 128.129 307.279 128.129 C
+307.279 128.129 308.36 144.944 308.36 144.944 C
+308.681 149.948 308.724 153.011 308.483 154.097 C
+308.268 155.24 307.632 155.567 306.572 155.073 C
+305.368 154.512 304.553 153.381 304.135 151.687 C
+303.718 149.995 303.36 146.608 303.063 141.565 C
+303.063 141.565 300.477 97.6864 300.477 97.6864 C
+300.22 93.3298 300.208 90.6032 300.439 89.4791 C
+300.668 88.3599 301.318 88.1316 302.385 88.7881 C
+303.403 89.4149 304.103 90.4684 304.487 91.9528 C
+304.894 93.4524 305.253 96.6211 305.567 101.497 C
+305.567 101.497 306.297 112.86 306.297 112.86 C
+306.297 112.86 319.718 120.438 319.718 120.438 C
+319.718 120.438 319.446 116.964 319.446 116.964 C
+318.734 107.862 317.873 101.293 316.856 97.1389 C
+315.864 93.0164 314.026 88.8059 311.329 84.474 C
+308.636 80.1307 305.421 76.743 301.646 74.2975 C
+297.651 71.7096 294.365 70.7251 291.812 71.3887 C
+289.213 72.064 287.545 74.2699 286.838 78.0362 C
+286.121 81.8925 285.954 88.3297 286.349 97.4441 C
+286.349 97.4441 287.575 125.751 287.575 125.751 C
+287.89 133.007 288.277 138.586 288.737 142.421 C
+289.202 146.323 290.251 150.369 291.883 154.544 C
+293.54 158.732 295.716 162.4 298.394 165.529 C
+301.078 168.689 304.052 170.959 307.296 172.342 C
+311.621 174.188 315.02 174.154 317.521 172.296 C
+319.974 170.473 321.427 167.541 321.911 163.514 C
+322.39 159.578 322.275 153.119 321.579 144.225 C
+321.579 144.225 320.884 135.342 320.884 135.342 C
+F
+0.031000 0.949000 0.745000 0.729000 k
+*u
+329.084 179.607 m
+329.084 179.607 342.074 185.214 342.074 185.214 C
+345.446 186.669 347.94 187.235 349.586 186.932 C
+351.233 186.642 352.374 185.695 353.019 184.1 C
+353.677 182.527 353.999 180.418 353.991 177.777 C
+354.005 175.2 353.703 171.072 353.088 165.429 C
+353.088 165.429 352.244 157.683 352.244 157.683 C
+351.634 152.084 350.908 147.89 350.063 145.056 C
+349.22 142.228 347.957 139.718 346.265 137.514 C
+344.583 135.308 342.474 133.487 339.919 132.046 C
+339.919 132.046 336.736 130.25 336.736 130.25 C
+336.736 130.25 333.512 96.527 333.512 96.527 C
+333.512 96.527 321.545 88.8222 321.545 88.8222 C
+321.545 88.8222 329.084 179.607 329.084 179.607 C
+F
+340.42 168.795 m
+340.42 168.795 338.184 145.407 338.184 145.407 C
+338.526 145.552 338.82 145.69 339.068 145.822 C
+340.172 146.404 340.98 147.319 341.498 148.568 C
+342.038 149.863 342.473 152.174 342.805 155.518 C
+342.805 155.518 343.55 163.014 343.55 163.014 C
+343.863 166.167 343.82 168.111 343.416 168.832 C
+343.011 169.557 342.015 169.547 340.42 168.795 C
+F
+*U
+0.031000 0.949000 0.745000 0.729000 k
+*u
+359.204 192.607 m
+359.204 192.607 367.556 196.212 367.556 196.212 C
+372.753 198.454 376.114 199.414 377.734 199.14 C
+379.351 198.877 380.446 197.777 381.03 195.854 C
+381.608 193.948 381.815 191.642 381.655 188.934 C
+381.502 186.28 380.88 180.934 379.804 172.981 C
+379.804 172.981 375.968 144.653 375.968 144.653 C
+375.021 137.654 374.236 132.926 373.604 130.399 C
+372.993 127.921 372.216 125.786 371.268 123.986 C
+370.323 122.215 369.243 120.698 368.023 119.43 C
+366.801 118.187 365.012 116.807 362.638 115.279 C
+362.638 115.279 349.593 106.88 349.593 106.88 C
+349.593 106.88 359.204 192.607 359.204 192.607 C
+F
+368.395 181.985 m
+368.395 181.985 361.644 126.918 361.644 126.918 C
+363.113 127.815 364.084 128.947 364.566 130.32 C
+365.053 131.727 365.629 135.077 366.301 140.416 C
+366.301 140.416 370.368 172.752 370.368 172.752 C
+370.86 176.666 371.12 179.163 371.145 180.223 C
+371.168 181.285 371.006 181.972 370.654 182.282 C
+370.306 182.629 369.555 182.531 368.395 181.985 C
+F
+*U
+0.031000 0.949000 0.745000 0.729000 k
+387.58 204.854 m
+387.58 204.854 403.348 211.659 403.348 211.659 C
+403.348 211.659 400.803 195.062 400.803 195.062 C
+400.803 195.062 394.579 192.087 394.579 192.087 C
+394.579 192.087 392.296 176.619 392.296 176.619 C
+392.296 176.619 397.801 179.482 397.801 179.482 C
+397.801 179.482 395.533 164.634 395.533 164.634 C
+395.533 164.634 390.075 161.574 390.075 161.574 C
+390.075 161.574 385.406 129.937 385.406 129.937 C
+385.406 129.937 376.374 124.122 376.374 124.122 C
+376.374 124.122 387.58 204.854 387.58 204.854 C
+F
+LB
+%AI5_EndLayer--
+%AI5_BeginLayer
+1 1 1 1 0 0 -1 49 80 161 Lb
+(MasterLayer 1) Ln
+LB
+%AI5_EndLayer--
+%%Trailer
+%%EOF
diff --git a/public/library/TCPDF/examples/images/tcpdf_box.svg b/public/library/TCPDF/examples/images/tcpdf_box.svg
new file mode 100644
index 0000000..8c29e64
--- /dev/null
+++ b/public/library/TCPDF/examples/images/tcpdf_box.svg
@@ -0,0 +1,69 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ version="1.1"
+ width="600"
+ height="400"
+ id="tcpdf_box">
+ <path
+ d="M 90.985619,80.446426 346.35007,41.527969 531.84796,73.758171 510.33606,162.12434 141.88004,173.44107 c 0,0 -50.653416,-75.65219 -50.894421,-92.994643 z"
+ id="path3233"
+ style="fill:#a0892c;fill-rule:evenodd;stroke:#000000;stroke-width:1.752859;stroke-miterlimit:4" />
+ <path
+ d="M 529.05896,75.10788 300.27124,141.12856 300.79367,399.12354 497.22012,254.93323 529.05896,75.10788 z"
+ id="path2459"
+ style="fill:#e9ddaf;fill-rule:evenodd;stroke:#000000;stroke-width:1.752859;stroke-linejoin:round;stroke-miterlimit:4" />
+ <path
+ d="M 90.218147,82.241417 300.27124,141.12855 300.7012,399.02023 126.31743,290.06747 90.218147,82.241417 z"
+ id="path3231"
+ style="fill:#decd87;fill-rule:evenodd;stroke:#000000;stroke-width:1.752859;stroke-linejoin:round;stroke-miterlimit:4" />
+ <path
+ d="M 529.05896,75.10788 385.23331,336.05582 496.07782,253.785 529.05896,75.10788 z"
+ id="path3204"
+ style="fill:#f4eed7;fill-rule:evenodd" />
+ <path
+ d="M 599.14056,86.981453 529.51617,74.695641 300.48178,141.29306 392.57645,167.00775 599.14056,86.981453 z"
+ id="path3243"
+ style="fill:#f4eed7;fill-rule:evenodd;stroke:#000000;stroke-width:1.752859;stroke-miterlimit:4" />
+ <path
+ d="M 87.390083,82.159248 297.45667,141.08572 204.52271,194.32928 0.85943,106.64266 87.390083,82.159248 z"
+ id="path3245"
+ style="fill:#f4eed7;fill-rule:evenodd;stroke:#000000;stroke-width:1.752859;stroke-miterlimit:4" />
+ <path
+ d="M 303.71381,0.87646 344.51688,42.208691 90.712837,82.130967 20.69376,29.79868 303.71381,0.876461 z"
+ id="path3247"
+ style="fill:#f4eed7;fill-rule:evenodd;stroke:#000000;stroke-width:1.752859;stroke-miterlimit:4" />
+ <path
+ d="M 529.36993,74.145378 344.28207,41.9492 384.15726,4.13702 577.56598,34.24292 529.36993,74.145378 z"
+ id="path3263"
+ style="fill:#decd87;fill-rule:evenodd;stroke:#000000;stroke-width:1.752859;stroke-miterlimit:4" />
+ <path
+ d="M 94.075058,82.454048 343.50751,43.286419 284.91046,135.92899 C 204.24522,113.95545 163.67139,101.62348 94.075058,82.454049 z"
+ id="path3206"
+ style="fill:#c8ab37;fill-rule:evenodd" />
+ <path
+ d="m 344.40955,42.08839 -0.97239,86.93644 0.97239,-86.93644 z"
+ id="path2426"
+ style="fill:#caa98d;fill-rule:evenodd;stroke:#000000;stroke-width:1.752859;stroke-linejoin:round;stroke-miterlimit:4" />
+ <path
+ d="m 357.41141,198.77278 c 0,0 -1.06345,26.55933 -1.06345,26.55933 0,0 -12.12588,5.79739 -12.12588,5.79739 0,0 -2.89969,96.8629 -2.89969,96.8629 0,0 -19.9061,12.81561 -19.9061,12.81561 0,0 1.15698,-99.32809 1.15698,-99.32809 0,0 -13.59121,6.49803 -13.59121,6.49803 0,0 0,-28.30334 0,-28.30334 0,0 48.42935,-20.90183 48.42935,-20.90183"
+ id="path5441"
+ style="fill:#550000" />
+ <path
+ d="m 401.10504,230.8226 c 0,0 -17.00665,9.0165 -17.00665,9.0165 0,0 1.3512,-21.019 1.3512,-21.019 0.402,-6.2545 0.45517,-10.08344 0.15475,-11.44165 -0.26965,-1.42879 -1.06461,-1.83763 -2.3894,-1.22009 -1.50556,0.70219 -2.52317,2.11514 -3.04563,4.2332 -0.52157,2.11482 -0.96939,6.34812 -1.34085,12.65235 0,0 -3.23221,54.84809 -3.23221,54.84809 -0.32101,5.44577 -0.33578,8.85397 -0.048,10.25909 0.28671,1.39908 1.09888,1.68448 2.43259,0.86377 1.27319,-0.78342 2.14758,-2.10034 2.62838,-3.95581 0.50837,-1.87454 0.95707,-5.83545 1.34897,-11.93002 0,0 0.91309,-14.20398 0.91309,-14.20398 0,0 16.77621,-9.47276 16.77621,-9.47276 0,0 -0.33963,4.34254 -0.33963,4.34254 -0.89019,11.37775 -1.9667,19.58865 -3.23806,24.78162 -1.24018,5.15307 -3.53693,10.4162 -6.90912,15.83102 -3.36563,5.4292 -7.3844,9.66376 -12.10367,12.72073 -4.99368,3.23487 -9.10043,4.46546 -12.29227,3.63599 -3.24878,-0.84418 -5.33295,-3.60156 -6.21771,-8.30939 -0.89523,-4.8204 -1.10458,-12.86691 -0.61096,-24.25988 0,0 1.53271,-35.38347 1.53271,-35.38347 0.3931,-9.07071 0.87778,-16.0441 1.45276,-20.83719 0.58109,-4.87754 1.8923,-9.93605 3.93183,-15.15415 2.07186,-5.235 4.79159,-9.82054 8.13882,-13.73193 3.35501,-3.94881 7.07321,-6.78658 11.12744,-8.51622 5.4072,-2.30643 9.65549,-2.2641 12.78149,0.0581 3.06675,2.27881 4.88321,5.94397 5.48707,10.97809 0.5997,4.91933 0.45568,12.99251 -0.41431,24.11017 0,0 -0.86871,11.10411 -0.86871,11.10411"
+ id="path5443"
+ style="fill:#550000" />
+ <path
+ d="m 411.35443,175.49126 c 0,0 16.23862,-7.00843 16.23862,-7.00843 4.21411,-1.81866 7.33169,-2.52597 9.38946,-2.14839 2.05817,0.3633 3.48441,1.54648 4.29062,3.53996 0.82251,1.9665 1.22608,4.60317 1.21613,7.90484 0.0169,3.22044 -0.36075,8.38028 -1.12943,15.43508 0,0 -1.05478,9.68189 -1.05478,9.68189 -0.76248,6.99831 -1.66961,12.24153 -2.72592,15.78421 -1.05399,3.53464 -2.6333,6.67149 -4.74774,9.42722 -2.10278,2.75729 -4.73932,5.03327 -7.93247,6.83464 0,0 -3.97955,2.24502 -3.97955,2.24502 0,0 -4.02936,42.15401 -4.02936,42.15401 0,0 -14.95935,9.63092 -14.95935,9.63092 0,0 9.42377,-113.48097 9.42377,-113.48097 m 14.17023,13.51561 c 0,0 -2.79438,29.23405 -2.79438,29.23405 0.42658,-0.18139 0.79483,-0.35402 1.10511,-0.5179 1.37976,-0.72847 2.39001,-1.87172 3.03671,-3.4328 0.67474,-1.61934 1.21869,-4.50798 1.63415,-8.6878 0,0 0.93119,-9.36968 0.93119,-9.36968 0.39178,-3.9412 0.33706,-6.37085 -0.16742,-7.27288 -0.50681,-0.90578 -1.75189,-0.89307 -3.74564,0.0468"
+ id="path5445"
+ style="fill:#550000" />
+ <path
+ d="m 449.00479,159.24159 c 0,0 10.44077,-4.5061 10.44077,-4.5061 6.49575,-2.80348 10.69668,-4.00293 12.72158,-3.6608 2.0213,0.32964 3.39048,1.7039 4.12034,4.10832 0.72277,2.38149 0.98129,5.26491 0.78176,8.64975 -0.19201,3.31783 -0.96899,9.99964 -2.31472,19.94068 0,0 -4.79395,35.41017 -4.79395,35.41017 -1.18439,8.74899 -2.16592,14.65866 -2.95572,17.8175 -0.76312,3.09777 -1.73532,5.76644 -2.91974,8.01586 -1.18118,2.21374 -2.5317,4.11101 -4.05642,5.69523 -1.52753,1.55346 -3.76374,3.27924 -6.73096,5.18953 0,0 -16.30603,10.49793 -16.30603,10.49793 0,0 12.01309,-107.15807 12.01309,-107.15807 m 11.48944,13.27721 c 0,0 -8.43966,68.83415 -8.43966,68.83415 1.83639,-1.12169 3.05044,-2.53693 3.65325,-4.25322 0.60837,-1.758 1.3288,-5.94594 2.16813,-12.61931 0,0 5.08401,-40.4202 5.08401,-40.4202 0.61536,-4.89276 0.94013,-8.01438 0.9708,-9.3384 0.0297,-1.32778 -0.17337,-2.18634 -0.61277,-2.57413 -0.43551,-0.43419 -1.37487,-0.31191 -2.82376,0.37111"
+ id="path5447"
+ style="fill:#550000" />
+ <path
+ d="m 484.47485,143.93306 c 0,0 19.70978,-8.50664 19.70978,-8.50664 0,0 -3.18149,20.74545 -3.18149,20.74545 0,0 -7.77993,3.71959 -7.77993,3.71959 0,0 -2.85361,19.33512 -2.85361,19.33512 0,0 6.88156,-3.57958 6.88156,-3.57958 0,0 -2.83499,18.56089 -2.83499,18.56089 0,0 -6.82193,3.82412 -6.82193,3.82412 0,0 -5.83667,39.54715 -5.83667,39.54715 0,0 -11.29004,7.26862 -11.29004,7.26862 0,0 14.00732,-100.91472 14.00732,-100.91472"
+ id="path5449"
+ style="fill:#550000" />
+</svg>
diff --git a/public/library/TCPDF/examples/images/tcpdf_cell.png b/public/library/TCPDF/examples/images/tcpdf_cell.png
new file mode 100644
index 0000000..98a1553
--- /dev/null
+++ b/public/library/TCPDF/examples/images/tcpdf_cell.png
Binary files differ
diff --git a/public/library/TCPDF/examples/images/tcpdf_logo.jpg b/public/library/TCPDF/examples/images/tcpdf_logo.jpg
new file mode 100644
index 0000000..257f8fb
--- /dev/null
+++ b/public/library/TCPDF/examples/images/tcpdf_logo.jpg
Binary files differ
diff --git a/public/library/TCPDF/examples/images/tcpdf_signature.png b/public/library/TCPDF/examples/images/tcpdf_signature.png
new file mode 100644
index 0000000..a4f0637
--- /dev/null
+++ b/public/library/TCPDF/examples/images/tcpdf_signature.png
Binary files differ
diff --git a/public/library/TCPDF/examples/images/testsvg.svg b/public/library/TCPDF/examples/images/testsvg.svg
new file mode 100644
index 0000000..fd8314e
--- /dev/null
+++ b/public/library/TCPDF/examples/images/testsvg.svg
@@ -0,0 +1,328 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ version="1.1"
+ width="12cm"
+ height="6cm"
+ id="svg2">
+ <desc
+ id="desc4">TCPDF SVG EXAMPLE</desc>
+ <defs
+ id="defs42">
+ <radialGradient
+ cx="85"
+ cy="15"
+ r="5.25"
+ fx="85"
+ fy="15"
+ id="radialGradient2865"
+ xlink:href="#MyRGradient"
+ gradientUnits="userSpaceOnUse" />
+ <radialGradient
+ cx="60"
+ cy="25"
+ r="10.5"
+ fx="60"
+ fy="25"
+ id="radialGradient2867"
+ xlink:href="#MyRGradient"
+ gradientUnits="userSpaceOnUse" />
+ <radialGradient
+ cx="17.82198"
+ cy="28.055244"
+ r="10.871407"
+ fx="17.82198"
+ fy="28.055244"
+ id="radialGradient2869"
+ xlink:href="#MyRGradient"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(3.6200333,0,0,1.8396889,173.9517,-9.005912)" />
+ <radialGradient
+ cx="184.10963"
+ cy="476.55164"
+ r="74.151497"
+ fx="184.10963"
+ fy="476.55164"
+ id="radialGradient5087"
+ xlink:href="#linearGradient5075"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(3.2520801,0,0,1.0907419,-234.6921,-1.613686)" />
+ <linearGradient
+ id="linearGradient5075">
+ <stop
+ id="stop5077"
+ style="stop-color:#ffff00;stop-opacity:1"
+ offset="0" />
+ <stop
+ id="stop5079"
+ style="stop-color:#ff0000;stop-opacity:1"
+ offset="1" />
+ </linearGradient>
+ <radialGradient
+ cx="184.10963"
+ cy="476.55164"
+ r="74.151497"
+ fx="184.10963"
+ fy="476.55164"
+ id="radialGradient2846"
+ xlink:href="#linearGradient5075"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(3.2520801,0,0,1.0907419,-234.6921,-1.613686)" />
+ <linearGradient
+ id="linearGradient2848">
+ <stop
+ id="stop2850"
+ style="stop-color:#ffff00;stop-opacity:1"
+ offset="0" />
+ <stop
+ id="stop2852"
+ style="stop-color:#ff0000;stop-opacity:1"
+ offset="1" />
+ </linearGradient>
+ <radialGradient
+ cx="184.10963"
+ cy="476.55164"
+ r="74.151497"
+ fx="184.10963"
+ fy="476.55164"
+ id="radialGradient2854"
+ xlink:href="#linearGradient5075"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(3.2520801,0,0,1.0907419,-234.6921,-1.613686)" />
+ <linearGradient
+ id="linearGradient2856">
+ <stop
+ id="stop2858"
+ style="stop-color:#ffff00;stop-opacity:1"
+ offset="0" />
+ <stop
+ id="stop2860"
+ style="stop-color:#ff0000;stop-opacity:1"
+ offset="1" />
+ </linearGradient>
+ <radialGradient
+ cx="184.10963"
+ cy="476.55164"
+ r="74.151497"
+ fx="184.10963"
+ fy="476.55164"
+ id="radialGradient2862"
+ xlink:href="#linearGradient5075"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(3.2520801,0,0,1.0907419,-234.6921,-1.613686)" />
+ <linearGradient
+ id="linearGradient2864">
+ <stop
+ id="stop2866"
+ style="stop-color:#ffff00;stop-opacity:1"
+ offset="0" />
+ <stop
+ id="stop2868"
+ style="stop-color:#ff0000;stop-opacity:1"
+ offset="1" />
+ </linearGradient>
+ <radialGradient
+ cx="184.10963"
+ cy="476.55164"
+ r="74.151497"
+ fx="184.10963"
+ fy="476.55164"
+ id="radialGradient2885"
+ xlink:href="#linearGradient5075"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(3.2520801,0,0,1.0907419,-234.6921,-1.613686)" />
+ <radialGradient
+ cx="60"
+ cy="25"
+ r="10.5"
+ fx="60"
+ fy="25"
+ id="radialGradient5215"
+ xlink:href="#MyRGradient"
+ gradientUnits="userSpaceOnUse" />
+ <radialGradient
+ cx="184.10963"
+ cy="476.55164"
+ r="74.151497"
+ fx="184.10963"
+ fy="476.55164"
+ id="radialGradient5223"
+ xlink:href="#linearGradient5075"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(3.2520801,0,0,1.0907419,-234.6921,-1.613686)" />
+ <radialGradient
+ cx="184.10963"
+ cy="476.55164"
+ r="74.151497"
+ fx="184.10963"
+ fy="476.55164"
+ id="radialGradient5245"
+ xlink:href="#linearGradient5075"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(3.2520801,0,0,1.0907419,-234.6921,-1.613686)" />
+ <radialGradient
+ cx="184.10963"
+ cy="476.55164"
+ r="74.151497"
+ fx="184.10963"
+ fy="476.55164"
+ id="radialGradient5261"
+ xlink:href="#linearGradient5075"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(3.2520801,0,0,1.0907419,-234.6921,-1.613686)" />
+ <radialGradient
+ cx="184.10963"
+ cy="476.55164"
+ r="74.151497"
+ fx="184.10963"
+ fy="476.55164"
+ id="radialGradient5264"
+ xlink:href="#linearGradient5075"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(0.53063427,0,0,0.17133835,-41.5959,-53.579631)" />
+ <radialGradient
+ cx="184.10963"
+ cy="476.55164"
+ r="74.151497"
+ fx="184.10963"
+ fy="476.55164"
+ id="radialGradient5267"
+ xlink:href="#linearGradient5075"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(0.53063427,0,0,0.17133835,-41.5959,-53.579631)" />
+ <radialGradient
+ cx="184.10963"
+ cy="476.55164"
+ r="74.151497"
+ fx="184.10963"
+ fy="476.55164"
+ id="radialGradient5270"
+ xlink:href="#linearGradient5075"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(0.53063427,0,0,0.17133835,-41.5959,-53.579631)" />
+ <radialGradient
+ cx="85"
+ cy="15"
+ r="5.25"
+ fx="85"
+ fy="15"
+ id="radialGradient5295"
+ xlink:href="#MyRGradient"
+ gradientUnits="userSpaceOnUse" />
+ </defs>
+ <linearGradient
+ x1="2.4930596"
+ y1="8.1225491"
+ x2="58.448399"
+ y2="8.1225491"
+ id="MyLGradient"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(2.1674701,3.2244804e-8,-1.0401032e-8,0.46846403,253.27742,-193.75856)">
+ <stop
+ id="stop7"
+ style="stop-color:#ff6600;stop-opacity:1"
+ offset="0.05" />
+ <stop
+ id="stop9"
+ style="stop-color:#ffff66;stop-opacity:1"
+ offset="0.94999999" />
+ </linearGradient>
+ <radialGradient
+ id="MyRGradient">
+ <stop
+ id="stop12"
+ style="stop-color:#0033ff;stop-opacity:1"
+ offset="0.05" />
+ <stop
+ id="stop14"
+ style="stop-color:#ffff66;stop-opacity:1"
+ offset="0.94999999" />
+ </radialGradient>
+ <rect
+ width="120.08073"
+ height="25.367481"
+ rx="3.602421"
+ ry="2.5367482"
+ x="259.28146"
+ y="-189.53065"
+ transform="matrix(0.71626866,0.69782463,-0.72008162,0.69388937,0,0)"
+ id="rect16"
+ style="fill:url(#MyLGradient);stroke:#0000ff;stroke-width:1.00766146" />
+ <ellipse
+ cx="90"
+ cy="30"
+ rx="20"
+ ry="10"
+ transform="matrix(1.4285714,0,0,1.4285714,178.03709,88.814199)"
+ id="ellipse20"
+ style="fill:#00ff00;stroke:#008000;stroke-width:1" />
+ <path
+ d="m 199.75816,42.607008 c 0,-25.80645 38.7097,-25.80645 38.7097,0 0,25.80645 38.70969,25.80645 38.70969,0 z"
+ id="path30"
+ style="fill:url(#radialGradient2869);stroke:#0000ff;stroke-width:1.29032314" />
+ <path
+ d="m 56.981711,101.40999 q 38.411107,-48.013879 76.822209,0 38.41109,48.01387 76.8222,0"
+ id="path32"
+ style="fill:none;stroke:#008000;stroke-width:0.96027768" />
+ <path
+ d="m 56.981711,101.40999 38.411107,-48.013879 38.411102,48.013879 38.41109,48.01387 38.41111,-48.01387"
+ id="path34"
+ style="fill:none;stroke:#888888;stroke-width:0.38411102" />
+ <line
+ x1="158.17"
+ y1="196.27382"
+ x2="403.61057"
+ y2="196.27382"
+ id="line22"
+ style="fill:#ff0000;stroke:#ff0000;stroke-width:2.72711658;stroke-opacity:1" />
+ <text
+ x="158.15259"
+ y="182.61755"
+ id="text38"
+ style="font-size:35.67964172px;font-weight:bold;fill:#0000ff;font-family:Helvetica">www.tcpdf.org</text>
+ <polygon
+ points="80,10 90,10 90,20 80,20 80,10 "
+ transform="matrix(4.7619048,0,0,4.7619048,-28.55484,-29.862646)"
+ id="polygon26"
+ style="fill:url(#radialGradient5295);stroke:#ff0000;stroke-width:0.5" />
+ <path
+ d="M 172.22678,86.983374 H 140.4086 A 31.818187,31.818187 0 1 0 172.22678,55.16517 z"
+ id="path10"
+ style="fill:#ff0000;stroke:#0000ff;stroke-width:1.06060624" />
+ <path
+ d="M 166.92376,81.680334 V 49.86215 a 31.818187,31.818187 0 0 0 -31.81821,31.818184 z"
+ id="path12"
+ style="fill:#ffff00;stroke:#0000ff;stroke-width:1.06060624" />
+ <path
+ d="m 191.9699,155.18875 13.78038,-6.89018 a 7.7034622,7.7034622 0 1 1 13.78037,-6.89018 l 13.78033,-6.89018 a 15.386158,7.6930793 60 0 1 13.78034,-6.89016 l 13.78034,-6.89017 a 23.073485,7.6911617 60 0 1 13.78037,-6.89019 l 13.78037,-6.89017 a 30.761945,7.6904861 60 1 1 13.78036,-6.89019 l 13.78034,-6.890167"
+ id="path14"
+ style="fill:none;stroke:#ff0000;stroke-width:1.37803578" />
+ <circle
+ cx="60"
+ cy="25"
+ r="10"
+ transform="matrix(2.3809524,0,0,2.3809524,-86.105483,113.11357)"
+ id="circle18"
+ style="fill:url(#radialGradient5215);stroke:#ff0000;stroke-width:1" />
+ <path
+ d="m 32.361418,52.28906 48.780487,0 -24.39025,48.78049 z"
+ id="path28"
+ style="fill:#ffff00;stroke:#0000ff;stroke-width:1.21951222" />
+ <image
+ xlink:href="tcpdf_logo.jpg"
+ id="image36"
+ height="26.666664"
+ width="80"
+ y="111.32501"
+ x="16.751661" />
+ <text
+ x="13.399332"
+ y="41.580627"
+ id="text5343"
+ xml:space="preserve"
+ style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;fill:#008000;font-family:helvetica;font-size:30pt">SVG</text>
+</svg>
diff --git a/public/library/TCPDF/examples/images/tux.svg b/public/library/TCPDF/examples/images/tux.svg
new file mode 100644
index 0000000..de8c869
--- /dev/null
+++ b/public/library/TCPDF/examples/images/tux.svg
@@ -0,0 +1,1487 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:cc="http://creativecommons.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ width="500pt"
+ height="600pt"
+ id="svg5620"
+ sodipodi:version="0.32"
+ inkscape:version="0.46"
+ sodipodi:docname="mh_inksc_100511_NewTux.svg"
+ inkscape:output_extension="org.inkscape.output.svg.inkscape"
+ inkscape:export-filename="/media/disk/※T h i n g S/UB SOFTWARE/Openclipart/mh_inksc_100511_NewTux.png"
+ inkscape:export-xdpi="150.03999"
+ inkscape:export-ydpi="150.03999">
+ <metadata
+ id="metadata5712">
+ <rdf:RDF>
+ <cc:Work
+ rdf:about="">
+ <dc:format>image/svg+xml</dc:format>
+ <dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <sodipodi:namedview
+ inkscape:window-height="728"
+ inkscape:window-width="1280"
+ inkscape:pageshadow="2"
+ inkscape:pageopacity="0.0"
+ guidetolerance="10.0"
+ gridtolerance="10.0"
+ objecttolerance="10.0"
+ borderopacity="1.0"
+ bordercolor="#666666"
+ pagecolor="#ffffff"
+ id="base"
+ showgrid="false"
+ inkscape:zoom="0.65866667"
+ inkscape:cx="837.03841"
+ inkscape:cy="362.33556"
+ inkscape:window-x="0"
+ inkscape:window-y="24"
+ inkscape:current-layer="svg5620"
+ showguides="true"
+ inkscape:guide-bbox="true" />
+ <defs
+ id="defs5622">
+ <linearGradient
+ id="linearGradient6810">
+ <stop
+ id="stop6812"
+ offset="0"
+ style="stop-color:#ffffff;stop-opacity:0.04385965;" />
+ <stop
+ style="stop-color:#ffffff;stop-opacity:0.35964912;"
+ offset="0.46429399"
+ id="stop6816" />
+ <stop
+ id="stop6814"
+ offset="1"
+ style="stop-color:#ffffff;stop-opacity:0;" />
+ </linearGradient>
+ <inkscape:perspective
+ sodipodi:type="inkscape:persp3d"
+ inkscape:vp_x="0 : 375 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_z="625 : 375 : 1"
+ inkscape:persp3d-origin="312.5 : 250 : 1"
+ id="perspective5714" />
+ <linearGradient
+ id="linearGradient172">
+ <stop
+ style="stop-color:#3f2600;stop-opacity:0.6;"
+ offset="0"
+ id="stop173" />
+ <stop
+ style="stop-color:#3f2600;stop-opacity:0;"
+ offset="1"
+ id="stop174" />
+ </linearGradient>
+ <linearGradient
+ id="linearGradient167">
+ <stop
+ style="stop-color:#ffffff;stop-opacity:0.65;"
+ offset="0"
+ id="stop168" />
+ <stop
+ style="stop-color:#ffffff;stop-opacity:0;"
+ offset="1"
+ id="stop169" />
+ </linearGradient>
+ <linearGradient
+ id="linearGradient162">
+ <stop
+ style="stop-color:#ffa63f;stop-opacity:1;"
+ offset="0"
+ id="stop163" />
+ <stop
+ style="stop-color:#ffff00;stop-opacity:1;"
+ offset="1"
+ id="stop164" />
+ </linearGradient>
+ <linearGradient
+ id="linearGradient153">
+ <stop
+ style="stop-color:#ffeed7;stop-opacity:1;"
+ offset="0"
+ id="stop154" />
+ <stop
+ style="stop-color:#bdbfc2;stop-opacity:1;"
+ offset="1"
+ id="stop155" />
+ </linearGradient>
+ <linearGradient
+ id="linearGradient138">
+ <stop
+ style="stop-color:#ffffff;stop-opacity:0.8;"
+ offset="0"
+ id="stop139" />
+ <stop
+ style="stop-color:#ffffff;stop-opacity:0;"
+ offset="1"
+ id="stop140" />
+ </linearGradient>
+ <linearGradient
+ xlink:href="#linearGradient138"
+ id="linearGradient141"
+ x1="0.47424799"
+ y1="0.020191999"
+ x2="0.417539"
+ y2="0.90125799"
+ gradientUnits="objectBoundingBox" />
+ <linearGradient
+ xlink:href="#linearGradient167"
+ id="linearGradient142"
+ x1="0.55880702"
+ y1="0.031192999"
+ x2="0.553922"
+ y2="0.94531101"
+ gradientUnits="objectBoundingBox" />
+ <linearGradient
+ xlink:href="#linearGradient167"
+ id="linearGradient143"
+ x1="0.46557701"
+ y1="0.028819799"
+ x2="0.41365999"
+ y2="0.93366498"
+ gradientUnits="objectBoundingBox" />
+ <linearGradient
+ xlink:href="#linearGradient167"
+ id="linearGradient144"
+ x1="0.70346397"
+ y1="0.059404202"
+ x2="0.64553201"
+ y2="0.94063401"
+ gradientUnits="objectBoundingBox" />
+ <linearGradient
+ xlink:href="#linearGradient167"
+ id="linearGradient145"
+ x1="0.46741399"
+ y1="-0.036155298"
+ x2="0.86741799"
+ y2="0.75857902"
+ gradientUnits="objectBoundingBox" />
+ <linearGradient
+ xlink:href="#linearGradient167"
+ id="linearGradient146"
+ x1="0.57152498"
+ y1="0.023441499"
+ x2="0.57143003"
+ y2="0.71875"
+ gradientUnits="objectBoundingBox" />
+ <linearGradient
+ xlink:href="#linearGradient167"
+ id="linearGradient147"
+ x1="0.5"
+ y1="0.0234362"
+ x2="0.5"
+ y2="0.8125"
+ gradientUnits="objectBoundingBox" />
+ <linearGradient
+ xlink:href="#linearGradient167"
+ id="linearGradient148"
+ x1="0.50799799"
+ y1="0.37435901"
+ x2="0.51599997"
+ y2="0.92820501"
+ gradientUnits="objectBoundingBox" />
+ <linearGradient
+ xlink:href="#linearGradient138"
+ id="linearGradient149"
+ x1="0.5"
+ y1="0.131707"
+ x2="0.50400001"
+ y2="0.94634098"
+ gradientUnits="objectBoundingBox" />
+ <linearGradient
+ xlink:href="#linearGradient167"
+ id="linearGradient150"
+ x1="-0.30509499"
+ y1="0.099496603"
+ x2="0.156323"
+ y2="0.94191301"
+ gradientUnits="objectBoundingBox"
+ gradientTransform="matrix(-0.928523,0.283938,0.435332,0.943857,-1.91327e-7,5.49908e-8)" />
+ <linearGradient
+ xlink:href="#linearGradient167"
+ id="linearGradient151"
+ x1="0.433979"
+ y1="0.022184599"
+ x2="0.487055"
+ y2="1.02569"
+ gradientUnits="objectBoundingBox" />
+ <linearGradient
+ xlink:href="#linearGradient153"
+ id="linearGradient152"
+ x1="0.5"
+ y1="0.89842999"
+ x2="0.5"
+ y2="0.40625"
+ gradientUnits="objectBoundingBox"
+ spreadMethod="reflect" />
+ <linearGradient
+ xlink:href="#linearGradient153"
+ id="linearGradient156"
+ x1="0.43568701"
+ y1="0.98882002"
+ x2="0.453989"
+ y2="0.23093501"
+ gradientUnits="objectBoundingBox" />
+ <linearGradient
+ xlink:href="#linearGradient153"
+ id="linearGradient157"
+ x1="0.49180499"
+ y1="1.15284"
+ x2="0.49482101"
+ y2="0.41252401"
+ gradientUnits="objectBoundingBox" />
+ <linearGradient
+ xlink:href="#linearGradient153"
+ id="linearGradient158"
+ x1="0.51730198"
+ y1="0.85418499"
+ x2="0.49843901"
+ y2="0.136172"
+ gradientUnits="objectBoundingBox" />
+ <linearGradient
+ xlink:href="#linearGradient153"
+ id="linearGradient159"
+ x1="0.46201"
+ y1="0.87917101"
+ x2="0.49215299"
+ y2="0.096282303"
+ gradientUnits="objectBoundingBox" />
+ <linearGradient
+ xlink:href="#linearGradient162"
+ id="linearGradient161"
+ x1="0.50086302"
+ y1="0.34872901"
+ x2="0.41209599"
+ y2="0.98558098"
+ gradientUnits="objectBoundingBox" />
+ <linearGradient
+ xlink:href="#linearGradient162"
+ id="linearGradient165"
+ x1="0.60399801"
+ y1="0.51020199"
+ x2="0.46399999"
+ y2="0.98367399"
+ gradientUnits="objectBoundingBox" />
+ <linearGradient
+ xlink:href="#linearGradient162"
+ id="linearGradient166"
+ x1="0.50000501"
+ y1="0.191616"
+ x2="0.50800002"
+ y2="0.97005898"
+ gradientUnits="objectBoundingBox" />
+ <radialGradient
+ xlink:href="#linearGradient172"
+ id="radialGradient171"
+ cx="0.5"
+ cy="0.5"
+ fx="0.5"
+ fy="0.5"
+ r="0.5"
+ gradientUnits="objectBoundingBox" />
+ <radialGradient
+ xlink:href="#linearGradient172"
+ id="radialGradient176" />
+ <linearGradient
+ xlink:href="#linearGradient153"
+ id="linearGradient178"
+ x1="0.94027299"
+ y1="1.2934099"
+ x2="0.19452"
+ y2="-0.675295"
+ gradientUnits="objectBoundingBox" />
+ <radialGradient
+ xlink:href="#linearGradient172"
+ id="radialGradient1399"
+ gradientTransform="scale(1.045233,0.956725)"
+ cx="446.77762"
+ cy="1219.4125"
+ fx="446.77762"
+ fy="1219.4125"
+ r="195.07191"
+ gradientUnits="userSpaceOnUse" />
+ <linearGradient
+ xlink:href="#linearGradient153"
+ id="linearGradient1401"
+ gradientUnits="userSpaceOnUse"
+ x1="400.57785"
+ y1="369.53015"
+ x2="400.84448"
+ y2="304.07886"
+ gradientTransform="scale(0.575262,1.738339)" />
+ <linearGradient
+ xlink:href="#linearGradient138"
+ id="linearGradient1403"
+ gradientUnits="userSpaceOnUse"
+ x1="303.01761"
+ y1="237.93179"
+ x2="297.0856"
+ y2="330.09561"
+ gradientTransform="scale(1.116071,0.896001)" />
+ <linearGradient
+ xlink:href="#linearGradient153"
+ id="linearGradient1405"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="scale(0.816497,1.224744)"
+ x1="378.93771"
+ y1="278.60202"
+ x2="380.27319"
+ y2="243.91606" />
+ <linearGradient
+ xlink:href="#linearGradient153"
+ id="linearGradient1407"
+ gradientUnits="userSpaceOnUse"
+ x1="381.38742"
+ y1="277.495"
+ x2="380.5517"
+ y2="245.68338"
+ gradientTransform="scale(0.816497,1.224744)" />
+ <linearGradient
+ xlink:href="#linearGradient167"
+ id="linearGradient1409"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="scale(0.816497,1.224744)"
+ x1="379.09573"
+ y1="240.92712"
+ x2="376.79556"
+ y2="281.01636" />
+ <linearGradient
+ xlink:href="#linearGradient167"
+ id="linearGradient1411"
+ gradientUnits="userSpaceOnUse"
+ x1="389.63535"
+ y1="242.28218"
+ x2="387.06866"
+ y2="281.32513"
+ gradientTransform="scale(0.816497,1.224744)" />
+ <linearGradient
+ xlink:href="#linearGradient153"
+ id="linearGradient1413"
+ gradientUnits="userSpaceOnUse"
+ spreadMethod="reflect"
+ x1="437.57941"
+ y1="528.87177"
+ x2="437.57941"
+ y2="394.10361"
+ gradientTransform="scale(0.812855,1.230232)" />
+ <linearGradient
+ xlink:href="#linearGradient153"
+ id="linearGradient1415"
+ gradientUnits="userSpaceOnUse"
+ x1="375.17325"
+ y1="419.78485"
+ x2="377.48541"
+ y2="324.03815"
+ gradientTransform="scale(0.649784,1.538974)" />
+ <linearGradient
+ xlink:href="#linearGradient138"
+ id="linearGradient1417"
+ gradientUnits="userSpaceOnUse"
+ x1="320.75104"
+ y1="498.17776"
+ x2="321.32224"
+ y2="614.50439"
+ gradientTransform="scale(1.074798,0.930408)" />
+ <linearGradient
+ xlink:href="#linearGradient167"
+ id="linearGradient1419"
+ gradientUnits="userSpaceOnUse"
+ x1="322.48257"
+ y1="435.26761"
+ x2="323.2514"
+ y2="488.48251"
+ gradientTransform="scale(1.077001,0.928504)" />
+ <linearGradient
+ xlink:href="#linearGradient167"
+ id="linearGradient1421"
+ gradientUnits="userSpaceOnUse"
+ x1="411.2215"
+ y1="242.94365"
+ x2="411.2215"
+ y2="331.44858"
+ gradientTransform="scale(0.571707,1.749147)" />
+ <linearGradient
+ xlink:href="#linearGradient167"
+ id="linearGradient1423"
+ gradientUnits="userSpaceOnUse"
+ x1="867.34546"
+ y1="234.73897"
+ x2="867.33453"
+ y2="314.83911"
+ gradientTransform="scale(0.572667,1.746214)" />
+ <linearGradient
+ xlink:href="#linearGradient162"
+ id="linearGradient1425"
+ gradientUnits="userSpaceOnUse"
+ x1="236.25362"
+ y1="657.11133"
+ x2="212.5099"
+ y2="737.41229"
+ gradientTransform="scale(1.011514,0.988617)" />
+ <linearGradient
+ xlink:href="#linearGradient153"
+ id="linearGradient1427"
+ gradientUnits="userSpaceOnUse"
+ x1="381.56607"
+ y1="655.73102"
+ x2="279.64313"
+ y2="386.66583"
+ gradientTransform="scale(1.065499,0.938527)" />
+ <linearGradient
+ xlink:href="#linearGradient162"
+ id="linearGradient1429"
+ gradientUnits="userSpaceOnUse"
+ x1="218.11714"
+ y1="630.30475"
+ x2="203.12654"
+ y2="737.8537"
+ gradientTransform="scale(1.009851,0.990245)" />
+ <linearGradient
+ xlink:href="#linearGradient167"
+ id="linearGradient1431"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="scale(1.007724,0.992335)"
+ x1="117.88966"
+ y1="587.23602"
+ x2="182.24524"
+ y2="704.73077" />
+ <linearGradient
+ xlink:href="#linearGradient167"
+ id="linearGradient1433"
+ gradientUnits="userSpaceOnUse"
+ x1="223.10072"
+ y1="570.41809"
+ x2="230.53499"
+ y2="710.97723"
+ gradientTransform="scale(0.999504,1.000496)" />
+ <linearGradient
+ xlink:href="#linearGradient167"
+ id="linearGradient1435"
+ gradientUnits="userSpaceOnUse"
+ x1="316.93988"
+ y1="474.01779"
+ x2="371.60889"
+ y2="582.63507"
+ gradientTransform="scale(1.065499,0.938527)" />
+ <linearGradient
+ xlink:href="#linearGradient162"
+ id="linearGradient1437"
+ gradientUnits="userSpaceOnUse"
+ x1="284.68652"
+ y1="410.46326"
+ x2="285.45923"
+ y2="485.69934"
+ gradientTransform="scale(1.218684,0.820557)" />
+ <linearGradient
+ xlink:href="#linearGradient167"
+ id="linearGradient1439"
+ gradientUnits="userSpaceOnUse"
+ x1="288.82358"
+ y1="398.85422"
+ x2="288.37628"
+ y2="482.55939"
+ gradientTransform="scale(1.221941,0.81837)" />
+ <radialGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient172"
+ id="radialGradient5844"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="scale(1.045233,0.956725)"
+ cx="446.77762"
+ cy="1219.4125"
+ fx="446.77762"
+ fy="1219.4125"
+ r="195.07191" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient153"
+ id="linearGradient5846"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="scale(0.575262,1.738339)"
+ x1="400.57785"
+ y1="369.53015"
+ x2="400.84448"
+ y2="304.07886" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient138"
+ id="linearGradient5848"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="scale(1.116071,0.896001)"
+ x1="303.01761"
+ y1="237.93179"
+ x2="297.0856"
+ y2="330.09561" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient153"
+ id="linearGradient5850"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="scale(0.816497,1.224744)"
+ x1="378.93771"
+ y1="278.60202"
+ x2="380.27319"
+ y2="243.91606" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient153"
+ id="linearGradient5852"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="scale(0.816497,1.224744)"
+ x1="381.38742"
+ y1="277.495"
+ x2="380.5517"
+ y2="245.68338" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient167"
+ id="linearGradient5854"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="scale(0.816497,1.224744)"
+ x1="379.09573"
+ y1="240.92712"
+ x2="376.79556"
+ y2="281.01636" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient167"
+ id="linearGradient5856"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="scale(0.816497,1.224744)"
+ x1="389.63535"
+ y1="242.28218"
+ x2="387.06866"
+ y2="281.32513" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient153"
+ id="linearGradient5858"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="scale(0.812855,1.230232)"
+ spreadMethod="reflect"
+ x1="437.57941"
+ y1="528.87177"
+ x2="437.57941"
+ y2="394.10361" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient153"
+ id="linearGradient5860"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="scale(0.649784,1.538974)"
+ x1="375.17325"
+ y1="419.78485"
+ x2="377.48541"
+ y2="324.03815" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient138"
+ id="linearGradient5862"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="scale(1.074798,0.930408)"
+ x1="320.75104"
+ y1="498.17776"
+ x2="321.32224"
+ y2="614.50439" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient167"
+ id="linearGradient5864"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="scale(1.077001,0.928504)"
+ x1="322.48257"
+ y1="435.26761"
+ x2="323.2514"
+ y2="488.48251" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient167"
+ id="linearGradient5866"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="scale(0.571707,1.749147)"
+ x1="411.2215"
+ y1="242.94365"
+ x2="411.2215"
+ y2="331.44858" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient167"
+ id="linearGradient5868"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="scale(0.572667,1.746214)"
+ x1="867.34546"
+ y1="234.73897"
+ x2="867.33453"
+ y2="314.83911" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient162"
+ id="linearGradient5870"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="scale(1.011514,0.988617)"
+ x1="236.25362"
+ y1="657.11133"
+ x2="212.5099"
+ y2="737.41229" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient153"
+ id="linearGradient5872"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="scale(1.065499,0.938527)"
+ x1="381.56607"
+ y1="655.73102"
+ x2="279.64313"
+ y2="386.66583" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient162"
+ id="linearGradient5874"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="scale(1.009851,0.990245)"
+ x1="218.11714"
+ y1="630.30475"
+ x2="203.12654"
+ y2="737.8537" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient167"
+ id="linearGradient5876"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="scale(1.007724,0.992335)"
+ x1="117.88966"
+ y1="587.23602"
+ x2="182.24524"
+ y2="704.73077" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient167"
+ id="linearGradient5878"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="scale(0.999504,1.000496)"
+ x1="223.10072"
+ y1="570.41809"
+ x2="230.53499"
+ y2="710.97723" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient167"
+ id="linearGradient5880"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="scale(1.065499,0.938527)"
+ x1="316.93988"
+ y1="474.01779"
+ x2="371.60889"
+ y2="582.63507" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient162"
+ id="linearGradient5882"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="scale(1.218684,0.820557)"
+ x1="284.68652"
+ y1="410.46326"
+ x2="285.45923"
+ y2="485.69934" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient167"
+ id="linearGradient5884"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="scale(1.221941,0.81837)"
+ x1="288.82358"
+ y1="398.85422"
+ x2="288.37628"
+ y2="482.55939" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient167"
+ id="linearGradient5936"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(6.8689234e-2,-0.4008691,0.3415516,4.336381e-2,-313.66484,483.36861)"
+ x1="316.93988"
+ y1="474.01779"
+ x2="371.60889"
+ y2="582.63507" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient153"
+ id="linearGradient5949"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(0.6373879,0.286176,-0.2248927,0.5792711,-190.14391,-154.55792)"
+ x1="381.56607"
+ y1="655.73102"
+ x2="279.64313"
+ y2="386.66583" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient153"
+ id="linearGradient5992"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(-0.9649387,-1.2915552e-2,-3.6719978e-2,2.5569228,169.00168,-594.11178)"
+ x1="400.57785"
+ y1="369.53015"
+ x2="400.84448"
+ y2="304.07886" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient167"
+ id="linearGradient6820"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(0.1593287,2.2594958e-2,6.8898041e-2,-0.4858355,313.34561,293.76431)"
+ x1="867.34546"
+ y1="234.73897"
+ x2="867.33453"
+ y2="314.83911" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient167"
+ id="linearGradient6824"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(-0.184254,-0.3061768,0.2434767,-0.1724949,439.82488,377.41134)"
+ x1="294.40485"
+ y1="481.32233"
+ x2="371.60889"
+ y2="582.63507" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient167"
+ id="linearGradient2514"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(7.6104436e-3,-0.1875898,0.5720113,2.3206217e-2,1167.6399,-164.81318)"
+ x1="892.69696"
+ y1="258.28925"
+ x2="564.89618"
+ y2="281.90463" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient167"
+ id="linearGradient2517"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(0.2316272,0.2342907,0.7144146,-0.7062927,960.97808,-166.19015)"
+ x1="867.34546"
+ y1="234.73897"
+ x2="867.33453"
+ y2="314.83911" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient167"
+ id="linearGradient2520"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(0.7672384,0,0,0.4874752,936.37068,-466.38275)"
+ x1="288.82358"
+ y1="398.85422"
+ x2="288.37628"
+ y2="482.55939" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient162"
+ id="linearGradient2524"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(1.523355,0,0,1.0256962,729.45868,-685.70504)"
+ x1="284.68652"
+ y1="410.46326"
+ x2="285.45923"
+ y2="485.69934" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient167"
+ id="linearGradient2527"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(1.0038119,-5.2260066e-2,-1.740863e-2,1.0462687,788.19568,-546.66535)"
+ x1="223.10072"
+ y1="570.41809"
+ x2="230.53499"
+ y2="710.97723" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient167"
+ id="linearGradient2530"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(-0.9523959,0.3464001,0.4208255,0.9487298,1258.3327,-582.54204)"
+ x1="117.88966"
+ y1="587.23602"
+ x2="182.24524"
+ y2="704.73077" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient162"
+ id="linearGradient2533"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(-1.1800109,0.4273134,0.4706466,1.1534176,1272.3477,-732.02104)"
+ x1="218.11714"
+ y1="630.30475"
+ x2="203.12654"
+ y2="737.8537" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient162"
+ id="linearGradient2536"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(1.2643925,0,0,1.2357712,729.45868,-685.70504)"
+ x1="236.25362"
+ y1="657.11133"
+ x2="212.5099"
+ y2="737.41229" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient6810"
+ id="linearGradient2539"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(0.599201,7.9485483e-2,-0.2318863,1.9097465,860.80461,-630.61189)"
+ x1="855.06372"
+ y1="238.8383"
+ x2="871.15576"
+ y2="315.45914" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient167"
+ id="linearGradient2545"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(1.2781848,0,0,0.990788,754.62768,-618.27804)"
+ x1="322.48257"
+ y1="435.26761"
+ x2="323.2514"
+ y2="488.48251" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient138"
+ id="linearGradient2548"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(1.3994837,0,0,1.1399824,714.04668,-671.75704)"
+ x1="320.75104"
+ y1="498.17776"
+ x2="321.32224"
+ y2="614.50439" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient153"
+ id="linearGradient2555"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(1.0160687,0,0,1.53779,729.45868,-686.43004)"
+ spreadMethod="reflect"
+ x1="437.57941"
+ y1="528.87177"
+ x2="437.57941"
+ y2="394.10361" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient167"
+ id="linearGradient2558"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(0.2914159,-3.3330306e-2,5.0610341e-2,0.4881144,1003.9662,-404.72726)"
+ x1="389.63535"
+ y1="242.28218"
+ x2="387.06866"
+ y2="281.32513" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient167"
+ id="linearGradient2561"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(-0.3921823,-2.9764582e-2,-5.7310058e-2,0.5824956,1376.4784,-428.91032)"
+ x1="379.09573"
+ y1="240.92712"
+ x2="376.79556"
+ y2="281.01636" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient153"
+ id="linearGradient2566"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(-1.4785291,4.0425338e-2,3.8864067e-2,1.9024316,1751.4647,-802.97704)"
+ x1="381.38742"
+ y1="277.495"
+ x2="380.5517"
+ y2="245.68338" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient153"
+ id="linearGradient2569"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(1.0650795,-6.1672141e-2,9.4458503e-2,1.6443046,688.76168,-695.81704)"
+ x1="378.93771"
+ y1="278.60202"
+ x2="380.27319"
+ y2="243.91606" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient138"
+ id="linearGradient2572"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(1.4132361,-7.9650304e-2,-4.1197678e-2,1.0713842,746.14768,-643.96104)"
+ x1="303.01761"
+ y1="237.93179"
+ x2="297.0856"
+ y2="330.09561" />
+ <radialGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient172"
+ id="radialGradient2577"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(1.4818268,0,0,0.3967969,505.21028,-296.00604)"
+ cx="446.77762"
+ cy="1219.4125"
+ fx="446.77762"
+ fy="1219.4125"
+ r="195.07191" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient167"
+ id="linearGradient3353"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(-7.6104436e-3,-0.1875898,-0.5720113,2.3206217e-2,1186.0942,-162.08752)"
+ x1="892.69696"
+ y1="258.28925"
+ x2="564.89618"
+ y2="281.90463" />
+ <radialGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient172"
+ id="radialGradient3411"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(1.4818268,0,0,0.3967969,-359.87341,176.94177)"
+ cx="446.77762"
+ cy="1219.4125"
+ fx="446.77762"
+ fy="1219.4125"
+ r="195.07191" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient138"
+ id="linearGradient3413"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(1.4132361,-7.9650304e-2,-4.1197678e-2,1.0713842,-118.936,-171.0132)"
+ x1="303.01761"
+ y1="237.93179"
+ x2="297.0856"
+ y2="330.09561" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient153"
+ id="linearGradient3415"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(1.0650795,-6.1672141e-2,9.4458503e-2,1.6443046,-176.32201,-222.8692)"
+ x1="378.93771"
+ y1="278.60202"
+ x2="380.27319"
+ y2="243.91606" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient153"
+ id="linearGradient3417"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(-1.4785291,4.0425338e-2,3.8864067e-2,1.9024316,886.38099,-330.0292)"
+ x1="381.38742"
+ y1="277.495"
+ x2="380.5517"
+ y2="245.68338" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient167"
+ id="linearGradient3419"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(-0.3921823,-2.9764582e-2,-5.7310058e-2,0.5824956,511.39472,44.037525)"
+ x1="379.09573"
+ y1="240.92712"
+ x2="376.79556"
+ y2="281.01636" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient167"
+ id="linearGradient3421"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(0.2914159,-3.3330306e-2,5.0610341e-2,0.4881144,138.88252,68.220525)"
+ x1="389.63535"
+ y1="242.28218"
+ x2="387.06866"
+ y2="281.32513" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient153"
+ id="linearGradient3423"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(1.0160687,0,0,1.53779,-135.62501,-213.4822)"
+ spreadMethod="reflect"
+ x1="437.57941"
+ y1="528.87177"
+ x2="437.57941"
+ y2="394.10361" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient153"
+ id="linearGradient3425"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(0.9027839,-7.2174108e-2,0.1573001,2.0039596,-212.66601,-211.1902)"
+ x1="375.17325"
+ y1="419.78485"
+ x2="377.48541"
+ y2="324.03815" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient138"
+ id="linearGradient3427"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(1.3994837,0,0,1.1399824,-151.03701,-198.8092)"
+ x1="320.75104"
+ y1="498.17776"
+ x2="321.32224"
+ y2="614.50439" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient167"
+ id="linearGradient3429"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(1.2781848,0,0,0.990788,-110.456,-145.33018)"
+ x1="322.48257"
+ y1="435.26761"
+ x2="323.2514"
+ y2="488.48251" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient167"
+ id="linearGradient3431"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(0.7146338,0,0,2.1864338,-135.62501,-212.7572)"
+ x1="411.2215"
+ y1="242.94365"
+ x2="411.2215"
+ y2="331.44858" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient6810"
+ id="linearGradient3433"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(0.599201,7.9485483e-2,-0.2318863,1.9097465,10.90312,-180.4374)"
+ x1="855.06372"
+ y1="238.8383"
+ x2="871.15576"
+ y2="315.45914" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient162"
+ id="linearGradient3435"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(1.2643925,0,0,1.2357712,-135.62501,-212.7572)"
+ x1="236.25362"
+ y1="657.11133"
+ x2="212.5099"
+ y2="737.41229" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient162"
+ id="linearGradient3437"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(-1.1800109,0.4273134,0.4706466,1.1534176,407.26399,-259.0732)"
+ x1="218.11714"
+ y1="630.30475"
+ x2="203.12654"
+ y2="737.8537" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient167"
+ id="linearGradient3439"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(-0.9523959,0.3464001,0.4208255,0.9487298,393.24899,-109.59418)"
+ x1="117.88966"
+ y1="587.23602"
+ x2="182.24524"
+ y2="704.73077" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient167"
+ id="linearGradient3441"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(1.0038119,-5.2260066e-2,-1.740863e-2,1.0462687,-76.888003,-73.717475)"
+ x1="223.10072"
+ y1="570.41809"
+ x2="230.53499"
+ y2="710.97723" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient162"
+ id="linearGradient3443"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(1.523355,0,0,1.0256962,-135.62501,-212.7572)"
+ x1="284.68652"
+ y1="410.46326"
+ x2="285.45923"
+ y2="485.69934" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient167"
+ id="linearGradient3445"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(0.7672384,0,0,0.4874752,71.286992,6.5651249)"
+ x1="288.82358"
+ y1="398.85422"
+ x2="288.37628"
+ y2="482.55939" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient167"
+ id="linearGradient3447"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(0.2316272,0.2342907,0.7144146,-0.7062927,95.894394,306.75766)"
+ x1="867.34546"
+ y1="234.73897"
+ x2="867.33453"
+ y2="314.83911" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient167"
+ id="linearGradient3449"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(7.6104436e-3,-0.1875898,0.5720113,2.3206217e-2,302.55621,308.13463)"
+ x1="892.69696"
+ y1="258.28925"
+ x2="564.89618"
+ y2="281.90463" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient167"
+ id="linearGradient3455"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(-0.1449278,0.2958704,-0.9021871,-0.4419231,1401.2488,-283.33537)"
+ x1="867.34546"
+ y1="234.73897"
+ x2="867.33453"
+ y2="314.83911" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient6810"
+ id="linearGradient3459"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(-0.6037841,2.836597e-2,6.9037787e-2,1.9225339,1538.2922,-593.33926)"
+ x1="855.06372"
+ y1="238.8383"
+ x2="871.15576"
+ y2="315.45914" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient167"
+ id="linearGradient5957"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(7.6104436e-3,-0.1875898,0.5720113,2.3206217e-2,313.36793,291.43423)"
+ x1="892.69696"
+ y1="258.28925"
+ x2="564.89618"
+ y2="281.90463" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient167"
+ id="linearGradient5960"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(0.2316272,0.2342907,0.7144146,-0.7062927,95.894394,306.75766)"
+ x1="867.34546"
+ y1="234.73897"
+ x2="867.33453"
+ y2="314.83911" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient167"
+ id="linearGradient5963"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(0.7672384,0,0,0.4874752,71.286992,6.5651249)"
+ x1="288.82358"
+ y1="398.85422"
+ x2="288.37628"
+ y2="482.55939" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient162"
+ id="linearGradient5967"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(1.523355,0,0,1.0256962,-135.62501,-212.7572)"
+ x1="284.68652"
+ y1="410.46326"
+ x2="285.45923"
+ y2="485.69934" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient167"
+ id="linearGradient5970"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(1.0038119,-5.2260066e-2,-1.740863e-2,1.0462687,-76.888003,-73.717475)"
+ x1="223.10072"
+ y1="570.41809"
+ x2="230.53499"
+ y2="710.97723" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient167"
+ id="linearGradient5973"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(-0.9523959,0.3464001,0.4208255,0.9487298,393.24899,-109.59418)"
+ x1="117.88966"
+ y1="587.23602"
+ x2="182.24524"
+ y2="704.73077" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient162"
+ id="linearGradient5976"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(-1.1800109,0.4273134,0.4706466,1.1534176,407.26399,-259.0732)"
+ x1="218.11714"
+ y1="630.30475"
+ x2="203.12654"
+ y2="737.8537" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient162"
+ id="linearGradient5979"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(1.2643925,0,0,1.2357712,-135.62501,-212.7572)"
+ x1="236.25362"
+ y1="657.11133"
+ x2="212.5099"
+ y2="737.41229" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient6810"
+ id="linearGradient5982"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(0.599201,7.9485483e-2,-0.2318863,1.9097465,10.90312,-180.4374)"
+ x1="855.06372"
+ y1="238.8383"
+ x2="871.15576"
+ y2="315.45914" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient167"
+ id="linearGradient5985"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(0.7146338,0,0,2.1864338,-135.62501,-212.7572)"
+ x1="411.2215"
+ y1="242.94365"
+ x2="411.2215"
+ y2="331.44858" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient167"
+ id="linearGradient5988"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(1.2781848,0,0,0.990788,-110.456,-145.33018)"
+ x1="322.48257"
+ y1="435.26761"
+ x2="323.2514"
+ y2="488.48251" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient138"
+ id="linearGradient5991"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(1.3994837,0,0,1.1399824,-151.03701,-198.8092)"
+ x1="320.75104"
+ y1="498.17776"
+ x2="321.32224"
+ y2="614.50439" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient153"
+ id="linearGradient5995"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(0.9027839,-7.2174108e-2,0.1573001,2.0039596,-212.66601,-211.1902)"
+ x1="375.17325"
+ y1="419.78485"
+ x2="377.48541"
+ y2="324.03815" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient153"
+ id="linearGradient5998"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(1.0160687,0,0,1.53779,-135.62501,-213.4822)"
+ spreadMethod="reflect"
+ x1="437.57941"
+ y1="528.87177"
+ x2="437.57941"
+ y2="394.10361" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient167"
+ id="linearGradient6001"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(0.2914159,-3.3330306e-2,5.0610341e-2,0.4881144,138.88252,68.220525)"
+ x1="389.63535"
+ y1="242.28218"
+ x2="387.06866"
+ y2="281.32513" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient167"
+ id="linearGradient6004"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(-0.3921823,-2.9764582e-2,-5.7310058e-2,0.5824956,511.39472,44.037525)"
+ x1="379.09573"
+ y1="240.92712"
+ x2="376.79556"
+ y2="281.01636" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient153"
+ id="linearGradient6009"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(-1.4785291,4.0425338e-2,3.8864067e-2,1.9024316,886.38099,-330.0292)"
+ x1="381.38742"
+ y1="277.495"
+ x2="380.5517"
+ y2="245.68338" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient153"
+ id="linearGradient6012"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(1.0650795,-6.1672141e-2,9.4458503e-2,1.6443046,-176.32201,-222.8692)"
+ x1="378.93771"
+ y1="278.60202"
+ x2="380.27319"
+ y2="243.91606" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient138"
+ id="linearGradient6015"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(1.4132361,-7.9650304e-2,-4.1197678e-2,1.0713842,-118.936,-171.0132)"
+ x1="303.01761"
+ y1="237.93179"
+ x2="297.0856"
+ y2="330.09561" />
+ <radialGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient172"
+ id="radialGradient6020"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(1.4818268,0,0,0.3967969,-359.87341,176.94177)"
+ cx="446.77762"
+ cy="1219.4125"
+ fx="446.77762"
+ fy="1219.4125"
+ r="195.07191" />
+ </defs>
+ <g
+ id="g6022">
+ <path
+ d="M 591.23603,660.80083 C 591.23603,703.54984 461.81827,738.20477 302.17337,738.20477 C 142.52846,738.20477 13.110708,703.54984 13.110708,660.80083 C 13.110708,618.05182 142.52846,583.39691 302.17337,583.39691 C 461.81827,583.39691 591.23603,618.05182 591.23603,660.80083 z"
+ id="path3355"
+ style="fill:url(#radialGradient6020);stroke:none;stroke-width:1pt;stroke-linecap:butt;stroke-linejoin:miter" />
+ <path
+ sodipodi:nodetypes="ccccccccc"
+ id="path3357"
+ d="M 143.90874,577.54277 C 115.92374,537.26402 110.46624,406.31277 175.76749,325.75527 C 208.12499,287.10777 216.37999,260.17402 218.93124,224.01402 C 220.66749,182.79027 189.77499,59.711525 306.28499,50.334025 C 424.29249,40.919025 417.95499,157.40902 417.27624,219.05277 C 416.71249,271.10277 419.0565,276.31252 445.584,316.88002 C 494.68275,391.41752 526.96749,544.04652 472.77249,613.51152 C 404.12624,700.47152 345.33124,662.75902 306.28499,665.92402 C 233.16874,669.92652 230.75124,708.91277 143.90874,577.54277 z"
+ style="fill:#000000;stroke:none;stroke-width:1.25" />
+ <path
+ sodipodi:nodetypes="cssccc"
+ id="path3359"
+ d="M 437.66398,210.61794 C 450.11848,228.11403 483.19457,249.41586 502.10694,275.91451 C 521.01932,302.41316 477.73746,333.2079 443.1675,314.23928 C 417.44041,300.12277 444.25181,384.39183 467.34598,377.01641 C 614.65479,312.95238 492.4139,250.78608 485.61266,191.90909 C 540.40451,67.355773 400.47822,152.79209 437.66398,210.61794 z"
+ style="fill:#000000;stroke:#000000;stroke-width:1.5625006" />
+ <path
+ d="M 375.15201,109.16012 C 373.96198,140.10802 339.90409,167.06128 299.08159,169.36204 C 258.25909,171.66281 226.13061,148.43982 227.32064,117.49192 C 228.51067,86.544125 262.56856,59.590825 303.39106,57.290125 C 344.21356,54.989325 376.34204,78.212325 375.15201,109.16012 z"
+ id="path3361"
+ style="fill:url(#linearGradient6015);stroke:none;stroke-width:1.26498997" />
+ <path
+ d="M 277.39315,182.77455 C 278.54881,202.89182 268.92216,219.81175 255.89144,220.56628 C 242.86071,221.3208 231.36038,205.62421 230.20473,185.50694 C 229.04907,165.38967 238.67572,148.46972 251.70644,147.71522 C 264.73717,146.96072 276.2375,162.65728 277.39315,182.77455 z"
+ id="path3363"
+ style="fill:url(#linearGradient6012);stroke:none;stroke-width:1.17873001" />
+ <path
+ d="M 301.04358,184.3151 C 301.51907,207.59043 316.56861,226.05786 334.65769,225.56328 C 352.74677,225.06869 367.02541,205.79938 366.54992,182.52405 C 366.07444,159.24872 351.02489,140.78132 332.93581,141.27592 C 314.84674,141.77042 300.5681,161.03977 301.04358,184.3151 z"
+ id="path3365"
+ style="fill:url(#linearGradient6009);stroke:none;stroke-width:0.93138498" />
+ <path
+ d="M 331.21231,191.85453 C 330.93912,204.63094 337.38392,215.00253 345.60719,215.02013 C 353.83046,215.03772 360.7182,204.69466 360.99139,191.91824 C 361.26458,179.14182 354.81978,168.77023 346.59651,168.75264 C 338.37324,168.73505 331.4855,179.07811 331.21231,191.85453 z"
+ id="path3367"
+ style="fill:#000000;stroke:none;stroke-width:1.86495996" />
+ <path
+ d="M 273.01381,188.19365 C 274.04499,198.77003 270.0676,207.92934 264.13008,208.65153 C 258.19256,209.37373 252.54331,201.38533 251.51214,190.80895 C 250.48097,180.23257 254.45835,171.07326 260.39587,170.35107 C 266.33339,169.62887 271.98264,177.61727 273.01381,188.19365 z"
+ id="path3369"
+ style="fill:#000000;stroke:none;stroke-width:2.39814997" />
+ <path
+ d="M 338.4302,184.54815 C 337.72904,191.6747 341.05031,197.74711 345.84847,198.11127 C 350.64663,198.47542 355.10471,192.99342 355.80587,185.86687 C 356.50703,178.74032 353.18576,172.6679 348.3876,172.30374 C 343.58944,171.93959 339.13136,177.42159 338.4302,184.54815 z"
+ id="path3371"
+ style="fill:url(#linearGradient6004);stroke:none;stroke-width:3.1916101" />
+ <path
+ d="M 269.50703,182.58574 C 270.12623,188.55758 267.73791,193.72929 264.17258,194.13707 C 260.60725,194.54485 257.21502,190.03429 256.59583,184.06244 C 255.97663,178.0906 258.36495,172.91889 261.93028,172.51111 C 265.49561,172.10333 268.88784,176.6139 269.50703,182.58574 z"
+ id="path3373"
+ style="fill:url(#linearGradient6001);stroke:none;stroke-width:4.12025976" />
+ <path
+ id="path3375"
+ d="M 187.75249,405.79902 C 203.79749,369.42027 237.89499,305.51652 238.62124,256.10152 C 238.62124,216.79902 356.34499,207.41277 365.79249,246.65402 C 375.23999,285.89527 399.21874,344.75777 414.47999,373.09902 C 429.73999,401.43902 474.24124,491.46777 426.83499,570.03152 C 384.13874,639.58652 254.67874,694.61402 185.57249,560.58527 C 162.31874,514.07652 166.46624,456.44152 187.75249,405.79902 z"
+ style="fill:url(#linearGradient5998);stroke:none;stroke-width:1.25" />
+ <path
+ id="path3377"
+ d="M 173.24559,378.8028 C 159.53586,404.75152 131.00745,472.99595 200.53857,510.33418 C 275.38701,549.97538 275.02711,631.56055 185.18731,592.7418 C 103.05444,557.65452 139.36496,415.87304 162.33593,381.94969 C 177.39745,358.18988 199.98644,329.10722 173.24559,378.8028 z"
+ style="fill:url(#linearGradient5995);stroke:none;stroke-width:1.15804005" />
+ <path
+ id="path3379"
+ d="M 185.01624,349.39277 C 163.18499,385.02777 110.79499,469.15902 180.90624,512.79652 C 275.36749,570.74027 248.62249,628.68527 162.40749,576.51402 C 41.021247,503.68402 147.62624,356.99402 196.32124,301.09152 C 251.87624,238.34152 207.01374,312.45027 185.01624,349.39277 z"
+ style="fill:#000000;stroke:#000000;stroke-width:1.5625" />
+ <path
+ id="path3381"
+ d="M 397.76919,419.60753 C 397.76919,459.32033 359.65441,510.90826 294.21657,510.44511 C 226.73185,511.0026 197.92832,459.32033 197.92832,419.60753 C 197.92832,379.89472 242.69287,347.66452 297.8494,347.66452 C 353.00463,347.66452 397.76919,379.89472 397.76919,419.60753 z"
+ style="font-size:12px;fill:url(#linearGradient5991);stroke:none;stroke-width:1.23705006;stroke-dasharray:none" />
+ <path
+ id="path3383"
+ d="M 362.15979,294.61832 C 361.43347,335.77773 334.64977,345.48709 300.75476,345.48709 C 266.85857,345.48709 242.25502,339.41113 239.34854,294.61832 C 239.34854,266.53917 266.85857,250.28968 300.75476,250.28968 C 334.64977,250.28968 362.15979,266.53917 362.15979,294.61832 z"
+ style="font-size:12px;fill:url(#linearGradient5988);stroke:none;stroke-width:1.38846004;stroke-dasharray:none" />
+ <path
+ id="path3385"
+ d="M 157.23124,357.83652 C 179.37624,324.09152 225.99999,272.38152 165.95249,365.10277 C 117.26374,441.40652 147.94874,490.44402 163.77249,503.90152 C 209.43124,544.60402 207.47999,571.83777 171.76624,550.40902 C 94.734994,504.62652 110.72249,427.59902 157.23124,357.83652 z"
+ style="fill:url(#linearGradient5985);stroke:none;stroke-width:1.25" />
+ <path
+ id="path3387"
+ d="M 462.21568,398.96909 C 450.39659,362.17304 409.96999,267.68577 467.11982,378.94676 C 519.1881,479.53006 466.98563,537.85433 458.30537,543.16377 C 449.62629,548.47226 421.31707,557.63765 431.92723,536.4342 C 442.53632,515.23062 487.08834,478.21682 462.21568,398.96909 z"
+ style="fill:url(#linearGradient5982);fill-opacity:1;stroke:none;stroke-width:1.25" />
+ <path
+ id="path3389"
+ d="M 140.51874,683.39402 C 89.966244,656.62402 16.453747,688.54902 43.141247,615.81152 C 48.486247,599.26402 35.172497,574.55152 43.867497,558.40402 C 54.041247,538.78152 75.842494,543.14277 88.923744,530.06152 C 101.82124,516.44777 109.99749,493.00027 133.97874,496.63402 C 157.95874,500.26777 173.90999,529.71027 190.65874,565.67027 C 203.01249,591.46777 246.83499,627.75027 243.97124,656.61777 C 240.60124,700.99277 190.18749,709.35527 140.51874,683.39402 z"
+ style="fill:url(#linearGradient5979);stroke:#e68c3f;stroke-width:7.8125" />
+ <path
+ id="path3391"
+ d="M 491.31808,670.91489 C 528.39675,625.95042 610.70818,635.17384 555.19701,573.52225 C 543.452,560.30492 546.95774,531.65049 532.68995,519.54726 C 515.71854,504.70652 496.99731,516.87766 479.79512,509.11645 C 462.56223,500.79684 444.55058,484.62292 423.51456,496.12697 C 402.4797,507.6306 400.21642,537.55836 398.23263,576.73647 C 396.49323,604.95714 370.77728,652.14775 384.4305,678.07775 C 404.45332,718.28664 455.96509,712.96302 491.31808,670.91489 z"
+ style="fill:url(#linearGradient5976);stroke:#e68c3f;stroke-width:7.81249762" />
+ <path
+ id="path3393"
+ d="M 475.19239,610.80964 C 532.58685,526.08884 489.81056,526.70588 475.48217,520.29802 C 461.11206,513.43236 445.8707,500.12629 428.97182,509.5003 C 412.07389,518.87396 411.10688,543.40025 410.64335,575.50997 C 410.05505,598.63832 390.69247,637.08007 402.33826,658.54446 C 416.30733,683.56395 450.20934,647.22527 475.19239,610.80964 z"
+ style="fill:url(#linearGradient5973);stroke:none;stroke-width:1.52532005" />
+ <path
+ id="path3395"
+ d="M 128.7701,623.00924 C 42.866706,567.39983 83.051524,548.52024 96.092064,539.78558 C 111.73042,528.58358 111.85185,506.75151 131.06896,508.78839 C 150.28506,510.82534 161.47212,534.4833 174.42831,563.86686 C 183.9948,584.9323 216.82272,612.77142 214.47562,637.07862 C 211.37663,665.56569 165.98235,646.7897 128.7701,623.00924 z"
+ style="fill:url(#linearGradient5970);stroke:none;stroke-width:1.52532005" />
+ <path
+ id="path3397"
+ d="M 251.81749,210.65402 C 260.75124,202.19152 282.83124,176.82152 324.26874,203.46027 C 331.97124,208.47277 338.22124,208.93152 353.04499,215.27902 C 382.70249,227.46527 368.52249,256.85277 337.11499,266.66402 C 323.66749,271.02527 311.44499,287.35902 286.95374,285.96277 C 266.03624,284.74152 260.55499,271.12027 247.70624,263.58027 C 224.86999,250.69152 221.49999,233.26277 233.83124,224.01402 C 246.16374,214.76527 250.98749,211.44027 251.81749,210.65402 z"
+ style="fill:url(#linearGradient5967);stroke:#e68c3f;stroke-width:4.6875" />
+ <path
+ id="path3399"
+ d="M 353.43874,234.29902 C 341.08499,235.02527 314.19749,261.91277 285.85624,261.91277 C 257.51499,261.91277 240.80124,235.75152 236.44124,235.75152"
+ style="fill:none;stroke:#e68c3f;stroke-width:3.125" />
+ <path
+ id="path3401"
+ d="M 265.90246,208.33442 C 270.38995,204.30176 284.54499,193.23548 303.31687,204.56504 C 307.27192,206.80832 311.35631,209.24996 317.43047,212.58509 C 329.462,219.58298 323.50274,229.6676 309.08839,236.04837 C 302.54708,238.72589 291.76316,244.6349 283.55168,244.22151 C 274.42662,243.38281 268.52325,237.43151 262.47546,233.55551 C 251.38073,226.22703 252.05445,220.30969 257.20813,215.38293 C 261.10416,212.00015 265.48554,208.70909 265.90246,208.33442 z"
+ style="fill:url(#linearGradient5963);stroke:none" />
+ <path
+ sodipodi:nodetypes="ccscc"
+ id="path3403"
+ d="M 485.62558,318.40009 C 470.31375,326.6082 417.68681,322.14515 480.02902,326.05185 C 529.45102,323.13335 535.62952,273.72084 534.95116,268.27709 C 534.2728,262.83418 518.48464,252.49699 513.21723,263.8189 C 507.9494,275.14041 526.70967,304.0309 485.62558,318.40009 z"
+ style="fill:url(#linearGradient5960);stroke:none;stroke-width:1.25" />
+ <path
+ sodipodi:nodetypes="ccscc"
+ id="path3405"
+ d="M 473.26296,135.03602 C 463.66338,137.45706 448.44209,148.26182 466.22252,134.32762 C 494.98909,121.13922 505.82847,135.59547 486.85683,175.63681 C 482.71091,184.38715 460.74905,201.85561 454.18436,199.10941 C 500.29783,163.55611 496.08175,126.83432 473.26296,135.03602 z"
+ style="fill:url(#linearGradient5957);stroke:none;stroke-width:1.25" />
+ </g>
+</svg>
diff --git a/public/library/TCPDF/examples/index.php b/public/library/TCPDF/examples/index.php
new file mode 100644
index 0000000..7512523
--- /dev/null
+++ b/public/library/TCPDF/examples/index.php
@@ -0,0 +1,115 @@
+<?php
+echo '<'.'?'.'xml version="1.0" encoding="UTF-8"'.'?'.'>';
+?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
+
+<head>
+<title>TCPDF Examples</title>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<meta name="description" content="TCPDF is a PHP class for generating PDF documents on the fly" />
+<meta name="author" content="Nicola Asuni" />
+<meta name="keywords" content="Examples, TCPDF, PDF, PHP class" />
+</head>
+
+<body>
+
+<h1>TCPDF Examples</h1>
+
+<h2>PDF</h2>
+
+<ol>
+<li>Simple PDF with default Header and Footer: [<a href="example_001.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
+<li>Simple PDF without Header and Footer: [<a href="example_002.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
+<li>Custom Header and Footer: [<a href="example_003.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
+<li>Cell stretching: [<a href="example_004.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
+<li>Multicell: [<a href="example_005.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
+<li>WriteHTML and RTL support: [<a href="example_006.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
+<li>Independent columns with WriteHTMLCell: [<a href="example_007.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
+<li>External UTF-8 text file: [<a href="example_008.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
+<li>Image: [<a href="example_009.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
+<li>Multiple columns: [<a href="example_010.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
+<li>Colored Tables: [<a href="example_011.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
+<li>Graphic Functions: [<a href="example_012.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
+<li>Graphic Transformations: [<a href="example_013.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
+<li>Javascript and Forms: [<a href="example_014.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
+<li>Bookmarks (Table of Content): [<a href="example_015.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
+<li>Document Encryption: [<a href="example_016.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
+<li>Independent columns with MultiCell: [<a href="example_017.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
+<li>Persian and Arabic language on RTL document: [<a href="example_018.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
+<li>Non unicode / Alternative config file: [<a href="example_019.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
+<li>Multicell complex alignment: [<a href="example_020.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
+<li>writeHTML alignment: [<a href="example_021.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
+<li>CMYK colors: [<a href="example_022.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
+<li>Page Groups: [<a href="example_023.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
+<li>Object Visibility and Layers: [<a href="example_024.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
+<li>Object Transparency: [<a href="example_025.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
+<li>Text Rendering Modes and Text Clipping: [<a href="example_026.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
+<li>1D Barcodes: [<a href="example_027.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
+<li>Multiple page formats: [<a href="example_028.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
+<li>Set PDF viewer display preferences: [<a href="example_029.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
+<li>Colour gradients: [<a href="example_030.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
+<li>Pie Chart Graphic: [<a href="example_031.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
+<li>EPS/AI vectorial image: [<a href="example_032.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
+<li>Mixed font types (TrueType Unicode, core, CID-0): [<a href="example_033.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
+<li>Clipping masks: [<a href="example_034.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
+<li>Line styles with cells and multicells: [<a href="example_035.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
+<li>Text Annotations: [<a href="example_036.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
+<li>Spot Colors: [<a href="example_037.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
+<li>NON-embedded CID-0 CJK font: [<a href="example_038.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
+<li>HTML Justification: [<a href="example_039.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
+<li>Booklet (double-sided pages): [<a href="example_040.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
+<li>File attachment: [<a href="example_041.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
+<li>Image with Alpha Channel Transparency: [<a href="example_042.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
+<li>Disk caching: [<a href="example_043.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
+<li>Move, Copy and Delete page: [<a href="example_044.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
+<li>Table Of Content with Bookmarks: [<a href="example_045.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
+<li>Text hyphenation: [<a href="example_046.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
+<li>Transactions and UNDO: [<a href="example_047.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
+<li>Table header and rowspan: [<a href="example_048.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
+<li>TCPDF methods in HTML: [<a href="example_049.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
+<li>2D Barcode (QR-Code, Datamatrix ECC200 and PDF417): [<a href="example_050.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
+<li>Full page background: [<a href="example_051.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
+<li>Digital Signature Certification: [<a href="example_052.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
+<li>Javascript functions: [<a href="example_053.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
+<li>XHTML Form: [<a href="example_054.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
+<li>Font Dump: [<a href="example_055.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
+<li>Crop Marks and Registration Marks: [<a href="example_056.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
+<li>Cell vertical alignments and borders: [<a href="example_057.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
+<li>SVG Image: [<a href="example_058.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
+<li>Table Of Content with HTML templates: [<a href="example_059.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
+<li>Advanced page settings: [<a href="example_060.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
+<li>XHTML + CSS: [<a href="example_061.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
+<li>XObject Templates: [<a href="example_062.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
+<li>Text stretching and spacing (tracking/kerning): [<a href="example_063.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
+<li>No-write page regions: [<a href="example_064.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
+<li>PDF/A-1b (ISO 19005-1:2005) document: [<a href="example_065.php" title="PDF [new window]" target="_blank">PDF</a>]</li>
+</ol>
+
+<h2>Barcodes</h2>
+
+<ol>
+<li>1D barcode HTML format [<a href="barcodes/example_1d_html.php" title="1D barcode [HTML] [new window]" target="_blank">HTML</a>]</li>
+<li>1D barcode PNG format [<a href="barcodes/example_1d_png.php" title="1D barcode [PNG] [new window]" target="_blank">PNG</a>]</li>
+<li>1D barcode SVG format [<a href="barcodes/example_1d_svg.php" title="1D barcode [SVG] [new window]" target="_blank">SVG</a>]</li>
+<li>1D barcode SVG INLINE format [<a href="barcodes/example_1d_svgi.php" title="1D barcode [SVGI] [new window]" target="_blank">SVG INLINE</a>]</li>
+
+<li>2D datamatrix barcode HTML format [<a href="barcodes/example_2d_datamatrix_html.php" title="2D datamatrix barcode [HTML] [new window]" target="_blank">HTML</a>]</li>
+<li>2D datamatrix barcode PNG format [<a href="barcodes/example_2d_datamatrix_png.php" title="2D datamatrix barcode [PNG] [new window]" target="_blank">PNG</a>]</li>
+<li>2D datamatrix barcode SVG format [<a href="barcodes/example_2d_datamatrix_svg.php" title="2D datamatrix barcode [SVG] [new window]" target="_blank">SVG</a>]</li>
+<li>2D datamatrix barcode SVG INLINE format [<a href="barcodes/example_2d_datamatrix_svgi.php" title="2D datamatrix barcode [SVGI] [new window]" target="_blank">SVG INLINE</a>]</li>
+
+<li>2D pdf417 barcode HTML format [<a href="barcodes/example_2d_pdf417_html.php" title="2D pdf417 barcode [HTML] [new window]" target="_blank">HTML</a>]</li>
+<li>2D pdf417 barcode PNG format [<a href="barcodes/example_2d_pdf417_png.php" title="2D pdf417 barcode [PNG] [new window]" target="_blank">PNG</a>]</li>
+<li>2D pdf417 barcode SVG format [<a href="barcodes/example_2d_pdf417_svg.php" title="2D pdf417 barcode [SVG] [new window]" target="_blank">SVG</a>]</li>
+<li>2D pdf417 barcode SVG INLINE format [<a href="barcodes/example_2d_pdf417_svgi.php" title="2D pdf417 barcode [SVGI] [new window]" target="_blank">SVG INLINE</a>]</li>
+
+<li>2D qrcode barcode HTML format [<a href="barcodes/example_2d_qrcode_html.php" title="2D qrcode barcode [HTML] [new window]" target="_blank">HTML</a>]</li>
+<li>2D qrcode barcode PNG format [<a href="barcodes/example_2d_qrcode_png.php" title="2D qrcode barcode [PNG] [new window]" target="_blank">PNG</a>]</li>
+<li>2D qrcode barcode SVG format [<a href="barcodes/example_2d_qrcode_svg.php" title="2D qrcode barcode [SVG] [new window]" target="_blank">SVG</a>]</li>
+<li>2D qrcode barcode SVG INLINE format [<a href="barcodes/example_2d_qrcode_svgi.php" title="2D qrcode barcode [SVGI] [new window]" target="_blank">SVG INLINE</a>]</li>
+</ol>
+
+</body>
+</html>
diff --git a/public/library/TCPDF/examples/lang/afr.php b/public/library/TCPDF/examples/lang/afr.php
new file mode 100644
index 0000000..367b7e8
--- /dev/null
+++ b/public/library/TCPDF/examples/lang/afr.php
@@ -0,0 +1,44 @@
+<?php
+//============================================================+
+// File name : afr.php
+// Begin : 2010-10-26
+// Last Update : 2010-10-26
+//
+// Description : Language module for TCPDF
+// (contains translated texts)
+// Afrikaans
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * TCPDF language file (contains translated texts).
+ * @package com.tecnick.tcpdf
+ * @brief TCPDF language file: Afrikaans
+ * @author Nicola Asuni
+ * @since 2010-10-26
+ */
+
+// Afrikaans
+
+global $l;
+$l = Array();
+
+// PAGE META DESCRIPTORS --------------------------------------
+
+$l['a_meta_charset'] = 'UTF-8';
+$l['a_meta_dir'] = 'ltr';
+$l['a_meta_language'] = 'af';
+
+// TRANSLATIONS --------------------------------------
+$l['w_page'] = 'bladsy';
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/lang/ara.php b/public/library/TCPDF/examples/lang/ara.php
new file mode 100644
index 0000000..32acfb4
--- /dev/null
+++ b/public/library/TCPDF/examples/lang/ara.php
@@ -0,0 +1,44 @@
+<?php
+//============================================================+
+// File name : ara.php
+// Begin : 2010-10-26
+// Last Update : 2010-10-26
+//
+// Description : Language module for TCPDF
+// (contains translated texts)
+// Arabic
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * TCPDF language file (contains translated texts).
+ * @package com.tecnick.tcpdf
+ * @brief TCPDF language file: Arabic
+ * @author Nicola Asuni
+ * @since 2010-10-26
+ */
+
+// Arabic
+
+global $l;
+$l = Array();
+
+// PAGE META DESCRIPTORS --------------------------------------
+
+$l['a_meta_charset'] = 'UTF-8';
+$l['a_meta_dir'] = 'rtl';
+$l['a_meta_language'] = 'ar';
+
+// TRANSLATIONS --------------------------------------
+$l['w_page'] = 'صفحة';
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/lang/aze.php b/public/library/TCPDF/examples/lang/aze.php
new file mode 100644
index 0000000..9d19281
--- /dev/null
+++ b/public/library/TCPDF/examples/lang/aze.php
@@ -0,0 +1,44 @@
+<?php
+//============================================================+
+// File name : aze.php
+// Begin : 2010-10-26
+// Last Update : 2010-10-26
+//
+// Description : Language module for TCPDF
+// (contains translated texts)
+// Azerbaijani
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * TCPDF language file (contains translated texts).
+ * @package com.tecnick.tcpdf
+ * @brief TCPDF language file: Azerbaijani
+ * @author Nicola Asuni
+ * @since 2010-10-26
+ */
+
+// Azerbaijani
+
+global $l;
+$l = Array();
+
+// PAGE META DESCRIPTORS --------------------------------------
+
+$l['a_meta_charset'] = 'UTF-8';
+$l['a_meta_dir'] = 'ltr';
+$l['a_meta_language'] = 'az';
+
+// TRANSLATIONS --------------------------------------
+$l['w_page'] = 'səhifə';
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/lang/bel.php b/public/library/TCPDF/examples/lang/bel.php
new file mode 100644
index 0000000..cc33cac
--- /dev/null
+++ b/public/library/TCPDF/examples/lang/bel.php
@@ -0,0 +1,44 @@
+<?php
+//============================================================+
+// File name : bel.php
+// Begin : 2010-10-26
+// Last Update : 2010-10-26
+//
+// Description : Language module for TCPDF
+// (contains translated texts)
+// Basque
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * TCPDF language file (contains translated texts).
+ * @package com.tecnick.tcpdf
+ * @brief TCPDF language file: Basque
+ * @author Nicola Asuni
+ * @since 2010-10-26
+ */
+
+// Basque
+
+global $l;
+$l = Array();
+
+// PAGE META DESCRIPTORS --------------------------------------
+
+$l['a_meta_charset'] = 'UTF-8';
+$l['a_meta_dir'] = 'ltr';
+$l['a_meta_language'] = 'be';
+
+// TRANSLATIONS --------------------------------------
+$l['w_page'] = 'старонкі';
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/lang/bra.php b/public/library/TCPDF/examples/lang/bra.php
new file mode 100644
index 0000000..cb2e1b2
--- /dev/null
+++ b/public/library/TCPDF/examples/lang/bra.php
@@ -0,0 +1,44 @@
+<?php
+//============================================================+
+// File name : eng.php
+// Begin : 2004-03-03
+// Last Update : 2010-10-26
+//
+// Description : Language module for TCPDF
+// (contains translated texts)
+// Brazilian
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * TCPDF language file (contains translated texts).
+ * @package com.tecnick.tcpdf
+ * @brief TCPDF language file: Brazilian
+ * @author Nicola Asuni
+ * @since 2004-03-03
+ */
+
+// Brazilian
+
+global $l;
+$l = Array();
+
+// PAGE META DESCRIPTORS --------------------------------------
+
+$l['a_meta_charset'] = 'UTF-8';
+$l['a_meta_dir'] = 'ltr';
+$l['a_meta_language'] = 'pt';
+
+// TRANSLATIONS --------------------------------------
+$l['w_page'] = 'página';
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/lang/bul.php b/public/library/TCPDF/examples/lang/bul.php
new file mode 100644
index 0000000..3605977
--- /dev/null
+++ b/public/library/TCPDF/examples/lang/bul.php
@@ -0,0 +1,44 @@
+<?php
+//============================================================+
+// File name : bul.php
+// Begin : 2004-03-03
+// Last Update : 2013-05-13
+//
+// Description : Language module for TCPDF
+// (contains translated texts)
+// Bulgarian
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * TCPDF language file (contains translated texts).
+ * @package com.tecnick.tcpdf
+ * @brief TCPDF language file: Bulgarian
+ * @author Nicola Asuni
+ * @since 2012-03-22
+ */
+
+// Bulgarian
+
+global $l;
+$l = Array();
+
+// PAGE META DESCRIPTORS --------------------------------------
+
+$l['a_meta_charset'] = 'UTF-8';
+$l['a_meta_dir'] = 'ltr';
+$l['a_meta_language'] = 'bg';
+
+// TRANSLATIONS --------------------------------------
+$l['w_page'] = 'страница';
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/lang/cat.php b/public/library/TCPDF/examples/lang/cat.php
new file mode 100644
index 0000000..29ea3d8
--- /dev/null
+++ b/public/library/TCPDF/examples/lang/cat.php
@@ -0,0 +1,44 @@
+<?php
+//============================================================+
+// File name : cat.php
+// Begin : 2010-10-26
+// Last Update : 2010-10-26
+//
+// Description : Language module for TCPDF
+// (contains translated texts)
+// Catalan
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * TCPDF language file (contains translated texts).
+ * @package com.tecnick.tcpdf
+ * @brief TCPDF language file: Catalan
+ * @author Nicola Asuni
+ * @since 2010-10-26
+ */
+
+// Catalan
+
+global $l;
+$l = Array();
+
+// PAGE META DESCRIPTORS --------------------------------------
+
+$l['a_meta_charset'] = 'UTF-8';
+$l['a_meta_dir'] = 'ltr';
+$l['a_meta_language'] = 'ca';
+
+// TRANSLATIONS --------------------------------------
+$l['w_page'] = 'pàgina';
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/lang/ces.php b/public/library/TCPDF/examples/lang/ces.php
new file mode 100644
index 0000000..1b86789
--- /dev/null
+++ b/public/library/TCPDF/examples/lang/ces.php
@@ -0,0 +1,44 @@
+<?php
+//============================================================+
+// File name : ces.php
+// Begin : 2010-10-26
+// Last Update : 2010-11-22
+//
+// Description : Language module for TCPDF
+// (contains translated texts)
+// Czech
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * TCPDF language file (contains translated texts).
+ * @package com.tecnick.tcpdf
+ * @brief TCPDF language file: Czech
+ * @author Nicola Asuni
+ * @since 2010-10-26
+ */
+
+// Czech
+
+global $l;
+$l = Array();
+
+// PAGE META DESCRIPTORS --------------------------------------
+
+$l['a_meta_charset'] = 'UTF-8';
+$l['a_meta_dir'] = 'ltr';
+$l['a_meta_language'] = 'cs';
+
+// TRANSLATIONS --------------------------------------
+$l['w_page'] = 'stránka';
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/lang/chi.php b/public/library/TCPDF/examples/lang/chi.php
new file mode 100644
index 0000000..131c7df
--- /dev/null
+++ b/public/library/TCPDF/examples/lang/chi.php
@@ -0,0 +1,44 @@
+<?php
+//============================================================+
+// File name : chi.php
+// Begin : 2010-10-26
+// Last Update : 2010-10-26
+//
+// Description : Language module for TCPDF
+// (contains translated texts)
+// Chinese (Simplified)
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * TCPDF language file (contains translated texts).
+ * @package com.tecnick.tcpdf
+ * @brief TCPDF language file: Chinese (Simplified)
+ * @author Nicola Asuni
+ * @since 2010-10-26
+ */
+
+// Chinese (Simplified)
+
+global $l;
+$l = Array();
+
+// PAGE META DESCRIPTORS --------------------------------------
+
+$l['a_meta_charset'] = 'UTF-8';
+$l['a_meta_dir'] = 'ltr';
+$l['a_meta_language'] = 'cn';
+
+// TRANSLATIONS --------------------------------------
+$l['w_page'] = '页面';
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/lang/cym.php b/public/library/TCPDF/examples/lang/cym.php
new file mode 100644
index 0000000..935cf9a
--- /dev/null
+++ b/public/library/TCPDF/examples/lang/cym.php
@@ -0,0 +1,44 @@
+<?php
+//============================================================+
+// File name : urd.php
+// Begin : 2004-03-03
+// Last Update : 2010-10-26
+//
+// Description : Language module for TCPDF
+// (contains translated texts)
+// Welsh
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * TCPDF language file (contains translated texts).
+ * @package com.tecnick.tcpdf
+ * @brief TCPDF language file: Welsh
+ * @author Nicola Asuni
+ * @since 2004-03-03
+ */
+
+// Welsh
+
+global $l;
+$l = Array();
+
+// PAGE META DESCRIPTORS --------------------------------------
+
+$l['a_meta_charset'] = 'UTF-8';
+$l['a_meta_dir'] = 'ltr';
+$l['a_meta_language'] = 'cy';
+
+// TRANSLATIONS --------------------------------------
+$l['w_page'] = 'tudalen';
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/lang/dan.php b/public/library/TCPDF/examples/lang/dan.php
new file mode 100644
index 0000000..a04af11
--- /dev/null
+++ b/public/library/TCPDF/examples/lang/dan.php
@@ -0,0 +1,44 @@
+<?php
+//============================================================+
+// File name : dan.php
+// Begin : 2010-10-26
+// Last Update : 2010-10-26
+//
+// Description : Language module for TCPDF
+// (contains translated texts)
+// Danish
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * TCPDF language file (contains translated texts).
+ * @package com.tecnick.tcpdf
+ * @brief TCPDF language file: Danish
+ * @author Nicola Asuni
+ * @since 2010-10-26
+ */
+
+// Danish
+
+global $l;
+$l = Array();
+
+// PAGE META DESCRIPTORS --------------------------------------
+
+$l['a_meta_charset'] = 'UTF-8';
+$l['a_meta_dir'] = 'ltr';
+$l['a_meta_language'] = 'da';
+
+// TRANSLATIONS --------------------------------------
+$l['w_page'] = 'side';
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/lang/eng.php b/public/library/TCPDF/examples/lang/eng.php
new file mode 100644
index 0000000..9752610
--- /dev/null
+++ b/public/library/TCPDF/examples/lang/eng.php
@@ -0,0 +1,44 @@
+<?php
+//============================================================+
+// File name : eng.php
+// Begin : 2004-03-03
+// Last Update : 2010-10-26
+//
+// Description : Language module for TCPDF
+// (contains translated texts)
+// English
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * TCPDF language file (contains translated texts).
+ * @package com.tecnick.tcpdf
+ * @brief TCPDF language file: English
+ * @author Nicola Asuni
+ * @since 2004-03-03
+ */
+
+// English
+
+global $l;
+$l = Array();
+
+// PAGE META DESCRIPTORS --------------------------------------
+
+$l['a_meta_charset'] = 'UTF-8';
+$l['a_meta_dir'] = 'ltr';
+$l['a_meta_language'] = 'en';
+
+// TRANSLATIONS --------------------------------------
+$l['w_page'] = 'page';
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/lang/est.php b/public/library/TCPDF/examples/lang/est.php
new file mode 100644
index 0000000..c9d9472
--- /dev/null
+++ b/public/library/TCPDF/examples/lang/est.php
@@ -0,0 +1,44 @@
+<?php
+//============================================================+
+// File name : est.php
+// Begin : 2010-10-26
+// Last Update : 2010-10-26
+//
+// Description : Language module for TCPDF
+// (contains translated texts)
+// Estonian
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * TCPDF language file (contains translated texts).
+ * @package com.tecnick.tcpdf
+ * @brief TCPDF language file: Estonian
+ * @author Nicola Asuni
+ * @since 2010-10-26
+ */
+
+// Estonian
+
+global $l;
+$l = Array();
+
+// PAGE META DESCRIPTORS --------------------------------------
+
+$l['a_meta_charset'] = 'UTF-8';
+$l['a_meta_dir'] = 'ltr';
+$l['a_meta_language'] = 'et';
+
+// TRANSLATIONS --------------------------------------
+$l['w_page'] = 'lehekülg';
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/lang/eus.php b/public/library/TCPDF/examples/lang/eus.php
new file mode 100644
index 0000000..63e8694
--- /dev/null
+++ b/public/library/TCPDF/examples/lang/eus.php
@@ -0,0 +1,44 @@
+<?php
+//============================================================+
+// File name : eus.php
+// Begin : 2010-10-26
+// Last Update : 2010-10-26
+//
+// Description : Language module for TCPDF
+// (contains translated texts)
+// Basque
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * TCPDF language file (contains translated texts).
+ * @package com.tecnick.tcpdf
+ * @brief TCPDF language file: Basque
+ * @author Nicola Asuni
+ * @since 2010-10-26
+ */
+
+// Basque
+
+global $l;
+$l = Array();
+
+// PAGE META DESCRIPTORS --------------------------------------
+
+$l['a_meta_charset'] = 'UTF-8';
+$l['a_meta_dir'] = 'ltr';
+$l['a_meta_language'] = 'eu';
+
+// TRANSLATIONS --------------------------------------
+$l['w_page'] = 'Orrialdearen';
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/lang/far.php b/public/library/TCPDF/examples/lang/far.php
new file mode 100644
index 0000000..dc71cf7
--- /dev/null
+++ b/public/library/TCPDF/examples/lang/far.php
@@ -0,0 +1,44 @@
+<?php
+//============================================================+
+// File name : far.php
+// Begin : 2010-10-26
+// Last Update : 2010-10-26
+//
+// Description : Language module for TCPDF
+// (contains translated texts)
+// Farsi
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * TCPDF language file (contains translated texts).
+ * @package com.tecnick.tcpdf
+ * @brief TCPDF language file: Farsi
+ * @author Sina Saeedi
+ * @since 2011-04-12
+ */
+
+// Farsi
+
+global $l;
+$l = Array();
+
+// PAGE META DESCRIPTORS --------------------------------------
+
+$l['a_meta_charset'] = 'UTF-8';
+$l['a_meta_dir'] = 'rtl';
+$l['a_meta_language'] = 'fa';
+
+// TRANSLATIONS --------------------------------------
+$l['w_page'] = 'صفحه';
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/lang/fra.php b/public/library/TCPDF/examples/lang/fra.php
new file mode 100644
index 0000000..bf98f85
--- /dev/null
+++ b/public/library/TCPDF/examples/lang/fra.php
@@ -0,0 +1,44 @@
+<?php
+//============================================================+
+// File name : fra.php
+// Begin : 2010-10-26
+// Last Update : 2010-10-26
+//
+// Description : Language module for TCPDF
+// (contains translated texts)
+// French
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * TCPDF language file (contains translated texts).
+ * @package com.tecnick.tcpdf
+ * @brief TCPDF language file: French
+ * @author Nicola Asuni
+ * @since 2010-10-26
+ */
+
+// French
+
+global $l;
+$l = Array();
+
+// PAGE META DESCRIPTORS --------------------------------------
+
+$l['a_meta_charset'] = 'UTF-8';
+$l['a_meta_dir'] = 'ltr';
+$l['a_meta_language'] = 'fr';
+
+// TRANSLATIONS --------------------------------------
+$l['w_page'] = 'page';
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/lang/ger.php b/public/library/TCPDF/examples/lang/ger.php
new file mode 100644
index 0000000..dad6268
--- /dev/null
+++ b/public/library/TCPDF/examples/lang/ger.php
@@ -0,0 +1,44 @@
+<?php
+//============================================================+
+// File name : ger.php
+// Begin : 2004-03-03
+// Last Update : 2010-11-16
+//
+// Description : Language module for TCPDF
+// (contains translated texts)
+// German
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * TCPDF language file (contains translated texts).
+ * @package com.tecnick.tcpdf
+ * @brief TCPDF language file: German
+ * @author Nicola Asuni
+ * @since 2004-03-03
+ */
+
+// German
+
+global $l;
+$l = Array();
+
+// PAGE META DESCRIPTORS --------------------------------------
+
+$l['a_meta_charset'] = 'UTF-8';
+$l['a_meta_dir'] = 'ltr';
+$l['a_meta_language'] = 'de';
+
+// TRANSLATIONS --------------------------------------
+$l['w_page'] = 'Seite';
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/lang/gle.php b/public/library/TCPDF/examples/lang/gle.php
new file mode 100644
index 0000000..e8f40fe
--- /dev/null
+++ b/public/library/TCPDF/examples/lang/gle.php
@@ -0,0 +1,44 @@
+<?php
+//============================================================+
+// File name : ind.php
+// Begin : 2004-03-03
+// Last Update : 2010-10-26
+//
+// Description : Language module for TCPDF
+// (contains translated texts)
+// Irish
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * TCPDF language file (contains translated texts).
+ * @package com.tecnick.tcpdf
+ * @brief TCPDF language file: Irish
+ * @author Nicola Asuni
+ * @since 2004-03-03
+ */
+
+// Irish
+
+global $l;
+$l = Array();
+
+// PAGE META DESCRIPTORS --------------------------------------
+
+$l['a_meta_charset'] = 'UTF-8';
+$l['a_meta_dir'] = 'ltr';
+$l['a_meta_language'] = 'ga';
+
+// TRANSLATIONS --------------------------------------
+$l['w_page'] = 'leathanach';
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/lang/glg.php b/public/library/TCPDF/examples/lang/glg.php
new file mode 100644
index 0000000..1d71714
--- /dev/null
+++ b/public/library/TCPDF/examples/lang/glg.php
@@ -0,0 +1,44 @@
+<?php
+//============================================================+
+// File name : glg.php
+// Begin : 2010-10-26
+// Last Update : 2010-10-26
+//
+// Description : Language module for TCPDF
+// (contains translated texts)
+// Galician
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * TCPDF language file (contains translated texts).
+ * @package com.tecnick.tcpdf
+ * @brief TCPDF language file: Galician
+ * @author Nicola Asuni
+ * @since 2010-10-26
+ */
+
+// Galician
+
+global $l;
+$l = Array();
+
+// PAGE META DESCRIPTORS --------------------------------------
+
+$l['a_meta_charset'] = 'UTF-8';
+$l['a_meta_dir'] = 'ltr';
+$l['a_meta_language'] = 'gl';
+
+// TRANSLATIONS --------------------------------------
+$l['w_page'] = 'Páxina';
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/lang/hat.php b/public/library/TCPDF/examples/lang/hat.php
new file mode 100644
index 0000000..f6b27c3
--- /dev/null
+++ b/public/library/TCPDF/examples/lang/hat.php
@@ -0,0 +1,44 @@
+<?php
+//============================================================+
+// File name : hat.php
+// Begin : 2004-03-03
+// Last Update : 2010-10-26
+//
+// Description : Language module for TCPDF
+// (contains translated texts)
+// Haitian Creole
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * TCPDF language file (contains translated texts).
+ * @package com.tecnick.tcpdf
+ * @brief TCPDF language file: Haitian Creole
+ * @author Nicola Asuni
+ * @since 2004-03-03
+ */
+
+// Haitian Creole
+
+global $l;
+$l = Array();
+
+// PAGE META DESCRIPTORS --------------------------------------
+
+$l['a_meta_charset'] = 'UTF-8';
+$l['a_meta_dir'] = 'ltr';
+$l['a_meta_language'] = 'ht';
+
+// TRANSLATIONS --------------------------------------
+$l['w_page'] = 'paj';
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/lang/heb.php b/public/library/TCPDF/examples/lang/heb.php
new file mode 100644
index 0000000..33f1204
--- /dev/null
+++ b/public/library/TCPDF/examples/lang/heb.php
@@ -0,0 +1,44 @@
+<?php
+//============================================================+
+// File name : heb.php
+// Begin : 2004-03-03
+// Last Update : 2010-10-26
+//
+// Description : Language module for TCPDF
+// (contains translated texts)
+// Hebrew
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * TCPDF language file (contains translated texts).
+ * @package com.tecnick.tcpdf
+ * @brief TCPDF language file: Hebrew
+ * @author Nicola Asuni
+ * @since 2004-03-03
+ */
+
+// Hebrew
+
+global $l;
+$l = Array();
+
+// PAGE META DESCRIPTORS --------------------------------------
+
+$l['a_meta_charset'] = 'UTF-8';
+$l['a_meta_dir'] = 'rtl';
+$l['a_meta_language'] = 'he';
+
+// TRANSLATIONS --------------------------------------
+$l['w_page'] = 'מקור:';
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/lang/hrv.php b/public/library/TCPDF/examples/lang/hrv.php
new file mode 100644
index 0000000..47fe5d4
--- /dev/null
+++ b/public/library/TCPDF/examples/lang/hrv.php
@@ -0,0 +1,44 @@
+<?php
+//============================================================+
+// File name : hrv.php
+// Begin : 2010-10-26
+// Last Update : 2010-10-26
+//
+// Description : Language module for TCPDF
+// (contains translated texts)
+// Croatian
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * TCPDF language file (contains translated texts).
+ * @package com.tecnick.tcpdf
+ * @brief TCPDF language file: Croatian
+ * @author Nicola Asuni
+ * @since 2010-10-26
+ */
+
+// Croatian
+
+global $l;
+$l = Array();
+
+// PAGE META DESCRIPTORS --------------------------------------
+
+$l['a_meta_charset'] = 'UTF-8';
+$l['a_meta_dir'] = 'ltr';
+$l['a_meta_language'] = 'hr';
+
+// TRANSLATIONS --------------------------------------
+$l['w_page'] = 'stranica';
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/lang/hun.php b/public/library/TCPDF/examples/lang/hun.php
new file mode 100644
index 0000000..1053d69
--- /dev/null
+++ b/public/library/TCPDF/examples/lang/hun.php
@@ -0,0 +1,44 @@
+<?php
+//============================================================+
+// File name : hun.php
+// Begin : 2004-03-03
+// Last Update : 2010-10-26
+//
+// Description : Language module for TCPDF
+// (contains translated texts)
+// Hungarian
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * TCPDF language file (contains translated texts).
+ * @package com.tecnick.tcpdf
+ * @brief TCPDF language file: Hungarian
+ * @author Nicola Asuni
+ * @since 2004-03-03
+ */
+
+// Hungarian
+
+global $l;
+$l = Array();
+
+// PAGE META DESCRIPTORS --------------------------------------
+
+$l['a_meta_charset'] = 'UTF-8';
+$l['a_meta_dir'] = 'ltr';
+$l['a_meta_language'] = 'hu';
+
+// TRANSLATIONS --------------------------------------
+$l['w_page'] = 'oldal';
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/lang/hye.php b/public/library/TCPDF/examples/lang/hye.php
new file mode 100644
index 0000000..fbade3e
--- /dev/null
+++ b/public/library/TCPDF/examples/lang/hye.php
@@ -0,0 +1,44 @@
+<?php
+//============================================================+
+// File name : hye.php
+// Begin : 2010-10-26
+// Last Update : 2010-10-26
+//
+// Description : Language module for TCPDF
+// (contains translated texts)
+// Armenian
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * TCPDF language file (contains translated texts).
+ * @package com.tecnick.tcpdf
+ * @brief TCPDF language file: Armenian
+ * @author Nicola Asuni
+ * @since 2010-10-26
+ */
+
+// Armenian
+
+global $l;
+$l = Array();
+
+// PAGE META DESCRIPTORS --------------------------------------
+
+$l['a_meta_charset'] = 'UTF-8';
+$l['a_meta_dir'] = 'ltr';
+$l['a_meta_language'] = 'hy';
+
+// TRANSLATIONS --------------------------------------
+$l['w_page'] = 'էջ';
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/lang/ind.php b/public/library/TCPDF/examples/lang/ind.php
new file mode 100644
index 0000000..9a16ee3
--- /dev/null
+++ b/public/library/TCPDF/examples/lang/ind.php
@@ -0,0 +1,44 @@
+<?php
+//============================================================+
+// File name : ind.php
+// Begin : 2004-03-03
+// Last Update : 2010-10-26
+//
+// Description : Language module for TCPDF
+// (contains translated texts)
+// Indonesian
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * TCPDF language file (contains translated texts).
+ * @package com.tecnick.tcpdf
+ * @brief TCPDF language file: Indonesian
+ * @author Nicola Asuni
+ * @since 2004-03-03
+ */
+
+// Indonesian
+
+global $l;
+$l = Array();
+
+// PAGE META DESCRIPTORS --------------------------------------
+
+$l['a_meta_charset'] = 'UTF-8';
+$l['a_meta_dir'] = 'ltr';
+$l['a_meta_language'] = 'id';
+
+// TRANSLATIONS --------------------------------------
+$l['w_page'] = 'halaman';
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/lang/ita.php b/public/library/TCPDF/examples/lang/ita.php
new file mode 100644
index 0000000..0d3f5f1
--- /dev/null
+++ b/public/library/TCPDF/examples/lang/ita.php
@@ -0,0 +1,44 @@
+<?php
+//============================================================+
+// File name : ita.php
+// Begin : 2004-03-03
+// Last Update : 2010-10-26
+//
+// Description : Language module for TCPDF
+// (contains translated texts)
+// Italian
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * TCPDF language file (contains translated texts).
+ * @package com.tecnick.tcpdf
+ * @brief TCPDF language file: Italian
+ * @author Nicola Asuni
+ * @since 2004-03-03
+ */
+
+// Italian
+
+global $l;
+$l = Array();
+
+// PAGE META DESCRIPTORS --------------------------------------
+
+$l['a_meta_charset'] = 'UTF-8';
+$l['a_meta_dir'] = 'ltr';
+$l['a_meta_language'] = 'it';
+
+// TRANSLATIONS --------------------------------------
+$l['w_page'] = 'pagina';
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/lang/jpn.php b/public/library/TCPDF/examples/lang/jpn.php
new file mode 100644
index 0000000..dc6dfb6
--- /dev/null
+++ b/public/library/TCPDF/examples/lang/jpn.php
@@ -0,0 +1,44 @@
+<?php
+//============================================================+
+// File name : jpn.php
+// Begin : 2011-01-24
+// Last Update : 2011-01-24
+//
+// Description : Language module for TCPDF
+// (contains translated texts)
+// Japanese
+//
+// Author: Nicola Asuni - Translation by redcocker
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * TCPDF language file (contains translated texts).
+ * @package com.tecnick.tcpdf
+ * @brief TCPDF language file: Japanese
+ * @author Nicola Asuni - Translation by redcocker
+ * @since 2012-01-24
+ */
+
+// Japanese
+
+global $l;
+$l = Array();
+
+// PAGE META DESCRIPTORS --------------------------------------
+
+$l['a_meta_charset'] = 'UTF-8';
+$l['a_meta_dir'] = 'ltr';
+$l['a_meta_language'] = 'ja';
+
+// TRANSLATIONS --------------------------------------
+$l['w_page'] = 'ページ';
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/lang/kat.php b/public/library/TCPDF/examples/lang/kat.php
new file mode 100644
index 0000000..168dc34
--- /dev/null
+++ b/public/library/TCPDF/examples/lang/kat.php
@@ -0,0 +1,44 @@
+<?php
+//============================================================+
+// File name : kat.php
+// Begin : 2010-10-26
+// Last Update : 2010-10-26
+//
+// Description : Language module for TCPDF
+// (contains translated texts)
+// Georgian
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * TCPDF language file (contains translated texts).
+ * @package com.tecnick.tcpdf
+ * @brief TCPDF language file: Georgian
+ * @author Nicola Asuni
+ * @since 2010-10-26
+ */
+
+// Georgian
+
+global $l;
+$l = Array();
+
+// PAGE META DESCRIPTORS --------------------------------------
+
+$l['a_meta_charset'] = 'UTF-8';
+$l['a_meta_dir'] = 'ltr';
+$l['a_meta_language'] = 'ka';
+
+// TRANSLATIONS --------------------------------------
+$l['w_page'] = 'გვერდი';
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/lang/kor.php b/public/library/TCPDF/examples/lang/kor.php
new file mode 100644
index 0000000..a817985
--- /dev/null
+++ b/public/library/TCPDF/examples/lang/kor.php
@@ -0,0 +1,44 @@
+<?php
+//============================================================+
+// File name : kor.php
+// Begin : 2004-03-03
+// Last Update : 2010-10-26
+//
+// Description : Language module for TCPDF
+// (contains translated texts)
+// Korean
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * TCPDF language file (contains translated texts).
+ * @package com.tecnick.tcpdf
+ * @brief TCPDF language file: Korean
+ * @author Nicola Asuni
+ * @since 2004-03-03
+ */
+
+// Korean
+
+global $l;
+$l = Array();
+
+// PAGE META DESCRIPTORS --------------------------------------
+
+$l['a_meta_charset'] = 'UTF-8';
+$l['a_meta_dir'] = 'ltr';
+$l['a_meta_language'] = 'ko';
+
+// TRANSLATIONS --------------------------------------
+$l['w_page'] = '페이지';
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/lang/mkd.php b/public/library/TCPDF/examples/lang/mkd.php
new file mode 100644
index 0000000..39ea8ae
--- /dev/null
+++ b/public/library/TCPDF/examples/lang/mkd.php
@@ -0,0 +1,44 @@
+<?php
+//============================================================+
+// File name : mkd.php
+// Begin : 2004-03-03
+// Last Update : 2010-10-26
+//
+// Description : Language module for TCPDF
+// (contains translated texts)
+// Macedonian
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * TCPDF language file (contains translated texts).
+ * @package com.tecnick.tcpdf
+ * @brief TCPDF language file: Macedonian
+ * @author Nicola Asuni
+ * @since 2004-03-03
+ */
+
+// Macedonian
+
+global $l;
+$l = Array();
+
+// PAGE META DESCRIPTORS --------------------------------------
+
+$l['a_meta_charset'] = 'UTF-8';
+$l['a_meta_dir'] = 'ltr';
+$l['a_meta_language'] = 'mk';
+
+// TRANSLATIONS --------------------------------------
+$l['w_page'] = 'страница';
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/lang/mlt.php b/public/library/TCPDF/examples/lang/mlt.php
new file mode 100644
index 0000000..f946c03
--- /dev/null
+++ b/public/library/TCPDF/examples/lang/mlt.php
@@ -0,0 +1,44 @@
+<?php
+//============================================================+
+// File name : mlt.php
+// Begin : 2004-03-03
+// Last Update : 2010-10-26
+//
+// Description : Language module for TCPDF
+// (contains translated texts)
+// Maltese
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * TCPDF language file (contains translated texts).
+ * @package com.tecnick.tcpdf
+ * @brief TCPDF language file: Maltese
+ * @author Nicola Asuni
+ * @since 2004-03-03
+ */
+
+// Maltese
+
+global $l;
+$l = Array();
+
+// PAGE META DESCRIPTORS --------------------------------------
+
+$l['a_meta_charset'] = 'UTF-8';
+$l['a_meta_dir'] = 'ltr';
+$l['a_meta_language'] = 'mt';
+
+// TRANSLATIONS --------------------------------------
+$l['w_page'] = 'paġna';
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/lang/msa.php b/public/library/TCPDF/examples/lang/msa.php
new file mode 100644
index 0000000..69c564a
--- /dev/null
+++ b/public/library/TCPDF/examples/lang/msa.php
@@ -0,0 +1,44 @@
+<?php
+//============================================================+
+// File name : msa.php
+// Begin : 2004-03-03
+// Last Update : 2010-10-26
+//
+// Description : Language module for TCPDF
+// (contains translated texts)
+// Malay
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * TCPDF language file (contains translated texts).
+ * @package com.tecnick.tcpdf
+ * @brief TCPDF language file: Malay
+ * @author Nicola Asuni
+ * @since 2004-03-03
+ */
+
+// Malay
+
+global $l;
+$l = Array();
+
+// PAGE META DESCRIPTORS --------------------------------------
+
+$l['a_meta_charset'] = 'UTF-8';
+$l['a_meta_dir'] = 'ltr';
+$l['a_meta_language'] = 'ms';
+
+// TRANSLATIONS --------------------------------------
+$l['w_page'] = 'laman';
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/lang/nld.php b/public/library/TCPDF/examples/lang/nld.php
new file mode 100644
index 0000000..0f19bed
--- /dev/null
+++ b/public/library/TCPDF/examples/lang/nld.php
@@ -0,0 +1,44 @@
+<?php
+//============================================================+
+// File name : nld.php
+// Begin : 2010-10-26
+// Last Update : 2010-10-26
+//
+// Description : Language module for TCPDF
+// (contains translated texts)
+// Dutch
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * TCPDF language file (contains translated texts).
+ * @package com.tecnick.tcpdf
+ * @brief TCPDF language file: Dutch
+ * @author Nicola Asuni
+ * @since 2010-10-26
+ */
+
+// Dutch
+
+global $l;
+$l = Array();
+
+// PAGE META DESCRIPTORS --------------------------------------
+
+$l['a_meta_charset'] = 'UTF-8';
+$l['a_meta_dir'] = 'ltr';
+$l['a_meta_language'] = 'nl';
+
+// TRANSLATIONS --------------------------------------
+$l['w_page'] = 'pagina';
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/lang/nob.php b/public/library/TCPDF/examples/lang/nob.php
new file mode 100644
index 0000000..94e8ff0
--- /dev/null
+++ b/public/library/TCPDF/examples/lang/nob.php
@@ -0,0 +1,44 @@
+<?php
+//============================================================+
+// File name : nob.php
+// Begin : 2004-03-03
+// Last Update : 2010-10-26
+//
+// Description : Language module for TCPDF
+// (contains translated texts)
+// Norwegian Bokmål
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * TCPDF language file (contains translated texts).
+ * @package com.tecnick.tcpdf
+ * @brief TCPDF language file: Norwegian Bokmål
+ * @author Nicola Asuni
+ * @since 2004-03-03
+ */
+
+// Norwegian Bokmål
+
+global $l;
+$l = Array();
+
+// PAGE META DESCRIPTORS --------------------------------------
+
+$l['a_meta_charset'] = 'UTF-8';
+$l['a_meta_dir'] = 'ltr';
+$l['a_meta_language'] = 'nb';
+
+// TRANSLATIONS --------------------------------------
+$l['w_page'] = 'side';
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/lang/pol.php b/public/library/TCPDF/examples/lang/pol.php
new file mode 100644
index 0000000..fbf386f
--- /dev/null
+++ b/public/library/TCPDF/examples/lang/pol.php
@@ -0,0 +1,44 @@
+<?php
+//============================================================+
+// File name : pol.php
+// Begin : 2010-10-26
+// Last Update : 2010-10-26
+//
+// Description : Language module for TCPDF
+// (contains translated texts)
+// Polish
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * TCPDF language file (contains translated texts).
+ * @package com.tecnick.tcpdf
+ * @brief TCPDF language file: Polish
+ * @author Nicola Asuni
+ * @since 2010-10-26
+ */
+
+// Polish
+
+global $l;
+$l = Array();
+
+// PAGE META DESCRIPTORS --------------------------------------
+
+$l['a_meta_charset'] = 'UTF-8';
+$l['a_meta_dir'] = 'ltr';
+$l['a_meta_language'] = 'pl';
+
+// TRANSLATIONS --------------------------------------
+$l['w_page'] = 'strona';
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/lang/por.php b/public/library/TCPDF/examples/lang/por.php
new file mode 100644
index 0000000..ab45c71
--- /dev/null
+++ b/public/library/TCPDF/examples/lang/por.php
@@ -0,0 +1,44 @@
+<?php
+//============================================================+
+// File name : por.php
+// Begin : 2004-03-03
+// Last Update : 2010-10-26
+//
+// Description : Language module for TCPDF
+// (contains translated texts)
+// Portuguese
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * TCPDF language file (contains translated texts).
+ * @package com.tecnick.tcpdf
+ * @brief TCPDF language file: Portuguese
+ * @author Nicola Asuni
+ * @since 2004-03-03
+ */
+
+// Portuguese
+
+global $l;
+$l = Array();
+
+// PAGE META DESCRIPTORS --------------------------------------
+
+$l['a_meta_charset'] = 'UTF-8';
+$l['a_meta_dir'] = 'ltr';
+$l['a_meta_language'] = 'pt';
+
+// TRANSLATIONS --------------------------------------
+$l['w_page'] = 'página';
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/lang/ron.php b/public/library/TCPDF/examples/lang/ron.php
new file mode 100644
index 0000000..985622c
--- /dev/null
+++ b/public/library/TCPDF/examples/lang/ron.php
@@ -0,0 +1,44 @@
+<?php
+//============================================================+
+// File name : ron.php
+// Begin : 2004-03-03
+// Last Update : 2010-10-26
+//
+// Description : Language module for TCPDF
+// (contains translated texts)
+// Romanian, Moldavian, Moldovan
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * TCPDF language file (contains translated texts).
+ * @package com.tecnick.tcpdf
+ * @brief TCPDF language file: Romanian, Moldavian, Moldovan
+ * @author Nicola Asuni
+ * @since 2004-03-03
+ */
+
+// Romanian, Moldavian, Moldovan
+
+global $l;
+$l = Array();
+
+// PAGE META DESCRIPTORS --------------------------------------
+
+$l['a_meta_charset'] = 'UTF-8';
+$l['a_meta_dir'] = 'ltr';
+$l['a_meta_language'] = 'ro';
+
+// TRANSLATIONS --------------------------------------
+$l['w_page'] = 'pagina';
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/lang/rus.php b/public/library/TCPDF/examples/lang/rus.php
new file mode 100644
index 0000000..45cb515
--- /dev/null
+++ b/public/library/TCPDF/examples/lang/rus.php
@@ -0,0 +1,44 @@
+<?php
+//============================================================+
+// File name : rus.php
+// Begin : 2004-03-03
+// Last Update : 2012-07-25
+//
+// Description : Language module for TCPDF
+// (contains translated texts)
+// Russian
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * TCPDF language file (contains translated texts).
+ * @package com.tecnick.tcpdf
+ * @brief TCPDF language file: Russian
+ * @author Nicola Asuni
+ * @since 2004-03-03
+ */
+
+// Russian
+
+global $l;
+$l = Array();
+
+// PAGE META DESCRIPTORS --------------------------------------
+
+$l['a_meta_charset'] = 'UTF-8';
+$l['a_meta_dir'] = 'ltr';
+$l['a_meta_language'] = 'ru';
+
+// TRANSLATIONS --------------------------------------
+$l['w_page'] = 'страница';
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/lang/slv.php b/public/library/TCPDF/examples/lang/slv.php
new file mode 100644
index 0000000..c2a8d98
--- /dev/null
+++ b/public/library/TCPDF/examples/lang/slv.php
@@ -0,0 +1,44 @@
+<?php
+//============================================================+
+// File name : slv.php
+// Begin : 2004-03-03
+// Last Update : 2010-10-26
+//
+// Description : Language module for TCPDF
+// (contains translated texts)
+// Slovene
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * TCPDF language file (contains translated texts).
+ * @package com.tecnick.tcpdf
+ * @brief TCPDF language file: Slovene
+ * @author Nicola Asuni
+ * @since 2004-03-03
+ */
+
+// Slovene
+
+global $l;
+$l = Array();
+
+// PAGE META DESCRIPTORS --------------------------------------
+
+$l['a_meta_charset'] = 'UTF-8';
+$l['a_meta_dir'] = 'ltr';
+$l['a_meta_language'] = 'sl';
+
+// TRANSLATIONS --------------------------------------
+$l['w_page'] = 'stran';
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/lang/spa.php b/public/library/TCPDF/examples/lang/spa.php
new file mode 100644
index 0000000..02e0220
--- /dev/null
+++ b/public/library/TCPDF/examples/lang/spa.php
@@ -0,0 +1,44 @@
+<?php
+//============================================================+
+// File name : spa.php
+// Begin : 2004-03-03
+// Last Update : 2010-10-26
+//
+// Description : Language module for TCPDF
+// (contains translated texts)
+// Spanish; Castilian
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * TCPDF language file (contains translated texts).
+ * @package com.tecnick.tcpdf
+ * @brief TCPDF language file: Spanish; Castilian
+ * @author Nicola Asuni
+ * @since 2004-03-03
+ */
+
+// Spanish; Castilian
+
+global $l;
+$l = Array();
+
+// PAGE META DESCRIPTORS --------------------------------------
+
+$l['a_meta_charset'] = 'UTF-8';
+$l['a_meta_dir'] = 'ltr';
+$l['a_meta_language'] = 'es';
+
+// TRANSLATIONS --------------------------------------
+$l['w_page'] = 'página';
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/lang/sqi.php b/public/library/TCPDF/examples/lang/sqi.php
new file mode 100644
index 0000000..bd01da3
--- /dev/null
+++ b/public/library/TCPDF/examples/lang/sqi.php
@@ -0,0 +1,44 @@
+<?php
+//============================================================+
+// File name : sqi.php
+// Begin : 2010-10-26
+// Last Update : 2010-10-26
+//
+// Description : Language module for TCPDF
+// (contains translated texts)
+// Albanian
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * TCPDF language file (contains translated texts).
+ * @package com.tecnick.tcpdf
+ * @brief TCPDF language file: Albanian
+ * @author Nicola Asuni
+ * @since 2010-10-26
+ */
+
+// Albanian
+
+global $l;
+$l = Array();
+
+// PAGE META DESCRIPTORS --------------------------------------
+
+$l['a_meta_charset'] = 'UTF-8';
+$l['a_meta_dir'] = 'ltr';
+$l['a_meta_language'] = 'sq';
+
+// TRANSLATIONS --------------------------------------
+$l['w_page'] = 'faqe';
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/lang/srp.php b/public/library/TCPDF/examples/lang/srp.php
new file mode 100644
index 0000000..60a5e02
--- /dev/null
+++ b/public/library/TCPDF/examples/lang/srp.php
@@ -0,0 +1,44 @@
+<?php
+//============================================================+
+// File name : srp.php
+// Begin : 2004-03-03
+// Last Update : 2010-10-26
+//
+// Description : Language module for TCPDF
+// (contains translated texts)
+// Serbian
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * TCPDF language file (contains translated texts).
+ * @package com.tecnick.tcpdf
+ * @brief TCPDF language file: Serbian
+ * @author Nicola Asuni
+ * @since 2004-03-03
+ */
+
+// Serbian
+
+global $l;
+$l = Array();
+
+// PAGE META DESCRIPTORS --------------------------------------
+
+$l['a_meta_charset'] = 'UTF-8';
+$l['a_meta_dir'] = 'ltr';
+$l['a_meta_language'] = 'sr';
+
+// TRANSLATIONS --------------------------------------
+$l['w_page'] = 'страна';
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/lang/swa.php b/public/library/TCPDF/examples/lang/swa.php
new file mode 100644
index 0000000..f30486d
--- /dev/null
+++ b/public/library/TCPDF/examples/lang/swa.php
@@ -0,0 +1,44 @@
+<?php
+//============================================================+
+// File name : swa.php
+// Begin : 2004-03-03
+// Last Update : 2010-10-26
+//
+// Description : Language module for TCPDF
+// (contains translated texts)
+// Swahili
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * TCPDF language file (contains translated texts).
+ * @package com.tecnick.tcpdf
+ * @brief TCPDF language file: Swahili
+ * @author Nicola Asuni
+ * @since 2004-03-03
+ */
+
+// Swahili
+
+global $l;
+$l = Array();
+
+// PAGE META DESCRIPTORS --------------------------------------
+
+$l['a_meta_charset'] = 'UTF-8';
+$l['a_meta_dir'] = 'ltr';
+$l['a_meta_language'] = 'sw';
+
+// TRANSLATIONS --------------------------------------
+$l['w_page'] = 'ukurasa';
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/lang/swe.php b/public/library/TCPDF/examples/lang/swe.php
new file mode 100644
index 0000000..22a38ce
--- /dev/null
+++ b/public/library/TCPDF/examples/lang/swe.php
@@ -0,0 +1,44 @@
+<?php
+//============================================================+
+// File name : swe.php
+// Begin : 2004-03-03
+// Last Update : 2010-10-26
+//
+// Description : Language module for TCPDF
+// (contains translated texts)
+// Swedish
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * TCPDF language file (contains translated texts).
+ * @package com.tecnick.tcpdf
+ * @brief TCPDF language file: Swedish
+ * @author Nicola Asuni
+ * @since 2004-03-03
+ */
+
+// Swedish
+
+global $l;
+$l = Array();
+
+// PAGE META DESCRIPTORS --------------------------------------
+
+$l['a_meta_charset'] = 'UTF-8';
+$l['a_meta_dir'] = 'ltr';
+$l['a_meta_language'] = 'sv';
+
+// TRANSLATIONS --------------------------------------
+$l['w_page'] = 'sida';
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/lang/ukr.php b/public/library/TCPDF/examples/lang/ukr.php
new file mode 100644
index 0000000..ef71b7f
--- /dev/null
+++ b/public/library/TCPDF/examples/lang/ukr.php
@@ -0,0 +1,44 @@
+<?php
+//============================================================+
+// File name : ukr.php
+// Begin : 2004-03-03
+// Last Update : 2012-07-25
+//
+// Description : Language module for TCPDF
+// (contains translated texts)
+// Ukrainian
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * TCPDF language file (contains translated texts).
+ * @package com.tecnick.tcpdf
+ * @brief TCPDF language file: Ukrainian
+ * @author Nicola Asuni
+ * @since 2004-03-03
+ */
+
+// Russian
+
+global $l;
+$l = Array();
+
+// PAGE META DESCRIPTORS --------------------------------------
+
+$l['a_meta_charset'] = 'UTF-8';
+$l['a_meta_dir'] = 'ltr';
+$l['a_meta_language'] = 'ua';
+
+// TRANSLATIONS --------------------------------------
+$l['w_page'] = 'сторінка';
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/lang/urd.php b/public/library/TCPDF/examples/lang/urd.php
new file mode 100644
index 0000000..2045a90
--- /dev/null
+++ b/public/library/TCPDF/examples/lang/urd.php
@@ -0,0 +1,44 @@
+<?php
+//============================================================+
+// File name : urd.php
+// Begin : 2004-03-03
+// Last Update : 2010-10-26
+//
+// Description : Language module for TCPDF
+// (contains translated texts)
+// Urdu
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * TCPDF language file (contains translated texts).
+ * @package com.tecnick.tcpdf
+ * @brief TCPDF language file: Urdu
+ * @author Nicola Asuni
+ * @since 2004-03-03
+ */
+
+// Urdu
+
+global $l;
+$l = Array();
+
+// PAGE META DESCRIPTORS --------------------------------------
+
+$l['a_meta_charset'] = 'UTF-8';
+$l['a_meta_dir'] = 'rtl';
+$l['a_meta_language'] = 'ur';
+
+// TRANSLATIONS --------------------------------------
+$l['w_page'] = 'صفحہ';
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/lang/yid.php b/public/library/TCPDF/examples/lang/yid.php
new file mode 100644
index 0000000..2e55322
--- /dev/null
+++ b/public/library/TCPDF/examples/lang/yid.php
@@ -0,0 +1,44 @@
+<?php
+//============================================================+
+// File name : yid.php
+// Begin : 2004-03-03
+// Last Update : 2010-10-26
+//
+// Description : Language module for TCPDF
+// (contains translated texts)
+// Welsh
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * TCPDF language file (contains translated texts).
+ * @package com.tecnick.tcpdf
+ * @brief TCPDF language file: Welsh
+ * @author Nicola Asuni
+ * @since 2004-03-03
+ */
+
+// Welsh
+
+global $l;
+$l = Array();
+
+// PAGE META DESCRIPTORS --------------------------------------
+
+$l['a_meta_charset'] = 'UTF-8';
+$l['a_meta_dir'] = 'rtl';
+$l['a_meta_language'] = 'yi';
+
+// TRANSLATIONS --------------------------------------
+$l['w_page'] = 'זייַט';
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/lang/zho.php b/public/library/TCPDF/examples/lang/zho.php
new file mode 100644
index 0000000..8eea0a9
--- /dev/null
+++ b/public/library/TCPDF/examples/lang/zho.php
@@ -0,0 +1,44 @@
+<?php
+//============================================================+
+// File name : zho.php
+// Begin : 2010-10-26
+// Last Update : 2010-10-26
+//
+// Description : Language module for TCPDF
+// (contains translated texts)
+// Chinese
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * TCPDF language file (contains translated texts).
+ * @package com.tecnick.tcpdf
+ * @brief TCPDF language file: Chinese
+ * @author Nicola Asuni
+ * @since 2010-10-26
+ */
+
+// Chinese
+
+global $l;
+$l = Array();
+
+// PAGE META DESCRIPTORS --------------------------------------
+
+$l['a_meta_charset'] = 'UTF-8';
+$l['a_meta_dir'] = 'ltr';
+$l['a_meta_language'] = 'zh';
+
+// TRANSLATIONS --------------------------------------
+$l['w_page'] = '頁面';
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/tcpdf_include.php b/public/library/TCPDF/examples/tcpdf_include.php
new file mode 100644
index 0000000..26e23a8
--- /dev/null
+++ b/public/library/TCPDF/examples/tcpdf_include.php
@@ -0,0 +1,48 @@
+<?php
+//============================================================+
+// File name : tcpdf_include.php
+// Begin : 2008-05-14
+// Last Update : 2014-12-10
+//
+// Description : Search and include the TCPDF library.
+//
+// Author: Nicola Asuni
+//
+// (c) Copyright:
+// Nicola Asuni
+// Tecnick.com LTD
+// www.tecnick.com
+// info@tecnick.com
+//============================================================+
+
+/**
+ * Search and include the TCPDF library.
+ * @package com.tecnick.tcpdf
+ * @abstract TCPDF - Include the main class.
+ * @author Nicola Asuni
+ * @since 2013-05-14
+ */
+
+// always load alternative config file for examples
+require_once('config/tcpdf_config_alt.php');
+
+// Include the main TCPDF library (search the library on the following directories).
+$tcpdf_include_dirs = array(
+ realpath('../tcpdf.php'),
+ '/usr/share/php/tcpdf/tcpdf.php',
+ '/usr/share/tcpdf/tcpdf.php',
+ '/usr/share/php-tcpdf/tcpdf.php',
+ '/var/www/tcpdf/tcpdf.php',
+ '/var/www/html/tcpdf/tcpdf.php',
+ '/usr/local/apache2/htdocs/tcpdf/tcpdf.php'
+);
+foreach ($tcpdf_include_dirs as $tcpdf_include_path) {
+ if (@file_exists($tcpdf_include_path)) {
+ require_once($tcpdf_include_path);
+ break;
+ }
+}
+
+//============================================================+
+// END OF FILE
+//============================================================+