From b25ced63cc2d022907f40d85fa4401c6db7e42db Mon Sep 17 00:00:00 2001 From: Mark Baker Date: Wed, 24 Nov 2010 14:12:12 +0000 Subject: [PATCH] Bugfix: Work item 13559 - PHPExcel_Writer_PDF does not handle cell borders correctly git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@64268 2327b42d-5241-43d6-9e2a-de5ac946f064 --- Classes/PHPExcel/Shared/PDF/2dbarcodes.php | 157 +- Classes/PHPExcel/Shared/PDF/CHANGELOG.TXT | 1825 +- Classes/PHPExcel/Shared/PDF/LICENSE.TXT | 1194 +- Classes/PHPExcel/Shared/PDF/README.TXT | 171 +- Classes/PHPExcel/Shared/PDF/barcodes.php | 171 +- .../Shared/PDF/cache/chapter_demo_1.txt | 29 +- .../Shared/PDF/cache/chapter_demo_2.txt | 44 +- .../PHPExcel/Shared/PDF/cache/utf8test.txt | 19 +- .../PHPExcel/Shared/PDF/config/lang/bra.php | 49 + .../PHPExcel/Shared/PDF/config/lang/eng.php | 3 +- .../PHPExcel/Shared/PDF/config/lang/ger.php | 49 + .../PHPExcel/Shared/PDF/config/lang/ita.php | 3 +- .../Shared/PDF/config/tcpdf_config.php | 95 +- .../Shared/PDF/config/tcpdf_config_alt.php | 24 +- .../PHPExcel/Shared/PDF/fonts/ZarBold.ctg.z | Bin 0 -> 1107 bytes Classes/PHPExcel/Shared/PDF/fonts/ZarBold.z | Bin 0 -> 32143 bytes .../PHPExcel/Shared/PDF/fonts/almohanad.ctg.z | Bin 0 -> 2780 bytes .../PHPExcel/Shared/PDF/fonts/almohanad.php | 102 + Classes/PHPExcel/Shared/PDF/fonts/almohanad.z | Bin 0 -> 121292 bytes .../Shared/PDF/fonts/arialunicid0.php | 49 +- Classes/PHPExcel/Shared/PDF/fonts/chinese.php | 15 + Classes/PHPExcel/Shared/PDF/fonts/courier.php | 2 +- .../PDF/fonts/dejavu-fonts-ttf-2.30/AUTHORS | 46 + .../PDF/fonts/dejavu-fonts-ttf-2.30/BUGS | 3 + .../PDF/fonts/dejavu-fonts-ttf-2.30/LICENSE | 99 + .../PDF/fonts/dejavu-fonts-ttf-2.30/NEWS | 1215 + .../PDF/fonts/dejavu-fonts-ttf-2.30/README | 59 + .../fonts/dejavu-fonts-ttf-2.30/langcover.txt | 242 + .../fonts/dejavu-fonts-ttf-2.30/status.txt | 6237 +++ .../fonts/dejavu-fonts-ttf-2.30/unicover.txt | 177 + .../Shared/PDF/fonts/dejavusans.ctg.z | Bin 0 -> 9768 bytes .../PHPExcel/Shared/PDF/fonts/dejavusans.php | 517 + .../PHPExcel/Shared/PDF/fonts/dejavusans.z | Bin 0 -> 334954 bytes .../Shared/PDF/fonts/dejavusansb.ctg.z | Bin 0 -> 9507 bytes .../PHPExcel/Shared/PDF/fonts/dejavusansb.php | 504 + .../PHPExcel/Shared/PDF/fonts/dejavusansb.z | Bin 0 -> 305270 bytes .../Shared/PDF/fonts/dejavusansbi.ctg.z | Bin 0 -> 8547 bytes .../Shared/PDF/fonts/dejavusansbi.php | 458 + .../PHPExcel/Shared/PDF/fonts/dejavusansbi.z | Bin 0 -> 289397 bytes .../PDF/fonts/dejavusanscondensed.ctg.z | Bin 0 -> 9768 bytes .../Shared/PDF/fonts/dejavusanscondensed.php | 517 + .../Shared/PDF/fonts/dejavusanscondensed.z | Bin 0 -> 286380 bytes .../PDF/fonts/dejavusanscondensedb.ctg.z | Bin 0 -> 9507 bytes .../Shared/PDF/fonts/dejavusanscondensedb.php | 504 + .../Shared/PDF/fonts/dejavusanscondensedb.z | Bin 0 -> 283491 bytes .../PDF/fonts/dejavusanscondensedbi.ctg.z | Bin 0 -> 8547 bytes .../PDF/fonts/dejavusanscondensedbi.php | 458 + .../Shared/PDF/fonts/dejavusanscondensedbi.z | Bin 0 -> 275613 bytes .../PDF/fonts/dejavusanscondensedi.ctg.z | Bin 0 -> 8794 bytes .../Shared/PDF/fonts/dejavusanscondensedi.php | 471 + .../Shared/PDF/fonts/dejavusanscondensedi.z | Bin 0 -> 271731 bytes .../Shared/PDF/fonts/dejavusansi.ctg.z | Bin 0 -> 8794 bytes .../PHPExcel/Shared/PDF/fonts/dejavusansi.php | 471 + .../PHPExcel/Shared/PDF/fonts/dejavusansi.z | Bin 0 -> 289088 bytes .../Shared/PDF/fonts/dejavusansmono.ctg.z | Bin 0 -> 6039 bytes .../Shared/PDF/fonts/dejavusansmono.php | 320 + .../Shared/PDF/fonts/dejavusansmono.z | Bin 0 -> 188525 bytes .../Shared/PDF/fonts/dejavusansmonob.ctg.z | Bin 0 -> 5814 bytes .../Shared/PDF/fonts/dejavusansmonob.php | 307 + .../Shared/PDF/fonts/dejavusansmonob.z | Bin 0 -> 181506 bytes .../Shared/PDF/fonts/dejavusansmonobi.ctg.z | Bin 0 -> 4676 bytes .../Shared/PDF/fonts/dejavusansmonobi.php | 250 + .../Shared/PDF/fonts/dejavusansmonobi.z | Bin 0 -> 133442 bytes .../Shared/PDF/fonts/dejavusansmonoi.ctg.z | Bin 0 -> 4929 bytes .../Shared/PDF/fonts/dejavusansmonoi.php | 262 + .../Shared/PDF/fonts/dejavusansmonoi.z | Bin 0 -> 135140 bytes .../Shared/PDF/fonts/dejavuserif.ctg.z | Bin 0 -> 5821 bytes .../PHPExcel/Shared/PDF/fonts/dejavuserif.php | 313 + .../PHPExcel/Shared/PDF/fonts/dejavuserif.z | Bin 0 -> 180867 bytes .../Shared/PDF/fonts/dejavuserifb.ctg.z | Bin 0 -> 5558 bytes .../Shared/PDF/fonts/dejavuserifb.php | 299 + .../PHPExcel/Shared/PDF/fonts/dejavuserifb.z | Bin 0 -> 166879 bytes .../Shared/PDF/fonts/dejavuserifbi.ctg.z | Bin 0 -> 5570 bytes .../Shared/PDF/fonts/dejavuserifbi.php | 299 + .../PHPExcel/Shared/PDF/fonts/dejavuserifbi.z | Bin 0 -> 165164 bytes .../PDF/fonts/dejavuserifcondensed.ctg.z | Bin 0 -> 5821 bytes .../Shared/PDF/fonts/dejavuserifcondensed.php | 313 + .../Shared/PDF/fonts/dejavuserifcondensed.z | Bin 0 -> 160024 bytes .../PDF/fonts/dejavuserifcondensedb.ctg.z | Bin 0 -> 5558 bytes .../PDF/fonts/dejavuserifcondensedb.php | 299 + .../Shared/PDF/fonts/dejavuserifcondensedb.z | Bin 0 -> 151074 bytes .../PDF/fonts/dejavuserifcondensedbi.ctg.z | Bin 0 -> 5570 bytes .../PDF/fonts/dejavuserifcondensedbi.php | 299 + .../Shared/PDF/fonts/dejavuserifcondensedbi.z | Bin 0 -> 166119 bytes .../PDF/fonts/dejavuserifcondensedi.ctg.z | Bin 0 -> 5796 bytes .../PDF/fonts/dejavuserifcondensedi.php | 312 + .../Shared/PDF/fonts/dejavuserifcondensedi.z | Bin 0 -> 168063 bytes .../Shared/PDF/fonts/dejavuserifi.ctg.z | Bin 0 -> 5796 bytes .../Shared/PDF/fonts/dejavuserifi.php | 312 + .../PHPExcel/Shared/PDF/fonts/dejavuserifi.z | Bin 0 -> 166877 bytes .../PHPExcel/Shared/PDF/fonts/freemono.ctg.z | Bin 0 -> 6361 bytes .../PHPExcel/Shared/PDF/fonts/freemono.php | 348 + Classes/PHPExcel/Shared/PDF/fonts/freemono.z | Bin 0 -> 146378 bytes .../PHPExcel/Shared/PDF/fonts/freemonob.ctg.z | Bin 0 -> 3715 bytes .../PHPExcel/Shared/PDF/fonts/freemonob.php | 204 + Classes/PHPExcel/Shared/PDF/fonts/freemonob.z | Bin 0 -> 85241 bytes .../Shared/PDF/fonts/freemonobi.ctg.z | Bin 0 -> 2749 bytes .../PHPExcel/Shared/PDF/fonts/freemonobi.php | 153 + .../PHPExcel/Shared/PDF/fonts/freemonobi.z | Bin 0 -> 82287 bytes .../PHPExcel/Shared/PDF/fonts/freemonoi.ctg.z | Bin 0 -> 4000 bytes .../PHPExcel/Shared/PDF/fonts/freemonoi.php | 221 + Classes/PHPExcel/Shared/PDF/fonts/freemonoi.z | Bin 0 -> 107860 bytes .../PHPExcel/Shared/PDF/fonts/freesans.php | 2 +- .../PHPExcel/Shared/PDF/fonts/freesansb.php | 2 +- .../PHPExcel/Shared/PDF/fonts/freesansbi.php | 2 +- .../PHPExcel/Shared/PDF/fonts/freesansi.php | 2 +- .../PHPExcel/Shared/PDF/fonts/freeserif.ctg.z | Bin 0 -> 9573 bytes .../PHPExcel/Shared/PDF/fonts/freeserif.php | 504 + Classes/PHPExcel/Shared/PDF/fonts/freeserif.z | Bin 0 -> 785794 bytes .../Shared/PDF/fonts/freeserifb.ctg.z | Bin 0 -> 5162 bytes .../PHPExcel/Shared/PDF/fonts/freeserifb.php | 282 + .../PHPExcel/Shared/PDF/fonts/freeserifb.z | Bin 0 -> 232589 bytes .../Shared/PDF/fonts/freeserifbi.ctg.z | Bin 0 -> 4316 bytes .../PHPExcel/Shared/PDF/fonts/freeserifbi.php | 238 + .../PHPExcel/Shared/PDF/fonts/freeserifbi.z | Bin 0 -> 229394 bytes .../Shared/PDF/fonts/freeserifi.ctg.z | Bin 0 -> 4703 bytes .../PHPExcel/Shared/PDF/fonts/freeserifi.php | 259 + .../PHPExcel/Shared/PDF/fonts/freeserifi.z | Bin 0 -> 331961 bytes .../PHPExcel/Shared/PDF/fonts/helvetica.php | 2 +- .../PHPExcel/Shared/PDF/fonts/helveticab.php | 2 +- .../PHPExcel/Shared/PDF/fonts/helveticabi.php | 2 +- .../PHPExcel/Shared/PDF/fonts/helveticai.php | 2 +- .../Shared/PDF/fonts/hysmyeongjostdmedium.php | 48 + .../Shared/PDF/fonts/kozgopromedium.php | 65 + .../Shared/PDF/fonts/kozminproregular.php | 63 + .../Shared/PDF/fonts/msungstdlight.php | 38 + .../Shared/PDF/fonts/stsongstdlight.php | 39 + Classes/PHPExcel/Shared/PDF/fonts/symbol.php | 32 + Classes/PHPExcel/Shared/PDF/fonts/times.php | 33 + Classes/PHPExcel/Shared/PDF/fonts/timesb.php | 33 + Classes/PHPExcel/Shared/PDF/fonts/timesbi.php | 33 + Classes/PHPExcel/Shared/PDF/fonts/timesi.php | 33 + .../Shared/PDF/fonts/uni2cid_ac15.php | 2 +- .../Shared/PDF/fonts/uni2cid_ag15.php | 2 +- .../Shared/PDF/fonts/uni2cid_aj16.php | 2 +- .../Shared/PDF/fonts/uni2cid_ak12.php | 2 +- .../Shared/PDF/fonts/utils/README.TXT | 135 + .../Shared/PDF/fonts/utils/enc/cp1250.map | 251 + .../Shared/PDF/fonts/utils/enc/cp1251.map | 255 + .../Shared/PDF/fonts/utils/enc/cp1252.map | 251 + .../Shared/PDF/fonts/utils/enc/cp1253.map | 239 + .../Shared/PDF/fonts/utils/enc/cp1254.map | 249 + .../Shared/PDF/fonts/utils/enc/cp1255.map | 233 + .../Shared/PDF/fonts/utils/enc/cp1257.map | 244 + .../Shared/PDF/fonts/utils/enc/cp1258.map | 247 + .../Shared/PDF/fonts/utils/enc/cp874.map | 225 + .../Shared/PDF/fonts/utils/enc/iso-8859-1.map | 256 + .../PDF/fonts/utils/enc/iso-8859-11.map | 248 + .../PDF/fonts/utils/enc/iso-8859-15.map | 256 + .../PDF/fonts/utils/enc/iso-8859-16.map | 256 + .../Shared/PDF/fonts/utils/enc/iso-8859-2.map | 256 + .../Shared/PDF/fonts/utils/enc/iso-8859-4.map | 256 + .../Shared/PDF/fonts/utils/enc/iso-8859-5.map | 256 + .../Shared/PDF/fonts/utils/enc/iso-8859-7.map | 250 + .../Shared/PDF/fonts/utils/enc/iso-8859-9.map | 256 + .../Shared/PDF/fonts/utils/enc/koi8-r.map | 256 + .../Shared/PDF/fonts/utils/enc/koi8-u.map | 256 + .../Shared/PDF/fonts/utils/freetype6.dll | Bin 0 -> 455680 bytes .../PDF/fonts/utils/makeallttffonts.php | 69 + .../Shared/PDF/fonts/utils/makefont.php | 615 + .../PHPExcel/Shared/PDF/fonts/utils/pfm2afm | Bin 0 -> 20031 bytes .../Shared/PDF/fonts/utils/pfm2afm.exe | Bin 0 -> 22891 bytes .../PDF/fonts/utils/src/pfm2afm-src.tar.gz | Bin 0 -> 21325 bytes .../Shared/PDF/fonts/utils/src/readme.txt | 17 + .../PDF/fonts/utils/src/ttf2ufm-src.tar.gz | Bin 0 -> 714480 bytes .../PHPExcel/Shared/PDF/fonts/utils/ttf2ufm | Bin 0 -> 157374 bytes .../Shared/PDF/fonts/utils/ttf2ufm.exe | Bin 0 -> 184320 bytes .../PHPExcel/Shared/PDF/fonts/utils/zlib1.dll | Bin 0 -> 75264 bytes .../Shared/PDF/fonts/zapfdingbats.php | 32 + Classes/PHPExcel/Shared/PDF/fonts/zarbold.php | 47 + Classes/PHPExcel/Shared/PDF/htmlcolors.php | 65 +- Classes/PHPExcel/Shared/PDF/images/alpha.png | Bin 0 -> 13168 bytes Classes/PHPExcel/Shared/PDF/images/bug.eps | 1809 + .../PHPExcel/Shared/PDF/images/image_demo.jpg | Bin 0 -> 573845 bytes .../Shared/PDF/images/image_with_alpha.png | Bin 0 -> 230267 bytes Classes/PHPExcel/Shared/PDF/images/img.png | Bin 0 -> 81634 bytes .../Shared/PDF/images/logo_example.gif | Bin 0 -> 21022 bytes .../Shared/PDF/images/logo_example.jpg | Bin 0 -> 32732 bytes .../Shared/PDF/images/logo_example.png | Bin 0 -> 19411 bytes Classes/PHPExcel/Shared/PDF/images/pelican.ai | 147 + .../PHPExcel/Shared/PDF/images/tcpdf_cell.png | Bin 0 -> 38415 bytes .../PHPExcel/Shared/PDF/images/tcpdf_logo.jpg | Bin 0 -> 17633 bytes .../Shared/PDF/images/tcpdf_signature.png | Bin 0 -> 67931 bytes .../PHPExcel/Shared/PDF/images/testsvg.svg | 328 + Classes/PHPExcel/Shared/PDF/images/tiger.ai | 3599 ++ Classes/PHPExcel/Shared/PDF/images/tux.svg | 1487 + Classes/PHPExcel/Shared/PDF/pdf417.php | 1003 + Classes/PHPExcel/Shared/PDF/qrcode.php | 2879 ++ Classes/PHPExcel/Shared/PDF/tcpdf.p12 | Bin 0 -> 1749 bytes Classes/PHPExcel/Shared/PDF/tcpdf.php | 39630 ++++++++++------ Classes/PHPExcel/Shared/PDF/unicode_data.php | 186 +- Classes/PHPExcel/Worksheet.php | 9 +- Classes/PHPExcel/Writer/HTML.php | 28 +- Classes/PHPExcel/Writer/PDF.php | 1 + changelog.txt | 35 +- 195 files changed, 62771 insertions(+), 16560 deletions(-) create mode 100644 Classes/PHPExcel/Shared/PDF/config/lang/bra.php create mode 100644 Classes/PHPExcel/Shared/PDF/config/lang/ger.php create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/ZarBold.ctg.z create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/ZarBold.z create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/almohanad.ctg.z create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/almohanad.php create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/almohanad.z create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/chinese.php create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/dejavu-fonts-ttf-2.30/AUTHORS create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/dejavu-fonts-ttf-2.30/BUGS create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/dejavu-fonts-ttf-2.30/LICENSE create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/dejavu-fonts-ttf-2.30/NEWS create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/dejavu-fonts-ttf-2.30/README create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/dejavu-fonts-ttf-2.30/langcover.txt create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/dejavu-fonts-ttf-2.30/status.txt create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/dejavu-fonts-ttf-2.30/unicover.txt create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/dejavusans.ctg.z create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/dejavusans.php create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/dejavusans.z create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/dejavusansb.ctg.z create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/dejavusansb.php create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/dejavusansb.z create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/dejavusansbi.ctg.z create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/dejavusansbi.php create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/dejavusansbi.z create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/dejavusanscondensed.ctg.z create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/dejavusanscondensed.php create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/dejavusanscondensed.z create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/dejavusanscondensedb.ctg.z create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/dejavusanscondensedb.php create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/dejavusanscondensedb.z create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/dejavusanscondensedbi.ctg.z create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/dejavusanscondensedbi.php create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/dejavusanscondensedbi.z create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/dejavusanscondensedi.ctg.z create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/dejavusanscondensedi.php create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/dejavusanscondensedi.z create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/dejavusansi.ctg.z create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/dejavusansi.php create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/dejavusansi.z create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/dejavusansmono.ctg.z create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/dejavusansmono.php create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/dejavusansmono.z create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/dejavusansmonob.ctg.z create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/dejavusansmonob.php create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/dejavusansmonob.z create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/dejavusansmonobi.ctg.z create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/dejavusansmonobi.php create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/dejavusansmonobi.z create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/dejavusansmonoi.ctg.z create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/dejavusansmonoi.php create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/dejavusansmonoi.z create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/dejavuserif.ctg.z create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/dejavuserif.php create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/dejavuserif.z create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/dejavuserifb.ctg.z create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/dejavuserifb.php create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/dejavuserifb.z create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/dejavuserifbi.ctg.z create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/dejavuserifbi.php create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/dejavuserifbi.z create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/dejavuserifcondensed.ctg.z create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/dejavuserifcondensed.php create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/dejavuserifcondensed.z create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/dejavuserifcondensedb.ctg.z create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/dejavuserifcondensedb.php create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/dejavuserifcondensedb.z create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/dejavuserifcondensedbi.ctg.z create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/dejavuserifcondensedbi.php create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/dejavuserifcondensedbi.z create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/dejavuserifcondensedi.ctg.z create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/dejavuserifcondensedi.php create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/dejavuserifcondensedi.z create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/dejavuserifi.ctg.z create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/dejavuserifi.php create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/dejavuserifi.z create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/freemono.ctg.z create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/freemono.php create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/freemono.z create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/freemonob.ctg.z create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/freemonob.php create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/freemonob.z create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/freemonobi.ctg.z create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/freemonobi.php create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/freemonobi.z create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/freemonoi.ctg.z create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/freemonoi.php create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/freemonoi.z create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/freeserif.ctg.z create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/freeserif.php create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/freeserif.z create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/freeserifb.ctg.z create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/freeserifb.php create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/freeserifb.z create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/freeserifbi.ctg.z create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/freeserifbi.php create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/freeserifbi.z create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/freeserifi.ctg.z create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/freeserifi.php create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/freeserifi.z create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/hysmyeongjostdmedium.php create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/kozgopromedium.php create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/kozminproregular.php create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/msungstdlight.php create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/stsongstdlight.php create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/symbol.php create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/times.php create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/timesb.php create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/timesbi.php create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/timesi.php create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/utils/README.TXT create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/utils/enc/cp1250.map create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/utils/enc/cp1251.map create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/utils/enc/cp1252.map create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/utils/enc/cp1253.map create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/utils/enc/cp1254.map create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/utils/enc/cp1255.map create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/utils/enc/cp1257.map create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/utils/enc/cp1258.map create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/utils/enc/cp874.map create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/utils/enc/iso-8859-1.map create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/utils/enc/iso-8859-11.map create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/utils/enc/iso-8859-15.map create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/utils/enc/iso-8859-16.map create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/utils/enc/iso-8859-2.map create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/utils/enc/iso-8859-4.map create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/utils/enc/iso-8859-5.map create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/utils/enc/iso-8859-7.map create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/utils/enc/iso-8859-9.map create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/utils/enc/koi8-r.map create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/utils/enc/koi8-u.map create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/utils/freetype6.dll create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/utils/makeallttffonts.php create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/utils/makefont.php create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/utils/pfm2afm create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/utils/pfm2afm.exe create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/utils/src/pfm2afm-src.tar.gz create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/utils/src/readme.txt create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/utils/src/ttf2ufm-src.tar.gz create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/utils/ttf2ufm create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/utils/ttf2ufm.exe create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/utils/zlib1.dll create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/zapfdingbats.php create mode 100644 Classes/PHPExcel/Shared/PDF/fonts/zarbold.php create mode 100644 Classes/PHPExcel/Shared/PDF/images/alpha.png create mode 100644 Classes/PHPExcel/Shared/PDF/images/bug.eps create mode 100644 Classes/PHPExcel/Shared/PDF/images/image_demo.jpg create mode 100644 Classes/PHPExcel/Shared/PDF/images/image_with_alpha.png create mode 100644 Classes/PHPExcel/Shared/PDF/images/img.png create mode 100644 Classes/PHPExcel/Shared/PDF/images/logo_example.gif create mode 100644 Classes/PHPExcel/Shared/PDF/images/logo_example.jpg create mode 100644 Classes/PHPExcel/Shared/PDF/images/logo_example.png create mode 100644 Classes/PHPExcel/Shared/PDF/images/pelican.ai create mode 100644 Classes/PHPExcel/Shared/PDF/images/tcpdf_cell.png create mode 100644 Classes/PHPExcel/Shared/PDF/images/tcpdf_logo.jpg create mode 100644 Classes/PHPExcel/Shared/PDF/images/tcpdf_signature.png create mode 100644 Classes/PHPExcel/Shared/PDF/images/testsvg.svg create mode 100644 Classes/PHPExcel/Shared/PDF/images/tiger.ai create mode 100644 Classes/PHPExcel/Shared/PDF/images/tux.svg create mode 100644 Classes/PHPExcel/Shared/PDF/pdf417.php create mode 100644 Classes/PHPExcel/Shared/PDF/qrcode.php create mode 100644 Classes/PHPExcel/Shared/PDF/tcpdf.p12 diff --git a/Classes/PHPExcel/Shared/PDF/2dbarcodes.php b/Classes/PHPExcel/Shared/PDF/2dbarcodes.php index dae9cca3..8b73857d 100644 --- a/Classes/PHPExcel/Shared/PDF/2dbarcodes.php +++ b/Classes/PHPExcel/Shared/PDF/2dbarcodes.php @@ -1,42 +1,35 @@ . -// -// See LICENSE.TXT file for more information. -// ---------------------------------------------------------------------------- +// Last Update : 2010-08-08 +// Author : Nicola Asuni - Tecnick.com S.r.l - Via Della Pace, 11 - 09044 - Quartucciu (CA) - ITALY - www.tecnick.com - info@tecnick.com +// License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html) +// ------------------------------------------------------------------- +// Copyright (C) 2009-2010 Nicola Asuni - Tecnick.com S.r.l. // -// Description : PHP class to creates array representations for +// This file is part of TCPDF software library. +// +// TCPDF is free software: you can redistribute it and/or modify it +// under the terms of the GNU Lesser General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// TCPDF is distributed in the hope that it will be useful, but +// WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +// See the GNU Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with TCPDF. If not, see . +// +// See LICENSE.TXT file for more information. +// ------------------------------------------------------------------- +// +// Description : PHP class to creates array representations for // 2D barcodes to be used with TCPDF. // -// Author: Nicola Asuni -// -// (c) Copyright: -// Nicola Asuni -// Tecnick.com S.r.l. -// Via della Pace, 11 -// 09044 Quartucciu (CA) -// ITALY -// www.tecnick.com -// info@tecnick.com //============================================================+ /** @@ -44,60 +37,123 @@ * @package com.tecnick.tcpdf * @abstract Functions for generating string representation of 2D barcodes. * @author Nicola Asuni - * @copyright 2008-2009 Nicola Asuni - Tecnick.com S.r.l (www.tecnick.com) Via Della Pace, 11 - 09044 - Quartucciu (CA) - ITALY - www.tecnick.com - info@tecnick.com + * @copyright 2009-2009 Nicola Asuni - Tecnick.com S.r.l (www.tecnick.com) Via Della Pace, 11 - 09044 - Quartucciu (CA) - ITALY - www.tecnick.com - info@tecnick.com * @link http://www.tcpdf.org * @license http://www.gnu.org/copyleft/lesser.html LGPL - * @version 1.0.000 + * @version 1.0.007 */ /** * PHP class to creates array representations for 2D barcodes to be used with TCPDF (http://www.tcpdf.org).
* @name TCPDFBarcode * @package com.tecnick.tcpdf - * @version 1.0.000 + * @version 1.0.007 * @author Nicola Asuni * @link http://www.tcpdf.org * @license http://www.gnu.org/copyleft/lesser.html LGPL */ class TCPDF2DBarcode { - + /** * @var array representation of barcode. * @access protected */ - protected $barcode_array; - + protected $barcode_array = false; + /** - * This is the class constructor. + * This is the class constructor. * Return an array representations for 2D barcodes: * @param string $code code to print - * @param string $type type of barcode: + * @param string $type type of barcode: */ public function __construct($code, $type) { $this->setBarcode($code, $type); } - - /** + + /** * Return an array representations of barcode. * @return array */ public function getBarcodeArray() { return $this->barcode_array; } - - /** + + /** * Set the barcode. * @param string $code code to print - * @param string $type type of barcode: + * @param string $type type of barcode: * @return array */ public function setBarcode($code, $type) { $mode = explode(',', $type); - switch (strtoupper($mode[0])) { + $qrtype = strtoupper($mode[0]); + switch ($qrtype) { + case 'QRCODE': { // QR-CODE + require_once(dirname(__FILE__).'/qrcode.php'); + if (!isset($mode[1]) OR (!in_array($mode[1],array('L','M','Q','H')))) { + $mode[1] = 'L'; // Ddefault: Low error correction + } + $qrcode = new QRcode($code, strtoupper($mode[1])); + $this->barcode_array = $qrcode->getBarcodeArray(); + break; + } + case 'PDF417': { // PDF417 (ISO/IEC 15438:2006) + require_once(dirname(__FILE__).'/pdf417.php'); + if (!isset($mode[1]) OR ($mode[1] === '')) { + $aspectratio = 2; // default aspect ratio (width / height) + } else { + $aspectratio = floatval($mode[1]); + } + if (!isset($mode[2]) OR ($mode[2] === '')) { + $ecl = -1; // default error correction level (auto) + } else { + $ecl = intval($mode[2]); + } + // set macro block + $macro = array(); + if (isset($mode[3]) AND ($mode[3] !== '') AND isset($mode[4]) AND ($mode[4] !== '') AND isset($mode[5]) AND ($mode[5] !== '')) { + $macro['segment_total'] = intval($mode[3]); + $macro['segment_index'] = intval($mode[4]); + $macro['file_id'] = strtr($mode[5], "\xff", ','); + for ($i = 0; $i < 7; ++$i) { + $o = $i + 6; + if (isset($mode[$o]) AND ($mode[$o] !== '')) { + // add option + $macro['option_'.$i] = strtr($mode[$o], "\xff", ','); + } + } + } + $qrcode = new PDF417($code, $ecl, $aspectratio, $macro); + $this->barcode_array = $qrcode->getBarcodeArray(); + break; + } + case 'RAW': + case 'RAW2': { // RAW MODE + // remove spaces + $code = preg_replace('/[\s]*/si', '', $code); + if (strlen($code) < 3) { + break; + } + if ($qrtype == 'RAW') { + // comma-separated rows + $rows = explode(',', $code); + } else { // RAW2 + // rows enclosed in square parentheses + $code = substr($code, 1, -1); + $rows = explode('][', $code); + } + $this->barcode_array['num_rows'] = count($rows); + $this->barcode_array['num_cols'] = strlen($rows[0]); + $this->barcode_array['bcode'] = array(); + foreach ($rows as $r) { + $this->barcode_array['bcode'][] = str_split($r, 1); + } + break; + } case 'TEST': { // TEST MODE $this->barcode_array['num_rows'] = 5; $this->barcode_array['num_cols'] = 15; @@ -106,13 +162,9 @@ class TCPDF2DBarcode { array(0,1,0,0,1,0,0,0,1,0,0,0,0,1,0), array(0,1,0,0,1,1,0,0,1,1,1,0,0,1,0), array(0,1,0,0,1,0,0,0,0,0,1,0,0,1,0), - array(0,1,0,0,1,1,1,0,1,1,1,0,0,1,0) - ); + array(0,1,0,0,1,1,1,0,1,1,1,0,0,1,0)); break; } - - // ... Add here real 2D barcodes ... - default: { $this->barcode_array = false; } @@ -121,6 +173,5 @@ class TCPDF2DBarcode { } // end of class //============================================================+ -// END OF FILE +// END OF FILE //============================================================+ -?> diff --git a/Classes/PHPExcel/Shared/PDF/CHANGELOG.TXT b/Classes/PHPExcel/Shared/PDF/CHANGELOG.TXT index b1faef17..2583192f 100644 --- a/Classes/PHPExcel/Shared/PDF/CHANGELOG.TXT +++ b/Classes/PHPExcel/Shared/PDF/CHANGELOG.TXT @@ -1,15 +1,656 @@ +5.9.009 (2010-10-21) + - HTML text alignment was improved to include the case of RTL text on LTR direction and LTR text on RTL direction. + +5.9.008 (2010-10-21) + - Bug item #3091502 "Bookmark oddity" was fixed. + - HTML internal links now accepts page number and Y position. + - The method write1DBarcode() was improved to accept separate horizontal and vertical padding (see example n. 27). + +5.9.007 (2010-10-20) + - Method adjustCellPadding() was fixed to handle bad input. + +5.9.006 (2010-10-19) + - Support for AES 256 bit encryption was added (see example n. 16). + - Method getNumLines() was fixed for the empty string case. + +5.9.005 (2010-10-18) + - Method addPageRegion() was changed to accept regions starting exactly from the top of the page. + +5.9.004 (2010-10-18) + - A bug related to annotations was fixed. + - The file unicode_data.php was canged to encapsulate all data in a class. + - The file htmlcolors.php was changed to remove the global variable. + +5.9.003 (2010-10-15) + - Support for no-write page regions was added. Check the example n. 64 and new methods setPageRegions(), addPageRegion(), getPageRegions(), removePageRegion(). + - A bug on Right-To-Left alignment was fixed. + +5.9.002 (2010-10-08) + - Cell method was improved to preserve the font stretching and spacing values when using the $stretch parameter (see example n. 4). + +5.9.001 (2010-10-07) + - The problem of blank page for nobr table higher than a single page was fixed. + +5.9.000 (2010-10-06) + - Support for text stretching and spacing (kerning) was added, see example n. 63 and methods setFontStretching(), getFontStretching(), setFontSpacing(), getFontSpacing(). + - Support for CSS properties 'font-stretch' and 'letter-spacing' was added (see example n. 63). + - The cMargin state was replaced by cell_padding array that can be set/get using setCellPadding() and getCellPadding() methods. + - Methods getCellPaddings() and setCellPaddings() were added to fine tune cell paddings (see example n. 5). + - Methods getCellMargins() and setCellMargins() were added to fine tune cell margins (see example n. 5). + - Method write1DBarcode() was improved to permit custom labels (see example n. 27). + - Method ImagePngAlpha() now includes support for ImageMagick to improve performances. + - XObject Template support was extended to support Multicell(), writeHTML() and writeHTMLCell() methods. + - The signature of getNumLines() and getStringHeight() methods is changed. + - Example n. 57 was updated. + +// ------------------------------------------------------------------- + +5.8.034 (2010-09-27) + - A bug related to SetFont on XObject templates was fixed. + +5.8.033 (2010-09-25) + - A problem with Footer() and multiple columns was fixed. + +5.8.032 (2010-09-22) + - Bug #3073165 "Issues with changes to addHTMLVertSpace()" was fixed. + +5.8.031 (2010-09-20) + - Bug #3071961 "Spaces in HTML" was fixed. + +5.8.030 (2010-09-17) + - SVG support was improved and some bugs were fixed. + +5.8.029 (2010-09-16) + - A problem with HTML borders was fixed. + +5.8.028 (2010-09-13) + - Bug #3065224 "mcrypt_create_iv error on TCPDF 5.8.027 on PHP 5.3.2" was fixed. + +5.8.027 (2010-09-13) + - Bug #3065118 "mcrypt_decrypt error on TCPDF 5.8.026 on PHP 5.3.2" was fixed. + +5.8.026 (2010-09-13) + - A bug on addHTMLTOC() method was fixed. Note: be sure that the #TOC_PAGE_NUMBER# template has enough width to be printed correctly. + +5.8.025 (2010-09-09) + - Bug #3062692 "Textarea inside a table" was fixed. + +5.8.024 (2010-09-08) + - Bug #3062005 "Undefined variable: ann_obj_id" was fixed. + +5.8.023 (2010-08-31) + - Forms bug added on version 5.8.019 was fixed. + +5.8.022 (2010-08-31) + - Bug #3056632 "SVG rendered vertically flipped" was fixed. + +5.8.021 (2010-08-30) + - A new CID-0 'chinese' font was added for traditional Chinese. + - Bug #3054287 'Inner tags are ignored due to "align" attribute' was fixed. + +5.8.020 (2010-08-26) + - CSS "catch-all" class selector is now supported. + +5.8.019 (2010-08-26) + - XObject Templates now includes support for links and annotations. + - A problem related to link alignment on cell was fixed. + - A problem related to SVG styles was fixed. + +5.8.018 (2010-08-25) + - Method getNumberOfColumns() was added. + - A problem related to table header was fixed. + - Method getSVGTransformMatrix() was fixed to apply SVG transformations in the correct order. + - SVG support was improved and several bugs were fixed. + +5.8.017 (2010-08-25) + - This version includes support for XObject Templates (see the new example n. 62). + - Methods starttemplate(), endTemplate() and printTemplate() were added (see the new example n. 62). + +5.8.016 (2010-08-24) + - Alignment problem on write2DBarcode was fixed. + +5.8.015 (2010-08-24) + - A problem arised with the latest bugfix was fixed. + +5.8.014 (2010-08-23) + - Method _getxobjectdict() was added for better compatibility with external extensions. + - A bug related to radiobuttons was fixed. + - Bug #3051509 "new line after punctuation marks" was fixed (partially). + +5.8.013 (2010-08-23) + - SVG support for 'direction' property was added. + - A problem on default width calculation for linear barcodes was fixed. + - New option was added to write1DBarcode() method to improve alignments (see example n. 27). + - Bug #3050896 "Nested HTML tables: styles are not applied" was fixed. + - Method _putresourcedict() was improved to include external XObject templates. + +5.8.012 (2010-08-22) + - Support for SVG 'text-anchor' property was added. + +5.8.011 (2010-08-21) + - Method write1DBarcode() was improved to be backward compatible (check the new example n. 27). + - Support for CSS width and height properties on images were added. + +5.8.010 (2010-08-20) + - Documentation of unhtmlentities() was fixed. + - The 'fitwidth' option was added and border color problem was fixed on write1DBarcode() method (check the example n. 27). + +5.8.009 (2010-08-20) + - Internal object numbering was improved. + - Some errors in object encryption were fixed. + +5.8.008 (2010-08-19) + - Method write1DBarcode() was changed, check the example n. 27. + - Method Footer() was changed to account for barcode changes. + - Automatic calculation of K_PATH_URL constant was fixed on configuration file. + - Method setEqualColumns() was fixed for $width=0 case. + - Method AddTOC() was fixed for multipage and multicolumn modes. + - Better support for SVG "font-family" property. + - A problem on default Page Zoom mode was fixed. + - Several Annotation bugs were fixed. + +5.8.007 (2010-08-18) + - A bug affecting HTML tables was fixed. + - Bug #3047500 "SVG not rendering paths properly" was fixed. + +5.8.006 (2010-08-17) + - A bug affecting HTML table nesting was fixed. + +5.8.005 (2010-08-17) + - A bug affecting the HTML 'select' tag in certain conditions was fixed. + +5.8.004 (2010-08-17) + - Better support for HTML "font-family" property. + - A bug related to HTML multicolumn was fixed. + +5.8.003 (2010-08-16) + - Better support for HTML "font-family" property. + +5.8.002 (2010-08-14) + - HTML alignments were improved + - IMPORTANT: Default regular expression to find spaces has been changed to exclude the non-breaking-space (160 DEC- A0 HEX). If you are using setSpacesRE() method, please read the new documentation. + - Example n. 1 was updated. + +5.8.001 (2010-08-12) + - Bug #3043650 "subsetchars incorrectly cached" was fixed. + +5.8.000 (2010-08-11) + - A control to avoid bookmarking page 0 was added. + - addTOC() method now includes support for multicolumn mode. + - Support for tables in multicolumn mode was improved. + - Example n.10 was updated. + - All trimming functions were replaced with stringLeftTrim(), stringRightTrim() and stringTrim(). + - HTML alignments were improved. + +------------------------------------------------------------ + +5.7.003 (2010-08-08) + - Bug #3041263 "php source ending is bad" was fixed (all PHP files were updated, including fonts). + +5.7.002 (2010-08-06) + - Methods copyPage(), movePage() and deletePage() were changed to account for internal markings. + +5.7.001 (2010-08-05) + - Bug #3040105 "Broken PDF when using TOC (example 45)" was fixed. + +5.7.000 (2010-08-03) + - CSS borders are now supported for HTML tables and other block tags (see example n. 61); + - Cell borders were improved (see example n. 57); + - Minor bugs were fixed. +encry +------------------------------------------------------------ + +5.6.000 (2010-07-31) + - A bug with object IDs was fixes. + - Performances were improved. + +------------------------------------------------------------ + +5.5.015 (2010-07-29) + - Automatic fix for unclosed self-closing tag. + - Support for deprecated 's' and 'strike' tags was added. + - Empty list items problem was fixed. + +5.5.014 (2010-07-15) + - Support for external images was improved. + +5.5.013 (2010-07-14) + - Bug #3029338 "FI and FO output destination filename bug" was fixed (previous fix was wrong). + +5.5.012 (2010-07-14) + - Bug #3029310 "Font baseline inconsistencies with line-height and font-size" was fixed. + - Bug #3029338 "FI and FO output destination filename bug" was fixed. + +5.5.011 (2010-07-09) + - Support for multiple CSS classes was added. + - The method getColumn() was added to return the current column number. + - Some regular Expressions were fixed to be more compatible with UTF-8. + +5.5.010 (2010-07-06) + - Bug item #3025772 "Borders in all image functions are still flawed" was fixed. + +5.5.009 (2010-07-05) + - A problem related to last page footer was fixed. + - Image alignments and fit-on-page features were improved. + +5.5.008 (2010-07-02) + - A problem on table header alignment in booklet mode was fixed. + - Default graphic vars are now applied for setHeader(); + +5.5.007 (2010-07-02) + - Attribute "readonly" was added to input and textarea form fields. + - Vertical alignment feature was added on MultiCell() method only for simple text mode (see example n. 5). + - Text-Fit feature was added on MultiCell() method only for simple text mode (see example n. 5). + +5.5.006 (2010-06-29) + - getStringHeight() and getNumLines() methods were fixed. + +5.5.005 (2010-06-28) + - Bug #3022170 "getFontDescent() does not return correct descent value" was fixed. + - Some problems with multicolumn mode were fixed. + +5.5.004 (2010-06-27) + - Bug #3021803 "SVG Border" was fixed. + +5.5.003 (2010-06-26) + - On Write() method, blank lines at the beginning of a page or column are now automatically removed. + +5.5.002 (2010-06-24) + - ToUnicode Identity-H name was replaced with a full CMap (to avoid preflight syntax error). + - Bug #3020638 "str_split() not available in php4" was fixed. + - Bug #3020665 "file_get_contents() too many parameters for php4" was fixed. + +5.5.001 (2010-06-23) + - A problem on image streams was fixed. + +5.5.000 (2010-06-22) + - Several PDF syntax errors (and related bugs) were fixed. + - Bug #3019090 "/Length values are wrong if AES encryption is used" was fixed. + +------------------------------------------------------------ + +5.4.003 (2010-06-19) + - A problem related to page boxes was fixed. + - Bug #3016920 "Font subsetting issues when editing pdf" was partially fixed (Note that flattening transparency layers is currently incompatible with TrueTypeUnicode fonts). + +5.4.002 (2010-06-18) + - A problem related with setProtection() method was fixed. + +5.4.001 (2010-06-18) + - A problem related with setProtection() method was fixed. + +5.4.000 (2010-06-18) + - The method setSignatureAppearance() was added, check the example n. 52. + - Several problems related to font subsetting were fixed. + +------------------------------------------------------------ + +5.3.010 (2010-06-15) + - Previous release was corrupted. + +5.3.009 (2010-06-15) + - Bug #3015934 "Bullets don't display correctly" was fixed. + +5.3.008 (2010-06-13) + - This version fixes some problems of SVG rasterization. + +5.3.007 (2010-06-13) + - This version improves SVG support. + +5.3.006 (2010-06-10) + - This version includes a change in uniqid calls for backward compatibility with PHP4. + +5.3.005 (2010-06-09) + - The method getPageSizeFromFormat() was changed to include all standard page formats (includes 281 page formats + variation). + +5.3.004 (2010-06-08) + - Bug #3013291 "HTML table cell width" was fixed. + - Bug #3013294 "HTML table cell alignment" was fixed. + - The columns widths of HTML tables are now inherited from the first row. + +5.3.003 (2010-06-08) + - Bug #3013102 "HTML table header misaligned after page break" was fixed. + +5.3.002 (2010-06-07) + - The methods setFontSubsetting() and setFontSubsetting() were added to control the default font subsetting mode (see example n. 1). + - Bug #3012596 "Whitespace should not appeared after use Thai top characters" was fixed. + - Examples n. 1, 14, and 54 were updated. + +5.3.001 (2010-06-06) + - Barcode PDF417 was improved to support Macro Code Blocks (see example n. 50). + +5.3.000 (2010-06-05) + - License was changed to GNU-LGPLv3 (see the updated LICENSE.TXT file). + - PDF417 barcode support was added (check the example n. 50). + - The method write2DBarcode() was improved (some parameters were added and other changed - check example n. 50). + +------------------------------------------------------------ + +5.2.000 (2010-06-02) + - IMPORTANT: Support for font subsetting was added by default to reduce the size of documents using large unicode font files. + If you embed the whole font in the PDF, the person on the other end can make changes to it even if he didn't have your font. + If you subset the font, file size of the PDF will be smaller but the person who receives your PDF would need to have your same font in order to make changes to your PDF. + - The signature of the SetFont() and AddFont() methods were changed to include the font subsetting option (subsetting is applied by default). + - Examples 14 and 54 were updated. + +------------------------------------------------------------ + +5.1.002 (2010-05-27) + - Bug #3007818 "SetAutoPageBreak fails with MultiCell" was fixed. + - A bug related to MultiCell() minimun height was fixed. + +5.1.001 (2010-05-26) + - The problem of blank page after table was fixed. + +5.1.000 (2010-05-25) + - This version includes support for CSS (Cascading Style Sheets) (see example n. 61). + - The convertHTMLColorToDec() method was improved. + +------------------------------------------------------------ + +5.0.014 (2010-05-21) + - A problem on color and style of HTML links was fixed. + - A bug relative to gradients was fixed. + - The getStringHeight() method was added and getNumLines() method was improved. + - All examples were updated. + +5.0.013 (2010-05-19) + - A bug related to page-breaks and table cells was fixed. + +5.0.012 (2010-05-19) + - Page orientation bug was fixed. + - The access to method setPageFormat() was changed to 'protected' because it is not intended to be directly called. + +5.0.011 (2010-05-19) + - Page orientation bug was fixed. + - Bug #3003966 "Multiple columns and nested lists" was fixed. + +5.0.010 (2010-05-17) + - The methods setPageFormat(), setPageOrientation() and related methods were extended to include page boxes, page rotations and page transitions. + - The method setPageBoxes() was added to set page boundaries (MediaBox, CropBox, BleedBox, TrimBox, ArtBox); + - A bug relative to underline, overline and linethrough was fixed. + +5.0.009 (2010-05-16) + - Bug #3002381 "Multiple columns and nested lists" was fixed. + +5.0.008 (2010-05-15) + - Bug "Columns WriteHTML and Justification" was fixed. + +5.0.007 (2010-05-14) + - Bug #3001347 "Bug when using WriteHTML with setEqualColumns()" was fixed. + - Bug #3001505 "problem with sup and sub tags at the beginning of a line" was fixed. + +5.0.006 (2010-05-13) + - Length of hr tag was fixed. + - An error on 2d barcode method was fixed. + +5.0.005 (2010-05-12) + - WARNING: The logic of permissions on the SetProtection() method has been inverted and extended (see example 16). Now you have to specify the features you want to block. + - SetProtection() method was extended to support RSA and AES 128 encryption and public-keys (see example 16). + - Bug #2999489 "setEqualColumns() and TOC uses wrong columns" was fixed (see the example 10). + +5.0.004 (2010-05-10) + - HTML line alignment when using sub and sup tags was fixed. + +5.0.003 (2010-05-07) + - Horizontal alignment was fixed for images and barcodes. Now the X coordinate is always relative to the left margin. Use GetAbsX() instead of GetX() to get the X relative to left margin. + - Header() method was changed to account for new image alignment rules. + +5.0.002 (2010-05-06) + - Bookmark() and related methods were fixed to accept HTML code. + - A problem on HTML links was fixed. + +5.0.001 (2010-05-06) + - Protected method _putstream was re-added for backward compatibility. + - The following method were added to display HTML Table Of Content (see example n. 59): + addTOCPage(), endTOCPage(), addHTMLTOC(). + +5.0.000 (2010-05-05) + - Method ImageSVG() was added to embedd SVG images (see example n. 58). Note that not all SVG images are supported. + - Method setRasterizeVectorImages() was added to enable/disable rasterization for vector images via ImageMagick library. + - Method RoundedRectXY() was added. + - Method PieSectorXY() was added. + - Gradient() method is now public and support new features. + - Shading to transparency is now supported. + - Image alignments were fixed. + - Support for dynamic images were improved. + - PDF_IMAGE_SCALE_RATIO has been changed to 1.25 for better compatibility with SVG. + - RAW and RAW2 modes were added to 2D Barcodes (see example n. 50). + - Automatic padding feature was added on barcodes (see examples n. 27 and 50). + - Bug #2995003 "Reproduced thead bug" was fixed. + - The Output() method now accepts FI and FD destinations to save the document on server before sending it to the client. + - Ellipse() method was improved and fixed (see page 2 of example n. 12). + +------------------------------------------------------------ + +4.9.018 (2010-04-21) + - Bug item #2990356 "Current font size not respected with more than two HTML

