From e0312d048b7ce4c789e9a7f345acccc40d9d19c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Doursenaud?= Date: Thu, 6 Aug 2015 17:35:53 +0200 Subject: [PATCH] Install TCPDF from composer --- composer.json | 3 +- composer.lock | 65 +- dev/dolibarr_changes.txt | 2 +- dev/test/testtcpdf.php | 4 +- dev/test/testutf.php | 4 +- htdocs/filefunc.inc.php | 2 +- .../includes/composer/autoload_classmap.php | 14 + htdocs/includes/composer/installed.json | 65 + htdocs/includes/tcpdf/include/sRGB.icc | Bin 6922 -> 0 bytes htdocs/includes/tcpdi/tcpdi_parser.php | 2 +- .../{ => tecnick.com}/tcpdf/CHANGELOG.TXT | 0 .../{ => tecnick.com}/tcpdf/LICENSE.TXT | 0 .../{ => tecnick.com}/tcpdf/README.TXT | 0 .../{ => tecnick.com}/tcpdf/composer.json | 0 .../tcpdf/config/tcpdf_config.php | 0 .../examples/barcodes/example_1d_html.php | 53 + .../examples/barcodes/example_1d_png.php | 53 + .../examples/barcodes/example_1d_svg.php | 53 + .../examples/barcodes/example_1d_svgi.php | 53 + .../barcodes/example_2d_datamatrix_html.php | 53 + .../barcodes/example_2d_datamatrix_png.php | 53 + .../barcodes/example_2d_datamatrix_svg.php | 53 + .../barcodes/example_2d_datamatrix_svgi.php | 53 + .../barcodes/example_2d_pdf417_html.php | 53 + .../barcodes/example_2d_pdf417_png.php | 53 + .../barcodes/example_2d_pdf417_svg.php | 53 + .../barcodes/example_2d_pdf417_svgi.php | 53 + .../barcodes/example_2d_qrcode_html.php | 53 + .../barcodes/example_2d_qrcode_png.php | 53 + .../barcodes/example_2d_qrcode_svg.php | 53 + .../barcodes/example_2d_qrcode_svgi.php | 53 + .../barcodes/tcpdf_barcodes_1d_include.php | 37 + .../barcodes/tcpdf_barcodes_2d_include.php | 37 + .../examples/config/tcpdf_config_alt.php | 222 + .../tcpdf/examples/data/cert/tcpdf.crt | 40 + .../tcpdf/examples/data/cert/tcpdf.fdf | Bin 0 -> 1286 bytes .../tcpdf/examples/data/cert/tcpdf.p12 | Bin 0 -> 1749 bytes .../tcpdf/examples/data/chapter_demo_1.txt | 19 + .../tcpdf/examples/data/chapter_demo_2.txt | 23 + .../tcpdf/examples/data/table_data_demo.txt | 15 + .../tcpdf/examples/data/utf8test.txt | 128 + .../tcpdf/examples/example_001.php | 106 + .../tcpdf/examples/example_002.php | 87 + .../tcpdf/examples/example_003.php | 118 + .../tcpdf/examples/example_004.php | 121 + .../tcpdf/examples/example_005.php | 158 + .../tcpdf/examples/example_006.php | 330 + .../tcpdf/examples/example_007.php | 113 + .../tcpdf/examples/example_008.php | 97 + .../tcpdf/examples/example_009.php | 146 + .../tcpdf/examples/example_010.php | 150 + .../tcpdf/examples/example_011.php | 138 + .../tcpdf/examples/example_012.pdf | Bin 0 -> 13214 bytes .../tcpdf/examples/example_012.php | 205 + .../tcpdf/examples/example_013.php | 229 + .../tcpdf/examples/example_014.php | 194 + .../tcpdf/examples/example_015.php | 161 + .../tcpdf/examples/example_016.php | 134 + .../tcpdf/examples/example_017.php | 117 + .../tcpdf/examples/example_018.php | 128 + .../tcpdf/examples/example_019.php | 98 + .../tcpdf/examples/example_020.php | 146 + .../tcpdf/examples/example_021.php | 91 + .../tcpdf/examples/example_022.php | 146 + .../tcpdf/examples/example_023.php | 113 + .../tcpdf/examples/example_024.php | 140 + .../tcpdf/examples/example_025.php | 118 + .../tcpdf/examples/example_026.php | 145 + .../tcpdf/examples/example_027.php | 418 + .../tcpdf/examples/example_028.php | 138 + .../tcpdf/examples/example_029.php | 124 + .../tcpdf/examples/example_030.php | 188 + .../tcpdf/examples/example_031.php | 103 + .../tcpdf/examples/example_032.php | 91 + .../tcpdf/examples/example_033.php | 105 + .../tcpdf/examples/example_034.php | 96 + .../tcpdf/examples/example_035.php | 111 + .../tcpdf/examples/example_036.php | 89 + .../tcpdf/examples/example_037.php | 147 + .../tcpdf/examples/example_038.php | 92 + .../tcpdf/examples/example_039.php | 104 + .../tcpdf/examples/example_040.php | 116 + .../tcpdf/examples/example_041.php | 90 + .../tcpdf/examples/example_042.php | 102 + .../tcpdf/examples/example_043.php | 85 + .../tcpdf/examples/example_044.php | 128 + .../tcpdf/examples/example_045.php | 140 + .../tcpdf/examples/example_046.php | 123 + .../tcpdf/examples/example_047.php | 117 + .../tcpdf/examples/example_048.php | 313 + .../tcpdf/examples/example_049.php | 126 + .../tcpdf/examples/example_050.php | 210 + .../tcpdf/examples/example_051.php | 145 + .../tcpdf/examples/example_052.php | 121 + .../tcpdf/examples/example_053.php | 108 + .../tcpdf/examples/example_054.php | 128 + .../tcpdf/examples/example_055.php | 115 + .../tcpdf/examples/example_056.php | 133 + .../tcpdf/examples/example_057.php | 268 + .../tcpdf/examples/example_058.php | 94 + .../tcpdf/examples/example_059.php | 190 + .../tcpdf/examples/example_060.php | 108 + .../tcpdf/examples/example_061.php | 264 + .../tcpdf/examples/example_062.php | 140 + .../tcpdf/examples/example_063.php | 131 + .../tcpdf/examples/example_064.php | 176 + .../tcpdf/examples/example_065.php | 98 + .../tcpdf/examples/images/_blank.png | Bin 0 -> 137 bytes .../tcpdf/examples/images/alpha.png | Bin 0 -> 23886 bytes .../tcpdf/examples/images/image_demo.jpg | Bin 0 -> 573845 bytes .../examples/images/image_with_alpha.png | Bin 0 -> 244218 bytes .../tecnick.com/tcpdf/examples/images/img.png | Bin 0 -> 195148 bytes .../tcpdf/examples/images/logo_example.gif | Bin 0 -> 21022 bytes .../tcpdf/examples/images/logo_example.jpg | Bin 0 -> 32732 bytes .../tcpdf/examples/images/logo_example.png | Bin 0 -> 19411 bytes .../tcpdf/examples/images/tcpdf_box.ai | 214 + .../tcpdf/examples/images/tcpdf_box.svg | 69 + .../tcpdf/examples/images/tcpdf_cell.png | Bin 0 -> 38415 bytes .../tcpdf/examples/images/tcpdf_logo.jpg | Bin 0 -> 17633 bytes .../tcpdf/examples/images/tcpdf_signature.png | Bin 0 -> 67931 bytes .../tcpdf/examples/images/testsvg.svg | 328 + .../tecnick.com/tcpdf/examples/images/tux.svg | 1487 ++ .../tecnick.com/tcpdf/examples/index.php | 115 + .../tecnick.com/tcpdf/examples/lang/afr.php | 44 + .../tecnick.com/tcpdf/examples/lang/ara.php | 44 + .../tecnick.com/tcpdf/examples/lang/aze.php | 44 + .../tecnick.com/tcpdf/examples/lang/bel.php | 44 + .../tecnick.com/tcpdf/examples/lang/bra.php | 44 + .../tecnick.com/tcpdf/examples/lang/bul.php | 44 + .../tecnick.com/tcpdf/examples/lang/cat.php | 44 + .../tecnick.com/tcpdf/examples/lang/ces.php | 44 + .../tecnick.com/tcpdf/examples/lang/chi.php | 44 + .../tecnick.com/tcpdf/examples/lang/cym.php | 44 + .../tecnick.com/tcpdf/examples/lang/dan.php | 44 + .../tecnick.com/tcpdf/examples/lang/eng.php | 44 + .../tecnick.com/tcpdf/examples/lang/est.php | 44 + .../tecnick.com/tcpdf/examples/lang/eus.php | 44 + .../tecnick.com/tcpdf/examples/lang/far.php | 44 + .../tecnick.com/tcpdf/examples/lang/fra.php | 44 + .../tecnick.com/tcpdf/examples/lang/ger.php | 44 + .../tecnick.com/tcpdf/examples/lang/gle.php | 44 + .../tecnick.com/tcpdf/examples/lang/glg.php | 44 + .../tecnick.com/tcpdf/examples/lang/hat.php | 44 + .../tecnick.com/tcpdf/examples/lang/heb.php | 44 + .../tecnick.com/tcpdf/examples/lang/hrv.php | 44 + .../tecnick.com/tcpdf/examples/lang/hun.php | 44 + .../tecnick.com/tcpdf/examples/lang/hye.php | 44 + .../tecnick.com/tcpdf/examples/lang/ind.php | 44 + .../tecnick.com/tcpdf/examples/lang/ita.php | 44 + .../tecnick.com/tcpdf/examples/lang/jpn.php | 44 + .../tecnick.com/tcpdf/examples/lang/kat.php | 44 + .../tecnick.com/tcpdf/examples/lang/kor.php | 44 + .../tecnick.com/tcpdf/examples/lang/mkd.php | 44 + .../tecnick.com/tcpdf/examples/lang/mlt.php | 44 + .../tecnick.com/tcpdf/examples/lang/msa.php | 44 + .../tecnick.com/tcpdf/examples/lang/nld.php | 44 + .../tecnick.com/tcpdf/examples/lang/nob.php | 44 + .../tecnick.com/tcpdf/examples/lang/pol.php | 44 + .../tecnick.com/tcpdf/examples/lang/por.php | 44 + .../tecnick.com/tcpdf/examples/lang/ron.php | 44 + .../tecnick.com/tcpdf/examples/lang/rus.php | 44 + .../tecnick.com/tcpdf/examples/lang/slv.php | 44 + .../tecnick.com/tcpdf/examples/lang/spa.php | 44 + .../tecnick.com/tcpdf/examples/lang/sqi.php | 44 + .../tecnick.com/tcpdf/examples/lang/srp.php | 44 + .../tecnick.com/tcpdf/examples/lang/swa.php | 44 + .../tecnick.com/tcpdf/examples/lang/swe.php | 44 + .../tecnick.com/tcpdf/examples/lang/ukr.php | 44 + .../tecnick.com/tcpdf/examples/lang/urd.php | 44 + .../tecnick.com/tcpdf/examples/lang/yid.php | 44 + .../tecnick.com/tcpdf/examples/lang/zho.php | 44 + .../tcpdf/examples/tcpdf_include.php | 48 + .../tcpdf/fonts/ae_fonts_2.0/COPYING | 0 .../tcpdf/fonts/ae_fonts_2.0/ChangeLog | 0 .../fonts/ae_fonts_2.0/ChangeLog.9745.BAK | 863 + .../tcpdf/fonts/ae_fonts_2.0/README | 0 .../tcpdf/fonts/aealarabiya.ctg.z | Bin .../tcpdf/fonts/aealarabiya.php | 0 .../tcpdf/fonts/aealarabiya.z | Bin .../tcpdf/fonts/aefurat.ctg.z | Bin .../{ => tecnick.com}/tcpdf/fonts/aefurat.php | 0 .../{ => tecnick.com}/tcpdf/fonts/aefurat.z | Bin .../{ => tecnick.com}/tcpdf/fonts/cid0cs.php | 0 .../{ => tecnick.com}/tcpdf/fonts/cid0ct.php | 0 .../{ => tecnick.com}/tcpdf/fonts/cid0jp.php | 0 .../{ => tecnick.com}/tcpdf/fonts/cid0kr.php | 0 .../{ => tecnick.com}/tcpdf/fonts/courier.php | 0 .../tcpdf/fonts/courierb.php | 0 .../tcpdf/fonts/courierbi.php | 0 .../tcpdf/fonts/courieri.php | 0 .../tcpdf/fonts/dejavu-fonts-ttf-2.33/AUTHORS | 53 + .../tcpdf/fonts/dejavu-fonts-ttf-2.33}/BUGS | 0 .../fonts/dejavu-fonts-ttf-2.33}/LICENSE | 0 .../tcpdf/fonts/dejavu-fonts-ttf-2.33/NEWS | 1315 ++ .../tcpdf/fonts/dejavu-fonts-ttf-2.33/README | 59 + .../fonts/dejavu-fonts-ttf-2.33/langcover.txt | 242 + .../fonts/dejavu-fonts-ttf-2.33/status.txt | 6657 +++++++ .../fonts/dejavu-fonts-ttf-2.33/unicover.txt | 215 + .../tcpdf/fonts/dejavu-fonts-ttf-2.34/AUTHORS | 0 .../tcpdf/fonts/dejavu-fonts-ttf-2.34/BUGS | 3 + .../tcpdf/fonts/dejavu-fonts-ttf-2.34/LICENSE | 99 + .../tcpdf/fonts/dejavu-fonts-ttf-2.34/NEWS | 0 .../tcpdf/fonts/dejavu-fonts-ttf-2.34/README | 0 .../fonts/dejavu-fonts-ttf-2.34/langcover.txt | 0 .../fonts/dejavu-fonts-ttf-2.34/status.txt | 0 .../fonts/dejavu-fonts-ttf-2.34/unicover.txt | 0 .../tcpdf/fonts/dejavusans.ctg.z | Bin .../tcpdf/fonts/dejavusans.php | 0 .../tcpdf/fonts/dejavusans.z | Bin .../tcpdf/fonts/dejavusansb.ctg.z | Bin .../tcpdf/fonts/dejavusansb.php | 0 .../tcpdf/fonts/dejavusansb.z | Bin .../tcpdf/fonts/dejavusansbi.ctg.z | Bin .../tcpdf/fonts/dejavusansbi.php | 0 .../tcpdf/fonts/dejavusansbi.z | Bin .../tcpdf/fonts/dejavusanscondensed.ctg.z | Bin .../tcpdf/fonts/dejavusanscondensed.php | 0 .../tcpdf/fonts/dejavusanscondensed.z | Bin .../tcpdf/fonts/dejavusanscondensedb.ctg.z | Bin .../tcpdf/fonts/dejavusanscondensedb.php | 0 .../tcpdf/fonts/dejavusanscondensedb.z | Bin .../tcpdf/fonts/dejavusanscondensedbi.ctg.z | Bin .../tcpdf/fonts/dejavusanscondensedbi.php | 0 .../tcpdf/fonts/dejavusanscondensedbi.z | Bin .../tcpdf/fonts/dejavusanscondensedi.ctg.z | Bin .../tcpdf/fonts/dejavusanscondensedi.php | 0 .../tcpdf/fonts/dejavusanscondensedi.z | Bin .../tcpdf/fonts/dejavusansextralight.ctg.z | Bin .../tcpdf/fonts/dejavusansextralight.php | 0 .../tcpdf/fonts/dejavusansextralight.z | Bin .../tcpdf/fonts/dejavusansi.ctg.z | Bin .../tcpdf/fonts/dejavusansi.php | 0 .../tcpdf/fonts/dejavusansi.z | Bin .../tcpdf/fonts/dejavusansmono.ctg.z | Bin .../tcpdf/fonts/dejavusansmono.php | 0 .../tcpdf/fonts/dejavusansmono.z | Bin .../tcpdf/fonts/dejavusansmonob.ctg.z | Bin .../tcpdf/fonts/dejavusansmonob.php | 0 .../tcpdf/fonts/dejavusansmonob.z | Bin .../tcpdf/fonts/dejavusansmonobi.ctg.z | Bin .../tcpdf/fonts/dejavusansmonobi.php | 0 .../tcpdf/fonts/dejavusansmonobi.z | Bin .../tcpdf/fonts/dejavusansmonoi.ctg.z | Bin .../tcpdf/fonts/dejavusansmonoi.php | 0 .../tcpdf/fonts/dejavusansmonoi.z | Bin .../tcpdf/fonts/dejavuserif.ctg.z | Bin .../tcpdf/fonts/dejavuserif.php | 0 .../tcpdf/fonts/dejavuserif.z | Bin .../tcpdf/fonts/dejavuserifb.ctg.z | Bin .../tcpdf/fonts/dejavuserifb.php | 0 .../tcpdf/fonts/dejavuserifb.z | Bin .../tcpdf/fonts/dejavuserifbi.ctg.z | Bin .../tcpdf/fonts/dejavuserifbi.php | 0 .../tcpdf/fonts/dejavuserifbi.z | Bin .../tcpdf/fonts/dejavuserifcondensed.ctg.z | Bin .../tcpdf/fonts/dejavuserifcondensed.php | 0 .../tcpdf/fonts/dejavuserifcondensed.z | Bin .../tcpdf/fonts/dejavuserifcondensedb.ctg.z | Bin .../tcpdf/fonts/dejavuserifcondensedb.php | 0 .../tcpdf/fonts/dejavuserifcondensedb.z | Bin .../tcpdf/fonts/dejavuserifcondensedbi.ctg.z | Bin .../tcpdf/fonts/dejavuserifcondensedbi.php | 0 .../tcpdf/fonts/dejavuserifcondensedbi.z | Bin .../tcpdf/fonts/dejavuserifcondensedi.ctg.z | Bin .../tcpdf/fonts/dejavuserifcondensedi.php | 0 .../tcpdf/fonts/dejavuserifcondensedi.z | Bin .../tcpdf/fonts/dejavuserifi.ctg.z | Bin .../tcpdf/fonts/dejavuserifi.php | 0 .../tcpdf/fonts/dejavuserifi.z | Bin .../tcpdf/fonts/freefont-20100919/AUTHORS | 235 + .../tcpdf/fonts/freefont-20100919}/COPYING | 0 .../tcpdf/fonts/freefont-20100919/CREDITS | 581 + .../tcpdf/fonts/freefont-20100919/ChangeLog | 6325 +++++++ .../tcpdf/fonts/freefont-20100919/INSTALL | 86 + .../tcpdf/fonts/freefont-20100919/README | 108 + .../tcpdf/fonts/freefont-20120503/AUTHORS | 0 .../tcpdf/fonts/freefont-20120503/COPYING | 674 + .../tcpdf/fonts/freefont-20120503/CREDITS | 0 .../tcpdf/fonts/freefont-20120503/ChangeLog | 0 .../freefont-20120503/ChangeLog.10070.BAK | 14707 ++++++++++++++++ .../tcpdf/fonts/freefont-20120503/INSTALL | 0 .../tcpdf/fonts/freefont-20120503/README | 0 .../fonts/freefont-20120503/TROUBLESHOOTING | 0 .../tcpdf/fonts/freefont-20120503/USAGE | 0 .../tcpdf/fonts/freemono.ctg.z | Bin .../tcpdf/fonts/freemono.php | 0 .../{ => tecnick.com}/tcpdf/fonts/freemono.z | Bin .../tcpdf/fonts/freemonob.ctg.z | Bin .../tcpdf/fonts/freemonob.php | 0 .../{ => tecnick.com}/tcpdf/fonts/freemonob.z | Bin .../tcpdf/fonts/freemonobi.ctg.z | Bin .../tcpdf/fonts/freemonobi.php | 0 .../tcpdf/fonts/freemonobi.z | Bin .../tcpdf/fonts/freemonoi.ctg.z | Bin .../tcpdf/fonts/freemonoi.php | 0 .../{ => tecnick.com}/tcpdf/fonts/freemonoi.z | Bin .../tcpdf/fonts/freesans.ctg.z | Bin .../tcpdf/fonts/freesans.php | 0 .../{ => tecnick.com}/tcpdf/fonts/freesans.z | Bin .../tcpdf/fonts/freesansb.ctg.z | Bin .../tcpdf/fonts/freesansb.php | 0 .../{ => tecnick.com}/tcpdf/fonts/freesansb.z | Bin .../tcpdf/fonts/freesansbi.ctg.z | Bin .../tcpdf/fonts/freesansbi.php | 0 .../tcpdf/fonts/freesansbi.z | Bin .../tcpdf/fonts/freesansi.ctg.z | Bin .../tcpdf/fonts/freesansi.php | 0 .../{ => tecnick.com}/tcpdf/fonts/freesansi.z | Bin .../tcpdf/fonts/freeserif.ctg.z | Bin .../tcpdf/fonts/freeserif.php | 0 .../{ => tecnick.com}/tcpdf/fonts/freeserif.z | Bin .../tcpdf/fonts/freeserifb.ctg.z | Bin .../tcpdf/fonts/freeserifb.php | 0 .../tcpdf/fonts/freeserifb.z | Bin .../tcpdf/fonts/freeserifbi.ctg.z | Bin .../tcpdf/fonts/freeserifbi.php | 0 .../tcpdf/fonts/freeserifbi.z | Bin .../tcpdf/fonts/freeserifi.ctg.z | Bin .../tcpdf/fonts/freeserifi.php | 0 .../tcpdf/fonts/freeserifi.z | Bin .../tcpdf/fonts/helvetica.php | 0 .../tcpdf/fonts/helveticab.php | 0 .../tcpdf/fonts/helveticabi.php | 0 .../tcpdf/fonts/helveticai.php | 0 .../tcpdf/fonts/hysmyeongjostdmedium.php | 0 .../tcpdf/fonts/kozgopromedium.php | 0 .../tcpdf/fonts/kozminproregular.php | 0 .../tcpdf/fonts/msungstdlight.php | 0 .../tcpdf/fonts/pdfacourier.php | 0 .../tcpdf/fonts/pdfacourier.z | Bin .../tcpdf/fonts/pdfacourierb.php | 0 .../tcpdf/fonts/pdfacourierb.z | Bin .../tcpdf/fonts/pdfacourierbi.php | 0 .../tcpdf/fonts/pdfacourierbi.z | Bin .../tcpdf/fonts/pdfacourieri.php | 0 .../tcpdf/fonts/pdfacourieri.z | Bin .../tcpdf/fonts/pdfahelvetica.php | 0 .../tcpdf/fonts/pdfahelvetica.z | Bin .../tcpdf/fonts/pdfahelveticab.php | 0 .../tcpdf/fonts/pdfahelveticab.z | Bin .../tcpdf/fonts/pdfahelveticabi.php | 0 .../tcpdf/fonts/pdfahelveticabi.z | Bin .../tcpdf/fonts/pdfahelveticai.php | 0 .../tcpdf/fonts/pdfahelveticai.z | Bin .../tcpdf/fonts/pdfasymbol.php | 0 .../tcpdf/fonts/pdfasymbol.z | Bin .../tcpdf/fonts/pdfatimes.php | 0 .../{ => tecnick.com}/tcpdf/fonts/pdfatimes.z | Bin .../tcpdf/fonts/pdfatimesb.php | 0 .../tcpdf/fonts/pdfatimesb.z | Bin .../tcpdf/fonts/pdfatimesbi.php | 0 .../tcpdf/fonts/pdfatimesbi.z | Bin .../tcpdf/fonts/pdfatimesi.php | 0 .../tcpdf/fonts/pdfatimesi.z | Bin .../tcpdf/fonts/pdfazapfdingbats.php | 0 .../tcpdf/fonts/pdfazapfdingbats.z | Bin .../tcpdf/fonts/stsongstdlight.php | 0 .../{ => tecnick.com}/tcpdf/fonts/symbol.php | 0 .../{ => tecnick.com}/tcpdf/fonts/times.php | 0 .../{ => tecnick.com}/tcpdf/fonts/timesb.php | 0 .../{ => tecnick.com}/tcpdf/fonts/timesbi.php | 0 .../{ => tecnick.com}/tcpdf/fonts/timesi.php | 0 .../tcpdf/fonts/uni2cid_ac15.php | 0 .../tcpdf/fonts/uni2cid_ag15.php | 0 .../tcpdf/fonts/uni2cid_aj16.php | 0 .../tcpdf/fonts/uni2cid_ak12.php | 0 .../tcpdf/fonts/zapfdingbats.php | 0 .../tcpdf/include/barcodes/datamatrix.php | 0 .../tcpdf/include/barcodes/pdf417.php | 0 .../tcpdf/include/barcodes/qrcode.php | 0 .../tecnick.com/tcpdf/include/sRGB.icc | Bin 0 -> 3048 bytes .../tcpdf/include/tcpdf_colors.php | 0 .../tcpdf/include/tcpdf_filters.php | 0 .../tcpdf/include/tcpdf_font_data.php | 0 .../tcpdf/include/tcpdf_fonts.php | 0 .../tcpdf/include/tcpdf_images.php | 0 .../tcpdf/include/tcpdf_static.php | 0 .../{ => tecnick.com}/tcpdf/tcpdf.php | 0 .../tcpdf/tcpdf_autoconfig.php | 0 .../tcpdf/tcpdf_barcodes_1d.php | 0 .../tcpdf/tcpdf_barcodes_2d.php | 0 .../{ => tecnick.com}/tcpdf/tcpdf_import.php | 0 .../{ => tecnick.com}/tcpdf/tcpdf_parser.php | 0 .../tecnick.com/tcpdf/tools/.htaccess | 1 + .../tcpdf/tools/convert_fonts_examples.txt | 28 + .../tecnick.com/tcpdf/tools/tcpdf_addfont.php | 269 + 386 files changed, 47718 insertions(+), 9 deletions(-) delete mode 100644 htdocs/includes/tcpdf/include/sRGB.icc rename htdocs/includes/{ => tecnick.com}/tcpdf/CHANGELOG.TXT (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/LICENSE.TXT (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/README.TXT (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/composer.json (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/config/tcpdf_config.php (100%) create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/barcodes/example_1d_html.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/barcodes/example_1d_png.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/barcodes/example_1d_svg.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/barcodes/example_1d_svgi.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/barcodes/example_2d_datamatrix_html.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/barcodes/example_2d_datamatrix_png.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/barcodes/example_2d_datamatrix_svg.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/barcodes/example_2d_datamatrix_svgi.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/barcodes/example_2d_pdf417_html.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/barcodes/example_2d_pdf417_png.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/barcodes/example_2d_pdf417_svg.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/barcodes/example_2d_pdf417_svgi.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/barcodes/example_2d_qrcode_html.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/barcodes/example_2d_qrcode_png.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/barcodes/example_2d_qrcode_svg.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/barcodes/example_2d_qrcode_svgi.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/barcodes/tcpdf_barcodes_1d_include.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/barcodes/tcpdf_barcodes_2d_include.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/config/tcpdf_config_alt.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/data/cert/tcpdf.crt create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/data/cert/tcpdf.fdf create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/data/cert/tcpdf.p12 create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/data/chapter_demo_1.txt create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/data/chapter_demo_2.txt create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/data/table_data_demo.txt create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/data/utf8test.txt create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/example_001.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/example_002.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/example_003.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/example_004.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/example_005.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/example_006.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/example_007.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/example_008.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/example_009.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/example_010.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/example_011.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/example_012.pdf create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/example_012.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/example_013.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/example_014.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/example_015.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/example_016.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/example_017.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/example_018.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/example_019.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/example_020.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/example_021.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/example_022.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/example_023.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/example_024.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/example_025.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/example_026.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/example_027.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/example_028.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/example_029.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/example_030.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/example_031.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/example_032.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/example_033.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/example_034.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/example_035.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/example_036.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/example_037.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/example_038.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/example_039.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/example_040.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/example_041.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/example_042.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/example_043.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/example_044.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/example_045.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/example_046.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/example_047.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/example_048.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/example_049.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/example_050.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/example_051.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/example_052.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/example_053.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/example_054.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/example_055.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/example_056.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/example_057.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/example_058.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/example_059.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/example_060.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/example_061.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/example_062.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/example_063.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/example_064.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/example_065.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/images/_blank.png create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/images/alpha.png create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/images/image_demo.jpg create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/images/image_with_alpha.png create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/images/img.png create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/images/logo_example.gif create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/images/logo_example.jpg create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/images/logo_example.png create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/images/tcpdf_box.ai create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/images/tcpdf_box.svg create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/images/tcpdf_cell.png create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/images/tcpdf_logo.jpg create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/images/tcpdf_signature.png create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/images/testsvg.svg create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/images/tux.svg create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/index.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/lang/afr.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/lang/ara.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/lang/aze.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/lang/bel.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/lang/bra.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/lang/bul.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/lang/cat.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/lang/ces.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/lang/chi.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/lang/cym.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/lang/dan.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/lang/eng.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/lang/est.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/lang/eus.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/lang/far.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/lang/fra.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/lang/ger.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/lang/gle.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/lang/glg.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/lang/hat.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/lang/heb.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/lang/hrv.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/lang/hun.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/lang/hye.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/lang/ind.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/lang/ita.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/lang/jpn.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/lang/kat.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/lang/kor.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/lang/mkd.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/lang/mlt.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/lang/msa.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/lang/nld.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/lang/nob.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/lang/pol.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/lang/por.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/lang/ron.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/lang/rus.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/lang/slv.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/lang/spa.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/lang/sqi.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/lang/srp.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/lang/swa.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/lang/swe.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/lang/ukr.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/lang/urd.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/lang/yid.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/lang/zho.php create mode 100644 htdocs/includes/tecnick.com/tcpdf/examples/tcpdf_include.php rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/ae_fonts_2.0/COPYING (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/ae_fonts_2.0/ChangeLog (100%) create mode 100644 htdocs/includes/tecnick.com/tcpdf/fonts/ae_fonts_2.0/ChangeLog.9745.BAK rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/ae_fonts_2.0/README (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/aealarabiya.ctg.z (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/aealarabiya.php (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/aealarabiya.z (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/aefurat.ctg.z (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/aefurat.php (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/aefurat.z (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/cid0cs.php (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/cid0ct.php (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/cid0jp.php (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/cid0kr.php (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/courier.php (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/courierb.php (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/courierbi.php (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/courieri.php (100%) create mode 100644 htdocs/includes/tecnick.com/tcpdf/fonts/dejavu-fonts-ttf-2.33/AUTHORS rename htdocs/includes/{tcpdf/fonts/dejavu-fonts-ttf-2.34 => tecnick.com/tcpdf/fonts/dejavu-fonts-ttf-2.33}/BUGS (100%) rename htdocs/includes/{tcpdf/fonts/dejavu-fonts-ttf-2.34 => tecnick.com/tcpdf/fonts/dejavu-fonts-ttf-2.33}/LICENSE (100%) create mode 100644 htdocs/includes/tecnick.com/tcpdf/fonts/dejavu-fonts-ttf-2.33/NEWS create mode 100644 htdocs/includes/tecnick.com/tcpdf/fonts/dejavu-fonts-ttf-2.33/README create mode 100644 htdocs/includes/tecnick.com/tcpdf/fonts/dejavu-fonts-ttf-2.33/langcover.txt create mode 100644 htdocs/includes/tecnick.com/tcpdf/fonts/dejavu-fonts-ttf-2.33/status.txt create mode 100644 htdocs/includes/tecnick.com/tcpdf/fonts/dejavu-fonts-ttf-2.33/unicover.txt rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/dejavu-fonts-ttf-2.34/AUTHORS (100%) create mode 100644 htdocs/includes/tecnick.com/tcpdf/fonts/dejavu-fonts-ttf-2.34/BUGS create mode 100644 htdocs/includes/tecnick.com/tcpdf/fonts/dejavu-fonts-ttf-2.34/LICENSE rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/dejavu-fonts-ttf-2.34/NEWS (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/dejavu-fonts-ttf-2.34/README (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/dejavu-fonts-ttf-2.34/langcover.txt (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/dejavu-fonts-ttf-2.34/status.txt (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/dejavu-fonts-ttf-2.34/unicover.txt (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/dejavusans.ctg.z (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/dejavusans.php (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/dejavusans.z (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/dejavusansb.ctg.z (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/dejavusansb.php (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/dejavusansb.z (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/dejavusansbi.ctg.z (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/dejavusansbi.php (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/dejavusansbi.z (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/dejavusanscondensed.ctg.z (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/dejavusanscondensed.php (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/dejavusanscondensed.z (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/dejavusanscondensedb.ctg.z (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/dejavusanscondensedb.php (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/dejavusanscondensedb.z (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/dejavusanscondensedbi.ctg.z (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/dejavusanscondensedbi.php (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/dejavusanscondensedbi.z (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/dejavusanscondensedi.ctg.z (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/dejavusanscondensedi.php (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/dejavusanscondensedi.z (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/dejavusansextralight.ctg.z (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/dejavusansextralight.php (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/dejavusansextralight.z (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/dejavusansi.ctg.z (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/dejavusansi.php (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/dejavusansi.z (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/dejavusansmono.ctg.z (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/dejavusansmono.php (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/dejavusansmono.z (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/dejavusansmonob.ctg.z (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/dejavusansmonob.php (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/dejavusansmonob.z (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/dejavusansmonobi.ctg.z (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/dejavusansmonobi.php (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/dejavusansmonobi.z (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/dejavusansmonoi.ctg.z (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/dejavusansmonoi.php (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/dejavusansmonoi.z (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/dejavuserif.ctg.z (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/dejavuserif.php (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/dejavuserif.z (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/dejavuserifb.ctg.z (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/dejavuserifb.php (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/dejavuserifb.z (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/dejavuserifbi.ctg.z (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/dejavuserifbi.php (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/dejavuserifbi.z (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/dejavuserifcondensed.ctg.z (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/dejavuserifcondensed.php (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/dejavuserifcondensed.z (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/dejavuserifcondensedb.ctg.z (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/dejavuserifcondensedb.php (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/dejavuserifcondensedb.z (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/dejavuserifcondensedbi.ctg.z (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/dejavuserifcondensedbi.php (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/dejavuserifcondensedbi.z (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/dejavuserifcondensedi.ctg.z (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/dejavuserifcondensedi.php (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/dejavuserifcondensedi.z (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/dejavuserifi.ctg.z (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/dejavuserifi.php (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/dejavuserifi.z (100%) create mode 100644 htdocs/includes/tecnick.com/tcpdf/fonts/freefont-20100919/AUTHORS rename htdocs/includes/{tcpdf/fonts/freefont-20120503 => tecnick.com/tcpdf/fonts/freefont-20100919}/COPYING (100%) create mode 100644 htdocs/includes/tecnick.com/tcpdf/fonts/freefont-20100919/CREDITS create mode 100644 htdocs/includes/tecnick.com/tcpdf/fonts/freefont-20100919/ChangeLog create mode 100644 htdocs/includes/tecnick.com/tcpdf/fonts/freefont-20100919/INSTALL create mode 100644 htdocs/includes/tecnick.com/tcpdf/fonts/freefont-20100919/README rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/freefont-20120503/AUTHORS (100%) create mode 100644 htdocs/includes/tecnick.com/tcpdf/fonts/freefont-20120503/COPYING rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/freefont-20120503/CREDITS (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/freefont-20120503/ChangeLog (100%) create mode 100644 htdocs/includes/tecnick.com/tcpdf/fonts/freefont-20120503/ChangeLog.10070.BAK rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/freefont-20120503/INSTALL (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/freefont-20120503/README (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/freefont-20120503/TROUBLESHOOTING (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/freefont-20120503/USAGE (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/freemono.ctg.z (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/freemono.php (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/freemono.z (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/freemonob.ctg.z (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/freemonob.php (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/freemonob.z (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/freemonobi.ctg.z (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/freemonobi.php (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/freemonobi.z (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/freemonoi.ctg.z (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/freemonoi.php (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/freemonoi.z (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/freesans.ctg.z (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/freesans.php (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/freesans.z (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/freesansb.ctg.z (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/freesansb.php (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/freesansb.z (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/freesansbi.ctg.z (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/freesansbi.php (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/freesansbi.z (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/freesansi.ctg.z (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/freesansi.php (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/freesansi.z (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/freeserif.ctg.z (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/freeserif.php (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/freeserif.z (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/freeserifb.ctg.z (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/freeserifb.php (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/freeserifb.z (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/freeserifbi.ctg.z (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/freeserifbi.php (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/freeserifbi.z (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/freeserifi.ctg.z (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/freeserifi.php (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/freeserifi.z (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/helvetica.php (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/helveticab.php (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/helveticabi.php (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/helveticai.php (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/hysmyeongjostdmedium.php (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/kozgopromedium.php (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/kozminproregular.php (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/msungstdlight.php (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/pdfacourier.php (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/pdfacourier.z (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/pdfacourierb.php (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/pdfacourierb.z (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/pdfacourierbi.php (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/pdfacourierbi.z (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/pdfacourieri.php (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/pdfacourieri.z (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/pdfahelvetica.php (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/pdfahelvetica.z (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/pdfahelveticab.php (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/pdfahelveticab.z (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/pdfahelveticabi.php (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/pdfahelveticabi.z (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/pdfahelveticai.php (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/pdfahelveticai.z (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/pdfasymbol.php (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/pdfasymbol.z (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/pdfatimes.php (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/pdfatimes.z (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/pdfatimesb.php (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/pdfatimesb.z (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/pdfatimesbi.php (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/pdfatimesbi.z (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/pdfatimesi.php (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/pdfatimesi.z (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/pdfazapfdingbats.php (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/pdfazapfdingbats.z (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/stsongstdlight.php (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/symbol.php (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/times.php (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/timesb.php (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/timesbi.php (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/timesi.php (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/uni2cid_ac15.php (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/uni2cid_ag15.php (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/uni2cid_aj16.php (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/uni2cid_ak12.php (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/fonts/zapfdingbats.php (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/include/barcodes/datamatrix.php (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/include/barcodes/pdf417.php (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/include/barcodes/qrcode.php (100%) create mode 100644 htdocs/includes/tecnick.com/tcpdf/include/sRGB.icc rename htdocs/includes/{ => tecnick.com}/tcpdf/include/tcpdf_colors.php (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/include/tcpdf_filters.php (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/include/tcpdf_font_data.php (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/include/tcpdf_fonts.php (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/include/tcpdf_images.php (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/include/tcpdf_static.php (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/tcpdf.php (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/tcpdf_autoconfig.php (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/tcpdf_barcodes_1d.php (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/tcpdf_barcodes_2d.php (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/tcpdf_import.php (100%) rename htdocs/includes/{ => tecnick.com}/tcpdf/tcpdf_parser.php (100%) create mode 100644 htdocs/includes/tecnick.com/tcpdf/tools/.htaccess create mode 100644 htdocs/includes/tecnick.com/tcpdf/tools/convert_fonts_examples.txt create mode 100755 htdocs/includes/tecnick.com/tcpdf/tools/tcpdf_addfont.php diff --git a/composer.json b/composer.json index 9ee3c67a396..7588f7da49c 100644 --- a/composer.json +++ b/composer.json @@ -17,7 +17,8 @@ "ckeditor/ckeditor": "4.3.3", "mobiledetect/mobiledetectlib": "2.8.3", "phpoffice/phpexcel": "1.8.0", - "restler/framework": "^3.0" + "restler/framework": "^3.0", + "tecnick.com/tcpdf": "6.2.6" }, "suggest": { "ext-mysqlnd": "To use with MySQL or MariaDB", diff --git a/composer.lock b/composer.lock index e22623b42e4..de85792664e 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "This file is @generated automatically" ], - "hash": "e126d49246bc77b1d1296b54414e2cce", + "hash": "ca5a74259e0d1773089838908d58cb31", "packages": [ { "name": "ccampbell/chromephp", @@ -272,6 +272,69 @@ "server" ], "time": "2015-08-04 07:52:49" + }, + { + "name": "tecnick.com/tcpdf", + "version": "6.2.6", + "source": { + "type": "git", + "url": "https://github.com/tecnickcom/TCPDF.git", + "reference": "a2e8f5b505a7a14a4ed960313c4baf699fd1f4bb" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/tecnickcom/TCPDF/zipball/a2e8f5b505a7a14a4ed960313c4baf699fd1f4bb", + "reference": "a2e8f5b505a7a14a4ed960313c4baf699fd1f4bb", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" + }, + "type": "library", + "autoload": { + "classmap": [ + "fonts", + "config", + "include", + "tcpdf.php", + "tcpdf_parser.php", + "tcpdf_import.php", + "tcpdf_barcodes_1d.php", + "tcpdf_barcodes_2d.php", + "include/tcpdf_colors.php", + "include/tcpdf_filters.php", + "include/tcpdf_font_data.php", + "include/tcpdf_fonts.php", + "include/tcpdf_images.php", + "include/tcpdf_static.php", + "include/barcodes/datamatrix.php", + "include/barcodes/pdf417.php", + "include/barcodes/qrcode.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "LGPLv3" + ], + "authors": [ + { + "name": "Nicola Asuni", + "email": "info@tecnick.com", + "homepage": "http://nicolaasuni.tecnick.com" + } + ], + "description": "TCPDF is a PHP class for generating PDF documents and barcodes.", + "homepage": "http://www.tcpdf.org/", + "keywords": [ + "PDFD32000-2008", + "TCPDF", + "barcodes", + "datamatrix", + "pdf", + "pdf417", + "qrcode" + ], + "time": "2015-01-28 18:51:40" } ], "packages-dev": [], diff --git a/dev/dolibarr_changes.txt b/dev/dolibarr_changes.txt index bf68293d369..9d449070a5f 100644 --- a/dev/dolibarr_changes.txt +++ b/dev/dolibarr_changes.txt @@ -69,7 +69,7 @@ Add tcpdi.php Add tcpdi_parser.php and replace: require_once(dirname(__FILE__).'/include/tcpdf_filters.php'); with: -require_once(dirname(__FILE__).'/../tcpdf/include/tcpdf_filters.php'); +require_once(dirname(__FILE__).'/../tecnick.com/tcpdf/include/tcpdf_filters.php'); diff --git a/dev/test/testtcpdf.php b/dev/test/testtcpdf.php index 4b8b6f36d53..6b600c630d3 100755 --- a/dev/test/testtcpdf.php +++ b/dev/test/testtcpdf.php @@ -27,8 +27,8 @@ * @since 2008-03-04 */ -require_once('../../htdocs/includes/tcpdf/config/lang/eng.php'); -require_once('../../htdocs/includes/tcpdf/tcpdf.php'); +require_once('../../htdocs/includes/tecnick.com/tcpdf/config/tcpdf_config.php'); +require_once('../../htdocs/includes/tecnick.com/tcpdf/tcpdf.php'); // create new PDF document $pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false); diff --git a/dev/test/testutf.php b/dev/test/testutf.php index 5812b0c8639..f60f9d195a3 100644 --- a/dev/test/testutf.php +++ b/dev/test/testutf.php @@ -47,8 +47,8 @@ print 'Files has been created. Check its name from your explorer'."\n"; * @since 2008-09-15 */ -require_once('../../htdocs/includes/tcpdf/config/lang/eng.php'); -require_once('../../htdocs/includes/tcpdf/tcpdf.php'); +require_once('../../htdocs/includes/tecnick.com/tcpdf/config/tcpdf_config.php'); +require_once('../../htdocs/includes/tecnick.com/tcpdf/tcpdf.php'); // create new PDF document $pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false); diff --git a/htdocs/filefunc.inc.php b/htdocs/filefunc.inc.php index cc9519bd587..c591359f424 100644 --- a/htdocs/filefunc.inc.php +++ b/htdocs/filefunc.inc.php @@ -205,7 +205,7 @@ define('MAIN_DB_PREFIX',$dolibarr_main_db_prefix); // Path to root libraries if (! defined('ADODB_PATH')) { define('ADODB_PATH', (!isset($dolibarr_lib_ADODB_PATH))?DOL_DOCUMENT_ROOT.'/includes/adodbtime/':(empty($dolibarr_lib_ADODB_PATH)?'':$dolibarr_lib_ADODB_PATH.'/')); } if (! defined('FPDF_PATH')) { define('FPDF_PATH', (empty($dolibarr_lib_FPDF_PATH))?DOL_DOCUMENT_ROOT.'/includes/fpdf/':$dolibarr_lib_FPDF_PATH.'/'); } // Used only for package that can't include tcpdf -if (! defined('TCPDF_PATH')) { define('TCPDF_PATH', (empty($dolibarr_lib_TCPDF_PATH))?DOL_DOCUMENT_ROOT.'/includes/tcpdf/':$dolibarr_lib_TCPDF_PATH.'/'); } +if (! defined('TCPDF_PATH')) { define('TCPDF_PATH', (empty($dolibarr_lib_TCPDF_PATH))?DOL_DOCUMENT_ROOT.'/includes/tecnick.com/tcpdf/':$dolibarr_lib_TCPDF_PATH.'/'); } if (! defined('FPDI_PATH')) { define('FPDI_PATH', (empty($dolibarr_lib_FPDI_PATH))?DOL_DOCUMENT_ROOT.'/includes/fpdfi/':$dolibarr_lib_FPDI_PATH.'/'); } if (! defined('TCPDI_PATH')) { define('TCPDI_PATH', (empty($dolibarr_lib_TCPDI_PATH))?DOL_DOCUMENT_ROOT.'/includes/tcpdi/':$dolibarr_lib_TCPDI_PATH.'/'); } if (! defined('NUSOAP_PATH')) { define('NUSOAP_PATH', (!isset($dolibarr_lib_NUSOAP_PATH))?DOL_DOCUMENT_ROOT.'/includes/nusoap/lib/':(empty($dolibarr_lib_NUSOAP_PATH)?'':$dolibarr_lib_NUSOAP_PATH.'/')); } diff --git a/htdocs/includes/composer/autoload_classmap.php b/htdocs/includes/composer/autoload_classmap.php index 3f54782059b..0d1abcbe041 100644 --- a/htdocs/includes/composer/autoload_classmap.php +++ b/htdocs/includes/composer/autoload_classmap.php @@ -6,5 +6,19 @@ $vendorDir = dirname(dirname(__FILE__)); $baseDir = dirname(dirname($vendorDir)); return array( + 'Datamatrix' => $vendorDir . '/tecnick.com/tcpdf/include/barcodes/datamatrix.php', 'Mobile_Detect' => $vendorDir . '/mobiledetect/mobiledetectlib/Mobile_Detect.php', + 'PDF417' => $vendorDir . '/tecnick.com/tcpdf/include/barcodes/pdf417.php', + 'QRcode' => $vendorDir . '/tecnick.com/tcpdf/include/barcodes/qrcode.php', + 'TCPDF' => $vendorDir . '/tecnick.com/tcpdf/tcpdf.php', + 'TCPDF2DBarcode' => $vendorDir . '/tecnick.com/tcpdf/tcpdf_barcodes_2d.php', + 'TCPDFBarcode' => $vendorDir . '/tecnick.com/tcpdf/tcpdf_barcodes_1d.php', + 'TCPDF_COLORS' => $vendorDir . '/tecnick.com/tcpdf/include/tcpdf_colors.php', + 'TCPDF_FILTERS' => $vendorDir . '/tecnick.com/tcpdf/include/tcpdf_filters.php', + 'TCPDF_FONTS' => $vendorDir . '/tecnick.com/tcpdf/include/tcpdf_fonts.php', + 'TCPDF_FONT_DATA' => $vendorDir . '/tecnick.com/tcpdf/include/tcpdf_font_data.php', + 'TCPDF_IMAGES' => $vendorDir . '/tecnick.com/tcpdf/include/tcpdf_images.php', + 'TCPDF_IMPORT' => $vendorDir . '/tecnick.com/tcpdf/tcpdf_import.php', + 'TCPDF_PARSER' => $vendorDir . '/tecnick.com/tcpdf/tcpdf_parser.php', + 'TCPDF_STATIC' => $vendorDir . '/tecnick.com/tcpdf/include/tcpdf_static.php', ); diff --git a/htdocs/includes/composer/installed.json b/htdocs/includes/composer/installed.json index 77b044d0eeb..5b2a50000f6 100644 --- a/htdocs/includes/composer/installed.json +++ b/htdocs/includes/composer/installed.json @@ -275,5 +275,70 @@ "rest", "server" ] + }, + { + "name": "tecnick.com/tcpdf", + "version": "6.2.6", + "version_normalized": "6.2.6.0", + "source": { + "type": "git", + "url": "https://github.com/tecnickcom/TCPDF.git", + "reference": "a2e8f5b505a7a14a4ed960313c4baf699fd1f4bb" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/tecnickcom/TCPDF/zipball/a2e8f5b505a7a14a4ed960313c4baf699fd1f4bb", + "reference": "a2e8f5b505a7a14a4ed960313c4baf699fd1f4bb", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" + }, + "time": "2015-01-28 18:51:40", + "type": "library", + "installation-source": "dist", + "autoload": { + "classmap": [ + "fonts", + "config", + "include", + "tcpdf.php", + "tcpdf_parser.php", + "tcpdf_import.php", + "tcpdf_barcodes_1d.php", + "tcpdf_barcodes_2d.php", + "include/tcpdf_colors.php", + "include/tcpdf_filters.php", + "include/tcpdf_font_data.php", + "include/tcpdf_fonts.php", + "include/tcpdf_images.php", + "include/tcpdf_static.php", + "include/barcodes/datamatrix.php", + "include/barcodes/pdf417.php", + "include/barcodes/qrcode.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "LGPLv3" + ], + "authors": [ + { + "name": "Nicola Asuni", + "email": "info@tecnick.com", + "homepage": "http://nicolaasuni.tecnick.com" + } + ], + "description": "TCPDF is a PHP class for generating PDF documents and barcodes.", + "homepage": "http://www.tcpdf.org/", + "keywords": [ + "PDFD32000-2008", + "TCPDF", + "barcodes", + "datamatrix", + "pdf", + "pdf417", + "qrcode" + ] } ] diff --git a/htdocs/includes/tcpdf/include/sRGB.icc b/htdocs/includes/tcpdf/include/sRGB.icc deleted file mode 100644 index 1d8f7419c3bf2c6a3dd78f2c679fdefbda1776a3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6922 zcmeHMS5#EV7Oi`4=RoLgnhZ@&5+yVsIVZ_cRG_=bw9w>WLIy`*1QC&>2qFqN;OG!! z6ctenh=Ky-xC0Yu8!l)V-_Lx_j*dfGi=Am6Qq_ z0FcB@^ad@dO7HV8I@sMSa6rt2pKx zF8LZ0;O8KSIRXHV6!R4mPOjppub9%aidnI|BmiUv1o5h@WS$_u%xW#AZ)Xr70K`_` zhY`c!a(Izx95&-C`A1?!V^xU)5Q?JKyTQvHE%^AbQoG+?EOen6Cgp z%Kqe34*?*$3xKY^Ke?!50CblDAoY}$&dd0g54Ad>0Re~t8juDGKm}+5U0?*vfF-a6 zPQV>_g8&c;HUSoh1xbJhGC>~L2?{|mC<6yT4X6iAparyp)1Vui1DC*6a1-1CW8e|s zgK6**EP!`l8G;}zM24u4G^7ZrK{}8T#DuINC&&}>gF>MQC(B`F0Gfp6pg*9GFancc8Y~a1!}>52wu3$30C*!D1E;__Z~?p*u7Vrk zlW-S&3BC!B!F>27yodmVh|m!wL>FNq4v04rhD0MgWE)b1R3eQ?JJO2`B6kr!GLL*f zVNg^Q1Eq_yM7g2@Q7lvnY8$EqRf9T#>Ou{m?xH493#cz>GFlF;gSJ4sp+nFy=uC7W zx)R-t?nGZfkD;g0?=Tn)9ixFU!?kGlH4IEMl=(X{-*`3hRxH z#HL{jvDMg<*bCTE>@@a0j)+sl8R499VK^=>A6JQM#r5GvaWlAOyck{$Z-Mv5v+>#Z zQhXD>7k?W+jbA2+6Ep}`gaAT3VJD%A&`!8QcuaUhBodX0=0sm&9B~J+ig=26jW|jC zK%$VeNe-lNQaWib={V^k=>h2tnM_tE+mge`Y2>}+7V>5CQ}TNes)(M5n+RKEyGX4_ zm&mBdD^a|tny8)VCea+xO3^c-w?*g0@M7v>4q}mF+r(=Q4y*N)q%>Q?xHqPuTZCH7@7vnjTTQUru|48rY%TN zB#b43B(fxGCC*Fm=?Gn&?nY0fm(owu$LSv>TFSCyi)2sBK9qyywB`Kda^;T7 z4aqIaE6BUZC(BpMUzVR&pexua#4A)N^eN0KQWdQg;}k0tFDSlXNHFXeiHs`70AoQ( zPRUg%U8zB7SZP^VLpe}6U%5m1i3&l5sS>SHq0+CipsJ|qrJASOrut9~uf|l1RXeCQ zsJ5i8p&qQhTfJL-Rzpg|O(RF6P2;g9S<^-{MYB=!o)$)nsgSv5abs?yV)SbzZxDZO_`*#yZ9vxR~%HF`9 zXWwbR>T6V=Dgry;*#rf(G~6L;kwUt!cE?d z<<{c1;BMx=)qTK&+mq+n>jitcd+qmnyk2cRcYU`v@OJaw@BPF_!zab( z7hjC8k8iE-b3a4BJikGIs{dyHR{wVa_5q~9fQk*`62ot zTSIP!%7n&+_Jm=>g2I}^7B@I;IIv+l+$6j(e0-zE#;lFkH_2>D+;o1k=;p}HXClxM z!4a(ypCY{@8zUE^+@k8D7FZ6fgRGZqTXqF|j$_3s=gdS~MVCj<##qJdkC}_LiLH#C zk8_BtiF+OI8ebp3l;E9kJYgj601O8MPVjGlMeEWQk{Svxc&@v-f1rq*toY+a&nXvO#zCnI@{@Y!_yLt=c3w9Jt zedqFBTcJoHuW(|w&& ztuCwnR1;e>R%>6|Q72cor*7#G`_SlN+r#bk^7X~_ACJTxx!>T@(AB8kSa}q4G~?*= zrl6+5W6WbM%`(l!&7Y5RkMmFXofv2_YiVhfYb|Yq+tS!fxTbwOR(T?^f@-Ta==o{_WeXZw3Cdpm#8 z`{npKrE|6CCC-=j5&8=HRxadRSiG2gasE=wrK$eS{f{n(T)sEpJ1~63dCTNh=dkH;*KM=gJ$KCS^p30>=^M2fy>!>{ z?$vv4_im1@9~&7D9KSyiKEc1wzCZgQ@xkkd84s5q?RboST=YcjN##?yr;WdA{o27d z<)5E)oE&=Q|LoBeYwG21slR=iE_hCUUOA&U(=ux`dv4Bo?#_!1FQ#86zg(U#{FnH@ z>RxHS`uTU;--i}L7N%eGUa$O7@<#g2@wdir`xku{pT0|ax4cyJUi$rs56lmPAA>*6 zEN6bgeyaMc^||+p$Ct+|Nh>QtEg;kaLM#eFCg>< zguZ~#7x+K+1-|xi1Zn_TRRl*T00_th!1ERW)inU9M+^E3;c1*KL4OAT?iL1XOL8_Z VE+#f@4I@33!-(c_IEmSS@NW)(3LO9d diff --git a/htdocs/includes/tcpdi/tcpdi_parser.php b/htdocs/includes/tcpdi/tcpdi_parser.php index ce222769af9..3059bc2c479 100644 --- a/htdocs/includes/tcpdi/tcpdi_parser.php +++ b/htdocs/includes/tcpdi/tcpdi_parser.php @@ -48,7 +48,7 @@ */ // include class for decoding filters -require_once(dirname(__FILE__).'/../tcpdf/include/tcpdf_filters.php'); +require_once(dirname(__FILE__).'/../tecnick.com/tcpdf/include/tcpdf_filters.php'); if (!defined ('PDF_TYPE_NULL')) define ('PDF_TYPE_NULL', 0); diff --git a/htdocs/includes/tcpdf/CHANGELOG.TXT b/htdocs/includes/tecnick.com/tcpdf/CHANGELOG.TXT similarity index 100% rename from htdocs/includes/tcpdf/CHANGELOG.TXT rename to htdocs/includes/tecnick.com/tcpdf/CHANGELOG.TXT diff --git a/htdocs/includes/tcpdf/LICENSE.TXT b/htdocs/includes/tecnick.com/tcpdf/LICENSE.TXT similarity index 100% rename from htdocs/includes/tcpdf/LICENSE.TXT rename to htdocs/includes/tecnick.com/tcpdf/LICENSE.TXT diff --git a/htdocs/includes/tcpdf/README.TXT b/htdocs/includes/tecnick.com/tcpdf/README.TXT similarity index 100% rename from htdocs/includes/tcpdf/README.TXT rename to htdocs/includes/tecnick.com/tcpdf/README.TXT diff --git a/htdocs/includes/tcpdf/composer.json b/htdocs/includes/tecnick.com/tcpdf/composer.json similarity index 100% rename from htdocs/includes/tcpdf/composer.json rename to htdocs/includes/tecnick.com/tcpdf/composer.json diff --git a/htdocs/includes/tcpdf/config/tcpdf_config.php b/htdocs/includes/tecnick.com/tcpdf/config/tcpdf_config.php similarity index 100% rename from htdocs/includes/tcpdf/config/tcpdf_config.php rename to htdocs/includes/tecnick.com/tcpdf/config/tcpdf_config.php diff --git a/htdocs/includes/tecnick.com/tcpdf/examples/barcodes/example_1d_html.php b/htdocs/includes/tecnick.com/tcpdf/examples/barcodes/example_1d_html.php new file mode 100644 index 00000000000..67d22e72594 --- /dev/null +++ b/htdocs/includes/tecnick.com/tcpdf/examples/barcodes/example_1d_html.php @@ -0,0 +1,53 @@ +. +// +// 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/htdocs/includes/tecnick.com/tcpdf/examples/barcodes/example_1d_png.php b/htdocs/includes/tecnick.com/tcpdf/examples/barcodes/example_1d_png.php new file mode 100644 index 00000000000..9e44909f4f0 --- /dev/null +++ b/htdocs/includes/tecnick.com/tcpdf/examples/barcodes/example_1d_png.php @@ -0,0 +1,53 @@ +. +// +// 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/htdocs/includes/tecnick.com/tcpdf/examples/barcodes/example_1d_svg.php b/htdocs/includes/tecnick.com/tcpdf/examples/barcodes/example_1d_svg.php new file mode 100644 index 00000000000..f7b585acfec --- /dev/null +++ b/htdocs/includes/tecnick.com/tcpdf/examples/barcodes/example_1d_svg.php @@ -0,0 +1,53 @@ +. +// +// 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/htdocs/includes/tecnick.com/tcpdf/examples/barcodes/example_1d_svgi.php b/htdocs/includes/tecnick.com/tcpdf/examples/barcodes/example_1d_svgi.php new file mode 100644 index 00000000000..a74a30460e7 --- /dev/null +++ b/htdocs/includes/tecnick.com/tcpdf/examples/barcodes/example_1d_svgi.php @@ -0,0 +1,53 @@ +. +// +// 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/htdocs/includes/tecnick.com/tcpdf/examples/barcodes/example_2d_datamatrix_html.php b/htdocs/includes/tecnick.com/tcpdf/examples/barcodes/example_2d_datamatrix_html.php new file mode 100644 index 00000000000..dc7bab324e6 --- /dev/null +++ b/htdocs/includes/tecnick.com/tcpdf/examples/barcodes/example_2d_datamatrix_html.php @@ -0,0 +1,53 @@ +. +// +// 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/htdocs/includes/tecnick.com/tcpdf/examples/barcodes/example_2d_datamatrix_png.php b/htdocs/includes/tecnick.com/tcpdf/examples/barcodes/example_2d_datamatrix_png.php new file mode 100644 index 00000000000..87b7a33064e --- /dev/null +++ b/htdocs/includes/tecnick.com/tcpdf/examples/barcodes/example_2d_datamatrix_png.php @@ -0,0 +1,53 @@ +. +// +// 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/htdocs/includes/tecnick.com/tcpdf/examples/barcodes/example_2d_datamatrix_svg.php b/htdocs/includes/tecnick.com/tcpdf/examples/barcodes/example_2d_datamatrix_svg.php new file mode 100644 index 00000000000..523ebfa3ca9 --- /dev/null +++ b/htdocs/includes/tecnick.com/tcpdf/examples/barcodes/example_2d_datamatrix_svg.php @@ -0,0 +1,53 @@ +. +// +// 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/htdocs/includes/tecnick.com/tcpdf/examples/barcodes/example_2d_datamatrix_svgi.php b/htdocs/includes/tecnick.com/tcpdf/examples/barcodes/example_2d_datamatrix_svgi.php new file mode 100644 index 00000000000..4470981e656 --- /dev/null +++ b/htdocs/includes/tecnick.com/tcpdf/examples/barcodes/example_2d_datamatrix_svgi.php @@ -0,0 +1,53 @@ +. +// +// 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/htdocs/includes/tecnick.com/tcpdf/examples/barcodes/example_2d_pdf417_html.php b/htdocs/includes/tecnick.com/tcpdf/examples/barcodes/example_2d_pdf417_html.php new file mode 100644 index 00000000000..4c4e9ee748e --- /dev/null +++ b/htdocs/includes/tecnick.com/tcpdf/examples/barcodes/example_2d_pdf417_html.php @@ -0,0 +1,53 @@ +. +// +// 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/htdocs/includes/tecnick.com/tcpdf/examples/barcodes/example_2d_pdf417_png.php b/htdocs/includes/tecnick.com/tcpdf/examples/barcodes/example_2d_pdf417_png.php new file mode 100644 index 00000000000..df939bb11a7 --- /dev/null +++ b/htdocs/includes/tecnick.com/tcpdf/examples/barcodes/example_2d_pdf417_png.php @@ -0,0 +1,53 @@ +. +// +// 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/htdocs/includes/tecnick.com/tcpdf/examples/barcodes/example_2d_pdf417_svg.php b/htdocs/includes/tecnick.com/tcpdf/examples/barcodes/example_2d_pdf417_svg.php new file mode 100644 index 00000000000..fb29ea2493d --- /dev/null +++ b/htdocs/includes/tecnick.com/tcpdf/examples/barcodes/example_2d_pdf417_svg.php @@ -0,0 +1,53 @@ +. +// +// 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/htdocs/includes/tecnick.com/tcpdf/examples/barcodes/example_2d_pdf417_svgi.php b/htdocs/includes/tecnick.com/tcpdf/examples/barcodes/example_2d_pdf417_svgi.php new file mode 100644 index 00000000000..94e1c71c5e1 --- /dev/null +++ b/htdocs/includes/tecnick.com/tcpdf/examples/barcodes/example_2d_pdf417_svgi.php @@ -0,0 +1,53 @@ +. +// +// 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/htdocs/includes/tecnick.com/tcpdf/examples/barcodes/example_2d_qrcode_html.php b/htdocs/includes/tecnick.com/tcpdf/examples/barcodes/example_2d_qrcode_html.php new file mode 100644 index 00000000000..ac828f7d3e5 --- /dev/null +++ b/htdocs/includes/tecnick.com/tcpdf/examples/barcodes/example_2d_qrcode_html.php @@ -0,0 +1,53 @@ +. +// +// 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/htdocs/includes/tecnick.com/tcpdf/examples/barcodes/example_2d_qrcode_png.php b/htdocs/includes/tecnick.com/tcpdf/examples/barcodes/example_2d_qrcode_png.php new file mode 100644 index 00000000000..71f87101540 --- /dev/null +++ b/htdocs/includes/tecnick.com/tcpdf/examples/barcodes/example_2d_qrcode_png.php @@ -0,0 +1,53 @@ +. +// +// 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/htdocs/includes/tecnick.com/tcpdf/examples/barcodes/example_2d_qrcode_svg.php b/htdocs/includes/tecnick.com/tcpdf/examples/barcodes/example_2d_qrcode_svg.php new file mode 100644 index 00000000000..1baa43dec29 --- /dev/null +++ b/htdocs/includes/tecnick.com/tcpdf/examples/barcodes/example_2d_qrcode_svg.php @@ -0,0 +1,53 @@ +. +// +// 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/htdocs/includes/tecnick.com/tcpdf/examples/barcodes/example_2d_qrcode_svgi.php b/htdocs/includes/tecnick.com/tcpdf/examples/barcodes/example_2d_qrcode_svgi.php new file mode 100644 index 00000000000..99d65908f47 --- /dev/null +++ b/htdocs/includes/tecnick.com/tcpdf/examples/barcodes/example_2d_qrcode_svgi.php @@ -0,0 +1,53 @@ +. +// +// 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/htdocs/includes/tecnick.com/tcpdf/examples/barcodes/tcpdf_barcodes_1d_include.php b/htdocs/includes/tecnick.com/tcpdf/examples/barcodes/tcpdf_barcodes_1d_include.php new file mode 100644 index 00000000000..a0bde57e04c --- /dev/null +++ b/htdocs/includes/tecnick.com/tcpdf/examples/barcodes/tcpdf_barcodes_1d_include.php @@ -0,0 +1,37 @@ +. +// +// 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/htdocs/includes/tecnick.com/tcpdf/examples/data/cert/tcpdf.crt b/htdocs/includes/tecnick.com/tcpdf/examples/data/cert/tcpdf.crt new file mode 100644 index 00000000000..f0491391cf0 --- /dev/null +++ b/htdocs/includes/tecnick.com/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: +-----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/htdocs/includes/tecnick.com/tcpdf/examples/data/cert/tcpdf.fdf b/htdocs/includes/tecnick.com/tcpdf/examples/data/cert/tcpdf.fdf new file mode 100644 index 0000000000000000000000000000000000000000..a8f7c35d9af83d2579adafbe8d2745daa30dfd3f GIT binary patch literal 1286 zcmY#&b8*u()HC8$ef0SJWnL~r1p|frq%2+=8-1XRf)S7#r0=WYVr67tU}<1sWNK(+ zVqj{ZZD6EsV4$w4A5vM6s_&dwl9-d9ZfD1vnwJ974blcRB_P0C!5Cx;LKeh@%DVa{ zX69&A=9fC8RwU*YU-uEiZ?;rfP&Z2LK)A;_B7r3kke!oRl4_NlT2$g%0n&r%SOWtqBSU91S93#0P5mGRLt{e&OJj)R zfezFUQ!unNGcz$2Stmap^>SHiA5BUZ)k$Vr=CM% zc=0=>aXxA&FtRc*H}*0ZG&u@?wgf?)m6q&9>l2-|l~g=lrrfT;F~&|0XoQ#OZO$icNz4 z-3H87&iPEtj0}v68z&nyPB1VB2BNGGi-CdO0!TdZAji`JXe{wSVrc;=ieh+KxOu>l z1ko%=ie|W0erW9KGcv~Hu`mIX3dn3(eijyHCYA}PK?qDp%)qeo2zLB6{qE#gxvXFv zvlIQf6J;wF-P*-sx%yDv`>+jFV#~g5S*c!kqKo)Yp8S8-mz=MM)}*_iQ=4k-F>z{O0!L2GAEOs%9fiz&R(?FEV{qfsm&adYyzE04L)pyR%D@jZ)LCJsMoDa#P`pJ37QixnsQIwj-%VnTo z3MAk_!OYau*i-=|0R@I;3SgE(9zx6lQ_K*HIwK1Mgx-=OU}=(C#LERNy@E5VQWZ?~ kgYxrB6hMU zY-rcU0s;sCfPw=!#BpZA(3DXgvNT6SMx2c3M^p9_<~*qj&~k|Wio#7(scRd zVB;~P(%~|g!$#H)Uj>}ly*mK-K*NcRU+dxygiF7$BDFu;YqjVO#_{qT;h+#I>a(HG z6~@vJ%56(B0~rm^94uG!F&Q6%9$*+cPTn~18aH}n`p;SwVUc3}cGnJV33D`@$5Df5 zka5G^;jy@bF*5dt7yj?!On2m{6(lU}`+Ngz(u>-st&u3q&_N{T-$B(t9@HplX>tLm z<+%6V-nXIed*8 zvh$I?cs-H$tTFYyLYOK&N@y0$j3(wM=r+RHOFm_l_Ew3J zjZ|cTFZc?kMLbIRq9#Je0!uHg$!6L_|JSTh4SBDC^kz-4Q$rl0exLwuv7)I*(A$u( z4~P;V(@gR1lQvQ9WUL5F(7#Oi)Yh-}TXhqUaHvL^;{PKZ_!c^5TIaYzP~~Y~ol!Ix zIU5LwA?E0d=I<-Og-X;m1K5(@AtP)n6jQ1{Q2ko=_)Bd{1(bAXe>Coeda=}lih)j$ z2>zQNzJ;fmRdBanq`^ZJV5@Ra+72~oPcmiLf=NHQP1lj<)-k#CXYR9X=4kR3k!;Y8h(}v0#D@^oeB!oK*4q{yIW*$U z&LNQUbi3jQQ0AALA`*I zEfwAUX0Q~1Fi>8l{3I2b+YV;2v~q$Ht)BfYyxTJvSQ3SoAxX}JT3QHXqu~l@W;f&? zvySO921ne7{yT!I)^oWbM&abJwv8?L zM@*J>12l+CQ;QV!Y|w=vINzLD8!z3$e&b>m;bngGpZYK)8EI}digPEz z`_pvC6Afky&Q2vvrHY~v?ZeFbT?m+rp=p=tij1id`L#ceB43YATh$S6RuVfPIPHzQGmAuP1O9==9r!_9t z(XXtxXOZ1gWS49JT5NEHFG{7{?SuzHx8kV3=tHXcRlJ=U+G!T)+ z?jrd2IhsLxK1dcI7Bz#699SwDG5!;?5@oG>vkAutIB1uG5% r0vZJX1QaJKFP)8IPAOWT%X#|+d4hgQWoQHlY+QLorem 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/htdocs/includes/tecnick.com/tcpdf/examples/data/table_data_demo.txt b/htdocs/includes/tecnick.com/tcpdf/examples/data/table_data_demo.txt new file mode 100644 index 00000000000..5a48a42e77b --- /dev/null +++ b/htdocs/includes/tecnick.com/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/htdocs/includes/tecnick.com/tcpdf/examples/data/utf8test.txt b/htdocs/includes/tecnick.com/tcpdf/examples/data/utf8test.txt new file mode 100644 index 00000000000..291d4e73554 --- /dev/null +++ b/htdocs/includes/tecnick.com/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/htdocs/includes/tecnick.com/tcpdf/examples/example_001.php b/htdocs/includes/tecnick.com/tcpdf/examples/example_001.php new file mode 100644 index 00000000000..055c66af98d --- /dev/null +++ b/htdocs/includes/tecnick.com/tcpdf/examples/example_001.php @@ -0,0 +1,106 @@ +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 = <<Welcome to  TCPDF ! +This is the first example of TCPDF library. +

This text is printed using the writeHTMLCell() method but you can also use: Multicell(), writeHTML(), Write(), Cell() and Text().

+

Please check the source code documentation and other examples for further information.

+

TO IMPROVE AND EXPAND TCPDF I NEED YOUR SUPPORT, PLEASE MAKE A DONATION!

+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/htdocs/includes/tecnick.com/tcpdf/examples/example_002.php b/htdocs/includes/tecnick.com/tcpdf/examples/example_002.php new file mode 100644 index 00000000000..020dd299063 --- /dev/null +++ b/htdocs/includes/tecnick.com/tcpdf/examples/example_002.php @@ -0,0 +1,87 @@ +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 = <<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/htdocs/includes/tecnick.com/tcpdf/examples/example_003.php b/htdocs/includes/tecnick.com/tcpdf/examples/example_003.php new file mode 100644 index 00000000000..73a0e8c1a7a --- /dev/null +++ b/htdocs/includes/tecnick.com/tcpdf/examples/example_003.php @@ -0,0 +1,118 @@ +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 = <<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/htdocs/includes/tecnick.com/tcpdf/examples/example_004.php b/htdocs/includes/tecnick.com/tcpdf/examples/example_004.php new file mode 100644 index 00000000000..88e08c1b7e7 --- /dev/null +++ b/htdocs/includes/tecnick.com/tcpdf/examples/example_004.php @@ -0,0 +1,121 @@ +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/htdocs/includes/tecnick.com/tcpdf/examples/example_005.php b/htdocs/includes/tecnick.com/tcpdf/examples/example_005.php new file mode 100644 index 00000000000..5a592d16876 --- /dev/null +++ b/htdocs/includes/tecnick.com/tcpdf/examples/example_005.php @@ -0,0 +1,158 @@ +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/htdocs/includes/tecnick.com/tcpdf/examples/example_006.php b/htdocs/includes/tecnick.com/tcpdf/examples/example_006.php new file mode 100644 index 00000000000..481f70e5478 --- /dev/null +++ b/htdocs/includes/tecnick.com/tcpdf/examples/example_006.php @@ -0,0 +1,330 @@ +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 = '

HTML Example

+Some special characters: < € € € & è è © > \\slash \\\\double-slash \\\\\\triple-slash +

List

+List example: +
    +
  1. test alt attribute test image
  2. +
  3. bold text
  4. +
  5. italic text
  6. +
  7. underlined text
  8. +
  9. bbibiubib
  10. +
  11. link to http://www.tecnick.com
  12. +
  13. 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.
  14. +
  15. SUBLIST +
      +
    1. row one +
        +
      • sublist
      • +
      +
    2. +
    3. row two
    4. +
    +
  16. +
  17. TEST line through
  18. +
  19. font + 3
  20. +
  21. small text normal small text normal subscript normal superscript normal
  22. +
+
+
Coffee
+
Black hot drink
+
Milk
+
White cold drink
+
+
IMAGES
+test alt attributetest alt attributetest alt attribute +
'; + +// output the HTML content +$pdf->writeHTML($html, true, false, true, false, ''); + + +// output some RTL HTML content +$html = '
The words “מזל [mazel] טוב [tov]” mean “Congratulations!”
'; +$pdf->writeHTML($html, true, false, true, false, ''); + +// test some inline CSS +$html = '

This is just an example of html code to demonstrate some supported CSS inline styles. +bold text +line-trough +underline and line-trough +color +background color +bold +xx-small +x-small +small +medium +large +x-large +xx-large +

'; + +$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 = '
ab
cd
'; + +$html = '

HTML TABLE:

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#RIGHT alignLEFT align4A
1A1 example link column span. One two tree four five six seven eight nine ten.
line after br
small text normal subscript normal superscript normal bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
  1. first
    1. sublist
    2. sublist
  2. second
small small small small small small small small small small small small small small small small small small small small
4B
'.$subtable.'A2 € € € & è è
A2 € € € & è è
Red Yellow BG4C
1A2AA
2AB
2AC
4D
1B4E
1C2C3C4F
'; + +// output the HTML content +$pdf->writeHTML($html, true, false, true, false, ''); + +// Print some HTML Cells + +$html = 'red green blue
red green blue'; + +$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 = '

Image alignments on HTML 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 = '

HTML Text Colors

'; +$bgcolors = '

HTML Background Colors

'; + +foreach(TCPDF_COLORS::$webcolor as $k => $v) { + $textcolors .= ''.$v.' '; + $bgcolors .= ''.$v.' '; +} + +// 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 = '
+

Various tests

+link to page 2
+thisisaverylongword thisisanotherverylongword thisisaverylongword thisisanotherverylongword thisisaverylongword thisisaverylongword thisisanotherverylongword thisisaverylongword thisisanotherverylongword thisisaverylongword thisisaverylongword thisisanotherverylongword thisisaverylongword thisisanotherverylongword thisisaverylongword thisisaverylongword thisisanotherverylongword thisisaverylongword thisisanotherverylongword thisisaverylongword thisisaverylongword thisisanotherverylongword thisisaverylongword thisisanotherverylongword thisisaverylongword'; + +// output the HTML content +$pdf->writeHTML($html, true, false, true, false, ''); + +// Test fonts nesting +$html1 = 'Default Courier Helvetica Times dejavusans Times Helvetica Courier Default'; +$html2 = 'small text normal small text normal subscript normal superscript normal'; +$html3 = 'The quick brown fox jumps over the lazy dog.'; + +$html = $html1.'
'.$html2.'
'.$html3.'
'.$html3.'
'.$html2; + +// output the HTML content +$pdf->writeHTML($html, true, false, true, false, ''); + +// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +// test pre tag + +// add a page +$pdf->AddPage(); + +$html = << +Hello World!
+Hello + +
+int main() {
+    printf("HelloWorld");
+    return 0;
+}
+
+Monospace font, normal font, monospace font, normal font. +
+
DIV LEVEL 1
DIV LEVEL 2
DIV LEVEL 1
+
+SPAN LEVEL 1 SPAN LEVEL 2 SPAN LEVEL 1 +EOF; + +// output the HTML content +$pdf->writeHTML($html, true, false, true, false, ''); + +// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + +// test custom bullet points for list + +// add a page +$pdf->AddPage(); + +$html = <<Test custom bullet image for list items +