Pdf/Outline/Created.php
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-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Pdf
- Subpackage
- Actions
- Version
- $Id$
\Zend_Pdf_Outline_Created
Package: Zend_Pdf\Outlines






Returns



Returns
Throws

PDF outline representation class
- Parent(s)
- \Zend_Pdf_Outline
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Todo
- Implement an ability to associate an outline item with a structure element (PDF 1.3 feature)
Properties

boolean $_bold = falseTrue if outline item is displayed in bold.
Default value is false.
Default valuefalseDetails- Type
- boolean

\Zend_Pdf_Color_Rgb $_color = nullColor 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).
Default valuenullDetails
boolean $_italic = falseTrue if outline item is displayed in italic.
Default value is false.
Default valuefalseDetails- Type
- boolean

\Zend_Pdf_Destination|\Zend_Pdf_Action $_target = nullTarget destination or action.
String means named destination
Null means no target.
Default valuenullDetailsMethods

__construct(array $options = array()) : voidObject constructor
Parameters
Throws
| Name | Type | Description |
|---|---|---|
| $options | array |
| Exception | Description |
|---|---|
| \Zend_Pdf_Exception |

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

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

setIsBold(boolean $isBold) : \Zend_Pdf_OutlineSets 'isBold' outline flag
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $isBold | boolean |
| Type | Description |
|---|---|
| \Zend_Pdf_Outline |

setIsItalic(boolean $isItalic) : \Zend_Pdf_OutlineSets 'isItalic' outline flag
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $isItalic | boolean |
| Type | Description |
|---|---|
| \Zend_Pdf_Outline |

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

setTitle(string $title) : \Zend_Pdf_OutlineSet outline title
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $title | string |
| Type | Description |
|---|---|
| \Zend_Pdf_Outline |