mirror of
https://github.com/vdm-io/tcpdf.git
synced 2024-11-28 23:26:26 +00:00
6.0.062 (2014-03-02)
- The method startLayer() now accepts the NULL value for the parameter to not set the print layer option.
This commit is contained in:
parent
7929b6d32e
commit
cada5f0ef8
@ -1,3 +1,6 @@
|
||||
6.0.062 (2014-03-02)
|
||||
- The method startLayer() now accepts the NULL value for the $print parameter to not set the print layer option.
|
||||
|
||||
6.0.061 (2014-02-18)
|
||||
- Bug #893 "Parsing error on streamed xref for secured pdf" was fixed.
|
||||
|
||||
|
@ -8,8 +8,8 @@ http://sourceforge.net/donate/index.php?group_id=128076
|
||||
------------------------------------------------------------
|
||||
|
||||
Name: TCPDF
|
||||
Version: 6.0.061
|
||||
Release date: 2014-02-18
|
||||
Version: 6.0.062
|
||||
Release date: 2014-03-02
|
||||
Author: Nicola Asuni
|
||||
|
||||
Copyright (c) 2002-2014:
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "tecnick.com/tcpdf",
|
||||
"version": "6.0.061",
|
||||
"version": "6.0.062",
|
||||
"homepage": "http://www.tcpdf.org/",
|
||||
"type": "library",
|
||||
"description": "TCPDF is a PHP class for generating PDF documents.",
|
||||
|
@ -55,7 +55,7 @@ class TCPDF_STATIC {
|
||||
* Current TCPDF version.
|
||||
* @private static
|
||||
*/
|
||||
private static $tcpdf_version = '6.0.061';
|
||||
private static $tcpdf_version = '6.0.062';
|
||||
|
||||
/**
|
||||
* String alias for total number of pages.
|
||||
|
@ -13658,7 +13658,9 @@ class TCPDF {
|
||||
$out = '<< /Type /OCG';
|
||||
$out .= ' /Name '.$this->_textstring($layer['name'], $this->pdflayers[$key]['objid']);
|
||||
$out .= ' /Usage <<';
|
||||
$out .= ' /Print <</PrintState /'.($layer['print']?'ON':'OFF').'>>';
|
||||
if (isset($layer['print']) AND ($layer['print'] !== NULL)) {
|
||||
$out .= ' /Print <</PrintState /'.($layer['print']?'ON':'OFF').'>>';
|
||||
}
|
||||
$out .= ' /View <</ViewState /'.($layer['view']?'ON':'OFF').'>>';
|
||||
$out .= ' >> >>';
|
||||
$out .= "\n".'endobj';
|
||||
@ -13669,7 +13671,7 @@ class TCPDF {
|
||||
/**
|
||||
* Start a new pdf layer.
|
||||
* @param $name (string) Layer name (only a-z letters and numbers). Leave empty for automatic name.
|
||||
* @param $print (boolean) Set to true to print this layer.
|
||||
* @param $print (boolean|null) Set to TRUE to print this layer, FALSE to not print and NULL to not set this option
|
||||
* @param $view (boolean) Set to true to view this layer.
|
||||
* @public
|
||||
* @since 5.9.102 (2011-07-13)
|
||||
|
Loading…
Reference in New Issue
Block a user