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.
PDF outline representation class

boolean
$_bold= 'false'
True if outline item is displayed in bold.
Default value is false.
false
Details
\Zend_Pdf_Color_Rgb
$_color= 'null'
Color to be used for the outline entry’s text.
It uses the DeviceRGB color space for color representation. Null means default value - black ([0.0 0.0 0.0] in RGB representation).
null
Details
boolean
$_italic= 'false'
True if outline item is displayed in italic.
Default value is false.
false
Details
\Zend_Pdf_Destination|\Zend_Pdf_Action
$_target= 'null'
Target destination or action.
String means named destination
Null means no target.
null
Details

getColor(
)
:
\Zend_Pdf_Color_Rgb
Get outline text color.
Type | Description |
---|---|
\Zend_Pdf_Color_Rgb |

isBold(
)
:
boolean
Returns true if outline item is displayed in bold
Type | Description |
---|---|
boolean |

isItalic(
)
:
boolean
Returns true if outline item is displayed in italic
Type | Description |
---|---|
boolean |

setColor(
\Zend_Pdf_Color_Rgb $color
)
:
\Zend_Pdf_Outline
Set outline text color.
(null means default color which is black)
Name | Type | Description |
---|---|---|
$color | \Zend_Pdf_Color_Rgb |
Type | Description |
---|---|
\Zend_Pdf_Outline |

setTarget(
\Zend_Pdf_Target|string $target
=
null
)
:
\Zend_Pdf_Outline
Set outline target.
Null means no target
Name | Type | Description |
---|---|---|
$target | \Zend_Pdf_Target|string |
Type | Description |
---|---|
\Zend_Pdf_Outline |
Exception | Description |
---|---|
\Zend_Pdf_Exception |