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
__construct()
The constructor .
Parameters
_setState()
protected SetaPDF_Core_Document_OptionalContent_Group_Usage::_setState (
string $name, string $state
): voidSet a state by name.
Parameters
- $name : string
- $state : string
getDictionary()
public SetaPDF_Core_Document_OptionalContent_Group_Usage::getDictionary (
[ boolean $create = false ]
): null|SetaPDF_Core_Type_DictionaryGets 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()
public SetaPDF_Core_Document_OptionalContent_Group_Usage::setExportState (
[ string|false $state = SetaPDF_Core_Document_Catalog_OptionalContent::STATE_ON ]
): voidSet the export state.
Parameters
- $state : string|false
See
- PDF 32000-1:2008 - 8.11.4.4 Usage and Usage Application Dictionaries
setPrintState()
public SetaPDF_Core_Document_OptionalContent_Group_Usage::setPrintState (
[ string|false $state = SetaPDF_Core_Document_Catalog_OptionalContent::STATE_ON ]
): voidSet the print state.
Parameters
- $state : string|false
See
- PDF 32000-1:2008 - 8.11.4.4 Usage and Usage Application Dictionaries
setViewState()
public SetaPDF_Core_Document_OptionalContent_Group_Usage::setViewState (
[ string|false $state = SetaPDF_Core_Document_Catalog_OptionalContent::STATE_ON ]
): voidSet the view state.
Parameters
- $state : string|false
See
- PDF 32000-1:2008 - 8.11.4.4 Usage and Usage Application Dictionaries