Pdf/ElementFactory/Interface.php

Show: PublicProtectedPrivateinherited
    Table of Contents
    Zend Framework
    LICENSE This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
    Category
    Zend  
    Copyright
    Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
    License
    New BSD License  
    Package
    Zend_Pdf  
    Version
    $Id$  

    \Zend_Pdf_ElementFactory_Interface

    Package: Zend_Pdf
    PDF element factory interface.
    Responsibility is to log PDF changes
    Copyright
    Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
    License
    New BSD License  

    Methods

    methodpublicattach(\Zend_Pdf_ElementFactory_Interface $factory) : void

    Attach factory to the current;

    Parameters
    NameTypeDescription
    $factory\Zend_Pdf_ElementFactory_Interface
    methodpubliccalculateShift(\Zend_Pdf_ElementFactory_Interface $factory) : integer

    Calculate object enumeration shift.

    Parameters
    NameTypeDescription
    $factory\Zend_Pdf_ElementFactory_Interface
    Returns
    TypeDescription
    integer
    methodpubliccleanEnumerationShiftCache() : integer

    Clean enumeration shift cache.

    Has to be used after PDF render operation to let followed updates be correct.
    Returns
    TypeDescription
    integer
    methodpublicgetEnumerationShift(\Zend_Pdf_ElementFactory_Interface $factory) : integer

    Retrive object enumeration shift.

    Parameters
    NameTypeDescription
    $factory\Zend_Pdf_ElementFactory_Interface
    Returns
    TypeDescription
    integer
    Throws
    ExceptionDescription
    \Zend_Pdf_Exception
    methodpublicgetFactory() : \Zend_Pdf_ElementFactory_Interface

    Get factory

    methodpublicgetId() : integer

    Get factory ID

    Returns
    TypeDescription
    integer
    methodpublicgetObjectCount() : integer

    Get object counter

    Returns
    TypeDescription
    integer
    methodpublicisModified() : boolean

    Check if PDF file was modified

    Returns
    TypeDescription
    boolean
    methodpubliclistModifiedObjects(\Zend_Pdf_ElementFactory $rootFactory = null) : array

    Enumerate modified objects.

    Returns array of Zend_Pdf_UpdateInfoContainer
    Parameters
    NameTypeDescription
    $rootFactory\Zend_Pdf_ElementFactory
    Returns
    TypeDescription
    array
    methodpublicmarkAsModified(\Zend_Pdf_Element_Object $obj) : void

    Mark object as modified in context of current factory.

    Parameters
    NameTypeDescription
    $obj\Zend_Pdf_Element_Object
    Throws
    ExceptionDescription
    \Zend_Pdf_Exception
    methodpublicnewObject(\Zend_Pdf_Element $objectValue) : \Zend_Pdf_Element_Object

    Generate new Zend_Pdf_Element_Object

    Parameters
    NameTypeDescription
    $objectValue\Zend_Pdf_Element
    Returns
    TypeDescription
    \Zend_Pdf_Element_Object
    Details
    Todo
    Reusage of the freed object. It's not a support of new feature, but only improvement.  
    methodpublicnewStreamObject( $streamValue) : \Zend_Pdf_Element_Object_Stream

    Generate new Zend_Pdf_Element_Object_Stream

    Parameters
    NameTypeDescription
    $streamValue
    Returns
    TypeDescription
    \Zend_Pdf_Element_Object_Stream
    Details
    Todo
    Reusage of the freed object. It's not a support of new feature, but only improvement.  
    methodpublicremove(\Zend_Pdf_Element_Object $obj) : void

    Remove object in context of current factory.

    Parameters
    NameTypeDescription
    $obj\Zend_Pdf_Element_Object
    Throws
    ExceptionDescription
    \Zend_Pdf_Exception
    methodpublicresolve() : \Zend_Pdf_ElementFactory

    Get source factory object

    Returns
    TypeDescription
    \Zend_Pdf_ElementFactory
    methodpublicsetObjectCount(integer $objCount) : void

    Set object counter

    Parameters
    NameTypeDescription
    $objCountinteger
    Documentation was generated by phpDocumentor 2.2.0 .