\Pop\Pdf\Build\PdfObjectInfoObject

Pdf info object class

Summary

Methods
Properties
Constants
setIndex()
setData()
setImported()
getIndex()
getData()
isImported()
getDictionaryReferences()
__toString()
__construct()
parse()
setMetadata()
getMetadata()
No public properties found
No constants found
No protected methods found
$index
$data
$isImported
$metadata
N/A
No private methods found
No private properties found
N/A

Properties

$index

$index : integer

PDF info object index

Type

integer

$data

$data : string

PDF object data

Type

string

$isImported

$isImported : string

Imported flag

Type

string

Methods

setImported()

setImported(boolean  $imported) : \Pop\Pdf\Build\PdfObject\AbstractObject

Set whether the object is imported

Parameters

boolean $imported

Returns

\Pop\Pdf\Build\PdfObject\AbstractObject

getIndex()

getIndex() : integer

Get the object index

Returns

integer

getData()

getData() : string

Get the object stream

Returns

string

isImported()

isImported() : boolean

Determine if the object is imported

Returns

boolean

getDictionaryReferences()

getDictionaryReferences(string  $dictionary) : array

Get the integer references within a dictionary stream

Parameters

string $dictionary

Returns

array

__toString()

__toString() : string

Method to print the PDF info object.

Returns

string

__construct()

__construct(integer  $index = 3, \Pop\Pdf\Document\Metadata  $metadata = null) 

Constructor

Instantiate a PDF info object.

Parameters

integer $index
\Pop\Pdf\Document\Metadata $metadata