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.
Abstract PDF outline representation class
boolean $_open = 'false'True if outline is open.
Detailsarray $childOutlines = 'array'Array of child outlines (array of Zend_Pdf_Outline objects)
Detailscount(
)
:
intcount()
Detailscreate(
$param1, $param2
=
null
)
:
Zend_Pdf_OutlineCreate new Outline object
It provides two forms of input parameters:
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
Detailscurrent(
)
:
Zend_Pdf_OutlineReturns the child outline.
DetailsdumpOutline(
Zend_Pdf_ElementFactory $factory, boolean $updateNavigation, Zend_Pdf_Element $parent, Zend_Pdf_Element $prev
=
null, SplObjectStorage $processedOutlines
=
null
)
:
Zend_Pdf_ElementDump Outline and its child outlines into PDF structures
Returns dictionary indirect object or reference
DetailsgetChildren(
)
:
Zend_Pdf_Outline|nullReturns the child outline.
DetailsgetColor(
)
:
Zend_Pdf_Color_RgbGet outline text color.
DetailsgetOptions(
)
:
arrayGet outline options
DetailsgetTarget(
)
:
Zend_Pdf_TargetGet outline target.
DetailsgetTitle(
)
:
stringGet outline title.
DetailshasChildren(
)
:
boolImplements RecursiveIterator interface.
DetailsisBold(
)
:
booleanReturns true if outline item is displayed in bold
DetailsisItalic(
)
:
booleanReturns true if outline item is displayed in italic
DetailsisOpen(
)
:
booleanReturns true if outline item is open by default
Detailskey(
)
:
integerReturns current iterator key
Detailsnext(
)
:
Go to next child
DetailsopenOutlinesCount(
)
:
integerReturns number of the total number of open items at all levels of the outline.
Detailsrewind(
)
:
Rewind children
DetailssetColor(
Zend_Pdf_Color_Rgb $color
)
:
Zend_Pdf_OutlineSet outline text color.
(null means default color which is black)
DetailssetIsBold(
boolean $isBold
)
:
Zend_Pdf_OutlineSets 'isBold' outline flag
DetailssetIsItalic(
boolean $isItalic
)
:
Zend_Pdf_OutlineSets 'isItalic' outline flag
DetailssetIsOpen(
boolean $isOpen
)
:
Zend_Pdf_OutlineSets 'isOpen' outline flag
DetailssetOptions(
array $options
)
:
Zend_Pdf_ActionSet outline options
DetailssetTarget(
Zend_Pdf_Target|string $target
=
null
)
:
Zend_Pdf_OutlineSet outline target.
Null means no target
DetailssetTitle(
string $title
)
:
Zend_Pdf_OutlineSet outline title
Detailsvalid(
)
:
booleanCheck if current position is valid
Details