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 $_generations
Generation numbers for free objects.
Array: objNum => nextGeneration
Details- Type
- array
Methods
addReference(string $ref, integer $offset, boolean $inuse = true) : void
Add reference to the reference table
Parameters
Name | Type | Description |
---|---|---|
$ref | string | |
$offset | integer | |
$inuse | boolean |
getNewGeneration(integer $objNum) : \unknown
Get next generation number for free object
Parameters
Returns
Name | Type | Description |
---|---|---|
$objNum | integer |
Type | Description |
---|---|
\unknown |
getNextFree(string $ref) : integer
Get 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) : integer
Get object offset
Parameters
Returns
Name | Type | Description |
---|---|---|
$ref | string |
Type | Description |
---|---|
integer |
setParent(\Zend_Pdf_Element_Reference_Table $parent) : void
Set parent reference table
Parameters
Name | Type | Description |
---|---|---|
$parent | \Zend_Pdf_Element_Reference_Table |