SetaPDF_Core_OutputIntent A class representing an Output Intent dictionary entry

File: /SetaPDF/Core/OutputIntent.php

Class hierarchy

Summary

Constants

SUBTYPE_GTS_PDFA1

const string SetaPDF_Core_OutputIntent::SUBTYPE_GTS_PDFA1 = 'GTS_PDFA1'

Predefined output intent subtype

SUBTYPE_GTS_PDFX

const string SetaPDF_Core_OutputIntent::SUBTYPE_GTS_PDFX = 'GTS_PDFX'

Predefined output intent subtype

SUBTYPE_ISO_PDFE1

const string SetaPDF_Core_OutputIntent::SUBTYPE_ISO_PDFE1 = '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

_getTextString()

protected null|string SetaPDF_Core_OutputIntent::_getTextString ( string $key, string $encoding )

Parameters
$key : string
 
$encoding : string
 

_setTextString()

protected void SetaPDF_Core_OutputIntent::_setTextString ( string $key, string $value, string $encoding )

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.

getDictionary()

getInfo()

public null|string SetaPDF_Core_OutputIntent::getInfo ( [ string $encoding = 'UTF-8' ] )

Get the human-readable text string containing additional information or comments about the intended target device or production condition.

Parameters
$encoding : string
 

getOutputCondition()

public null|string SetaPDF_Core_OutputIntent::getOutputCondition ( [ string $encoding = 'UTF-8' ] )

Get the text string concisely identifying the intended output device or production condition in human-readable form.

Parameters
$encoding : string
 

getOutputConditionIdentifier()

public null|string SetaPDF_Core_OutputIntent::getOutputConditionIdentifier ( [ string $encoding = 'UTF-8' ] )

Get the text string identifying the intended output device or production condition in human- or machine-readable form.

Parameters
$encoding : string
 

getRegistryName()

public null|string SetaPDF_Core_OutputIntent::getRegistryName ( [ string $encoding = 'UTF-8' ] )

Get the registry in which the condition designated by OutputConditionIdentifier is defined.

Parameters
$encoding : string
 

getSubtype()

public mixed SetaPDF_Core_OutputIntent::getSubtype ( void )

Get the subtype.

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()

public void SetaPDF_Core_OutputIntent::setInfo ( string|null $info [, string $encoding = 'UTF-8' ] )

Set the human-readable text string containing additional information or comments about the intended target device or production condition.

Parameters
$info : string|null
 
$encoding : string
 

setOutputCondition()

public void SetaPDF_Core_OutputIntent::setOutputCondition ( string|null $outputCondition [, string $encoding = 'UTF-8' ] )

Set the text string concisely identifying the intended output device or production condition in human-readable form.

Parameters
$outputCondition : string|null
 
$encoding : string
 

setOutputConditionIdentifier()

public void SetaPDF_Core_OutputIntent::setOutputConditionIdentifier ( string|null $outputConditionIdentifier [, 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|null
 
$encoding : string
 

setRegistryName()

public void SetaPDF_Core_OutputIntent::setRegistryName ( string|null $registryName [, string $encoding = 'UTF-8' ] )

Set the registry in which the condition designated by OutputConditionIdentifier is defined.

Parameters
$registryName : string|null
 
$encoding : string
 

setSubtype()

public void SetaPDF_Core_OutputIntent::setSubtype ( string $subtype )

Set the subtype.

Parameters
$subtype : string