diff --git a/src/Html2Pdf.php b/src/Html2Pdf.php index 85b9fc8..00c740c 100755 --- a/src/Html2Pdf.php +++ b/src/Html2Pdf.php @@ -76,7 +76,7 @@ class Html2Pdf protected $_unicode = true; // means that the input text is unicode (default = true) /** - * @var bool + * @var false|int */ protected $_pdfa; @@ -171,7 +171,7 @@ class Html2Pdf * @param boolean $unicode TRUE means that the input text is unicode (default = true) * @param string $encoding charset encoding; default is UTF-8 * @param array $margins Default margins (left, top, right, bottom) - * @param boolean $pdfa If TRUE set the document to PDF/A mode. + * @param false|int $pdfa If TRUE set the document to PDF/A mode. * * @return Html2Pdf */ @@ -578,7 +578,7 @@ public function output($name = 'document.pdf', $dest = 'I') // call the output of TCPDF $output = $this->pdf->Output($name, $dest); - + // close the pdf and clean up $this->clean(); diff --git a/src/MyPdf.php b/src/MyPdf.php index cf8bc2e..a1ec5b5 100644 --- a/src/MyPdf.php +++ b/src/MyPdf.php @@ -42,7 +42,7 @@ class MyPdf extends TCPDF * @param boolean $unicode TRUE means that the input text is unicode (default = true) * @param string $encoding charset encoding; default is UTF-8 * @param boolean $diskcache if TRUE reduce the RAM memory usage by caching temporary data on filesystem (slower). - * @param boolean $pdfa If TRUE set the document to PDF/A mode. + * @param false|int $pdfa If TRUE set the document to PDF/A mode. * @access public */ public function __construct( @@ -267,7 +267,7 @@ public function clippingPathStart( $cornerBL = null, $cornerBR = null ) { - + // init the path $path = ''; @@ -1087,7 +1087,7 @@ protected function _Arc( $drawFirst = true, $trans = false ) { - + // if we want the no trigo direction : add 2PI to the begin angle, to invert the direction if (!$direction) { $angleBegin+= M_PI*2.; @@ -1387,7 +1387,7 @@ public function createIndex( $page = null, $fontName = 'helvetica' ) { - + // bookmark the Title if wanted if ($bookmarkTitle) { $this->Bookmark($titre, 0, -1);