SetaPDF_Signer_Signature_Appearance_XObject Class representing a signature appearance based on an existing XObject

File: /SetaPDF/Signer/Signature/Appearance/XObject.php

An XObject could be an image, an extracted page or a fresh unique instance of a Form XObject.

Class hierarchy

Summary

Properties

$_xObject

The XObject that should be placed into the appearance


Methods

__construct()

public SetaPDF_Signer_Signature_Appearance_XObject::__construct ( SetaPDF_Core_XObject $xObject )

The constructor.

Parameters
$xObject : SetaPDF_Core_XObject
 

_getN2XObject()

protected SetaPDF_Core_XObject_Form SetaPDF_Signer_Signature_Appearance_XObject::_getN2XObject ( SetaPDF_Signer_SignatureField $field, SetaPDF_Core_Document $document, SetaPDF_Signer $signer )

Get the n2-layer XObject.

Parameters
$field : SetaPDF_Signer_SignatureField
 
$document : SetaPDF_Core_Document
 
$signer : SetaPDF_Signer
 

cleanUp()

public void SetaPDF_Signer_Signature_Appearance_XObject::cleanUp ( void )

Release memory/cycled references.

createAppearance()

public void SetaPDF_Signer_Signature_Appearance_AbstractAppearance::createAppearance ( SetaPDF_Signer_SignatureField $field, SetaPDF_Core_Document $document, SetaPDF_Signer $signer )

Creates the XObject structure and "layers" (n0 + n2).

Parameters
$field : SetaPDF_Signer_SignatureField
 
$document : SetaPDF_Core_Document
 
$signer : SetaPDF_Signer