Pdf/Outline/Loaded.php
Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled
with this package in the file LICENSE.txt.
It is also available through the world-wide-web at this URL:
http://framework.zend.com/license/new-bsd
If you did not receive a copy of the license and are unable to
obtain it through the world-wide-web, please send an email
to [email protected] so we can send you a copy immediately.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
-
New BSD License
- Package
- Zend_Pdf
- Subpackage
- Actions
- Version
- $Id: Loaded.php 24593 2012-01-05 20:35:02Z matthew $
\Zend_Pdf_Outline_Loaded
Package: Zend\Pdf\OutlinesTraceable PDF outline representation class
Instances of this class trace object update uperations. That allows to avoid outlines PDF tree update
which should be performed at each document update otherwise.
- Parent(s)
- \Zend_Pdf_Outline
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
-
New BSD License
Properties



array $_originalChildOutlines = array()
original array of child outlines
Default valuearray()
Details
- Type
- array
Methods



create( $param1, $param2 = null) : \Zend_Pdf_Outline
It provides two forms of input parameters:
- Zend_Pdf_Outline::create(string $title[, Zend_Pdf_Target $target])
- Zend_Pdf_Outline::create(array $options)
Second form allows to provide outline options as an array.
The followed options are supported:
'title' - string, outline title, required
'open' - boolean, true if outline entry is open (default value is false)
'color' - Zend_Pdf_Color_Rgb object, true if outline entry is open (default value is null - black)
'italic' - boolean, true if outline entry is displayed in italic (default value is false)
'bold' - boolean, true if outline entry is displayed in bold (default value is false)
'target' - Zend_Pdf_Target object or string, outline item destination
Parameters
Name |
Type |
Description |
$param1 |
|
|
$param2 |
|
|
Returns
Throws



setIsBold(boolean $isBold) : \Zend_Pdf_Outline
Sets 'isBold' outline flag
Parameters
Name |
Type |
Description |
$isBold |
boolean |
|
Returns



setIsItalic(boolean $isItalic) : \Zend_Pdf_Outline
Sets 'isItalic' outline flag
Parameters
Name |
Type |
Description |
$isItalic |
boolean |
|
Returns



setIsOpen(boolean $isOpen) : \Zend_Pdf_Outline
Sets 'isOpen' outline flag
Parameters
Name |
Type |
Description |
$isOpen |
boolean |
|
Returns