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.
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.
array $_originalChildOutlines = 'array'
original array of child outlines
Zend_Pdf_Element_Dictionary|Zend_Pdf_Element_Object|Zend_Pdf_Element_Reference $_outlineDictionary = ''
Outline dictionary object
__construct(
Zend_Pdf_Element $dictionary, $processedDictionaries
=
null
)
:
Zend_Pdf_Action
Create PDF outline object using specified dictionary
dump(
$level
=
0
)
:
dumpOutline(
Zend_Pdf_ElementFactory $factory, boolean $updateNavigation, Zend_Pdf_Element $parent, Zend_Pdf_Element $prev
=
null, SplObjectStorage $processedOutlines
=
null
)
:
Zend_Pdf_Element
Dump Outline and its child outlines into PDF structures
Returns dictionary indirect object or reference
getColor(
)
:
Zend_Pdf_Color_Rgb
Get outline text color.
getTarget(
)
:
Zend_Pdf_Target
Get outline target.
getTitle(
)
:
string
Get outline title.
isBold(
)
:
boolean
Returns true if outline item is displayed in bold
isItalic(
)
:
boolean
Returns true if outline item is displayed in italic
setColor(
Zend_Pdf_Color_Rgb $color
)
:
Zend_Pdf_Outline
Set outline text color.
(null means default color which is black)
setIsBold(
boolean $isBold
)
:
Zend_Pdf_Outline
Sets 'isBold' outline flag
setIsItalic(
boolean $isItalic
)
:
Zend_Pdf_Outline
Sets 'isItalic' outline flag
setIsOpen(
boolean $isOpen
)
:
Zend_Pdf_Outline
Sets 'isOpen' outline flag
setOptions(
array $options
)
:
Zend_Pdf_Actions_Traceable
Set outline options
setTarget(
Zend_Pdf_Target|string $target
=
null
)
:
Zend_Pdf_Outline
Set outline target.
Null means no target
setTitle(
string $title
)
:
Zend_Pdf_Outline
Set outline title