Index
-
\setasign\SetaPDF2
-
Core
- BitConverter
- Canvas
- ColorSpace
- Core
- DataStructure
- Document
- Document
- EmbeddedFileStream
- Encoding
- Exception
- FileSpecification
- Filter
- Font
- Geometry
- IccProfile
- Image
- OutputIntent
- PageBoundaries
- PageFormats
- Parser
- Reader
- Resource
- SecHandler
- Text
- Tokenizer
- TransparencyGroup
- Type
- Writer
- XObject
- Xmp
- Zugferd
-
Core
setasign\SetaPDF2\Core
OutputIntent A class representing an Output Intent dictionary entry
File: /SetaPDF v2/Core/OutputIntent.php
Old class name (alias):
\SetaPDF_Core_OutputIntent
Class hierarchy
Summary
Constants
SUBTYPE_GTS_PDFA1
Predefined output intent subtype
SUBTYPE_GTS_PDFX
Predefined output intent subtype
SUBTYPE_ISO_PDFE1
Predefined output intent subtype
Properties
Static Methods
createByProfile()
Creates an output intent instance.
Parameters
- $subtype : string
- $profile : \SetaPDF_Core_IccProfile_Stream
Methods
__construct()
The constructor.
Parameters
- $dictionary : \SetaPDF_Core_Type_Dictionary
Exceptions
Throws \InvalidArgumentException if
_setTextString()
Set a text stream in the dictionary.
Parameters
- $key : string
- $value : string
- $encoding : string
getDestOutputProfile()
Get the ICC profile stream defining the transformation from the PDF document’s source colours to output device colorants.
getInfo()
Get the human-readable text string containing additional information or comments about the intended target device or production condition.
Parameters
- $encoding : string
getOutputCondition()
Get the text string concisely identifying the intended output device or production condition in human-readable form.
Parameters
- $encoding : string
getOutputConditionIdentifier()
Get the text string identifying the intended output device or production condition in human- or machine-readable form.
Parameters
- $encoding : string
getRegistryName()
Get the registry in which the condition designated by OutputConditionIdentifier is defined.
Parameters
- $encoding : string
setDestOutputProfile()
Set the ICC profile stream defining the transformation from the PDF document’s source colours to output device colorants.
Parameters
- $stream : ?\SetaPDF_Core_IccProfile_Stream
setInfo()
Set the human-readable text string containing additional information or comments about the intended target device or production condition.
Parameters
- $info : ?string
- $encoding : string
setOutputCondition()
string $encoding = 'UTF-8'
Set the text string concisely identifying the intended output device or production condition in human-readable form.
Parameters
- $outputCondition : ?string
- $encoding : string
setOutputConditionIdentifier()
string $encoding = 'UTF-8'
Set the text string identifying the intended output device or production condition in human- or machine-readable form.
Parameters
- $outputConditionIdentifier : ?string
- $encoding : string
setRegistryName()
Set the registry in which the condition designated by OutputConditionIdentifier is defined.
Parameters
- $registryName : ?string
- $encoding : string