Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Public Member Functions
Zend_Pdf_ElementFactory_Interface Interface Reference
Inheritance diagram for Zend_Pdf_ElementFactory_Interface:
Zend_Pdf_ElementFactory Zend_Pdf_ElementFactory_Proxy

Public Member Functions

 getFactory ()
 
 close ()
 
 resolve ()
 
 getId ()
 
 setObjectCount ($objCount)
 
 getObjectCount ()
 
 attach (Zend_Pdf_ElementFactory_Interface $factory)
 
 calculateShift (Zend_Pdf_ElementFactory_Interface $factory)
 
 cleanEnumerationShiftCache ()
 
 getEnumerationShift (Zend_Pdf_ElementFactory_Interface $factory)
 
 markAsModified (Zend_Pdf_Element_Object $obj)
 
 remove (Zend_Pdf_Element_Object $obj)
 
 newObject (Zend_Pdf_Element $objectValue)
 
 newStreamObject ($streamValue)
 
 listModifiedObjects ($rootFactory=null)
 
 isModified ()
 

Detailed Description

Definition at line 30 of file Interface.php.

Member Function Documentation

◆ attach()

attach ( Zend_Pdf_ElementFactory_Interface  $factory)

Attach factory to the current;

Parameters
Zend_Pdf_ElementFactory_Interface$factory

Implemented in Zend_Pdf_ElementFactory, and Zend_Pdf_ElementFactory_Proxy.

◆ calculateShift()

calculateShift ( Zend_Pdf_ElementFactory_Interface  $factory)

Calculate object enumeration shift.

Parameters
Zend_Pdf_ElementFactory_Interface$factory
Returns
integer

Implemented in Zend_Pdf_ElementFactory, and Zend_Pdf_ElementFactory_Proxy.

◆ cleanEnumerationShiftCache()

cleanEnumerationShiftCache ( )

Clean enumeration shift cache. Has to be used after PDF render operation to let followed updates be correct.

Parameters
Zend_Pdf_ElementFactory_Interface$factory
Returns
integer

Implemented in Zend_Pdf_ElementFactory, and Zend_Pdf_ElementFactory_Proxy.

◆ close()

close ( )

Close factory and clean-up resources

Implemented in Zend_Pdf_ElementFactory, and Zend_Pdf_ElementFactory_Proxy.

◆ getEnumerationShift()

getEnumerationShift ( Zend_Pdf_ElementFactory_Interface  $factory)

Retrive object enumeration shift.

Parameters
Zend_Pdf_ElementFactory_Interface$factory
Returns
integer
Exceptions
Zend_Pdf_Exception

Implemented in Zend_Pdf_ElementFactory, and Zend_Pdf_ElementFactory_Proxy.

◆ getFactory()

getFactory ( )

◆ getId()

getId ( )

Get factory ID

Returns
integer

Implemented in Zend_Pdf_ElementFactory, and Zend_Pdf_ElementFactory_Proxy.

◆ getObjectCount()

getObjectCount ( )

Get object counter

Returns
integer

Implemented in Zend_Pdf_ElementFactory, and Zend_Pdf_ElementFactory_Proxy.

◆ isModified()

isModified ( )

Check if PDF file was modified

Returns
boolean

Implemented in Zend_Pdf_ElementFactory, and Zend_Pdf_ElementFactory_Proxy.

◆ listModifiedObjects()

listModifiedObjects (   $rootFactory = null)

Enumerate modified objects. Returns array of Zend_Pdf_UpdateInfoContainer

Parameters
Zend_Pdf_ElementFactory$rootFactory
Returns
array

Implemented in Zend_Pdf_ElementFactory, and Zend_Pdf_ElementFactory_Proxy.

◆ markAsModified()

markAsModified ( Zend_Pdf_Element_Object  $obj)

Mark object as modified in context of current factory.

Parameters
Zend_Pdf_Element_Object$obj
Exceptions
Zend_Pdf_Exception

Implemented in Zend_Pdf_ElementFactory, and Zend_Pdf_ElementFactory_Proxy.

◆ newObject()

newObject ( Zend_Pdf_Element  $objectValue)

Generate new Zend_Pdf_Element_Object

Todo:
Reusage of the freed object. It's not a support of new feature, but only improvement.
Parameters
Zend_Pdf_Element$objectValue
Returns
Zend_Pdf_Element_Object

Implemented in Zend_Pdf_ElementFactory, and Zend_Pdf_ElementFactory_Proxy.

◆ newStreamObject()

newStreamObject (   $streamValue)

Generate new Zend_Pdf_Element_Object_Stream

Todo:
Reusage of the freed object. It's not a support of new feature, but only improvement.
Parameters
mixed$objectValue
Returns
Zend_Pdf_Element_Object_Stream

Implemented in Zend_Pdf_ElementFactory, and Zend_Pdf_ElementFactory_Proxy.

◆ remove()

remove ( Zend_Pdf_Element_Object  $obj)

Remove object in context of current factory.

Parameters
Zend_Pdf_Element_Object$obj
Exceptions
Zend_Pdf_Exception

Implemented in Zend_Pdf_ElementFactory, and Zend_Pdf_ElementFactory_Proxy.

◆ resolve()

resolve ( )

Get source factory object

Returns
Zend_Pdf_ElementFactory

Implemented in Zend_Pdf_ElementFactory, and Zend_Pdf_ElementFactory_Proxy.

◆ setObjectCount()

setObjectCount (   $objCount)

Set object counter

Parameters
integer$objCount

Implemented in Zend_Pdf_ElementFactory, and Zend_Pdf_ElementFactory_Proxy.


The documentation for this interface was generated from the following file: