32
1
mirror of https://github.com/vdm-io/tcpdf.git synced 2024-11-25 22:07:33 +00:00
This commit is contained in:
nicolaasuni 2011-02-16 18:17:56 +01:00
parent f89223a6da
commit 6c0e79a312
3 changed files with 11 additions and 6 deletions

View File

@ -1,3 +1,6 @@
5.9.054 (2011-02-16)
- A bug related to HTML table page break was fixed.
5.9.053 (2011-02-16) 5.9.053 (2011-02-16)
- Support for HTMl attribute display="none" was added. - Support for HTMl attribute display="none" was added.

View File

@ -8,7 +8,7 @@ http://sourceforge.net/donate/index.php?group_id=128076
------------------------------------------------------------ ------------------------------------------------------------
Name: TCPDF Name: TCPDF
Version: 5.9.053 Version: 5.9.054
Release date: 2011-02-16 Release date: 2011-02-16
Author: Nicola Asuni Author: Nicola Asuni

View File

@ -1,7 +1,7 @@
<?php <?php
//============================================================+ //============================================================+
// File name : tcpdf.php // File name : tcpdf.php
// Version : 5.9.053 // Version : 5.9.054
// Begin : 2002-08-03 // Begin : 2002-08-03
// Last Update : 2011-02-16 // Last Update : 2011-02-16
// Author : Nicola Asuni - Tecnick.com S.r.l - Via Della Pace, 11 - 09044 - Quartucciu (CA) - ITALY - www.tecnick.com - info@tecnick.com // Author : Nicola Asuni - Tecnick.com S.r.l - Via Della Pace, 11 - 09044 - Quartucciu (CA) - ITALY - www.tecnick.com - info@tecnick.com
@ -134,7 +134,7 @@
* Tools to encode your unicode fonts are on fonts/utils directory.</p> * Tools to encode your unicode fonts are on fonts/utils directory.</p>
* @package com.tecnick.tcpdf * @package com.tecnick.tcpdf
* @author Nicola Asuni * @author Nicola Asuni
* @version 5.9.053 * @version 5.9.054
*/ */
// Main configuration file. Define the K_TCPDF_EXTERNAL_CONFIG constant to skip this file. // Main configuration file. Define the K_TCPDF_EXTERNAL_CONFIG constant to skip this file.
@ -146,7 +146,7 @@ require_once(dirname(__FILE__).'/config/tcpdf_config.php');
* TCPDF project (http://www.tcpdf.org) has been originally derived in 2002 from the Public Domain FPDF class by Olivier Plathey (http://www.fpdf.org), but now is almost entirely rewritten.<br> * TCPDF project (http://www.tcpdf.org) has been originally derived in 2002 from the Public Domain FPDF class by Olivier Plathey (http://www.fpdf.org), but now is almost entirely rewritten.<br>
* @package com.tecnick.tcpdf * @package com.tecnick.tcpdf
* @brief PHP class for generating PDF documents without requiring external extensions. * @brief PHP class for generating PDF documents without requiring external extensions.
* @version 5.9.053 * @version 5.9.054
* @author Nicola Asuni - info@tecnick.com * @author Nicola Asuni - info@tecnick.com
*/ */
class TCPDF { class TCPDF {
@ -157,7 +157,7 @@ class TCPDF {
* Current TCPDF version. * Current TCPDF version.
* @private * @private
*/ */
private $tcpdf_version = '5.9.053'; private $tcpdf_version = '5.9.054';
// Protected properties // Protected properties
@ -21595,12 +21595,14 @@ Putting 1 is equivalent to putting 0 and calling Ln() just after. Default value:
if (isset($this->theadMargins['top'])) { if (isset($this->theadMargins['top'])) {
// restore top margin // restore top margin
$this->tMargin = $this->theadMargins['top']; $this->tMargin = $this->theadMargins['top'];
$this->pagedim[$this->page]['tm'] = $this->tMargin;
} }
if (!isset($table_el['attribute']['nested']) OR ($table_el['attribute']['nested'] != 'true')) { if (!isset($table_el['attribute']['nested']) OR ($table_el['attribute']['nested'] != 'true')) {
// reset main table header // reset main table header
$this->thead = ''; $this->thead = '';
$this->theadMargins = array(); $this->theadMargins = array();
if (isset($this->theadMargins['top'])) {
$this->pagedim[$this->page]['tm'] = $this->tMargin;
}
} }
} }
$parent = $table_el; $parent = $table_el;