SetaPDF_Core_Document_OptionalContent_Group_Usage A helper class for an optional content group object to manage the usage dictionary

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

Class hierarchy

Summary

Properties

$_group

protected SetaPDF_Core_Document_OptionalContent_Group SetaPDF_Core_Document_OptionalContent_Group_Usage::$_group

The optional content group object


Methods

_getState()

Get a state by name.

Parameters
$name : string
 

_setState()

protected SetaPDF_Core_Document_OptionalContent_Group_Usage::_setState (
string $name, string $state
): void

Set a state by name.

Parameters
$name : string
 
$state : string
 

cleanUp()

Release resources / cycled references.

getDictionary()

Gets and/or creates the usage dictionary.

Method is normally only used internally.

Parameters
$create : boolean
 

getExportState()

Get the export state.

See
  • PDF 32000-1:2008 - 8.11.4.4 Usage and Usage Application Dictionaries

getPrintState()

Get the print state.

See
  • PDF 32000-1:2008 - 8.11.4.4 Usage and Usage Application Dictionaries

getViewState()

Get the view state.

See
  • PDF 32000-1:2008 - 8.11.4.4 Usage and Usage Application Dictionaries

setExportState()

Set the export state.

Parameters
$state : string|false
 
See
  • PDF 32000-1:2008 - 8.11.4.4 Usage and Usage Application Dictionaries

setPrintState()

Set the print state.

Parameters
$state : string|false
 
See
  • PDF 32000-1:2008 - 8.11.4.4 Usage and Usage Application Dictionaries

setViewState()

Set the view state.

Parameters
$state : string|false
 
See
  • PDF 32000-1:2008 - 8.11.4.4 Usage and Usage Application Dictionaries