Pdf/Element/Reference/Table.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 [email protected] 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
- Version
- $Id$
\Zend_Pdf_Element_Reference_Table
Package: Zend_Pdf





PDF file reference table
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Properties

array $_generationsGeneration numbers for free objects.
Array: objNum => nextGeneration
Details- Type
- array
Methods

addReference(string $ref, integer $offset, boolean $inuse = true) : voidAdd reference to the reference table
Parameters
| Name | Type | Description |
|---|---|---|
| $ref | string | |
| $offset | integer | |
| $inuse | boolean |

getNewGeneration(integer $objNum) : \unknownGet next generation number for free object
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $objNum | integer |
| Type | Description |
|---|---|
| \unknown |

getNextFree(string $ref) : integerGet next object from a list of free objects.
Parameters
Returns
Throws
| Name | Type | Description |
|---|---|---|
| $ref | string |
| Type | Description |
|---|---|
| integer |
| Exception | Description |
|---|---|
| \Zend_Pdf_Exception |

getOffset(string $ref) : integerGet object offset
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $ref | string |
| Type | Description |
|---|---|
| integer |

setParent(\Zend_Pdf_Element_Reference_Table $parent) : voidSet parent reference table
Parameters
| Name | Type | Description |
|---|---|---|
| $parent | \Zend_Pdf_Element_Reference_Table |