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 license@zend.com so we can send you a copy immediately.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Pdf
- Subpackage
- Actions
- Version
- $Id$
\Zend_Pdf_Outline_Loaded
Package: Zend_Pdf\Outlines
Returns
Returns
Throws
Traceable 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-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Properties
array $_originalChildOutlines = array()
original array of child outlines
Default value
array()
Details- Type
- array
Methods
getTarget() : \Zend_Pdf_Target
Get outline target.
Returns
Throws
Type | Description |
---|---|
\Zend_Pdf_Target |
Exception | Description |
---|---|
\Zend_Pdf_Exception |
getTitle() : string
Get outline title.
Returns
Throws
Type | Description |
---|---|
string |
Exception | Description |
---|---|
\Zend_Pdf_Exception |
isItalic() : boolean
Returns true if outline item is displayed in italic
Returns
Type | Description |
---|---|
boolean |
setColor(\Zend_Pdf_Color_Rgb $color) : \Zend_Pdf_Outline
Set outline text color.
(null means default color which is black)
ParametersName | Type | Description |
---|---|---|
$color | \Zend_Pdf_Color_Rgb |
Type | Description |
---|---|
\Zend_Pdf_Outline |
setIsBold(boolean $isBold) : \Zend_Pdf_Outline
Sets 'isBold' outline flag
Parameters
Returns
Name | Type | Description |
---|---|---|
$isBold | boolean |
Type | Description |
---|---|
\Zend_Pdf_Outline |
setIsItalic(boolean $isItalic) : \Zend_Pdf_Outline
Sets 'isItalic' outline flag
Parameters
Returns
Name | Type | Description |
---|---|---|
$isItalic | boolean |
Type | Description |
---|---|
\Zend_Pdf_Outline |
setIsOpen(boolean $isOpen) : \Zend_Pdf_Outline
Sets 'isOpen' outline flag
Parameters
Returns
Name | Type | Description |
---|---|---|
$isOpen | boolean |
Type | Description |
---|---|
\Zend_Pdf_Outline |
setOptions(array $options) : \Zend_Pdf_Actions_Traceable
Set outline options
Parameters
Returns
Throws
Name | Type | Description |
---|---|---|
$options | array |
Type | Description |
---|---|
\Zend_Pdf_Actions_Traceable |
Exception | Description |
---|---|
\Zend_Pdf_Exception |
setTarget(\Zend_Pdf_Target | string $target = null) : \Zend_Pdf_Outline
Set outline target.
Null means no target
ParametersName | Type | Description |
---|---|---|
$target | \Zend_Pdf_Target | string |
Type | Description |
---|---|
\Zend_Pdf_Outline |
Exception | Description |
---|---|
\Zend_Pdf_Exception |
setTitle(string $title) : \Zend_Pdf_Outline
Set outline title
Parameters
Returns
Name | Type | Description |
---|---|---|
$title | string |
Type | Description |
---|---|
\Zend_Pdf_Outline |