Pdf/Element/Object/Stream.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_Element_Object_Stream

Package: Zend_Pdf
PDF file 'stream object' element implementation
Parent(s)
\Zend_Pdf_Element_Object < \Zend_Pdf_Element
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Properties

>VPropertyprivate\Zend_Pdf_Element_Dictionary $_dictionary
StreamObject dictionary Required enries: Length
>VPropertyprivatearray|null $_initialDictionaryData = null
Stored original stream object dictionary.
Used to decode stream at access time. The only properties affecting decoding are sored here.
Default valuenullDetails
Type
array | null
>VPropertyprivateboolean $_streamDecoded
Flag which signals, that stream is decoded
Details
Type
boolean

Methods

methodpublic__call(string $method, array $args) : mixed

Call handler

Parameters
NameTypeDescription
$methodstring
$argsarray
Returns
TypeDescription
mixed
methodpublic__construct(mixed $val, integer $objNum, integer $genNum, \Zend_Pdf_ElementFactory $factory, \Zend_Pdf_Element_Dictionary | null $dictionary = null) : void

Object constructor

Parameters
NameTypeDescription
$valmixed
$objNuminteger
$genNuminteger
$factory\Zend_Pdf_ElementFactory
$dictionary\Zend_Pdf_Element_Dictionary | null
Throws
ExceptionDescription
\Zend_Pdf_Exception
methodpublic__get(string $property) : mixed

Get handler

Parameters
NameTypeDescription
$propertystring
Returns
TypeDescription
mixed
Throws
ExceptionDescription
\Zend_Pdf_Exception
methodpublic__set(string $property, mixed $value) : void

Set handler

Parameters
NameTypeDescription
$propertystring
$valuemixed
methodprivate_decodeStream() : void

Decode stream

Throws
ExceptionDescription
\Zend_Pdf_Exception
methodprivate_encodeStream() : void

Encode stream

Throws
ExceptionDescription
\Zend_Pdf_Exception
methodprivate_extractDictionaryData() : array

Extract dictionary data which are used to store information and to normalize filters information before defiltering.

Returns
TypeDescription
array
methodpubliccleanUp() : void

Clean up resources, used by object

methodpublicdump(\Zend_Pdf_ElementFactory $factory) : string

Dump object to a string to save within PDF file

$factory parameter defines operation context.
Parameters
NameTypeDescription
$factory\Zend_Pdf_ElementFactory
Returns
TypeDescription
string
methodpublicmakeClone(\Zend_Pdf_ElementFactory $factory,  $processed, integer $mode) : void

Detach PDF object from the factory (if applicable), clone it and attach to new factory.

Parameters
NameTypeDescription
$factory\Zend_Pdf_ElementFactory

The factory to attach

$processed
$modeinteger

Cloning mode (defines filter for objects cloning)

Details
Returns
Zend_Pdf_Element  
methodpublicskipFilters() : void

Treat stream data as already encoded

Documentation was generated by phpDocumentor 2.2.0 .