API Documentation

Zend/Pdf/Outline/Loaded.php

Show: inherited
Table of Contents

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-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Pdf  
Subpackage
Actions  
Version
$Id: Loaded.php 24594 2012-01-05 21:27:01Z matthew $  

\Zend_Pdf_Outline_Loaded

Package: Zend\Pdf\Outlines

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-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Properties

Propertyprotectedarray  $_originalChildOutlines= 'array()'

original array of child outlines

Default valuearray()Details
Type
array
Propertyprotected\Zend_Pdf_Element_Dictionary|\Zend_Pdf_Element_Object|\Zend_Pdf_Element_Reference  $_outlineDictionary= ''

Outline dictionary object

Methods

methodpublicdump(  $level = 0 ) : void

Parameters
Name Type Description
$level
methodpublicgetColor( ) : \Zend_Pdf_Color_Rgb

Get outline text color.

Returns
Type Description
\Zend_Pdf_Color_Rgb
methodpublicgetTarget( ) : \Zend_Pdf_Target

Get outline target.

Returns
Type Description
\Zend_Pdf_Target
Throws
Exception Description
\Zend_Pdf_Exception
methodpublicgetTitle( ) : string

Get outline title.

Returns
Type Description
string
Throws
Exception Description
\Zend_Pdf_Exception
methodpublicisBold( ) : boolean

Returns true if outline item is displayed in bold

Returns
Type Description
boolean
methodpublicisItalic( ) : boolean

Returns true if outline item is displayed in italic

Returns
Type Description
boolean
methodpublicsetColor( \Zend_Pdf_Color_Rgb $color ) : \Zend_Pdf_Outline

Set outline text color.

(null means default color which is black)

Parameters
Name Type Description
$color \Zend_Pdf_Color_Rgb
Returns
Type Description
\Zend_Pdf_Outline
methodpublicsetIsBold( boolean $isBold ) : \Zend_Pdf_Outline

Sets 'isBold' outline flag

Parameters
Name Type Description
$isBold boolean
Returns
Type Description
\Zend_Pdf_Outline
methodpublicsetIsItalic( boolean $isItalic ) : \Zend_Pdf_Outline

Sets 'isItalic' outline flag

Parameters
Name Type Description
$isItalic boolean
Returns
Type Description
\Zend_Pdf_Outline
methodpublicsetIsOpen( boolean $isOpen ) : \Zend_Pdf_Outline

Sets 'isOpen' outline flag

Parameters
Name Type Description
$isOpen boolean
Returns
Type Description
\Zend_Pdf_Outline
methodpublicsetOptions( array $options ) : \Zend_Pdf_Actions_Traceable

Set outline options

Parameters
Name Type Description
$options array
Returns
Type Description
\Zend_Pdf_Actions_Traceable
Throws
Exception Description
\Zend_Pdf_Exception
methodpublicsetTarget( \Zend_Pdf_Target|string $target = null ) : \Zend_Pdf_Outline

Set outline target.

Null means no target

Parameters
Name Type Description
$target \Zend_Pdf_Target|string
Returns
Type Description
\Zend_Pdf_Outline
Throws
Exception Description
\Zend_Pdf_Exception
methodpublicsetTitle( string $title ) : \Zend_Pdf_Outline

Set outline title

Parameters
Name Type Description
$title string
Returns
Type Description
\Zend_Pdf_Outline
Documentation was generated by DocBlox 0.15.1.