SetaPDF_Core_Document_Catalog_Outlines Class for handling a documents outline
File: /SetaPDF v2/Core/Document/Catalog/Outlines.php
Class hierarchy
Implements
Summary
Properties
Methods
__construct()
The constructor.
Parameters
- $catalog : SetaPDF_Core_Document_Catalog
appendChild()
Append an item to the outline.
Parameters
- $item : SetaPDF_Core_Document_OutlinesItem
The outline item that should be appended
Exceptions
Throws SetaPDF_Core_SecHandler_Exception
Throws SetaPDF_Core_Type_Exception
appendChildCopy()
Append a copy of an item or outline to this outline.
Parameters
- $item : SetaPDF_Core_Document_OutlinesItem|SetaPDF_Core_Document_Catalog_Outlines
The item or root outlines dictionary
Exceptions
Throws SetaPDF_Core_SecHandler_Exception
Throws SetaPDF_Core_Type_Exception
getFirstItem()
Get an item instance of the item referenced in the 'First' key.
Return Values
The first item of the outlines root dictionary or false if no item is set.
Exceptions
Throws SetaPDF_Core_SecHandler_Exception
Throws SetaPDF_Core_Type_Exception
getIterator()
Get the iterator reference for the outlines.
Return Values
A reference to the iterator
Exceptions
Throws SetaPDF_Core_SecHandler_Exception
Throws SetaPDF_Core_Type_Exception
See
getLastItem()
Get an item instance of the item referenced in the 'Last' key.
Return Values
The last item of the outlines root dictionary or false if no item is set.
Exceptions
Throws SetaPDF_Core_Type_Exception
offsetExists()
Checks if an item exists at a specific position.
Parameters
- $offset : string|integer
Exceptions
Throws SetaPDF_Core_SecHandler_Exception
Throws SetaPDF_Core_Type_Exception
See
offsetGet()
Get an item by a specific position.
Parameters
- $offset : string|integer
Exceptions
Throws SetaPDF_Core_SecHandler_Exception
Throws SetaPDF_Core_Type_Exception
See
offsetSet()
Set an item at a specific position.
Parameters
- $offset : null|string|integer
- $value : SetaPDF_Core_Document_OutlinesItem
Exceptions
Throws SetaPDF_Core_SecHandler_Exception
Throws SetaPDF_Core_Type_Exception
See
offsetUnset()
Removes an item at a specific position.
Parameters
- $offset : string|integer
Exceptions
Throws SetaPDF_Core_SecHandler_Exception
Throws SetaPDF_Core_Type_Exception