" was fixed. + +4.9.017 (2010-04-21) + - Bug item #2990224 "Different behaviour for equivalent HTML strings" was fixed. + - Bug item #2990314 "Dash is not appearing with SHY character" was fixed. + +4.9.016 (2010-04-20) + - An error on htmlcolors.php was fixed. + - getImageFileType() method was improved. + - GIF images with transparency are now better supported. + - Automatic page orientation was improved. + +4.9.015 (2010-04-20) + - A new method copyPage() was added to clone pages (see example n. 44). + - Support for text overline was added. + - Underline and linethrough methods were fixed. + - Bug #2989058 "SHY character causes unnecessary word-wrapping" was fixed. + +4.9.014 (2010-04-18) + - Bug item #2988845 was fixed. + +4.9.013 (2010-04-15) + - Image() and ImageEPS() methods were fixed and improved; $fitonpage parameter was added. + +4.9.012 (2010-04-12) + - The hyphenateText() method was added to automatically hyphenate text (see example n. 46). + +4.9.011 (2010-04-07) + - Vertical alignments for Cell() method were improved (see example n. 57). + +4.9.010 (2010-04-06) + - Signature of Cell() method now includes new parameters for vertical alignment (see example n. 57). + - Text() method was extended to include all Cell() parameters. + - HTML line alignment procedure was changed to fix some bugs. + +4.9.009 (2010-04-05) + - Text() method was fixed for backward compatibility. + +4.9.008 (2010-04-03) + - Additional line space after table header was removed. + - Support for HTML lists in multicolumn mode was added. + - The method setTextRenderingMode() was added to set text rendering modes (see the example n. 26). + - The following HTML attributes were added to set text rendering modes (see the example n. 26): stroke, strokecolor, fill. + +4.9.007 (2010-04-03) + - Font Descent computation was fixed (patch #2981441). + +4.9.006 (2010-04-02) + - The constant K_TCPDF_CALLS_IN_HTML was added on configuration file to enable/disable the ability to call TCPDF methods in HTML. + - The usage of tcpdf tag in HTML mode was changed to remove the possible security flaw offered by the eval() function (thanks to Matthias Hecker for spotting this security problem). See the new example n. 49 for further information. + +4.9.005 (2010-04-01) + - Bug# 2980354 "Wrong File attachment description with security" was fixed. + - Several problems with HTML line alignment were fixed. + - The constant K_THAI_TOPCHAR was added on configuration file to enable/disable the special procedure used to avoid the overlappind of symbols on Thai language. + - A problem with font name directory was fixed. + - A bug on _destroy() method was fixed. + +4.9.004 (2010-03-31) + - Patch #979681 "GetCharWidth - default character width" was applied (bugfix). + +4.9.003 (2010-03-30) + - Problem of first
on multiple columns was fixed. + - HTML line alignment was fixed. + - A QR-code bug was fixed. + +4.9.002 (2010-03-29) + - Patch #2978349 "$ignore_min_height is ignored in function Cell()" was applied. + - Bug #2978607 "2D Barcodes are wrong" was fixed. + - A problem with HTML block tags was fixed. + - Artificial italic for CID-0 fonts was added. + - Several multicolumn bugs were fixed. + - Support for HTML tables on multicolumn was added. + +4.9.001 (2010-03-28) + - QR Code minor bug was fixed. + - Multicolumn mode was added (see the new example n. 10). + - The following methods were added: setEqualColumns(), setColumnsArray(), selectColumn(). + - Thai diacritics support were changed (note that this is incompatible with html justification). + +4.9.000 (2010-03-27) + - QR Code (2D barcode) support was added (see example n. 50). + - The following methods were added to print crop and registration marks (see example n. 56): colorRegistrationBar(), cropMark(), registrationMark(). + - Limited support for CSS line-height property was added. + - Gradient method now supports Gray, RGB and CMYK space color. + - Example n. 51 was updated. + - Vertical alignment of font inside cell was fixed. + - Support for multiple Thai diacritics was added. + - Bug item #2974929 "Duplicate case values" was fixed. + - Bug item #2976729 "File attachment not working with security" was fixed. + +------------------------------------------------------------ + +4.8.039 (2010-03-20) + - Problems related to custom locale settings were fixed. + - Problems related to HTML on Header and Footer were fixed. + +4.8.038 (2010-03-13) + - Various bugs related to page-break in HTML mode were fixed. + - Bug item #2968974 "Another pagebreak problem" was fixed. + - Bug item #2969276 "justification problem" was fixed. + - Bug item #2969289 "bug when using justified text and custom headers" was fixed. + - Images are now automatically resized to be contained on the page. + - Some HTML line alignments were fixed. + - Signature of AddPage() and SetMargins() methods were changed to include an option to set default page margins. + +4.8.037 (2010-03-03) + - Bug item #2962068 was fixed. + - Bug item #2967017 "Problems with and pagebreaks" was fixed. + - Bug item #2967023 "table header lost with pagebreak" was fixed. + - Bug item #2967032 "Header lost with nested tables" was fixed. + +4.8.036 (2010-02-24) + - Automatic page break for HTML images was improved. + - Example 10 was updated. + - Japanese was removed from example 8 because the freeserif font doesn't contain japanese (you can display it using arialunicid0 font). + +4.8.035 (2010-02-23) + - Automatic page break for HTML images was added. + - Support for multicolumn HTML was added (example 10 was updated). + +4.8.034 (2010-02-17) + - Language files were updated. + +4.8.033 (2010-02-12) + - A bug related to protection mode with links was fixed. + +4.8.032 (2010-02-04) + - A bug related to $maxh parameter on Write() and MultiCell() was fixed. + - Support for body tag was added. + +4.8.031 (2010-01-30) + - Bug item #2941589 "paragraph justify not working on some non-C locales" was fixed. + +4.8.030 (2010-01-27) + - Some text alignment cases were fixed. + +4.8.029 (2010-01-27) + - Bug item #2941057 "TOC Error in PDF File Output" was fixed. + - Some text alignment cases were fixed. + +4.8.028 (2010-01-26) + - Text alignment for RTL mode was fixed. + +4.8.027 (2010-01-25) + - Bug item #2938412 "Table related problems - thead, nobr, table width" was fixed. + +4.8.026 (2010-01-19) + - The misspelled word "lenght" was replaced with "length" in some variables and comments. + +4.8.025 (2010-01-18) + - addExtGState() method was improved to reuse existing ExtGState objects. + +4.8.024 (2010-01-15) + - Justification mode for HTML was fixed (Bug item #2932470). + +4.8.023 (2010-01-15) + - Bug item #2932470 "Some HTML entities breaks justification" was fixed. + +4.8.022 (2010-01-14) + - Source code documentation was fixed. + +4.8.021 (2010-01-03) + - A Bug relative to Table Of Content index was fixed. + +4.8.020 (2009-12-21) + - Bug item #2918545 "Display problem of the first row of a table with larger font" was fixed. + - A Bug relative to table rowspan mode was fixed. + +4.8.019 (2009-12-16) + - Bug item #2915684 "Image size" was fixed. + - Bug item #2914995 "Image jpeg quality" was fixed. + - The signature of the Image() method was changed (check the documentation for the $resize parameter). + +4.8.018 (2009-12-15) + - Bug item #2914352 "write error" was fixed. + +4.8.017 (2009-11-27) + - THEAD problem when table is used on header/footer was fixed. + - A first line alignment on HTML justification was fixed. + - Method getImageFileType() was added. + - Images with unknown extension and type are now supported via ImageMagick PHP extension. + +4.8.016 (2009-11-21) + - Document Information Dictionary was fixed. + - CSS attributes 'page-break-before', 'page-break-after' and 'page-break-inside' are now supported. + - Problem of unclosed last page was fixed. + - Problem of 'thead' unnecessarily repeated on the next page was fixed. + +4.8.015 (2009-11-20) + - A problem with some PNG transparency images was fixed. + - Bug #2900762 "Sort issues in Bookmarks" was fixed. + - Text justification was fixed for various modes: underline, strikeout and background. + +4.8.014 (2009-11-04) + - Bug item #2891316 "writeHTML, underlining replacing spaces" was fixed. + - The handling of temporary RTL text direction mode was fixed. + +4.8.013 (2009-10-26) + - Bug item #2884729 "Problem with word-wrap and hyphen" was fixed. + +4.8.012 (2009-10-23) + - Table cell alignments for RTL booklet mode were fixed. + - Images and barcode alignments for booklet mode were fixed. + +4.8.011 (2009-10-22) + - DejaVu fonts were updated to latest version. + +4.8.010 (2009-10-21) + - Bookmark for TOC page was added. + - Signature of addTOC() method is changed. + - Bookmarks are now automatically sorted by page and Y position. + - Example n. 45 was updated. + - Example n. 55 was added to display all charactes available on core fonts. + 4.8.009 (2009-09-30) - Compatibility with PHP 5.3 was improved. - All examples were updated. - Index file for examples was added. - + 4.8.008 (2009-09-29) - Example 49 was updated. - Underline and linethrough now works with cell stretching mode. - + 4.8.007 (2009-09-23) - Infinite loop problem caused by nobr attribute was fixed. - + 4.8.006 (2009-09-23) - Bug item #2864522 "No images if DOCUMENT_ROOT=='/'" was fixed. - Support for text-indent CSS attribute was added. @@ -45,28 +686,28 @@ - Signature of Image() method was changed. - htmlcolors.php file was updated. --------------------------------------------------------------------------------- +------------------------------------------------------------ 4.7.003 (2009-09-03) - Support for TCPDF methods on HTML was improved (see example n. 49). - + 4.7.002 (2009-09-02) - Bug item #2848892 "writeHTML + table: Gaps between rows" was fixed. - JavaScript support was fixed (see example n. 53). - + 4.7.001 (2009-08-30) - The Polygon() and Arrow() methods were fixed and improved (see example n. 12). - + 4.7.000 (2009-08-29) - This is a major release. - Some procedures were internally optimized. - The problem of mixed signature and annotations was fixed (example n. 52). - + 4.6.030 (2009-08-29) - IMPORTANT: percentages on table cell widths are now relative to the full table width (as in standard HTML). - Various minor bugs were fixed. - Example n. 52 (digital signature) was updated. - + 4.6.029 (2009-08-26) - PHP4 version was fixed. @@ -101,26 +742,26 @@ - Bug item #2824036 "Image as hyperlink in table, text displaced at page break" was fixed. - Links alignment on justified text was fixed. - Unicode "\u" modifier was added to re_spaces variable by default. - + 4.6.020 (2009-07-16) - Bug item #2821921 "issue in example 18" was fixed. - Signature of SetRTL() method was changed. - + 4.6.019 (2009-07-13) - Bug item #2820703 "xref table broken" was fixed. - + 4.6.018 (2009-07-10) - Bug item #2819319 "Text over text" was fixed. - Method Arrow() was added to print graphic arrows (example 12 was updated). - + 4.6.017 (2009-07-05) - Bug item #2816079 "Example 48 not working" was fixed. - The signature of the checkPageBreak() was changed. The parameter $addpage was added to turn off the automatic page creation. - + 4.6.016 (2009-06-16) - Method setSpacesRE() was added to set the regular expression used for detecting withespaces or word separators. If you are using chinese, try: setSpacesRE('/[\s\p{Z}\p{Lo}]/');, otherwise you can use setSpacesRE('/[\s\p{Z}]/'); - The method _putinfo() now automatically fills the metadata with '?' in case of empty string. - + 4.6.015 (2009-06-11) - Bug #2804667 "word wrap bug" was fixed. @@ -250,26 +891,26 @@ - Bug #2717436 "writeHTML rowspan problem (continued)" was fixed. - Bug #2719090 "writeHTML fix follow up" was fixed. - The method _putuserrights() was changed to avoid Adobe Reader 9.1 crash. This broken the 'trick' that was used to display forms in Acrobat Reader. - + 4.5.034 (2009-03-27) - Bug #2716914 "Bug writeHTML of a table in body and footer related with pb" was fixed. - Bug #2717056 ] "writeHTML problem when setting tr style" was fixed. - The signature of the Cell() method was changed. - + 4.5.033 (2009-03-27) - The support for rowspan/colspan on HTML tables was improved (see example n. 48). - + 4.5.032 (2009-03-23) - setPrintFooter(false) bug was fixed. - + 4.5.031 (2009-03-20) - Table header support was extended to multiple pages. - + 4.5.030 (2009-03-20) - thead tag is now supported on HTML tables (header rows are repeated after page breaks). - The startTransaction() was improved to autocommit. - List bullets now uses the foreground color (putHtmlListBullet()). - + 4.5.029 (2009-03-19) - The following methods were added to UNDO commands (see example 47): startTransaction(), commitTransaction(), rollbackTransaction(). - All examples were updated. @@ -309,44 +950,44 @@ 4.5.019 (2009-02-28) - The problem of decimal separator using different locale was fixed. - The text hyphenation is now supported (see example n. 46). - + 4.5.018 (2009-02-26) - The _destroy() method was added to unset all class variables and frees memory. - Now it's possible to call Output() method multiple times. - + 4.5.017 (2009-02-24) - A minor bug that raises a PHP warning was fixed. - + 4.5.016 (2009-02-24) - Bug item #2631200 "getNumLines() counts wrong" was fixed. - Multiple attachments bug was fixed. - All class variables are now cleared on Output() for memory otpimization. - + 4.5.015 (2009-02-18) - Bug item #2612553 "function Write() must not break a line on   character" was fixed. - + 4.5.014 (2009-02-13) - Bug item #2595015 "POSTNET Barcode Checksum Error" was fixed (on barcode.php). - Pagebreak bug for barcode was fixed. - + 4.5.013 (2009-02-12) - border attribute is now supported on HTML images (only accepts the same values accepted by Cell()). - + 4.5.012 (2009-02-12) - An error on image border feature was fixed. - + 4.5.011 (2009-02-12) - HTML links for images are now supported. - height attribute is now supported on HTML cells. - $border parameter was added to Image() and ImageEps() methods. - The method getNumLines() was added to estimate the number of lines required for the specified text. - + 4.5.010 (2009-01-29) - Bug n. 2546108 "BarCode Y position" was fixed. - + 4.5.009 (2009-01-26) - Bug n. 2538094 "Empty pdf file created" was fixed. - + 4.5.008 (2009-01-26) - setPage() method was fixed to correctly restore graphic states. - Source code was cleaned up for performances. @@ -377,7 +1018,7 @@ - Method Footer() was improved to automatically print page or page-group number (see example n. 23). - Protected method formatTOCPageNumber() was added to customize the format of page numbers on the Table Of Content. - The signature of addTOC() was changed to include the font used for page numbers. - + 4.5.000 (2009-01-03) - A new $diskcache parameter was added to class constructor to enable disk caching and reduce RAM memory usage (see example n. 43). - The method movePageTo() was added to move pages to previous positions (see example n. 44). @@ -412,20 +1053,20 @@ - Bug item #2412147 "Warning on line 3367" was fixed. - Method setHtmlLinksStyle() was added to set default HTML link colors and font style. - Method addHtmlLink() was changed to use color and style defined on the inline CSS. - + 4.4.002 (2008-12-09) - Borders on Multicell() were fixed. - Problem of Multicell() on Header function (Bug item #2407579) was fixed. - Problem on graphics tranformations applied to Multicell() was fixed. - Support for ImageMagick was added. - Width calculation for nested tables was fixed. - + 4.4.001 (2008-12-08) - Some missing core fonts were added on fonts directory. - CID0 fonts rendering was fixed. - HTML support was improved (

 and  tags are now supported).
 	- Bug item #2406022 "Left padding bug in MultiCell with maxh" was fixed.
