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.
array $childOutlines = 'array'
Array of child outlines (array of Zend_Pdf_Outline objects)
count(
)
:
int
count()
create(
$param1, $param2
=
null
)
:
Zend_Pdf_Outline
Create 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
current(
)
:
Zend_Pdf_Outline
Returns the child outline.
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
getChildren(
)
:
Zend_Pdf_Outline|null
Returns the child outline.
getColor(
)
:
Zend_Pdf_Color_Rgb
Get outline text color.
getOptions(
)
:
array
Get outline options
getTarget(
)
:
Zend_Pdf_Target
Get outline target.
getTitle(
)
:
string
Get outline title.
hasChildren(
)
:
bool
Implements RecursiveIterator interface.
isBold(
)
:
boolean
Returns true if outline item is displayed in bold
isItalic(
)
:
boolean
Returns true if outline item is displayed in italic
isOpen(
)
:
boolean
Returns true if outline item is open by default
key(
)
:
integer
Returns current iterator key
next(
)
:
Go to next child
openOutlinesCount(
)
:
integer
Returns number of the total number of open items at all levels of the outline.
rewind(
)
:
Rewind children
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_Action
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
valid(
)
:
boolean
Check if current position is valid