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-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Pdf
- Subpackage
- Actions
- Version
- $Id: Created.php 24593 2012-01-05 20:35:02Z matthew $
\Zend_Pdf_Outline_Created
Package: Zend\Pdf\OutlinesPDF outline representation class
- Parent(s)
- \Zend_Pdf_Outline
- Copyright
- Copyright (c) 2005-2012 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



\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).
Default valuenull
Details- Type
- \Zend_Pdf_Color_Rgb
Methods



create( $param1, $param2 = null) : \Zend_Pdf_Outline
It provides two forms of input parameters:
- Zend_Pdf_Outline::create(string $title[, Zend_Pdf_Target $target])
- Zend_Pdf_Outline::create(array $options)
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
ParametersName | Type | Description |
---|
$param1 | | |
---|
$param2 | | |
---|
ReturnsThrows


setIsBold(boolean $isBold) : \Zend_Pdf_Outline
Sets 'isBold' outline flag
ParametersName | Type | Description |
---|
$isBold | boolean | |
---|
Returns 


setIsItalic(boolean $isItalic) : \Zend_Pdf_Outline
Sets 'isItalic' outline flag
ParametersName | Type | Description |
---|
$isItalic | boolean | |
---|
Returns