-	
+
 4.4.000 (2008-12-07)
 	- File attachments are now supported (see example n. 41).
 	- Font functions were optimized to reduce document size.
@@ -437,20 +1078,20 @@
 
 4.3.009 (2008-12-05)
 	- Bug item #2392989 (Custom header + setlinewidth + cell border bug) was fixed.
-	
+
 4.3.008 (2008-12-05)
 	- Bug item #2390566 "rect bug" was fixed.
 	- File path was fixed for font embedded files.
 	- SetFont() method signature was changed to include the font filename.
 	- Some font-related methods were improved.
 	- Methods getFontFamily() and getFontStyle() were added.
-	
+
 4.3.007 (2008-12-03)
 	- PNG alpha channel is now supported (GD library is required).
 	- AddFont() function now support custom font file path on $file parameter.
 	- The default width variable ($dw) is now always defined for any font.
 	- The 'Style' attribute on CID-0 fonts was removed because of protection bug.
-	
+
 4.3.006 (2008-12-01)
 	- A regular expression on getHtmlDomArray() to find HTML tags was fixed.
 
@@ -472,52 +1113,52 @@
 
 4.3.002 (2008-11-17)
 	- Bug item #2305518 "CID-0 font don't work with encryption" was fixed.
-	
+
 4.3.001 (2008-11-17)
 	- Bug item #2300007 "download mimetype pdf" was fixed.
 	- Double quotes were replaced by single quotes to improve PHP performances.
 	- A bug relative to HTML cell borders was fixed.
