SetaPDF_Core_Document_Catalog_Names Class for handling Names in a PDF document

File: /SetaPDF/Core/Document/Catalog/Names.php

Class hierarchy

Summary

Constants

ALTERNATE_PRESENTATIONS

const string SetaPDF_Core_Document_Catalog_Names::ALTERNATE_PRESENTATIONS = 'AlternatePresentations'

Name/Category key

AP

Name/Category key

DESTS

Name/Category key

EMBEDDED_FILES

const string SetaPDF_Core_Document_Catalog_Names::EMBEDDED_FILES = 'EmbeddedFiles'

Name/Category key

IDS

Name/Category key

JAVA_SCRIPT

Name/Category key

PAGES

Name/Category key

RENDITIONS

const string SetaPDF_Core_Document_Catalog_Names::RENDITIONS = 'Renditions'

Name/Category key

TEMPLATES

Name/Category key

URLS

Name/Category key


Properties

$_nameTrees

$_namesDictionary


Static Methods

getAvailableCategoryKeys()

Returns all available category keys of possible name trees.


Methods

__construct()

cleanUp()

Release objects to free memory and cycled references.

After calling this method the instance of this object is unusable!

getDocument()

Get the document instance.

getEmbeddedFiles()

getNamesDictionary()

Returns the Names dictionary in the document's catalog.

Parameters
$create : boolean
 

getTree()

public SetaPDF_Core_DataStructure_NameTree|null SetaPDF_Core_Document_Catalog_Names::getTree ( string $name [, boolean $create = false ] )

Get a name tree by its name.

Parameters
$name : string
 
$create : boolean
 

getTrees()

Get all available name trees.

Return Values

Array of SetaPDF_Core_DataStructure_NameTree objects

See