|
From: <tr...@us...> - 2012-12-02 23:36:26
|
Revision: 10310
http://sourceforge.net/p/xoops/svn/10310
Author: trabis
Date: 2012-12-02 23:36:20 +0000 (Sun, 02 Dec 2012)
Log Message:
-----------
Adding html2pdf for testing. Xoops_Pdf class added.
See example on examples examples/pdf.php
Modified Paths:
--------------
XoopsCore/branches/2.6.x/2.6.0/docs/changelog.26.txt
Added Paths:
-----------
XoopsCore/branches/2.6.x/2.6.0/htdocs/examples/
XoopsCore/branches/2.6.x/2.6.0/htdocs/examples/pdf.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/Xoops/Pdf.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_LGPL.txt
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_changelog.txt
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_class/
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_class/exception.class.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_class/locale.class.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_class/myPdf.class.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_class/parsingCss.class.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_class/parsingHtml.class.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_class/tcpdfConfig.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_lisez_moi.txt
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_read_me.txt
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/2dbarcodes.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/CHANGELOG.TXT
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/LICENSE.TXT
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/README.TXT
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/barcodes.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/cache/
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/cache/chapter_demo_1.txt
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/cache/chapter_demo_2.txt
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/cache/table_data_demo.txt
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/cache/utf8test.txt
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/config/
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/config/lang/
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/config/lang/bra.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/config/lang/eng.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/config/lang/ger.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/config/lang/ita.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/config/tcpdf_config.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/config/tcpdf_config_alt.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/doc/
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/doc/read_me.txt
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/examples/
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/examples/read_me.txt
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/README.TXT
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/ZarBold.ctg.z
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/ZarBold.z
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/almohanad.ctg.z
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/almohanad.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/almohanad.z
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/arialunicid0.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/courier.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/dejavu-fonts-ttf-2.30/
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/dejavu-fonts-ttf-2.30/AUTHORS
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/dejavu-fonts-ttf-2.30/BUGS
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/dejavu-fonts-ttf-2.30/LICENSE
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/dejavu-fonts-ttf-2.30/NEWS
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/dejavu-fonts-ttf-2.30/README
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/dejavu-fonts-ttf-2.30/langcover.txt
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/dejavu-fonts-ttf-2.30/status.txt
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/dejavu-fonts-ttf-2.30/unicover.txt
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/dejavusans.ctg.z
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/dejavusans.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/dejavusans.z
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/dejavusansb.ctg.z
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/dejavusansb.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/dejavusansb.z
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/dejavusansbi.ctg.z
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/dejavusansbi.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/dejavusansbi.z
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/dejavusanscondensed.ctg.z
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/dejavusanscondensed.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/dejavusanscondensed.z
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/dejavusanscondensedb.ctg.z
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/dejavusanscondensedb.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/dejavusanscondensedb.z
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/dejavusanscondensedbi.ctg.z
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/dejavusanscondensedbi.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/dejavusanscondensedbi.z
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/dejavusanscondensedi.ctg.z
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/dejavusanscondensedi.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/dejavusanscondensedi.z
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/dejavusansi.ctg.z
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/dejavusansi.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/dejavusansi.z
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/dejavusansmono.ctg.z
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/dejavusansmono.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/dejavusansmono.z
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/dejavusansmonob.ctg.z
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/dejavusansmonob.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/dejavusansmonob.z
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/dejavusansmonobi.ctg.z
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/dejavusansmonobi.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/dejavusansmonobi.z
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/dejavusansmonoi.ctg.z
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/dejavusansmonoi.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/dejavusansmonoi.z
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/dejavuserif.ctg.z
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/dejavuserif.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/dejavuserif.z
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/dejavuserifb.ctg.z
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/dejavuserifb.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/dejavuserifb.z
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/dejavuserifbi.ctg.z
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/dejavuserifbi.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/dejavuserifbi.z
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/dejavuserifcondensed.ctg.z
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/dejavuserifcondensed.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/dejavuserifcondensed.z
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/dejavuserifcondensedb.ctg.z
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/dejavuserifcondensedb.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/dejavuserifcondensedb.z
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/dejavuserifcondensedbi.ctg.z
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/dejavuserifcondensedbi.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/dejavuserifcondensedbi.z
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/dejavuserifcondensedi.ctg.z
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/dejavuserifcondensedi.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/dejavuserifcondensedi.z
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/dejavuserifi.ctg.z
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/dejavuserifi.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/dejavuserifi.z
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/freefont-20090104/
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/freefont-20090104/AUTHORS
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/freefont-20090104/COPYING
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/freefont-20090104/CREDITS
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/freefont-20090104/ChangeLog
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/freefont-20090104/INSTALL
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/freefont-20090104/README
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/freemono.ctg.z
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/freemono.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/freemono.z
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/freemonob.ctg.z
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/freemonob.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/freemonob.z
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/freemonobi.ctg.z
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/freemonobi.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/freemonobi.z
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/freemonoi.ctg.z
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/freemonoi.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/freemonoi.z
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/freesans.ctg.z
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/freesans.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/freesans.z
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/freesansb.ctg.z
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/freesansb.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/freesansb.z
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/freesansbi.ctg.z
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/freesansbi.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/freesansbi.z
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/freesansi.ctg.z
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/freesansi.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/freesansi.z
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/freeserif.ctg.z
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/freeserif.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/freeserif.z
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/freeserifb.ctg.z
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/freeserifb.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/freeserifb.z
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/freeserifbi.ctg.z
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/freeserifbi.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/freeserifbi.z
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/freeserifi.ctg.z
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/freeserifi.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/freeserifi.z
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/helvetica.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/helveticab.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/helveticabi.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/helveticai.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/hysmyeongjostdmedium.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/kozgopromedium.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/kozminproregular.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/msungstdlight.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/stsongstdlight.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/symbol.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/times.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/timesb.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/timesbi.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/timesi.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/uni2cid_ac15.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/uni2cid_ag15.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/uni2cid_aj16.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/uni2cid_ak12.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/utils/
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/utils/README.TXT
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/utils/enc/
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/utils/enc/cp1250.map
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/utils/enc/cp1251.map
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/utils/enc/cp1252.map
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/utils/enc/cp1253.map
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/utils/enc/cp1254.map
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/utils/enc/cp1255.map
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/utils/enc/cp1257.map
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/utils/enc/cp1258.map
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/utils/enc/cp874.map
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/utils/enc/iso-8859-1.map
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/utils/enc/iso-8859-11.map
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/utils/enc/iso-8859-15.map
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/utils/enc/iso-8859-16.map
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/utils/enc/iso-8859-2.map
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/utils/enc/iso-8859-4.map
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/utils/enc/iso-8859-5.map
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/utils/enc/iso-8859-7.map
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/utils/enc/iso-8859-9.map
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/utils/enc/koi8-r.map
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/utils/enc/koi8-u.map
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/utils/freetype6.dll
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/utils/makeallttffonts.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/utils/makefont.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/utils/pfm2afm
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/utils/pfm2afm.exe
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/utils/src/
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/utils/src/pfm2afm-src.tar.gz
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/utils/src/readme.txt
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/utils/src/ttf2ufm-src.tar.gz
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/utils/ttf2ufm
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/utils/ttf2ufm.exe
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/utils/zlib1.dll
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/zapfdingbats.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/fonts/zarbold.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/htmlcolors.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/images/
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/images/read_me.txt
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/qrcode.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/tcpdf.crt
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/tcpdf.fdf
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/tcpdf.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_tcpdf_5.0.002/unicode_data.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/examples/
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/examples/about.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/examples/bookmark.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/examples/exemple00.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/examples/exemple01.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/examples/exemple02.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/examples/exemple03.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/examples/exemple04.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/examples/exemple05.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/examples/exemple06.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/examples/exemple07.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/examples/exemple08.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/examples/exemple09.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/examples/exemple10.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/examples/exemple11.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/examples/exemple12.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/examples/exemple13.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/examples/forms.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/examples/groups.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/examples/js1.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/examples/js2.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/examples/js3.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/examples/qrcode.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/examples/radius.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/examples/regle.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/examples/res/
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/examples/res/about.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/examples/res/bas_page.png
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/examples/res/exemple00.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/examples/res/exemple01.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/examples/res/exemple02.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/examples/res/exemple03.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/examples/res/exemple04.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/examples/res/exemple05.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/examples/res/exemple06.css
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/examples/res/exemple06.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/examples/res/exemple07a.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/examples/res/exemple07b.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/examples/res/exemple08.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/examples/res/exemple09.png.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/examples/res/exemple10.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/examples/res/exemple10a.gif
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/examples/res/exemple10b.jpg
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/examples/res/exemple10c.gif
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/examples/res/exemple11.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/examples/res/exemple12.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/examples/res/exemple13.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/examples/res/forms.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/examples/res/logo.gif
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/examples/res/logo.png
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/examples/res/off.png
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/examples/res/puce.gif
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/examples/res/puce2.gif
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/examples/res/regle.png
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/examples/res/svg.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/examples/res/tcpdf_logo.jpg
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/examples/svg.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/examples/svg_tiger.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/examples/svg_tree.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/examples/ticket.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/examples/utf8.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/html2pdf.class.php
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/locale/
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/locale/ca.csv
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/locale/cs.csv
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/locale/da.csv
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/locale/de.csv
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/locale/en.csv
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/locale/es.csv
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/locale/fr.csv
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/locale/it.csv
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/locale/nl.csv
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/locale/pt.csv
XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/locale/tr.csv
Modified: XoopsCore/branches/2.6.x/2.6.0/docs/changelog.26.txt
===================================================================
--- XoopsCore/branches/2.6.x/2.6.0/docs/changelog.26.txt 2012-12-02 21:34:50 UTC (rev 10309)
+++ XoopsCore/branches/2.6.x/2.6.0/docs/changelog.26.txt 2012-12-02 23:36:20 UTC (rev 10310)
@@ -6,6 +6,7 @@
Updating cache engines (trabis)
Adding Xoops_Highlighter class (trabis)
Adding Xoops_Debug class (trabis)
+Adding Xoops_Pdf class and htm2pdf (trabis)
===============================
2012/08: Version 2.6.0 Alpha 1
Added: XoopsCore/branches/2.6.x/2.6.0/htdocs/examples/pdf.php
===================================================================
--- XoopsCore/branches/2.6.x/2.6.0/htdocs/examples/pdf.php (rev 0)
+++ XoopsCore/branches/2.6.x/2.6.0/htdocs/examples/pdf.php 2012-12-02 23:36:20 UTC (rev 10310)
@@ -0,0 +1,31 @@
+<?php
+/*
+ You may not change or alter any portion of this comment or credits
+ of supporting developers from this source code or any supporting source code
+ which is considered copyrighted (c) material of the original comment or credit authors.
+
+ 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.
+ */
+
+/**
+ * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/
+ * @license http://www.fsf.org/copyleft/gpl.html GNU public license
+ * @author trabis <lus...@gm...>
+ * @version $Id$
+ */
+
+include dirname(dirname(__FILE__)) . DIRECTORY_SEPARATOR . 'mainfile.php';
+
+$xoops = Xoops::getInstance();
+$content = Xoops_Debug::dump($xoops->getConfigs(), false);
+
+$tpl = new XoopsTpl();
+$tpl->assign('dummy_content' , $content);
+$content2 = $tpl->fetch('module:system|system_dummy.html');
+
+$pdf = new Xoops_Pdf();
+$pdf->writeHtml($content2, false);
+$pdf->Output('example.pdf');
+
Property changes on: XoopsCore/branches/2.6.x/2.6.0/htdocs/examples/pdf.php
___________________________________________________________________
Added: svn:executable
+ *
Added: svn:keywords
+ Author Date Id Rev URL
Added: XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/Xoops/Pdf.php
===================================================================
--- XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/Xoops/Pdf.php (rev 0)
+++ XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/Xoops/Pdf.php 2012-12-02 23:36:20 UTC (rev 10310)
@@ -0,0 +1,59 @@
+<?php
+/*
+ You may not change or alter any portion of this comment or credits
+ of supporting developers from this source code or any supporting source code
+ which is considered copyrighted (c) material of the original comment or credit authors.
+
+ 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.
+*/
+
+/**
+ * Pdf
+ *
+ * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/
+ * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html)
+ * @package class
+ * @since 2.6.0
+ * @author trabis <lus...@gm...>
+ * @version $Id$
+ */
+
+defined('XOOPS_ROOT_PATH') or die('Restricted access');
+
+include_once dirname(dirname(__FILE__)) . '/html2pdf/html2pdf.class.php';
+
+class Xoops_Pdf extends HTML2PDF
+{
+ /**
+ * class constructor
+ *
+ * @access public
+ *
+ * @param string $orientation page orientation, same as TCPDF
+ * @param mixed $format The format used for pages, same as TCPDF
+ * @param string $langue Langue : fr, en, it...
+ * @param boolean $unicode TRUE means that the input text is unicode (default = true)
+ * @param string $encoding charset encoding; default is UTF-8
+ * @param array $marges Default marges (left, top, right, bottom)
+ */
+ public function __construct($orientation = 'P', $format = 'A4', $langue = _LANGCODE, $unicode = true, $encoding = _CHARSET, $marges = array(
+ 5, 5, 5, 8
+ ))
+ {
+ $xoops = Xoops::getInstance();
+ error_reporting(0);
+ $xoops->logger->activated = false;
+
+ parent::__construct($orientation, $format, $langue, $unicode, $encoding, $marges = array(5, 5, 5, 8));
+ }
+
+ /**
+ * Destructor
+ */
+ public function __destruct()
+ {
+ parent::__destruct();
+ }
+}
\ No newline at end of file
Property changes on: XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/Xoops/Pdf.php
___________________________________________________________________
Added: svn:executable
+ *
Added: svn:keywords
+ Author Date Id Rev URL
Property changes on: XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf
___________________________________________________________________
Added: tsvn:autoprops
+ *.php = svn:executable=*;svn:keywords=Author Date Id Rev URL;
Added: XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_LGPL.txt
===================================================================
--- XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_LGPL.txt (rev 0)
+++ XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_LGPL.txt 2012-12-02 23:36:20 UTC (rev 10310)
@@ -0,0 +1,165 @@
+ GNU LESSER GENERAL PUBLIC LICENSE
+ Version 3, 29 June 2007
+
+ Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+
+ 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.
+
+ 0. Additional Definitions.
+
+ 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.
+
+ "The Library" refers to a covered work governed by this License,
+other than an Application or a Combined Work as defined below.
+
+ 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.
+
+ 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".
+
+ 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.
+
+ 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.
+
+ 1. Exception to Section 3 of the GNU GPL.
+
+ You may convey a covered work under sections 3 and 4 of this License
+without being bound by section 3 of the GNU GPL.
+
+ 2. Conveying Modified Versions.
+
+ 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:
+
+ 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
+
+ b) under the GNU GPL, with none of the additional permissions of
+ this License applicable to that copy.
+
+ 3. Object Code Incorporating Material from Library Header Files.
+
+ 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) 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.
+
+ b) Accompany the object code with a copy of the GNU GPL and this license
+ document.
+
+ 4. Combined Works.
+
+ 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.
Added: XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_changelog.txt
===================================================================
--- XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_changelog.txt (rev 0)
+++ XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_changelog.txt 2012-12-02 23:36:20 UTC (rev 10310)
@@ -0,0 +1,314 @@
+4.03 (2011-05-27)
+ correction de l'exemple "form.php" : vulnérabilité cross-site scripting corrigée
+ correction sur la gestion des retours à la ligne automatique
+ correction sur le calcul de la hauteur des balises H1->H6
+ amélioration de la gestion des exceptions
+
+4.02 (2011-04-29)
+ ATTENTION : beaucoup de changements dans la structure du projet. version 3.xx abandonnée
+ uniformisation des fichiers du projet (standard Zend)
+ conversion des fichiers de langue en CSV, déplacement dans le répertoire "locale". création d'une classe spécifique à la gestion des locales
+ amélioration de la gestion de certaines erreurs
+ modification du nom de toutes les sous classes
+ déplacement de toutes les sous classes
+ modification du nom de toutes les méthodes protected
+ correction sur la gestion des tables
+ correction sur la lecture des path des SVG
+ premiere version de text-align:justify
+ correction sur la gestion de la balise BLOCKQUOTE
+ correction sur la gestion de la balise P
+ gestion des styles CSS pour les balises TEXTAREA, SELECT, INPUT
+ ajout de la propriété pagegroup="new" sur la balise PAGE
+ correction pour la balise INPUT de type radio : checked au lieu de selected
+
+3.30 / 4.01 (2010-05-07)
+ correction sur la gestion des textes
+ correction sur le parseur HTML
+ correction sur la gestion de border-collapse
+ correction sur la gestion des TDs, H1->H6
+ ajout des balises fieldset et legend (cf exemple 4)
+ ajout de la langue CS
+ nombreuses améliorations
+ v4.01 uniquement : Utilisation de TCPDF 5.0.002
+ v4.01 uniquement : Utilisation des QR-code de TCPDF, il n'y a plus besoin d'une librairie externe
+ v4.01 uniquement : Utilisation des exceptions PHP pour les erreurs. Tous les exemples ont été mis à jour en consequence
+ (merci à Pavel Kochman pour ses sugestions et ses ajouts)
+
+3.29 / 4.00 (2010-03-17)
+ modification des barcodes. ATTENTION : bar_w et bar_h n'existent plus !
+ correction sur la gestion de page_footer
+ correction sur la gestion des html entities
+ correction sur le positionnement des textes
+ correction sur le positionnement des tableaux
+ nombreuses corrections sur les positionnements, les couleurs, ...
+ amélioration de la partie SVG (balise G, ...)
+ amélioration sur createIndex
+ harmonisation des noms des méthodes
+ correction sur la gestion des textes
+ v4.00 uniquement : HTML2PDF est maintenant écrit en PHP5 et basé sur TCPDF (=> unicode, utf8, ...)
+ v4.00 uniquement : utilisation de TCPDF pour les formulaires et les barcodes
+ v4.00 uniquement : amélioration de la partie SVG (alpha)
+
+3.28 (2010-01-18)
+ ajout de la gestion de la balise label
+ correction pour compatibilité PHP4
+
+3.27 (2010-01-11)
+ correction sur page_header et page_footer
+ ajout de la possibilité de pouvoir mettre l'index automatique dans la page que l'on veut
+ correction sur la gestion du canal alpha pour les PNGs
+ correction sur la gestion des border-radius (cf exemple radius) conforme au CSS3
+ correction sur la gestion du background-color
+ correction sur la gestion de thead, tfoot, et tbody
+ ajout du dessin verctoriel (cf exemples draw, tigre, sapin)
+ ajout de la propriété label="none/label" pour la balise <barcode>
+ nombreux petits correctifs
+
+3.26 (2009-11-16)
+ correction pour support des images générés en CGI
+ ajout de la gestion du canal alpha pour les PNGs (nécessite GD2)
+ ajout de la méthode setDefaultFont permettant de spécifier une fonte par défaut
+ ajout de la propriété format pour la balise <page> (cf exemple 4)
+ amélioration de la gestion des couleurs css RGB (cf exemple 2)
+ ajout de la gestion des couleurs css CMYK (cf exemple 2)
+ ajout de la propriété css overflow:hidden pour la balise <div> (cf exemple 2)
+ correction sur page_header et page_footer
+ ajout de la possibilité de pouvoir directement convertir le résultat d'une vraie page HTML
+ nombreux petits correctifs sur les styles
+
+3.25 (2009-10-07)
+ correctif sur le calcul des tableaux dans le page_footer
+ correctif sur l'interprétation des espaces entre certaines balises
+ correction sur la gestion des balises H1, H2, H3, H4, H5, H6
+ correction sur la gestion de la balise table
+ support des balises xhtml du type <span />
+ ajout des balises COL (cf exemple 5), DEL, INS, et QRCODE (cf exemple 13)
+ ajout de la propriété css text-transform
+ ajout de la propriété css rotate (uniquement sur les DIV, cf exemple 8)
+ ne plus rendre obligatoire l'existence d'une image (nouvelle méthode setTestIsImage)
+ ajout d'un mode DEBUG - les anciennes fonction d'analyse des ressources ont été supprimées
+ ajout de la méthode setEncoding
+ ajout de la langue danoise DA (merci à Daniel K.)
+
+3.24 (2009-08-05)
+ correction sur le calcul de la largeur des divs
+ modification pour compatibilité avec la localisation PHP
+ modification pour compatibilité avec PHP 5.3.0
+
+3.23 (2009-07-30)
+ correction sur le calcul des DIVs
+ correction sur l'interpretation de certains styles CSS
+ correction de la fonction de creation d'index automatique CreateIndex
+ ATTENTION : la methode d'appel de CreateIndex a changé. Regardez l'exemple About !!!!
+
+3.22a (2009-06-16)
+ redistribution de HTML2PDF sous la licence LGPL !!! (au lieu de GPL)
+
+3.22 (2009-06-08)
+ correction sur le background-color
+ refonte totale de la gestion de text-align. les valeurs center et right marchent maintenant meme en cas de contenu riche
+
+3.21 (2009-05-05)
+ ajout de la propriété css FLOAT pour la balise IMG
+ correction sur la gestion des TFOOT
+ correction sur le positionnement des images
+
+3.20 (2009-04-06)
+ ajout de la gestion des margins pour la balise DIV
+ ajout de la gestion de la propriete css LINE-HEIGHT
+ correction sur l'interpretation de la valeur de certains styles CSS (background-image, background-position, ...)
+ correction sur la reconnaissance des balises thead et tfoot
+ correction sur la balise select
+ correction sur les fichiers de langue (merci à Sinan)
+
+3.19 (2009-03-11)
+ optimisation du parseur HTML - merci à Jezelinside
+ ajout de la balise TFOOT
+ amélioration de la gestion des tableaux : les contenus des balises THEAD et TFOOT sont maintenant répétés sur chaque page.
+ ajout de la balise spécifique BOOKMARK afin de créer des "marques-page"
+ possibilité de rajouter un index automatique en fin de fichier
+ ajout de la langue turque TR (merci à Hidayet)
+ amélioration de la méthode Output. Elle est maintenant également utilisable comme celle de FPDF
+
+3.18 (2009-02-22)
+ correction sur les sauts de page automatique pour les balises TABLE, UL, OL
+ correction sur l'interpretation des styles pour la balise HR
+ correction sur l'interpretation du style border-collapse pour la balise TABLE
+ prise en compte de margin:auto pour les tables et les divs
+ les commentaires dans les CSS sont acceptés
+
+3.17 (2008-12-30)
+ ajout de la gestion des balises INPUT (text, radio, checkbox, button, hidden, ...), SELECT, OPTION, TEXTAREA (cf exemple 14)
+ ajout de la possibilité de mettre des scripts dans le pdf, via $html2pdf->pdf->IncludeJS(...); (cf exemples JS)
+ correction sur le saut de page automatique pour les images
+ correction sur les sauts de lignes automatiques pour certaines balises (UL, P, ...)
+ ajout de la langue NL (merci à Roland)
+
+3.16 (2008-12-09)
+ ajout de la gestion de list-style: none (cf exemple 13)
+ correction dans la gestion des fontes ajoutées à fpdf (via la méthode AddFont)
+ nombreuses corrections sur le calcul des largeurs des éléments table, div, hr, td, th
+ ajout de l'exemple about.php
+ (pour info, les PDF générés à partir des exemples sont maintenant dans le répertoire /exemples/pdf/, et sont supprimables)
+
+3.15 (2008-12-01)
+ correction sur l'identification des styles en cas de valeurs multiples dans la propriete class
+ prise en compte de border-radius pour la limite des backgrounds (color et image)
+ ajout des proprietes CSS border-top-*, border-right-*, border-bottom-*, border-left-*
+ ajout de la propriété CSS list-style-image (cf exemple 12)
+ pour la balise table, ajout de l'interprétation de align="center" et align="right" (cf exemple 1)
+ correction dans le positionnement des images
+ correction de quelques bugs
+ ajout d'une fonction d'analyse des ressources HTML2PDFgetTimerDebug (cf début du fichier html2pdf.class.php)
+
+3.14 (2008-11-17)
+ ajout d'une langue (pt : Brazilian Portuguese language) et amelioration de la methode vueHTML (merci à Rodrigo)
+ correction du positionnement du contenu des DIVs. gestion des proprietes valign et align
+ ajout de la propriete CSS border-collapse (cf exemple 0)
+ ajout de la propriete CSS border-radius (cf exemple 1)
+ correction de quelques bugs
+
+3.13 (2008-09-24)
+ reecriture de la balise hr, avec prise en compte des styles (cf exemple 0)
+ ajout de la propriete backcolor pour la balise page (cf exemple 9)
+ ajout des proprietes backleft et backright pour la balise page afin de pouvoir changer les marges des pages (cf exemple 8)
+ nombreuses corrections sur les balises et les styles
+
+3.12 (2008-09-16)
+ ajout des balises ol, ul, li (cf exemple 12)
+ correction sur le calcul de la taille des td en cas de colspan et rowspan
+ ajout de la méthode setTestTdInOnePage afin de pouvoir desactiver le test sur la taille des TD (cf exemple 11)
+ correction de quelques bugs
+
+3.11 (2008-08-29)
+ ajout des balises div, p, pre, s
+ gestion des styles CSS position (relative, absolute), left, top, right, bottom (cf exemple 10)
+ meilleur gestion des border : border-style, border-color, border-width (cf exemple 10)
+ possibilité d'indiquer les marges par défault, via le constructeur (cf exemple 2)
+
+3.10a (2008-08-26)
+ correction pour compatibilité php4 / php5
+
+3.10 (2008-08-25)
+ ajout des liens internes (cf exemple 7)
+ gestion complete des background : image, repeat, position, color (cf exemple 1)
+ gestion de underline, overline, linethrough (cf exemple 2)
+ correction de quelques bugs
+
+3.09
+ mise à jour vers fpdf version 1.6, ajout de barcode, correction de l'affichage de certains caractères spéciaux
+ correction du calcul de la hauteur de ligne de la balise br
+ detection en cas de contenu trop grand dans un TD
+ amélioration de la balise page (ajout de l'attribue pageset, avec les valeurs new et old)
+ ajout de FPDF_PROTECTION, accesible via $pdf->pdf->SetProtection(...)
+
+3.08
+ version opérationnelle de page_header
+ ajout de page_footer
+ correction des borders des tableaux
+
+3.07
+ correction de l'interpretation de cellspacing,
+ amélioration de la balise page_header
+
+3.06
+ première gestion de la balise page_header
+ correction des dimensions des tableaux
+
+3.05
+ ajout de la propriété vertical-align
+ ajout de la gestion des fichiers de langue
+
+3.04
+ correction du saut de page automatique pour les tableaux
+ Ajout de propriétés à la balise PAGE
+
+3.03
+ correction de bugs au niveau de la gestion des images PHP par FPDF
+ meilleure gestion des erreurs
+
+3.02
+ ajout de la gestion des noms des couleurs
+ correction de la gestion des images générées par php
+ correction de quelques bugs
+
+3.01
+ correction de quelques bugs
+ ajout d'une protection pour les balises non existantes
+
+3.00
+ refonte totale du calcul des tableaux
+ Prise en compte des colspan et rowspan
+
+2.85
+ ajout de la propriété cellspacing
+ nouvelle gestion des padding des tableaux
+
+2.80
+ ajout des types de border dotted et dasheds
+
+2.75
+ ajout des top, left, right, bottom pour padding et border
+
+2.70
+ correction de la balise HR, ajout de la propriété padding pour les table, th, td
+ correction des dimensions, les unités px, mm, in, pt sont enfin réellement reproduites, correction de font-size, border, ...
+ ajout d'une propriété à la balise page : footer
+ correction dans l'affichage et le calcul des tables
+
+2.55
+ vérification de la validité du code (ouverture / fermeture)
+ ajout des unités mm, in, pt
+
+2.50
+ correction de nobreak
+ correction des marges
+ ajout de nombreuses balises
+
+2.40
+ refonte totale de l'identification des styles CSS (Les héritages marchent)
+
+2.39
+ corrections diverses
+ ajout de certaines propriétés (bgcolor, ...)
+
+2.38
+ meilleur identification des propriétés border et color
+
+2.37
+ nombreuses corrections :
+ balise A
+ couleur de fond
+ retour à la ligne
+ gestion des images dans un texte
+
+2.36
+ ajout de la balises STRONG
+ ajout de la balise EM
+
+2.35
+ amélioration de la gestion des feuilles de style
+
+2.31
+ correction de quelques bugs
+
+2.30
+ première version opérationnel des feuilles de style
+
+2.25
+ ajout de la balise LINK pour le type text/css
+
+2.20
+ premier jet de la gestion des feuilles de style, ajout de la balise STYLE
+
+2.15
+ n'interpréte plus l'HTML en commentaire <!-- -->
+
+2.10
+ ajout des balises H1 -> H6
+
+2.01
+ correction de quelques bugs
+
+2.00
+ première version diffusée
\ No newline at end of file
Property changes on: XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_class
___________________________________________________________________
Added: tsvn:autoprops
+ *.php = svn:executable=*;svn:keywords=Author Date Id Rev URL;
Added: XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_class/exception.class.php
===================================================================
--- XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_class/exception.class.php (rev 0)
+++ XoopsCore/branches/2.6.x/2.6.0/htdocs/xoops_lib/html2pdf/_class/exception.class.php 2012-12-02 23:36:20 UTC (rev 10310)
@@ -0,0 +1,168 @@
+<?php
+/**
+ * HTML2PDF Librairy - HTML2PDF Exception
+ *
+ * HTML => PDF convertor
+ * distributed under the LGPL License
+ *
+ * @author Laurent MINGUET <web...@ht...>
+ * @version 4.03
+ */
+
+class HTML2PDF_exception extends exception
+{
+ protected $_tag = null;
+ protected $_html = null;
+ protected $_other = null;
+ protected $_image = null;
+ protected $_messageHtml = '';
+
+ /**
+ * generate a HTML2PDF exception
+ *
+ * @param int $err error number
+ * @param mixed $other additionnal informations
+ * @return string $html optionnal code HTML associated to the error
+ */
+ final public function __construct($err = 0, $other = null, $html = '')
+ {
+ // read the error
+ switch($err)
+ {
+ case 1: // Unsupported tag
+ $msg = (HTML2PDF_locale::get('err01'));
+ $msg = str_replace('[[OTHER]]', $other, $msg);
+ $this->_tag = $other;
+ break;
+
+ case 2: // too long sentence
+ $msg = (HTML2PDF_locale::get('err02'));
+ $msg = str_replace('[[OTHER_0]]', $other[0], $msg);
+ $msg = str_replace('[[OTHER_1]]', $other[1], $msg);
+ $msg = str_replace('[[OTHER_2]]', $other[2], $msg);
+ break;
+
+ case 3: // closing tag in excess
+ $msg = (HTML2PDF_locale::get('err03'));
+ $msg = str_replace('[[OTHER]]', $other, $msg);
+ $this->_tag = $other;
+ break;
+
+ case 4: // tags closed in the wrong order
+ $msg = (HTML2PDF_locale::get('err04'));
+ $msg = str_replace('[[OTHER]]', print_r($other, true), $msg);
+ break;
+
+ case 5: // unclosed tag
+ $msg = (HTML2PDF_locale::get('err05'));
+ $msg = str_replace('[[OTHER]]', print_r($other, true), $msg);
+ break;
+
+ case 6: // image can not be loaded
+ $msg = (HTML2PDF_locale::get('err06'));
+ $msg = str_replace('[[OTHER]]', $other, $msg);
+ $this->_image = $other;
+ break;
+
+ case 7: // too big TD content
+ $msg = (HTML2PDF_locale::get('err07'));
+ break;
+
+ case 8: // SVG tag not in DRAW tag
+ $msg = (HTML2PDF_locale::get('err08'));
+ $msg = str_replace('[[OTHER]]', $other, $msg);
+ $this->_tag = $other;
+ break;
+
+ case 9: // deprecated
+ $msg = (HTML2PDF_locale::get('err09'));
+ $msg = str_replace('[[OTHER_0]]', $other[0], $msg);
+ $msg = str_replace('[[OTHER_1]]', $other[1], $msg);
+ $this->_tag = $other[0];
+ break;
+
+ case 0: // specific error
+ default:
+ $msg = $other;
+ break;
+ }
+
+ // create the HTML message
+ $this->_messageHtml = '<span style="color: #AA0000; font-weight: bold;">'.HTML2PDF_locale::get('txt01', 'error: ').$err.'</span><br>';
+ $this->_messageHtml.= HTML2PDF_locale::get('txt02', 'file:').' '.$this->file.'<br>';
+ $this->_messageHtml.= HTML2PDF_locale::get('txt03', 'line:').' '.$this->line.'<br>';
+ $this->_messageHtml.= '<br>';
+ $this->_messageHtml.= $msg;
+
+ // create the text message
+ $msg = HTML2PDF_locale::get('txt01', 'error: ').$err.' : '.strip_tags($msg);
+
+ // add the optionnal html content
+ if ($html) {
+ $this->_messageHtml.= "<br><br>HTML : ...".trim(htmlentities($html)).'...';
+ $this->_html = $html;
+ $msg.= ' HTML : ...'.trim($html).'...';
+ }
+
+ // save the other informations
+ $this->_other = $other;
+
+ // construct the exception
+ parent::__construct($msg, $err);
+ }
+
+ /**
+ * get the message as string
+ *
+ * @access public
+ * @return string $messageHtml
+ */
+ public function __toString()
+ {
+ return $this->_messageHtml;
+ }
+
+ /**
+ * get the html tag name
+ *
+ * @access public
+ * @return string $tagName
+ */
+ public function getTAG()
+ {
+ return $this->_tag;
+ }
+
+ /**
+ * get the optional html code
+ *
+ * @access public
+ * @return string $html
+ */
+ public function getHTML()
+ {
+ return $this->_html;
+ }
+
+ /**
+ * get the optional other informations
+ *
+ * @access public
+ ...
[truncated message content] |