SetaPDF_Core_Document_OptionalContent_Group An optional content group

File: /SetaPDF v2/Core/Document/OptionalContent/Group.php

Class hierarchy

Implements

Summary

Constants

TYPE_COLOR_SPACE

public const string SetaPDF_Core_Resource::TYPE_COLOR_SPACE = 'ColorSpace'

Type constant

TYPE_EXT_G_STATE

public const string SetaPDF_Core_Resource::TYPE_EXT_G_STATE = 'ExtGState'

Type constant

TYPE_FONT

public const string SetaPDF_Core_Resource::TYPE_FONT = 'Font'

Type constant

TYPE_PATTERN

public const string SetaPDF_Core_Resource::TYPE_PATTERN = 'Pattern'

Type constant

TYPE_PROC_SET

public const string SetaPDF_Core_Resource::TYPE_PROC_SET = 'ProcSet'

Type constant

TYPE_PROPERTIES

public const string SetaPDF_Core_Resource::TYPE_PROPERTIES = 'Properties'

Type constant

TYPE_SHADING

public const string SetaPDF_Core_Resource::TYPE_SHADING = 'Shading'

Type constant

TYPE_X_OBJECT

public const string SetaPDF_Core_Resource::TYPE_X_OBJECT = 'XObject'

Type constant


Properties

$_dictionary


Static Methods

createOCGDictionary()

public static SetaPDF_Core_Document_OptionalContent_Group::createOCGDictionary (
string $name [, string $encoding = 'UTF-8' ]
): SetaPDF_Core_Type_Dictionary

Creates an optional content group dictionary.

Parameters
$name : string
 
$encoding : string
 

Methods

cleanUp()

Release memory / cycled references.

getDictionary()

Get the dictionary of the optional content group.

getIndirectObject()

getName()

public SetaPDF_Core_Document_OptionalContent_Group::getName (
[ string $encoding = 'UTF-8' ]
): string

Get the name of the optional content group.

Parameters
$encoding : string
 
Exceptions

Throws SetaPDF_Core_Type_Exception

getResourceType()

Get the resource type for optional content groups.

See

setName()

public SetaPDF_Core_Document_OptionalContent_Group::setName (
string $name [, string $encoding = 'UTF-8' ]
): void

Set the name of the optional content group.

Parameters
$name : string
 
$encoding : string
 
Exceptions

Throws SetaPDF_Core_Type_Exception