AbstractObject
in package
implements
ObjectInterface
AbstractYes
Pdf abstract object class
Tags
Table of Contents
Interfaces
- ObjectInterface
- Pdf object interface
Properties
- $data : string|null
- PDF object data
- $index : int|null
- PDF object index
- $isImported : bool
- Imported flag
Methods
- __toString() : string
- Method to print the object
- getData() : string|null
- Get the object stream
- getDictionaryReferences() : array<string|int, mixed>
- Get the integer references within a dictionary stream
- getIndex() : int|null
- Get the object index
- isImported() : bool
- Determine if the object is imported
- setData() : AbstractObject
- Set the object data
- setImported() : AbstractObject
- Set whether the object is imported
- setIndex() : AbstractObject
- Set the object index
Properties
$data
PDF object data
protected
string|null
$data
= null
$index
PDF object index
protected
int|null
$index
= null
$isImported
Imported flag
protected
bool
$isImported
= false
Methods
__toString()
Method to print the object
public
abstract __toString() : string
Return values
stringgetData()
Get the object stream
public
getData() : string|null
Return values
string|nullgetDictionaryReferences()
Get the integer references within a dictionary stream
public
getDictionaryReferences(string $dictionary) : array<string|int, mixed>
Parameters
- $dictionary : string
Return values
array<string|int, mixed>getIndex()
Get the object index
public
getIndex() : int|null
Return values
int|nullisImported()
Determine if the object is imported
public
isImported() : bool
Return values
boolsetData()
Set the object data
public
setData(string $data) : AbstractObject
Parameters
- $data : string
Return values
AbstractObjectsetImported()
Set whether the object is imported
public
setImported(bool $imported) : AbstractObject
Parameters
- $imported : bool
Return values
AbstractObjectsetIndex()
Set the object index
public
setIndex(int $i) : AbstractObject
Parameters
- $i : int