-	
+
 4.3.000 (2008-11-14)
 	- The function setOpenCell() was added to set the top/bottom cell sides to be open or closed when the cell cross the page.
 	- A bug relative to list items indentation was fixed.
 	- A bug relative to borders on HTML tables and Multicell was fixed.
 	- A bug relative to rowspanned cells was fixed.
 	- A bug relative to html images across pages was fixed.
-	
+
 4.2.009 (2008-11-13)
 	- Spaces between li tags are now automatically removed.
-	
+
 4.2.008 (2008-11-12)
 	- A bug relative to fill color on next page was fixed.
-	
+
 4.2.007 (2008-11-12)
 	- The function setListIndentWidth() was added to set custom indentation widht for HTML lists.
-	
+
 4.2.006 (2008-11-06)
 	- A bug relative to HTML justification was fixed.
-	
+
 4.2.005 (2008-11-06)
 	- A bug relative to HTML justification was fixed.
 	- The methods formatPageNumber() and PageNoFormatted() were added to format page numbers.
 	- Default Footer() method was changed to use PageNoFormatted() instead of PageNo().
 	- Example 6 was updated.
-	
+
 4.2.004 (2008-11-04)
 	- Bug item n. 2217039 "filename handling improvement" was fixed.
-	
+
 4.2.003 (2008-10-31)
 	- Font style bug was fixed.
-	
+
 4.2.002 (2008-10-31)
 	- Bug item #2210922 (htm element br not work) was fixed.
 	- Write() function was improved to support margin changes.
-	
+
 4.2.001 (2008-10-30)
 	- setHtmlVSpace($tagvs) function was added to set custom vertical spaces for HTML tags.
 	- writeHTML() function now support margin changes during execution.
 	- Signature of addHTMLVertSpace() function is changed.
-	
+
 4.2.000 (2008-10-29)
 	- htmlcolors.php was changed to support class-loaders.
 	- ImageEps() function was improved in performances.
@@ -531,33 +1172,33 @@
 	- Some functions were fixed to better support RTL mode.
 	- Example n. 10 was changed to support RTL mode.
 	- All examples were updated.
-	
+
 4.1.004 (2008-10-23)
 	- unicode_data.php was changed to support class-loaders.
 	- Bug item #2186040/2 (writeHTML margin problem) was fixed.
-	
+
 4.1.003 (2008-10-22)
 	- Bug item #2185399 was fixed (rowspan and page break).
 	- Bugs item #2186040 was fixed (writeHTML margin problem).
 	- Newline after table was removed.
-	
+
 4.1.002 (2008-10-21)
 	- Bug item #2184525 was fixed (rowspan on HTML cell).
-	
+
 4.1.001 (2008-10-21)
 	- Support for "start" attribute was added to HTML ordered list.
 	- unicode_data.php file was changed to include UTF-8 to ASCII table.
 	- Some functions were modified to better support UTF-8 extensions to core fonts.
 	- Support for images on HTML lists was improved.
 	- Examples n. 1 and 6 were updated.
-	
+
 4.1.000 (2008-10-18)
 	- Page-break bug using HTML content was fixed.
 	- The "false" parameter was reintroduced to class_exists function on PHP5 version to avoid autoload.
 	- addHtmlLink() function was improved to support internal links (i.e.: link to page 23).
 	- Justification alignment is now supported on HTML (see example n. 39).
 	- example_006.php was updated.
-	
+
 4.0.033 (2008-10-13)
 	- Bug n. 2157099 was fixed.
 	- SetX() and SetY() functions were improved.
@@ -577,30 +1218,30 @@
 	- _putbookmarks() function was fixed.
 	- _putannots() was fixed to include internal links.
 
