\Pop\Pdf\Build\ObjectInfoObject

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\Object\AbstractObject

Set whether the object is imported

Parameters

boolean $imported

Returns

\Pop\Pdf\Build\Object\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

parse()

parse(string  $stream) : \Pop\Pdf\Build\Object\InfoObject

Parse a info object from a string

Parameters

string $stream

Returns

\Pop\Pdf\Build\Object\InfoObject