-4.0.029 (2008-09-27)
+4.0.029 (2008-09-27)
 	- Infinite loop bug was fixed [Bug item #130309].
 	- Multicell() problem on Header() was fixed.
-	
-4.0.028 (2008-09-26)
+
+4.0.028 (2008-09-26)
 	- setLIsymbol() was added to set the LI symbol used on UL lists.
 	- Missing $padding and $encryption_key variables declarations were added [Bug item #2129058].
-	
-4.0.027 (2008-09-19)
+
+4.0.027 (2008-09-19)
 	- Bug #2118588 "Undefined offset in tcpdf.php on line 9581" was fixed.
 	- arailunicid0.php font was updated.
 	- The problem of javascript form fields duplication after saving was fixed.
-		
-4.0.026 (2008-09-17)
+
+4.0.026 (2008-09-17)
 	- convertHTMLColorToDec() function was improved to support rgb(RR,GG,BB) notation.
 	- The following inline CSS attributes are now supported: text-decoration, color, background-color and font-size names: xx-small, x-small, small, medium, large, x-large, xx-large
 	- Example n. 6 was updated.
-		
-4.0.025 (2008-09-15)
+
+4.0.025 (2008-09-15)
 	- _putcidfont0 function was improved to include CJK fonts (Chinese, Japanese, Korean, CJK, Asian fonts) without embedding.
 	- arialunicid0 font was added (see the new example n. 38).
-	- The following Unicode to CID-0 tables were added on fonts folder: uni2cid_ak12.php, uni2cid_aj16.php, uni2cid_ag15.php, uni2cid_ac15.php. 
-		
-4.0.024 (2008-09-12)
+	- The following Unicode to CID-0 tables were added on fonts folder: uni2cid_ak12.php, uni2cid_aj16.php, uni2cid_ag15.php, uni2cid_ac15.php.
+
+4.0.024 (2008-09-12)
 	- "stripos" function was replaced with "strpos + strtolower" for backward compatibility with PHP4.
 	- support for Spot Colors were added. Check the new example n. 37 and the following new functions:
 		AddSpotColor()
@@ -610,532 +1251,532 @@
 		_putspotcolors()
 	- Bookmark() function was improved to fix wrong levels.
 	- $lasth changes after header/footer calls were fixed.
-	
-4.0.023 (2008-09-05)
+
+4.0.023 (2008-09-05)
 	- Some HTML related problems were fixed.
 	- Image alignment on HTML was changed, now it always defaults to the normal mode (see example_006.php).
-	
-4.0.022 (2008-08-28)
+
+4.0.022 (2008-08-28)
 	- Line height on HTML was fixed.
 	- Image inside an HTML cell problem was fixed.
 	- A new "zarbold" persian font was added.
-	
-4.0.021 (2008-08-24)
-	- HTTP headers were fixed on Output function().
-	- getAliasNbPages() and getPageGroupAlias() functions were changed to support non-unicode fonts on unicode documents.
-	- Function Write() was fixed.
-	- The problem of additional vertical spaces on HTML was fixed.
-	- The problem of frame around HTML links was fixed.
-
-4.0.020 (2008-08-15)
-	- "[2052259] WriteHTML  & " bug was fixed.
-
-4.0.019 (2008-08-13)
-	- "Rowspan on first cell" bug was fixed.
-
-4.0.018 (2008-08-08)
-	- Default cellpadding for HTML tables was fixed.
-	- Annotation() function was added to support some PDF annotations (see example_036.php and section 8.4 of PDF reference 1.7).
-	- HTML links are now correclty shifted during line alignments.
-	- function getAliasNbPages() was added and Footer() was updated.
-	- RowSpan mode for HTML tables was fixed.
-	- Bugs item #2043610 "Multiple sizes vertical align wrong" was fixed.
-	- ImageEPS() function was improved and RTL alignment was fixed (see example_032.php).
-
-4.0.017 (2008-08-05)
-	- Missing CNZ and CEO style modes were added to Rect() function.
-	- Fonts utils were updated to include support for OpenType fonts.
-	- getLastH() function was added.
-
-4.0.016 (2008-07-30)
-	- setPageMark() function was added. This function must be called after calling Image() function for a background image.
-
-4.0.015 (2008-07-29)
-	- Some functions were changed to support different page formats (see example_028.php).
-	- The signature of setPage() function is changed.
-
-4.0.014 (2008-07-29)
-	- K_PATH_MAIN calculation on tcpdf_config.php was fixed.
-	- HTML support for EPS/AI images was added (see example_006.php).
-	- Bugs item #2030807 "Truncated text on multipage html fields" was fixed.
-	- PDF header bug was fixed.
-	- helvetica was added as default font family.
-	- Stroke mode was fixed on Text function.
-	- several minor bugs were fixed.
-
-4.0.013 (2008-07-27)
-	- Bugs item #2027799 " Big spaces between lines after page break" was fixed.
-	- K_PATH_MAIN calculation on tcpdf_config.php was changed.
-	- Function setVisibility() was fixed to avoid the "Incorrect PDEObject type" error message.
-
-4.0.012 (2008-07-24)
-	- Addpage(), Header() and Footer() functions were changed to simplify the implementation of external header/footer functions.
-	- The following functions were added: 
-			setHeader()
-			setFooter()
-			getImageRBX()
-			getImageRBY()
-			getCellHeightRatio()
-			getHeaderFont()
-			getFooterFont()
-			getRTL()
-			getBarcode()
-			getHeaderData()
-			getHeaderMargin()
-			getFooterMargin()
-	
-4.0.011 (2008-07-23)
-	- Font support was improved.
-	- The folder /fonts/utils contains new utilities and instructions for embedd font files.
-	- Documentation was updated.
-
-4.0.010 (2008-07-22)
-	- HTML tables were fixed to work across pages.
-	- Header() and Footer() functions were updated to preserve previous settings.
-	- example_035.php was added.
-
-4.0.009 (2008-07-21)
-	- UTF8StringToArray() function was fixed for non-unicode mode.
-
-4.0.008 (2008-07-21)
-	- Barcodes alignment was fixed (see example_027.php).
-	- unicode_data.php was updated.
-	- Arabic shaping for "Zero-Width Non-Joiner" character (U+200C) was fixed.
-
-4.0.007 (2008-07-18)
-	- str_split was replaced by preg_split for compatibility with PHP4 version.
-	- Clipping mode was added to all graphic functions by using parameter $style = "CNZ" or "CEO" (see example_034.php).
-
-4.0.006 (2008-07-16)
-	- HTML rowspan bug was fixed.
-	- Line style for MultiCell() was fixed.
-	- WriteHTML() function was improved.
-	- CODE128C barcode was fixed (barcodes.php).
-
-4.0.005 (2008-07-11)
-	- Bug [2015715] "PHP Error/Warning" was fixed.
-
-4.0.004 (2008-07-09)
-	- HTML cell internal padding was fixed.
-
-4.0.003 (2008-07-08)
-	- Removed URL encoding when F option is selected on Output() function.
-	- fixed some minor bugs in html tables.
-
-4.0.002 (2008-07-07)
-	- Bug [2000861] was still unfixed and has been fixed.
-	
-4.0.001 (2008-07-05)
-	- Bug [2000861] was fixed.
-
-4.0.000 (2008-07-03)
-	- THIS IS A MAIN RELEASE THAT INCLUDES SEVERAL NEW FEATURES AND BUGFIXES
-	- Signature fo SetTextColor() and SetFillColor() functions was changed (parameter $storeprev was removed).
-	- HTML support was completely rewritten and improved (see example 6).
-	- Alignments parameters were fixed.
-	- Functions GetArrStringWidth() and GetStringWidth() now include font parameters.
-	- Fonts support was improved.
-	- All core fonts were replaced and moved to fonts/ directory.
-	- The following functions were added: getMargins(), getFontSize(), getFontSizePt().
-	- File config/tcpdf_config_old.php was renamed tcpdf_config_alt.php and updated.
-	- Multicell and WriteHTMLCell fill function was fixed.
-	- Several minor bugs were fixed.
-	- barcodes.php was updated.
-	- All examples were updated.
-	
-------------------------------------------------------------
-
-3.1.001 (2008-06-13)
-	- Bug [1992515] "K_PATH_FONTS default value wrong" was fixed.
-	- Vera font was removed, DejaVu font and Free fonts were updated.
-	- Image handling was improved.
-	- All examples were updated.
-	
-3.1.000 (2008-06-11)
-	- setPDFVersion() was added to change the default PDF version (currently 1.7).
-	- setViewerPreferences() was added to control the way the document is to be presented on the screen or printed (see example 29).
-	- SetDisplayMode() signature was changed (new options were added).
-	- LinearGradient(), RadialGradient(), CoonsPatchMesh() functions were added to print various color gradients (see example 30).
-	- PieSector() function was added to render render pie charts (see example 31).
-	- ImageEps() was added to display EPS and AI images with limited support (see example 32).
-	- writeBarcode() function is now depracated, a new write1DBarcode() function was added. The barcode directory was removed and a new barcodes.php file was added.
-	- The new write1DBarcode() function support more barcodes and do not need the GD library (see example 027). All barcodes are directly written to PDF using graphic functions.
-	- HTML lists were improved and could be nested (you may now represent trees).
-	- AddFont() bug was fixed.
-	- _putfonts() bug was fixed.
-	- graphics functions were fixed.
-	- unicode_data.php file was updated (fixed).
-	- almohanad font was updated.
-	- example 18 was updated (Farsi and Arabic languages).
-	- source code cleanup.
-	- All examples were updated and new examples were added.
-	
-3.0.015 (2008-06-06)
-	- AddPage() function signature is changed to include page format.
-	- example 28 was added to show page format changes.
-	- setPageUnit() function was added to change the page units of measure.
-	- setPageFormat() function was added to change the page format and orientation between pages.
-	- setPageOrientation() function was added to change the page orientation.
-	- Arabic font shaping was fixed for laa letter and square boxes (see the example 18).
-
-3.0.014 (2008-06-04)
-	- Arabic font shaping was fixed.
-	- setDefaultTableColumns() function was added.
-	- $cell_height_ratio variable was added.
-	- setCellHeightRatio() function was added to define the default height of cell repect font height.
-
-3.0.013 (2008-06-03)
-	- Multicell height parameter was fixed.
-	- Arabic font shaping was improved.
-	- unicode_data.php was updated.
-
-3.0.012 (2008-05-30)
-	- K_PATH_MAIN and K_PATH_URL constants are now automatically set on config file.
-	- DOCUMENT_ROOT constant was fixed for IIS Webserver (config file was updated).
-	- Arabic font shaping was improved.
-	- TranslateY() function was fixed (bug [1977962]).
-	- setVisibility() function was fixed.
-	- writeBarcode() function was fixed to scale using $xref parameter.
-	- All examples were updated.
-
-3.0.011 (2008-05-23)
-	- CMYK color support was added to all graphic functions.
-	- HTML table support was improved: 
-	  -- now it's possible to include additional html tags inside a cell;
-	  -- colspan attribute was added.
-	- example 006 was updated.
-
-3.0.010 (2008-05-21)
-	- fixed $laa_array inclusion on utf8Bidi() function.
-
-3.0.009 (2008-05-20)
-	- unicode_data.php was updated.
-	- Arabic laa letter problem was fixed.
-
-3.0.008 (2008-05-12)
-	- Arabic support was fixed and improved (unicode_data.php was updated).
-	- Polycurve() function was added to draw a poly-Bezier curve.
-	- list items alignment was fixed.
-	- example 6 was updated.
-
-3.0.007 (2008-05-06)
-	- Arabic support was fixed and improved.
-	- AlMohanad (arabic) font was added.
-	- C128 barcode bugs were fixed.
-	
-3.0.006 (2008-04-21)
-	- Condition to check negative width values was added.
-
-3.0.005 (2008-04-18)
-	- back-Slash character escape was fixed on writeHTML() function.
-	- Exampe 6 was updated.
-
-3.0.004 (2008-04-11)
-	- Bug [1939304] (Right to Left Issue) was fixed.
-
-3.0.003 (2008-04-07)
-	- Bug [1934523](Words between HTML tags in cell not kept on one line) was fixed.
-	- "face" attribute of "font" tag is now fully supported.
-
-3.0.002 (2008-04-01)
-	- Write() functions now return the number of cells and not the number of lines.
-	- TCPDF is released under LGPL 2.1, or any later version.
-	
-3.0.001 (2008-05-28)
-	- _legacyparsejpeg() and _legacyparsepng() were renamed _parsejpeg() and _parsepng().
-	- function writeBarcode() was fixed.
-	- all examples were updated.
-	- example 27 was added to show various barcodes.
-	
-3.0.000 (2008-03-27)
-	- private function pixelsToMillimeters() was changed to public function pixelsToUnits() to fix html image size bug.
-	- Image-related functions were rewritten.
-	- resize parameter was added to Image() signature to reduce the image size and fit width and height (see example 9).
-	- TCPDF now supports all images supported by GD library: GD, GD2, GD2PART, GIF, JPEG, PNG, BMP, XBM, XPM.
-	- CMYK support was added to SetDrawColor(), SetFillColor(), SetTextColor() (see example 22).
-	- Page Groups were added (see example 23).
-	- setVisibility() function was added to restrict the rendering of some elements to screen or printout (see example 24).
-	- All private variables and functions were changed to protected.
-	- setAlpha() function was added to give transparency support for all objects (see example 25).
-	- Clipping and stroke modes were added to Text() function (see example 26).
-	- All examples were moved to "examples" directory.
-	- function setJPEGQuality() was added to set the JPEG image comrpession (see example 9).
-
-2.9.000 (2008-03-26)
-	- htmlcolors.php file was added to include html colors.
-	- Support for HTML color names and three-digit hexadecimal color codes was added.
-	- private function convertColorHexToDec() was renamed convertHTMLColorToDec().
-	- color and bgcolor attributes are now supported on all HTML tags (color nesting is also supported).
-	- Write() function were fixed.
-	- example_006.php was updated.
-	- private function setUserRights() was added to release user rights on Acrobat Reader (this allows to display forms, see example 14)
-	
-2.8.000 (2008-03-20)
-	- Private variables were changed to protected.
-	- Function Write() was fixed and improved.
-	- Support for dl, dt, dd, del HTML tags was introduced.
-	- Line-trought mode was added for HTML and text.
-	- Text vertical alignment on cells were fixed.
-	- Examples were updated to reflect changes.
-		
-2.7.002 (2008-03-13)
-	- Bug "[1912142] Encrypted PDF created/modified date" was fixed.
-	
-2.7.001 (2008-03-10)
-	- Cell justification was fixed for non-unicode mode.
-
-2.7.000 (2008-03-09)
-	- Cell() stretching mode 4 (forced character spacing) was fixed.
-	- writeHTMLCell() now uses Multicell() to write.
-	- Multicell() has a new parameter $ishtml to act as writeHTMLCell().
-	- Write() speed was improved for non-arabic strings.
-	- Example n. 20 was changed.
-	
-2.6.000 (2008-03-07)
-	- various alignments bugs were fixed.
-	
-2.5.000 (2008-03-07)
-	- Several bugs were fixed.
-	- example_019.php was added to test non-unicode mode using old fonts.
-
-2.4.000 (2008-03-06)
-	- RTL support was deeply improved.
-	- GetStringWidth() was fixed to support RTL languages.
-	- Text() RTL alignment was fixed.
-	- Some functions were added: GetArrStringWidth(), GetCharWidth(), uniord(), utf8Bidi().
-	- example_018.php was added and test_unicode.php was removed.
-
-2.3.000 (2008-03-05)
-	- MultiCell() signature is changed. Now support multiple columns across pages (see example_017).
-	- Write() signature is changed. Now support the cell mode to be used with MultiCell.
-	- Header() and Footer() were changed.
-	- The following functions were added: UTF8ArrSubString() and unichr().
-	- Examples were updated to reflect last changes.
-
-2.2.004 (2008-03-04)
-	- Several examples were added.
-	- AddPage() Header() and Footer() were fixed.
-	- Documentation is now available on http://www.tcpdf.org
-	
-2.2.003 (2008-03-03)
-	- [1894853] Performance of MultiCell() was improved.
-	- RadioButton and ListBox functions were added.
-	- javascript form functions were rewritten and properties names are changed. The properties function supported by form fields are listed on Possible values are listed on http://www.adobe.com/devnet/acrobat/pdfs/js_developer_guide.pdf.
-	
-2.2.002 (2008-02-28)
-	- [1900495] html images path was fixed.
-	- Legacy image functions were reintroduced to allow PNG and JPEG support without GD library.
-
-2.2.001 (2008-02-16)
-	- The bug "[1894700] bug with replace relative path" was fixed
-	- Justification was fixed
-	
-2.2.000 (2008-02-12)
-	- fixed javascript bug introduced with latest release
-
-2.1.002 (2008-02-12)
-	- Justify function was fixed on PHP4 version.
-	- Bookmank function was added ([1578250] Table of contents).
-	- Javascript and Form fields support was added ([1796359] Form fields).
-	
-2.1.001 (2008-02-10)
-	- The bug "[1885776] Race Condition in function justitfy" was fixed.
-	- The bug "[1890217] xpdf complains that pdf is incorrect" was fixed.	
-
-2.1.000 (2008-01-07)
-	- FPDF_FONTPATH constant was changed to K_PATH_FONTS on config file
-	- Bidirectional Algorithm to correctly reverse bidirectional languages was added.
-	- SetLeftMargin, SetTopMargin, SetRightMargin functions were fixed.
-	- SetCellPadding function was added.
-	- writeHTML was updated with new parameters.
-	- Text function was fixed.
-	- MultiCell function was fixed, now works also across multiple pages.
-	- Line width was fixed on Header and Footer functions and 
tag. - - "GetImageSize" was renamed "getimagesize". - - Document version was changed from 1.3 to 1.5. - - _begindoc() function was fixed. - - ChangeDate was fixed and ModDate was added. - - The following functions were added: - setPage() : Move pointer to the specified document page. - getPage() : Get current document page number. - lastpage() : Reset pointer to the last document page. - getNumPages() : Get the total number of inserted pages. - GetNumChars() : count the number of (UTF-8) characters in a string. - - $stretch parameter was added to Cell() function to fit text on cell: - 0 = disabled - 1 = horizontal scaling only if necessary - 2 = forced horizontal scaling - 3 = character spacing only if necessary - 4 = forced character spacing - - Line function was fixed for RTL. - - Graphic transformation functions were added [1811158]: - StartTransform() - StopTransform() - ScaleX() - ScaleY() - ScaleXY() - Scale() - MirrorH() - MirrorV() - MirrorP() - MirrorL() - TranslateX() - TranslateY() - Translate() - Rotate() - SkewX() - SkewY() - Skew() - - Graphic function were added/updated [1688549]: - SetLineStyle() - _outPoint() - _outLine() - _outRect() - _outCurve() - Line() - Rect() - Curve - Ellipse - Circle - Polygon - RegularPolygon - -2.0.000 (2008-01-04) - - RTL (Right-To-Left) languages support was added. Language direction is set using the $l['a_meta_dir'] setting on /configure/language/xxx.php language files. - - setRTL($enable) method was added to manually enable/disable the RTL text direction. - - The attribute "dir" was added to support custom text direction on HTML tags. Possible values are: ltr - for Left-To-Right and RTL for Right-To-Left. - - RC4 40bit encryption was added. Check the SetProtection method. - - [1815213] Improved image support for GIF, JPEG, PNG formats. - - [1800094] Attribute "value" was added to ordered list items
  • . - - Image function now has a new "align" parameter that indicates the alignment of the pointer next to image insertion and relative to image height. The value can be: - T: top-right for LTR or top-left for RTL - M: middle-right for LTR or middle-left for RTL - B: bottom-right for LTR or bottom-left for RTL - N: next line - - Attribute "align" was added to html tag to set the above image "align" parameter. Possible values are: - top: top-right for LTR or top-left for RTL - middle: middle-right for LTR or middle-left for RTL - bottom: bottom-right for LTR or bottom-left for RTL - - [1798103] newline was added after , and

    tages. - - [1816393] Documentation was updated. - - 'ln' parameter was fixed on writeHTMLCell. Now it's possible to print two or more columns across several pages; - - The method lastPage() was added to move the pointer on the last page; - ------------------------------------------------------------- - -1.53.0.TC034 (2007-07-30) - - fixed htmlentities conversion. - - MultiCell() function returns the number of cells. - -1.53.0.TC033 (2007-07-30) - - fixed bug 1762550: case sensitive for font files - - NOTE: all fonts files names must be in lowercase! - -1.53.0.TC032 (2007-07-27) - - setLastH method was added to resolve bug 1689071. - - all fonts names were converted in lowercase (bug 1713005). - - bug 1740954 was fixed. - - justification was added as Cell option. - -1.53.0.TC031 (2007-03-20) - - ToUnicode CMap were added on _puttruetypeunicode function. Now you may search and copy unicode text. - -1.53.0.TC030 (2007-03-06) - - fixed bug on PHP4 version. - -1.53.0.TC029 (2007-03-06) - - DejaVu Fonts were added. - -1.53.0.TC028 (2007-03-03) - - MultiCell function signature were changed: the $ln parameter were added. Check documentation for further information. - - Greek language were added on example sentences. - - setPrintHeader() and setPrintFooter() functions were added to enable or disable page header and footer. - -1.53.0.TC027 (2006-12-14) - - $attr['face'] bug were fixed. - - K_TCPDF_EXTERNAL_CONFIG control where introduced on /config/tcpdf_config.php to use external configuration files. - -1.53.0.TC026 (2006-10-28) - - writeHTML function call were fixed on examples. - -1.53.0.TC025 (2006-10-27) - - Bugs item #1421290 were fixed (0D - 0A substitution in some characters) - - Bugs item #1573174 were fixed (MultiCell documentation) - -1.53.0.TC024 (2006-09-26) - - getPageHeight() function were fixed (bug 1543476). - - fixed missing breaks on closedHTMLTagHandler function (bug 1535263). - - fixed extra spaces on Write function (bug 1535262). - -1.53.0.TC023 (2006-08-04) - - paths to barcode directory were fixed. - - documentation were updated. - -1.53.0.TC022 (2006-07-16) - - fixed bug: [ 1516858 ] Probs with PHP autoloader and class_exists() - -1.53.0.TC021 (2006-07-01) - - HTML attributes with whitespaces are now supported (thanks to Nelson Benitez for his support) - -1.53.0.TC020 (2006-06-23) - - code cleanup - -1.53.0.TC019 (2006-05-21) - - fixed and closing tags - -1.53.0.TC018 (2006-05-18) - - fixed font names bug - -1.53.0.TC017 (2006-05-18) - - the TTF2UFM utility to convert True Type fonts for TCPDF were included on fonts folder. - - new free unicode fonts were included on /fonts/freefont. - - test_unicode.php example were exended. - - parameter $fill were added on Write, writeHTML and writeHTMLCell functions. - - documentation were updated. - -1.53.0.TC016 (2006-03-09) - - fixed closing tag on html parser. - -1.53.0.TC016 (2005-08-28) - - fpdf.php and tcpdf.php files were joined in one single class (you can still extend TCPDF with your own class). - - fixed problem when mb_internal_encoding is set. - -1.53.0.TC014 (2005-05-29) - - fixed WriteHTMLCell new page issue. - -1.53.0.TC013 (2005-05-29) - - fixed WriteHTMLCell across pages. - -1.53.0.TC012 (2005-05-29) - - font color attribute bug were fixed. - -1.53.0.TC011 (2005-03-31) - - SetFont function were fixed (thank Sjaak Lauwers for bug notice). - -1.53.0.TC010 (2005-03-22) - - the html functions were improved (thanks to Manfred Vervuert for bug reporting). - -1.53.0.TC009 (2005-03-19) - - a wrong reference to convertColorHexToDec were fixed. - -1.53.0.TC008 (2005-02-07) - - removed some extra bytes from PHP files. - -1.53.0.TC007 (2005-01-08) - - fill attribute were removed from writeHTMLCell method. - -1.53.0.TC006 (2005-01-08) - - the documentation were updated. - -1.53.0.TC005 (2005-01-05) - - Steven Wittens's unicode methods were removed. - - All unicode methods were rewritten from scratch. - - TCPDF is now licensed as LGPL. - -1.53.0.TC004 (2005-01-04) - - this changelog were added. - - removed commercial fonts for licensing issue. - - Bitstream Vera Fonts were added (http://www.bitstream.com/font_rendering/products/dev_fonts/vera.html). - - Now the AddFont and SetFont functions returns the basic font if the styled version do not exist. -EOF ---------------------------------------------------------------------------- +4.0.021 (2008-08-24) + - HTTP headers were fixed on Output function(). + - getAliasNbPages() and getPageGroupAlias() functions were changed to support non-unicode fonts on unicode documents. + - Function Write() was fixed. + - The problem of additional vertical spaces on HTML was fixed. + - The problem of frame around HTML links was fixed. + +4.0.020 (2008-08-15) + - "[2052259] WriteHTML & " bug was fixed. + +4.0.019 (2008-08-13) + - "Rowspan on first cell" bug was fixed. + +4.0.018 (2008-08-08) + - Default cellpadding for HTML tables was fixed. + - Annotation() function was added to support some PDF annotations (see example_036.php and section 8.4 of PDF reference 1.7). + - HTML links are now correclty shifted during line alignments. + - function getAliasNbPages() was added and Footer() was updated. + - RowSpan mode for HTML tables was fixed. + - Bugs item #2043610 "Multiple sizes vertical align wrong" was fixed. + - ImageEPS() function was improved and RTL alignment was fixed (see example_032.php). + +4.0.017 (2008-08-05) + - Missing CNZ and CEO style modes were added to Rect() function. + - Fonts utils were updated to include support for OpenType fonts. + - getLastH() function was added. + +4.0.016 (2008-07-30) + - setPageMark() function was added. This function must be called after calling Image() function for a background image. + +4.0.015 (2008-07-29) + - Some functions were changed to support different page formats (see example_028.php). + - The signature of setPage() function is changed. + +4.0.014 (2008-07-29) + - K_PATH_MAIN calculation on tcpdf_config.php was fixed. + - HTML support for EPS/AI images was added (see example_006.php). + - Bugs item #2030807 "Truncated text on multipage html fields" was fixed. + - PDF header bug was fixed. + - helvetica was added as default font family. + - Stroke mode was fixed on Text function. + - several minor bugs were fixed. + +4.0.013 (2008-07-27) + - Bugs item #2027799 " Big spaces between lines after page break" was fixed. + - K_PATH_MAIN calculation on tcpdf_config.php was changed. + - Function setVisibility() was fixed to avoid the "Incorrect PDEObject type" error message. + +4.0.012 (2008-07-24) + - Addpage(), Header() and Footer() functions were changed to simplify the implementation of external header/footer functions. + - The following functions were added: + setHeader() + setFooter() + getImageRBX() + getImageRBY() + getCellHeightRatio() + getHeaderFont() + getFooterFont() + getRTL() + getBarcode() + getHeaderData() + getHeaderMargin() + getFooterMargin() + +4.0.011 (2008-07-23) + - Font support was improved. + - The folder /fonts/utils contains new utilities and instructions for embedd font files. + - Documentation was updated. + +4.0.010 (2008-07-22) + - HTML tables were fixed to work across pages. + - Header() and Footer() functions were updated to preserve previous settings. + - example_035.php was added. + +4.0.009 (2008-07-21) + - UTF8StringToArray() function was fixed for non-unicode mode. + +4.0.008 (2008-07-21) + - Barcodes alignment was fixed (see example_027.php). + - unicode_data.php was updated. + - Arabic shaping for "Zero-Width Non-Joiner" character (U+200C) was fixed. + +4.0.007 (2008-07-18) + - str_split was replaced by preg_split for compatibility with PHP4 version. + - Clipping mode was added to all graphic functions by using parameter $style = "CNZ" or "CEO" (see example_034.php). + +4.0.006 (2008-07-16) + - HTML rowspan bug was fixed. + - Line style for MultiCell() was fixed. + - WriteHTML() function was improved. + - CODE128C barcode was fixed (barcodes.php). + +4.0.005 (2008-07-11) + - Bug [2015715] "PHP Error/Warning" was fixed. + +4.0.004 (2008-07-09) + - HTML cell internal padding was fixed. + +4.0.003 (2008-07-08) + - Removed URL encoding when F option is selected on Output() function. + - fixed some minor bugs in html tables. + +4.0.002 (2008-07-07) + - Bug [2000861] was still unfixed and has been fixed. + +4.0.001 (2008-07-05) + - Bug [2000861] was fixed. + +4.0.000 (2008-07-03) + - THIS IS A MAIN RELEASE THAT INCLUDES SEVERAL NEW FEATURES AND BUGFIXES + - Signature fo SetTextColor() and SetFillColor() functions was changed (parameter $storeprev was removed). + - HTML support was completely rewritten and improved (see example 6). + - Alignments parameters were fixed. + - Functions GetArrStringWidth() and GetStringWidth() now include font parameters. + - Fonts support was improved. + - All core fonts were replaced and moved to fonts/ directory. + - The following functions were added: getMargins(), getFontSize(), getFontSizePt(). + - File config/tcpdf_config_old.php was renamed tcpdf_config_alt.php and updated. + - Multicell and WriteHTMLCell fill function was fixed. + - Several minor bugs were fixed. + - barcodes.php was updated. + - All examples were updated. + +------------------------------------------------------------ + +3.1.001 (2008-06-13) + - Bug [1992515] "K_PATH_FONTS default value wrong" was fixed. + - Vera font was removed, DejaVu font and Free fonts were updated. + - Image handling was improved. + - All examples were updated. + +3.1.000 (2008-06-11) + - setPDFVersion() was added to change the default PDF version (currently 1.7). + - setViewerPreferences() was added to control the way the document is to be presented on the screen or printed (see example 29). + - SetDisplayMode() signature was changed (new options were added). + - LinearGradient(), RadialGradient(), CoonsPatchMesh() functions were added to print various color gradients (see example 30). + - PieSector() function was added to render render pie charts (see example 31). + - ImageEps() was added to display EPS and AI images with limited support (see example 32). + - writeBarcode() function is now depracated, a new write1DBarcode() function was added. The barcode directory was removed and a new barcodes.php file was added. + - The new write1DBarcode() function support more barcodes and do not need the GD library (see example 027). All barcodes are directly written to PDF using graphic functions. + - HTML lists were improved and could be nested (you may now represent trees). + - AddFont() bug was fixed. + - _putfonts() bug was fixed. + - graphics functions were fixed. + - unicode_data.php file was updated (fixed). + - almohanad font was updated. + - example 18 was updated (Farsi and Arabic languages). + - source code cleanup. + - All examples were updated and new examples were added. + +3.0.015 (2008-06-06) + - AddPage() function signature is changed to include page format. + - example 28 was added to show page format changes. + - setPageUnit() function was added to change the page units of measure. + - setPageFormat() function was added to change the page format and orientation between pages. + - setPageOrientation() function was added to change the page orientation. + - Arabic font shaping was fixed for laa letter and square boxes (see the example 18). + +3.0.014 (2008-06-04) + - Arabic font shaping was fixed. + - setDefaultTableColumns() function was added. + - $cell_height_ratio variable was added. + - setCellHeightRatio() function was added to define the default height of cell repect font height. + +3.0.013 (2008-06-03) + - Multicell height parameter was fixed. + - Arabic font shaping was improved. + - unicode_data.php was updated. + +3.0.012 (2008-05-30) + - K_PATH_MAIN and K_PATH_URL constants are now automatically set on config file. + - DOCUMENT_ROOT constant was fixed for IIS Webserver (config file was updated). + - Arabic font shaping was improved. + - TranslateY() function was fixed (bug [1977962]). + - setVisibility() function was fixed. + - writeBarcode() function was fixed to scale using $xref parameter. + - All examples were updated. + +3.0.011 (2008-05-23) + - CMYK color support was added to all graphic functions. + - HTML table support was improved: + -- now it's possible to include additional html tags inside a cell; + -- colspan attribute was added. + - example 006 was updated. + +3.0.010 (2008-05-21) + - fixed $laa_array inclusion on utf8Bidi() function. + +3.0.009 (2008-05-20) + - unicode_data.php was updated. + - Arabic laa letter problem was fixed. + +3.0.008 (2008-05-12) + - Arabic support was fixed and improved (unicode_data.php was updated). + - Polycurve() function was added to draw a poly-Bezier curve. + - list items alignment was fixed. + - example 6 was updated. + +3.0.007 (2008-05-06) + - Arabic support was fixed and improved. + - AlMohanad (arabic) font was added. + - C128 barcode bugs were fixed. + +3.0.006 (2008-04-21) + - Condition to check negative width values was added. + +3.0.005 (2008-04-18) + - back-Slash character escape was fixed on writeHTML() function. + - Exampe 6 was updated. + +3.0.004 (2008-04-11) + - Bug [1939304] (Right to Left Issue) was fixed. + +3.0.003 (2008-04-07) + - Bug [1934523](Words between HTML tags in cell not kept on one line) was fixed. + - "face" attribute of "font" tag is now fully supported. + +3.0.002 (2008-04-01) + - Write() functions now return the number of cells and not the number of lines. + - TCPDF is released under LGPL 2.1, or any later version. + +3.0.001 (2008-05-28) + - _legacyparsejpeg() and _legacyparsepng() were renamed _parsejpeg() and _parsepng(). + - function writeBarcode() was fixed. + - all examples were updated. + - example 27 was added to show various barcodes. + +3.0.000 (2008-03-27) + - private function pixelsToMillimeters() was changed to public function pixelsToUnits() to fix html image size bug. + - Image-related functions were rewritten. + - resize parameter was added to Image() signature to reduce the image size and fit width and height (see example 9). + - TCPDF now supports all images supported by GD library: GD, GD2, GD2PART, GIF, JPEG, PNG, BMP, XBM, XPM. + - CMYK support was added to SetDrawColor(), SetFillColor(), SetTextColor() (see example 22). + - Page Groups were added (see example 23). + - setVisibility() function was added to restrict the rendering of some elements to screen or printout (see example 24). + - All private variables and functions were changed to protected. + - setAlpha() function was added to give transparency support for all objects (see example 25). + - Clipping and stroke modes were added to Text() function (see example 26). + - All examples were moved to "examples" directory. + - function setJPEGQuality() was added to set the JPEG image comrpession (see example 9). + +2.9.000 (2008-03-26) + - htmlcolors.php file was added to include html colors. + - Support for HTML color names and three-digit hexadecimal color codes was added. + - private function convertColorHexToDec() was renamed convertHTMLColorToDec(). + - color and bgcolor attributes are now supported on all HTML tags (color nesting is also supported). + - Write() function were fixed. + - example_006.php was updated. + - private function setUserRights() was added to release user rights on Acrobat Reader (this allows to display forms, see example 14) + +2.8.000 (2008-03-20) + - Private variables were changed to protected. + - Function Write() was fixed and improved. + - Support for dl, dt, dd, del HTML tags was introduced. + - Line-trought mode was added for HTML and text. + - Text vertical alignment on cells were fixed. + - Examples were updated to reflect changes. + +2.7.002 (2008-03-13) + - Bug "[1912142] Encrypted PDF created/modified date" was fixed. + +2.7.001 (2008-03-10) + - Cell justification was fixed for non-unicode mode. + +2.7.000 (2008-03-09) + - Cell() stretching mode 4 (forced character spacing) was fixed. + - writeHTMLCell() now uses Multicell() to write. + - Multicell() has a new parameter $ishtml to act as writeHTMLCell(). + - Write() speed was improved for non-arabic strings. + - Example n. 20 was changed. + +2.6.000 (2008-03-07) + - various alignments bugs were fixed. + +2.5.000 (2008-03-07) + - Several bugs were fixed. + - example_019.php was added to test non-unicode mode using old fonts. + +2.4.000 (2008-03-06) + - RTL support was deeply improved. + - GetStringWidth() was fixed to support RTL languages. + - Text() RTL alignment was fixed. + - Some functions were added: GetArrStringWidth(), GetCharWidth(), uniord(), utf8Bidi(). + - example_018.php was added and test_unicode.php was removed. + +2.3.000 (2008-03-05) + - MultiCell() signature is changed. Now support multiple columns across pages (see example_017). + - Write() signature is changed. Now support the cell mode to be used with MultiCell. + - Header() and Footer() were changed. + - The following functions were added: UTF8ArrSubString() and unichr(). + - Examples were updated to reflect last changes. + +2.2.004 (2008-03-04) + - Several examples were added. + - AddPage() Header() and Footer() were fixed. + - Documentation is now available on http://www.tcpdf.org + +2.2.003 (2008-03-03) + - [1894853] Performance of MultiCell() was improved. + - RadioButton and ListBox functions were added. + - javascript form functions were rewritten and properties names are changed. The properties function supported by form fields are listed on Possible values are listed on http://www.adobe.com/devnet/acrobat/pdfs/js_developer_guide.pdf. + +2.2.002 (2008-02-28) + - [1900495] html images path was fixed. + - Legacy image functions were reintroduced to allow PNG and JPEG support without GD library. + +2.2.001 (2008-02-16) + - The bug "[1894700] bug with replace relative path" was fixed + - Justification was fixed + +2.2.000 (2008-02-12) + - fixed javascript bug introduced with latest release + +2.1.002 (2008-02-12) + - Justify function was fixed on PHP4 version. + - Bookmank function was added ([1578250] Table of contents). + - Javascript and Form fields support was added ([1796359] Form fields). + +2.1.001 (2008-02-10) + - The bug "[1885776] Race Condition in function justitfy" was fixed. + - The bug "[1890217] xpdf complains that pdf is incorrect" was fixed. + +2.1.000 (2008-01-07) + - FPDF_FONTPATH constant was changed to K_PATH_FONTS on config file + - Bidirectional Algorithm to correctly reverse bidirectional languages was added. + - SetLeftMargin, SetTopMargin, SetRightMargin functions were fixed. + - SetCellPadding function was added. + - writeHTML was updated with new parameters. + - Text function was fixed. + - MultiCell function was fixed, now works also across multiple pages. + - Line width was fixed on Header and Footer functions and
    tag. + - "GetImageSize" was renamed "getimagesize". + - Document version was changed from 1.3 to 1.5. + - _begindoc() function was fixed. + - ChangeDate was fixed and ModDate was added. + - The following functions were added: + setPage() : Move pointer to the specified document page. + getPage() : Get current document page number. + lastpage() : Reset pointer to the last document page. + getNumPages() : Get the total number of inserted pages. + GetNumChars() : count the number of (UTF-8) characters in a string. + - $stretch parameter was added to Cell() function to fit text on cell: + 0 = disabled + 1 = horizontal scaling only if necessary + 2 = forced horizontal scaling + 3 = character spacing only if necessary + 4 = forced character spacing + - Line function was fixed for RTL. + - Graphic transformation functions were added [1811158]: + StartTransform() + StopTransform() + ScaleX() + ScaleY() + ScaleXY() + Scale() + MirrorH() + MirrorV() + MirrorP() + MirrorL() + TranslateX() + TranslateY() + Translate() + Rotate() + SkewX() + SkewY() + Skew() + - Graphic function were added/updated [1688549]: + SetLineStyle() + _outPoint() + _outLine() + _outRect() + _outCurve() + Line() + Rect() + Curve + Ellipse + Circle + Polygon + RegularPolygon + +2.0.000 (2008-01-04) + - RTL (Right-To-Left) languages support was added. Language direction is set using the $l['a_meta_dir'] setting on /configure/language/xxx.php language files. + - setRTL($enable) method was added to manually enable/disable the RTL text direction. + - The attribute "dir" was added to support custom text direction on HTML tags. Possible values are: ltr - for Left-To-Right and RTL for Right-To-Left. + - RC4 40bit encryption was added. Check the SetProtection method. + - [1815213] Improved image support for GIF, JPEG, PNG formats. + - [1800094] Attribute "value" was added to ordered list items
  • . + - Image function now has a new "align" parameter that indicates the alignment of the pointer next to image insertion and relative to image height. The value can be: + T: top-right for LTR or top-left for RTL + M: middle-right for LTR or middle-left for RTL + B: bottom-right for LTR or bottom-left for RTL + N: next line + - Attribute "align" was added to html tag to set the above image "align" parameter. Possible values are: + top: top-right for LTR or top-left for RTL + middle: middle-right for LTR or middle-left for RTL + bottom: bottom-right for LTR or bottom-left for RTL + - [1798103] newline was added after , and

    tages. + - [1816393] Documentation was updated. + - 'ln' parameter was fixed on writeHTMLCell. Now it's possible to print two or more columns across several pages; + - The method lastPage() was added to move the pointer on the last page; + +------------------------------------------------------------ + +1.53.0.TC034 (2007-07-30) + - fixed htmlentities conversion. + - MultiCell() function returns the number of cells. + +1.53.0.TC033 (2007-07-30) + - fixed bug 1762550: case sensitive for font files + - NOTE: all fonts files names must be in lowercase! + +1.53.0.TC032 (2007-07-27) + - setLastH method was added to resolve bug 1689071. + - all fonts names were converted in lowercase (bug 1713005). + - bug 1740954 was fixed. + - justification was added as Cell option. + +1.53.0.TC031 (2007-03-20) + - ToUnicode CMap were added on _puttruetypeunicode function. Now you may search and copy unicode text. + +1.53.0.TC030 (2007-03-06) + - fixed bug on PHP4 version. + +1.53.0.TC029 (2007-03-06) + - DejaVu Fonts were added. + +1.53.0.TC028 (2007-03-03) + - MultiCell function signature were changed: the $ln parameter were added. Check documentation for further information. + - Greek language were added on example sentences. + - setPrintHeader() and setPrintFooter() functions were added to enable or disable page header and footer. + +1.53.0.TC027 (2006-12-14) + - $attr['face'] bug were fixed. + - K_TCPDF_EXTERNAL_CONFIG control where introduced on /config/tcpdf_config.php to use external configuration files. + +1.53.0.TC026 (2006-10-28) + - writeHTML function call were fixed on examples. + +1.53.0.TC025 (2006-10-27) + - Bugs item #1421290 were fixed (0D - 0A substitution in some characters) + - Bugs item #1573174 were fixed (MultiCell documentation) + +1.53.0.TC024 (2006-09-26) + - getPageHeight() function were fixed (bug 1543476). + - fixed missing breaks on closedHTMLTagHandler function (bug 1535263). + - fixed extra spaces on Write function (bug 1535262). + +1.53.0.TC023 (2006-08-04) + - paths to barcode directory were fixed. + - documentation were updated. + +1.53.0.TC022 (2006-07-16) + - fixed bug: [ 1516858 ] Probs with PHP autoloader and class_exists() + +1.53.0.TC021 (2006-07-01) + - HTML attributes with whitespaces are now supported (thanks to Nelson Benitez for his support) + +1.53.0.TC020 (2006-06-23) + - code cleanup + +1.53.0.TC019 (2006-05-21) + - fixed and closing tags + +1.53.0.TC018 (2006-05-18) + - fixed font names bug + +1.53.0.TC017 (2006-05-18) + - the TTF2UFM utility to convert True Type fonts for TCPDF were included on fonts folder. + - new free unicode fonts were included on /fonts/freefont. + - test_unicode.php example were exended. + - parameter $fill were added on Write, writeHTML and writeHTMLCell functions. + - documentation were updated. + +1.53.0.TC016 (2006-03-09) + - fixed closing tag on html parser. + +1.53.0.TC016 (2005-08-28) + - fpdf.php and tcpdf.php files were joined in one single class (you can still extend TCPDF with your own class). + - fixed problem when mb_internal_encoding is set. + +1.53.0.TC014 (2005-05-29) + - fixed WriteHTMLCell new page issue. + +1.53.0.TC013 (2005-05-29) + - fixed WriteHTMLCell across pages. + +1.53.0.TC012 (2005-05-29) + - font color attribute bug were fixed. + +1.53.0.TC011 (2005-03-31) + - SetFont function were fixed (thank Sjaak Lauwers for bug notice). + +1.53.0.TC010 (2005-03-22) + - the html functions were improved (thanks to Manfred Vervuert for bug reporting). + +1.53.0.TC009 (2005-03-19) + - a wrong reference to convertColorHexToDec were fixed. + +1.53.0.TC008 (2005-02-07) + - removed some extra bytes from PHP files. + +1.53.0.TC007 (2005-01-08) + - fill attribute were removed from writeHTMLCell method. + +1.53.0.TC006 (2005-01-08) + - the documentation were updated. + +1.53.0.TC005 (2005-01-05) + - Steven Wittens's unicode methods were removed. + - All unicode methods were rewritten from scratch. + - TCPDF is now licensed as LGPL. + +1.53.0.TC004 (2005-01-04) + - this changelog were added. + - removed commercial fonts for licensing issue. + - Bitstream Vera Fonts were added (http://www.bitstream.com/font_rendering/products/dev_fonts/vera.html). + - Now the AddFont and SetFont functions returns the basic font if the styled version do not exist. + +EOF -------------------------------------------------------- diff --git a/Classes/PHPExcel/Shared/PDF/LICENSE.TXT b/Classes/PHPExcel/Shared/PDF/LICENSE.TXT index b1e3f5a2..daf21f7d 100644 --- a/Classes/PHPExcel/Shared/PDF/LICENSE.TXT +++ b/Classes/PHPExcel/Shared/PDF/LICENSE.TXT @@ -1,504 +1,858 @@ - GNU LESSER GENERAL PUBLIC LICENSE - Version 2.1, February 1999 +********************************************************************** +* TCPDF LICENSE +********************************************************************** - Copyright (C) 1991, 1999 Free Software Foundation, Inc. - 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + TCPDF is free software: you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation, either version 3 of the + License, or (at your option) any later version. + +********************************************************************** +********************************************************************** + + GNU LESSER GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. -[This is the first released version of the Lesser GPL. It also counts - as the successor of the GNU Library Public License, version 2, hence - the version number 2.1.] - Preamble + This version of the GNU Lesser General Public License incorporates +the terms and conditions of version 3 of the GNU General Public +License, supplemented by the additional permissions listed below. - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -Licenses are intended to guarantee your freedom to share and change -free software--to make sure the software is free for all its users. + 0. Additional Definitions. - This license, the Lesser General Public License, applies to some -specially designated software packages--typically libraries--of the -Free Software Foundation and other authors who decide to use it. You -can use it too, but we suggest you first think carefully about whether -this license or the ordinary General Public License is the better -strategy to use in any particular case, based on the explanations below. + As used herein, "this License" refers to version 3 of the GNU Lesser +General Public License, and the "GNU GPL" refers to version 3 of the GNU +General Public License. - When we speak of free software, we are referring to freedom of use, -not price. Our General Public Licenses are designed to make sure that -you have the freedom to distribute copies of free software (and charge -for this service if you wish); that you receive source code or can get -it if you want it; that you can change the software and use pieces of -it in new free programs; and that you are informed that you can do -these things. + "The Library" refers to a covered work governed by this License, +other than an Application or a Combined Work as defined below. - To protect your rights, we need to make restrictions that forbid -distributors to deny you these rights or to ask you to surrender these -rights. These restrictions translate to certain responsibilities for -you if you distribute copies of the library or if you modify it. + An "Application" is any work that makes use of an interface provided +by the Library, but which is not otherwise based on the Library. +Defining a subclass of a class defined by the Library is deemed a mode +of using an interface provided by the Library. - For example, if you distribute copies of the library, whether gratis -or for a fee, you must give the recipients all the rights that we gave -you. You must make sure that they, too, receive or can get the source -code. If you link other code with the library, you must provide -complete object files to the recipients, so that they can relink them -with the library after making changes to the library and recompiling -it. And you must show them these terms so they know their rights. + A "Combined Work" is a work produced by combining or linking an +Application with the Library. The particular version of the Library +with which the Combined Work was made is also called the "Linked +Version". - We protect your rights with a two-step method: (1) we copyright the -library, and (2) we offer you this license, which gives you legal -permission to copy, distribute and/or modify the library. + The "Minimal Corresponding Source" for a Combined Work means the +Corresponding Source for the Combined Work, excluding any source code +for portions of the Combined Work that, considered in isolation, are +based on the Application, and not on the Linked Version. - To protect each distributor, we want to make it very clear that -there is no warranty for the free library. Also, if the library is -modified by someone else and passed on, the recipients should know -that what they have is not the original version, so that the original -author's reputation will not be affected by problems that might be -introduced by others. - - Finally, software patents pose a constant threat to the existence of -any free program. We wish to make sure that a company cannot -effectively restrict the users of a free program by obtaining a -restrictive license from a patent holder. Therefore, we insist that -any patent license obtained for a version of the library must be -consistent with the full freedom of use specified in this license. + The "Corresponding Application Code" for a Combined Work means the +object code and/or source code for the Application, including any data +and utility programs needed for reproducing the Combined Work from the +Application, but excluding the System Libraries of the Combined Work. - Most GNU software, including some libraries, is covered by the -ordinary GNU General Public License. This license, the GNU Lesser -General Public License, applies to certain designated libraries, and -is quite different from the ordinary General Public License. We use -this license for certain libraries in order to permit linking those -libraries into non-free programs. + 1. Exception to Section 3 of the GNU GPL. - When a program is linked with a library, whether statically or using -a shared library, the combination of the two is legally speaking a -combined work, a derivative of the original library. The ordinary -General Public License therefore permits such linking only if the -entire combination fits its criteria of freedom. The Lesser General -Public License permits more lax criteria for linking other code with -the library. + You may convey a covered work under sections 3 and 4 of this License +without being bound by section 3 of the GNU GPL. - We call this license the "Lesser" General Public License because it -does Less to protect the user's freedom than the ordinary General -Public License. It also provides other free software developers Less -of an advantage over competing non-free programs. These disadvantages -are the reason we use the ordinary General Public License for many -libraries. However, the Lesser license provides advantages in certain -special circumstances. + 2. Conveying Modified Versions. - For example, on rare occasions, there may be a special need to -encourage the widest possible use of a certain library, so that it becomes -a de-facto standard. To achieve this, non-free programs must be -allowed to use the library. A more frequent case is that a free -library does the same job as widely used non-free libraries. In this -case, there is little to gain by limiting the free library to free -software only, so we use the Lesser General Public License. + If you modify a copy of the Library, and, in your modifications, a +facility refers to a function or data to be supplied by an Application +that uses the facility (other than as an argument passed when the +facility is invoked), then you may convey a copy of the modified +version: - In other cases, permission to use a particular library in non-free -programs enables a greater number of people to use a large body of -free software. For example, permission to use the GNU C Library in -non-free programs enables many more people to use the whole GNU -operating system, as well as its variant, the GNU/Linux operating -system. + a) under this License, provided that you make a good faith effort to + ensure that, in the event an Application does not supply the + function or data, the facility still operates, and performs + whatever part of its purpose remains meaningful, or - Although the Lesser General Public License is Less protective of the -users' freedom, it does ensure that the user of a program that is -linked with the Library has the freedom and the wherewithal to run -that program using a modified version of the Library. + b) under the GNU GPL, with none of the additional permissions of + this License applicable to that copy. - The precise terms and conditions for copying, distribution and -modification follow. Pay close attention to the difference between a -"work based on the library" and a "work that uses the library". The -former contains code derived from the library, whereas the latter must -be combined with the library in order to run. - - GNU LESSER GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + 3. Object Code Incorporating Material from Library Header Files. - 0. This License Agreement applies to any software library or other -program which contains a notice placed by the copyright holder or -other authorized party saying it may be distributed under the terms of -this Lesser General Public License (also called "this License"). -Each licensee is addressed as "you". + The object code form of an Application may incorporate material from +a header file that is part of the Library. You may convey such object +code under terms of your choice, provided that, if the incorporated +material is not limited to numerical parameters, data structure +layouts and accessors, or small macros, inline functions and templates +(ten or fewer lines in length), you do both of the following: - A "library" means a collection of software functions and/or data -prepared so as to be conveniently linked with application programs -(which use some of those functions and data) to form executables. + a) Give prominent notice with each copy of the object code that the + Library is used in it and that the Library and its use are + covered by this License. - The "Library", below, refers to any such software library or work -which has been distributed under these terms. A "work based on the -Library" means either the Library or any derivative work under -copyright law: that is to say, a work containing the Library or a -portion of it, either verbatim or with modifications and/or translated -straightforwardly into another language. (Hereinafter, translation is -included without limitation in the term "modification".) + b) Accompany the object code with a copy of the GNU GPL and this license + document. - "Source code" for a work means the preferred form of the work for -making modifications to it. For a library, complete source code means -all the source code for all modules it contains, plus any associated -interface definition files, plus the scripts used to control compilation -and installation of the library. + 4. Combined Works. - Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running a program using the Library is not restricted, and output from -such a program is covered only if its contents constitute a work based -on the Library (independent of the use of the Library in a tool for -writing it). Whether that is true depends on what the Library does -and what the program that uses the Library does. - - 1. You may copy and distribute verbatim copies of the Library's -complete source code as you receive it, in any medium, provided that -you conspicuously and appropriately publish on each copy an -appropriate copyright notice and disclaimer of warranty; keep intact -all the notices that refer to this License and to the absence of any -warranty; and distribute a copy of this License along with the + You may convey a Combined Work under terms of your choice that, +taken together, effectively do not restrict modification of the +portions of the Library contained in the Combined Work and reverse +engineering for debugging such modifications, if you also do each of +the following: + + a) Give prominent notice with each copy of the Combined Work that + the Library is used in it and that the Library and its use are + covered by this License. + + b) Accompany the Combined Work with a copy of the GNU GPL and this license + document. + + c) For a Combined Work that displays copyright notices during + execution, include the copyright notice for the Library among + these notices, as well as a reference directing the user to the + copies of the GNU GPL and this license document. + + d) Do one of the following: + + 0) Convey the Minimal Corresponding Source under the terms of this + License, and the Corresponding Application Code in a form + suitable for, and under terms that permit, the user to + recombine or relink the Application with a modified version of + the Linked Version to produce a modified Combined Work, in the + manner specified by section 6 of the GNU GPL for conveying + Corresponding Source. + + 1) Use a suitable shared library mechanism for linking with the + Library. A suitable mechanism is one that (a) uses at run time + a copy of the Library already present on the user's computer + system, and (b) will operate properly with a modified version + of the Library that is interface-compatible with the Linked + Version. + + e) Provide Installation Information, but only if you would otherwise + be required to provide such information under section 6 of the + GNU GPL, and only to the extent that such information is + necessary to install and execute a modified version of the + Combined Work produced by recombining or relinking the + Application with a modified version of the Linked Version. (If + you use option 4d0, the Installation Information must accompany + the Minimal Corresponding Source and Corresponding Application + Code. If you use option 4d1, you must provide the Installation + Information in the manner specified by section 6 of the GNU GPL + for conveying Corresponding Source.) + + 5. Combined Libraries. + + You may place library facilities that are a work based on the +Library side by side in a single library together with other library +facilities that are not Applications and are not covered by this +License, and convey such a combined library under terms of your +choice, if you do both of the following: + + a) Accompany the combined library with a copy of the same work based + on the Library, uncombined with any other library facilities, + conveyed under the terms of this License. + + b) Give prominent notice with the combined library that part of it + is a work based on the Library, and explaining where to find the + accompanying uncombined form of the same work. + + 6. Revised Versions of the GNU Lesser General Public License. + + The Free Software Foundation may publish revised and/or new versions +of the GNU Lesser General Public License from time to time. Such new +versions will be similar in spirit to the present version, but may +differ in detail to address new problems or concerns. + + Each version is given a distinguishing version number. If the +Library as you received it specifies that a certain numbered version +of the GNU Lesser General Public License "or any later version" +applies to it, you have the option of following the terms and +conditions either of that published version or of any later version +published by the Free Software Foundation. If the Library as you +received it does not specify a version number of the GNU Lesser +General Public License, you may choose any version of the GNU Lesser +General Public License ever published by the Free Software Foundation. + + If the Library as you received it specifies that a proxy can decide +whether future versions of the GNU Lesser General Public License shall +apply, that proxy's public statement of acceptance of any version is +permanent authorization for you to choose that version for the Library. - You may charge a fee for the physical act of transferring a copy, -and you may at your option offer warranty protection in exchange for a -fee. - - 2. You may modify your copy or copies of the Library or any portion -of it, thus forming a work based on the Library, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: +********************************************************************** +********************************************************************** - a) The modified work must itself be a software library. + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 - b) You must cause the files modified to carry prominent notices - stating that you changed the files and the date of any change. + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. - c) You must cause the whole of the work to be licensed at no - charge to all third parties under the terms of this License. + Preamble - d) If a facility in the modified Library refers to a function or a - table of data to be supplied by an application program that uses - the facility, other than as an argument passed when the facility - is invoked, then you must make a good faith effort to ensure that, - in the event an application does not supply such function or - table, the facility still operates, and performs whatever part of - its purpose remains meaningful. + The GNU General Public License is a free, copyleft license for +software and other kinds of works. - (For example, a function in a library to compute square roots has - a purpose that is entirely well-defined independent of the - application. Therefore, Subsection 2d requires that any - application-supplied function or table used by this function must - be optional: if the application does not supply it, the square - root function must still compute square roots.) + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too. -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Library, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Library, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote -it. + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Library. + To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. -In addition, mere aggregation of another work not based on the Library -with the Library (or with a work based on the Library) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights. - 3. You may opt to apply the terms of the ordinary GNU General Public -License instead of this License to a given copy of the Library. To do -this, you must alter all the notices that refer to this License, so -that they refer to the ordinary GNU General Public License, version 2, -instead of to this License. (If a newer version than version 2 of the -ordinary GNU General Public License has appeared, then you can specify -that version instead if you wish.) Do not make any other change in -these notices. - - Once this change is made in a given copy, it is irreversible for -that copy, so the ordinary GNU General Public License applies to all -subsequent copies and derivative works made from that copy. + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. - This option is useful when you wish to copy part of the code of -the Library into a program that is not a library. + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. - 4. You may copy and distribute the Library (or a portion or -derivative of it, under Section 2) in object code or executable form -under the terms of Sections 1 and 2 above provided that you accompany -it with the complete corresponding machine-readable source code, which -must be distributed under the terms of Sections 1 and 2 above on a -medium customarily used for software interchange. + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. - If distribution of object code is made by offering access to copy -from a designated place, then offering equivalent access to copy the -source code from the same place satisfies the requirement to -distribute the source code, even though third parties are not -compelled to copy the source along with the object code. + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. - 5. A program that contains no derivative of any portion of the -Library, but is designed to work with the Library by being compiled or -linked with it, is called a "work that uses the Library". Such a -work, in isolation, is not a derivative work of the Library, and -therefore falls outside the scope of this License. + The precise terms and conditions for copying, distribution and +modification follow. - However, linking a "work that uses the Library" with the Library -creates an executable that is a derivative of the Library (because it -contains portions of the Library), rather than a "work that uses the -library". The executable is therefore covered by this License. -Section 6 states terms for distribution of such executables. + TERMS AND CONDITIONS - When a "work that uses the Library" uses material from a header file -that is part of the Library, the object code for the work may be a -derivative work of the Library even though the source code is not. -Whether this is true is especially significant if the work can be -linked without the Library, or if the work is itself a library. The -threshold for this to be true is not precisely defined by law. + 0. Definitions. - If such an object file uses only numerical parameters, data -structure layouts and accessors, and small macros and small inline -functions (ten lines or less in length), then the use of the object -file is unrestricted, regardless of whether it is legally a derivative -work. (Executables containing this object code plus portions of the -Library will still fall under Section 6.) + "This License" refers to version 3 of the GNU General Public License. - Otherwise, if the work is a derivative of the Library, you may -distribute the object code for the work under the terms of Section 6. -Any executables containing that work also fall under Section 6, -whether or not they are linked directly with the Library itself. - - 6. As an exception to the Sections above, you may also combine or -link a "work that uses the Library" with the Library to produce a -work containing portions of the Library, and distribute that work -under terms of your choice, provided that the terms permit -modification of the work for the customer's own use and reverse -engineering for debugging such modifications. + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. - You must give prominent notice with each copy of the work that the -Library is used in it and that the Library and its use are covered by -this License. You must supply a copy of this License. If the work -during execution displays copyright notices, you must include the -copyright notice for the Library among them, as well as a reference -directing the user to the copy of this License. Also, you must do one -of these things: + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. - a) Accompany the work with the complete corresponding - machine-readable source code for the Library including whatever - changes were used in the work (which must be distributed under - Sections 1 and 2 above); and, if the work is an executable linked - with the Library, with the complete machine-readable "work that - uses the Library", as object code and/or source code, so that the - user can modify the Library and then relink to produce a modified - executable containing the modified Library. (It is understood - that the user who changes the contents of definitions files in the - Library will not necessarily be able to recompile the application - to use the modified definitions.) + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. - b) Use a suitable shared library mechanism for linking with the - Library. A suitable mechanism is one that (1) uses at run time a - copy of the library already present on the user's computer system, - rather than copying library functions into the executable, and (2) - will operate properly with a modified version of the library, if - the user installs one, as long as the modified version is - interface-compatible with the version that the work was made with. + A "covered work" means either the unmodified Program or a work based +on the Program. - c) Accompany the work with a written offer, valid for at - least three years, to give the same user the materials - specified in Subsection 6a, above, for a charge no more - than the cost of performing this distribution. + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. - d) If distribution of the work is made by offering access to copy - from a designated place, offer equivalent access to copy the above - specified materials from the same place. + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. - e) Verify that the user has already received a copy of these - materials or that you have already sent this user a copy. + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. - For an executable, the required form of the "work that uses the -Library" must include any data and utility programs needed for -reproducing the executable from it. However, as a special exception, -the materials to be distributed need not include anything that is -normally distributed (in either source or binary form) with the major -components (compiler, kernel, and so on) of the operating system on -which the executable runs, unless that component itself accompanies -the executable. + 1. Source Code. - It may happen that this requirement contradicts the license -restrictions of other proprietary libraries that do not normally -accompany the operating system. Such a contradiction means you cannot -use both them and the Library together in an executable that you -distribute. - - 7. You may place library facilities that are a work based on the -Library side-by-side in a single library together with other library -facilities not covered by this License, and distribute such a combined -library, provided that the separate distribution of the work based on -the Library and of the other library facilities is otherwise -permitted, and provided that you do these two things: + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. - a) Accompany the combined library with a copy of the same work - based on the Library, uncombined with any other library - facilities. This must be distributed under the terms of the - Sections above. + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. - b) Give prominent notice with the combined library of the fact - that part of it is a work based on the Library, and explaining - where to find the accompanying uncombined form of the same work. + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. - 8. You may not copy, modify, sublicense, link with, or distribute -the Library except as expressly provided under this License. Any -attempt otherwise to copy, modify, sublicense, link with, or -distribute the Library is void, and will automatically terminate your -rights under this License. However, parties who have received copies, -or rights, from you under this License will not have their licenses -terminated so long as such parties remain in full compliance. + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. - 9. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Library or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Library (or any work based on the -Library), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Library or works based on it. + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. - 10. Each time you redistribute the Library (or any work based on the -Library), the recipient automatically receives a license from the -original licensor to copy, distribute, link with or modify the Library -subject to these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties with + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of this License. - - 11. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Library at all. For example, if a patent -license would not permit royalty-free redistribution of the Library by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Library. +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. -If any portion of this section is held invalid or unenforceable under any -particular circumstance, the balance of the section is intended to apply, -and the section as a whole is intended to apply in other circumstances. + 13. Use with the GNU Affero General Public License. -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. + 14. Revised Versions of this License. - 12. If the distribution and/or use of the Library is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Library under this License may add -an explicit geographical distribution limitation excluding those countries, -so that distribution is permitted only in or among countries not thus -excluded. In such case, this License incorporates the limitation as if -written in the body of this License. + The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. - 13. The Free Software Foundation may publish revised and/or new -versions of the Lesser General Public License from time to time. -Such new versions will be similar in spirit to the present version, -but may differ in detail to address new problems or concerns. + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. -Each version is given a distinguishing version number. If the Library -specifies a version number of this License which applies to it and -"any later version", you have the option of following the terms and -conditions either of that version or of any later version published by -the Free Software Foundation. If the Library does not specify a -license version number, you may choose any version ever published by -the Free Software Foundation. - - 14. If you wish to incorporate parts of the Library into other free -programs whose distribution conditions are incompatible with these, -write to the author to ask for permission. For software which is -copyrighted by the Free Software Foundation, write to the Free -Software Foundation; we sometimes make exceptions for this. Our -decision will be guided by the two goals of preserving the free status -of all derivatives of our free software and of promoting the sharing -and reuse of software generally. + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. - NO WARRANTY + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. - 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO -WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. -EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR -OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY -KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE -LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME -THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + 15. Disclaimer of Warranty. - 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN -WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY -AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU -FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR -CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE -LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING -RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A -FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF -SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH -DAMAGES. + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Libraries + 16. Limitation of Liability. - If you develop a new library, and you want it to be of the greatest -possible use to the public, we recommend making it free software that -everyone can redistribute and change. You can do so by permitting -redistribution under these terms (or, alternatively, under the terms of the -ordinary General Public License). + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. - To apply these terms, attach the following notices to the library. It is -safest to attach them to the start of each source file to most effectively -convey the exclusion of warranty; and each file should have at least the -"copyright" line and a pointer to where the full notice is found. + 17. Interpretation of Sections 15 and 16. - + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + Copyright (C) - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. - This library is distributed in the hope that it will be useful, + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + You should have received a copy of the GNU General Public License + along with this program. If not, see . Also add information on how to contact you by electronic and paper mail. -You should also get your employer (if you work as a programmer) or your -school, if any, to sign a "copyright disclaimer" for the library, if -necessary. Here is a sample; alter the names: + If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode: - Yoyodyne, Inc., hereby disclaims all copyright interest in the - library `Frob' (a library for tweaking knobs) written by James Random Hacker. + Copyright (C) + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. - , 1 April 1990 - Ty Coon, President of Vice +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands +might be different; for a GUI interface, you would use an "about box". -That's all there is to it! + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +. + The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you +may consider it more useful to permit linking proprietary applications with +the library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. But first, please read +. +********************************************************************** +********************************************************************** diff --git a/Classes/PHPExcel/Shared/PDF/README.TXT b/Classes/PHPExcel/Shared/PDF/README.TXT index 9cda2763..65dd26cc 100644 --- a/Classes/PHPExcel/Shared/PDF/README.TXT +++ b/Classes/PHPExcel/Shared/PDF/README.TXT @@ -1,87 +1,86 @@ -TCPDF - README -============================================================ - -IF YOU'D LIKE TO SUPPORT TCPDF, PLEASE CONSIDER MAKING A -DONATION: -http://sourceforge.net/donate/index.php?group_id=128076 - ------------------------------------------------------------- - -Name: TCPDF -Version: 4.8.009 -Release date: 2009-09-30 -Author: Nicola Asuni - -Copyright (c) 2001-2009: - Nicola Asuni - Tecnick.com s.r.l. - Via Della Pace, 11 - 09044 Quartucciu (CA) - ITALY - www.tecnick.com - -URLs: - http://www.tcpdf.org - http://www.sourceforge.net/projects/tcpdf - -Description: - TCPDF is a PHP class for generating PDF files on-the-fly without requiring external extensions. - TCPDF has been originally derived from the Public Domain FPDF class by Olivier Plathey (http://www.fpdf.org). - -Main Features: -// * no external libraries are required for the basic functions; -// * supports all ISO page formats; -// * supports custom page formats, margins and units of measure; -// * supports UTF-8 Unicode and Right-To-Left languages; -// * supports TrueTypeUnicode, OpenTypeUnicode, TrueType, OpenType, Type1 and CID-0 fonts; -// * supports document encryption; -// * includes methods to publish some XHTML code, including forms; -// * includes graphic (geometric) and transformation methods; -// * includes Javascript and Forms support; -// * includes a method to print various barcode formats: CODE 39, ANSI MH10.8M-1983, USD-3, 3 of 9, CODE 93, USS-93, Standard 2 of 5, Interleaved 2 of 5, CODE 128 A/B/C, 2 and 5 Digits UPC-Based Extention, EAN 8, EAN 13, UPC-A, UPC-E, MSI, POSTNET, PLANET, RMS4CC (Royal Mail 4-state Customer Code), CBC (Customer Bar Code), KIX (Klant index - Customer index), Intelligent Mail Barcode, Onecode, USPS-B-3200, CODABAR, CODE 11, PHARMACODE, PHARMACODE TWO-TRACKS; -// * includes methods to set Bookmarks and print a Table of Content; -// * includes methods to move and delete pages; -// * includes methods for automatic page header and footer management; -// * supports automatic page break; -// * supports automatic page numbering and page groups; -// * supports automatic line break and text justification; -// * supports JPEG and PNG images natively, all images supported by GD (GD, GD2, GD2PART, GIF, JPEG, PNG, BMP, XBM, XPM) and all images supported via ImagMagick (http://www.imagemagick.org/www/formats.html) -// * supports stroke and clipping mode for text; -// * supports clipping masks; -// * supports Grayscale, RGB, CMYK, Spot Colors and Transparencies; -// * supports several annotations, including links, text and file attachments; -// * supports page compression (requires zlib extension); -// * supports text hyphenation. -// * supports transactions to UNDO commands. -// * supports signature certifications. - -Installation (full instructions on http://www.tcpdf.org): - 1. copy the folder on your Web server - 2. set your installation path and other parameters on the config/tcpdf_config.php - 3. call the examples/example_001.php page with your browser to see an example - -Source Code Documentation: - doc/index.html - -For Additional Documentation: - http://www.tcpdf.org - -License - Copyright (C) 2002-2009 Nicola Asuni - Tecnick.com S.r.l. - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation, either version 2.1 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with this program. If not, see . - - See LICENSE.TXT file for more information. - +TCPDF - README +============================================================ + +I WISH TO IMPROVE AND EXPAND TCPDF BUT I NEED YOUR SUPPORT. +PLEASE MAKE A DONATION: +http://sourceforge.net/donate/index.php?group_id=128076 + +------------------------------------------------------------ + +Name: TCPDF +Version: 5.9.009 +Release date: 2010-10-21 +Author: Nicola Asuni + +Copyright (c) 2002-2010: + Nicola Asuni + Tecnick.com s.r.l. + Via Della Pace, 11 + 09044 Quartucciu (CA) + ITALY + www.tecnick.com + +URLs: + http: www.tcpdf.org + http: www.sourceforge.net/projects/tcpdf + +Description: + TCPDF is a PHP class for generating PDF files on-the-fly without requiring external extensions. + +Main Features: + * no external libraries are required for the basic functions; + * all standard page formats, custom page formats, custom margins and units of measure; + * UTF-8 Unicode and Right-To-Left languages; + * TrueTypeUnicode, OpenTypeUnicode, TrueType, OpenType, Type1 and CID-0 fonts; + * font subsetting; + * methods to publish some XHTML + CSS code, Javascript and Forms; + * images, graphic (geometric figures) and transformation methods; + * supports JPEG, PNG and SVG images natively, all images supported by GD (GD, GD2, GD2PART, GIF, JPEG, PNG, BMP, XBM, XPM) and all images supported via ImagMagick (http: www.imagemagick.org/www/formats.html) + * 1D and 2D barcodes: CODE 39, ANSI MH10.8M-1983, USD-3, 3 of 9, CODE 93, USS-93, Standard 2 of 5, Interleaved 2 of 5, CODE 128 A/B/C, 2 and 5 Digits UPC-Based Extention, EAN 8, EAN 13, UPC-A, UPC-E, MSI, POSTNET, PLANET, RMS4CC (Royal Mail 4-state Customer Code), CBC (Customer Bar Code), KIX (Klant index - Customer index), Intelligent Mail Barcode, Onecode, USPS-B-3200, CODABAR, CODE 11, PHARMACODE, PHARMACODE TWO-TRACKS, QR-Code, PDF417; + * Grayscale, RGB, CMYK, Spot Colors and Transparencies; + * automatic page header and footer management; + * document encryption up to 256 bit and digital signature certifications; + * transactions to UNDO commands; + * PDF annotations, including links, text and file attachments; + * text rendering modes (fill, stroke and clipping); + * multiple columns mode; + * no-write page regions; + * bookmarks and table of content; + * text hyphenation; + * text stretching and spacing (tracking/kerning); + * automatic page break, line break and text alignments including justification; + * automatic page numbering and page groups; + * move and delete pages; + * page compression (requires php-zlib extension); + * XOBject Templates; + +Installation (full instructions on http: www.tcpdf.org): + 1. copy the folder on your Web server + 2. set your installation path and other parameters on the config/tcpdf_config.php + 3. call the examples/example_001.php page with your browser to see an example + +Source Code Documentation: + doc/index.html + +For Additional Documentation: + http: www.tcpdf.org + +License + Copyright (C) 2002-2010 Nicola Asuni - Tecnick.com S.r.l. + + TCPDF is free software: you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation, either version 3 of the + License, or (at your option) any later version. + + TCPDF is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + See the GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with TCPDF. If not, see . + + See LICENSE.TXT file for more information. + ============================================================ diff --git a/Classes/PHPExcel/Shared/PDF/barcodes.php b/Classes/PHPExcel/Shared/PDF/barcodes.php index c8595957..4efb7a47 100644 --- a/Classes/PHPExcel/Shared/PDF/barcodes.php +++ b/Classes/PHPExcel/Shared/PDF/barcodes.php @@ -1,42 +1,35 @@ . -// -// See LICENSE.TXT file for more information. -// ---------------------------------------------------------------------------- +// Last Update : 2010-08-08 +// Author : Nicola Asuni - Tecnick.com S.r.l - Via Della Pace, 11 - 09044 - Quartucciu (CA) - ITALY - www.tecnick.com - info@tecnick.com +// License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html) +// ------------------------------------------------------------------- +// Copyright (C) 2008-2010 Nicola Asuni - Tecnick.com S.r.l. // -// Description : PHP class to creates array representations for +// This file is part of TCPDF software library. +// +// TCPDF is free software: you can redistribute it and/or modify it +// under the terms of the GNU Lesser General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// TCPDF is distributed in the hope that it will be useful, but +// WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +// See the GNU Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with TCPDF. If not, see . +// +// See LICENSE.TXT file for more information. +// ------------------------------------------------------------------- +// +// Description : PHP class to creates array representations for // common 1D barcodes to be used with TCPDF. // -// Author: Nicola Asuni -// -// (c) Copyright: -// Nicola Asuni -// Tecnick.com S.r.l. -// Via della Pace, 11 -// 09044 Quartucciu (CA) -// ITALY -// www.tecnick.com -// info@tecnick.com //============================================================+ /** @@ -47,28 +40,28 @@ * @copyright 2008-2009 Nicola Asuni - Tecnick.com S.r.l (www.tecnick.com) Via Della Pace, 11 - 09044 - Quartucciu (CA) - ITALY - www.tecnick.com - info@tecnick.com * @link http://www.tcpdf.org * @license http://www.gnu.org/copyleft/lesser.html LGPL - * @version 1.0.008 + * @version 1.0.011 */ /** * PHP class to creates array representations for common 1D barcodes to be used with TCPDF (http://www.tcpdf.org).
    * @name TCPDFBarcode * @package com.tecnick.tcpdf - * @version 1.0.008 + * @version 1.0.011 * @author Nicola Asuni * @link http://www.tcpdf.org * @license http://www.gnu.org/copyleft/lesser.html LGPL */ class TCPDFBarcode { - + /** * @var array representation of barcode. * @access protected */ protected $barcode_array; - + /** - * This is the class constructor. + * This is the class constructor. * Return an array representations for common 1D barcodes: