PDF string parser
package | Zend_Pdf |
---|---|
copyright | Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
license | New BSD License |
__construct($source, \Zend_Pdf_ElementFactory_Interface $factory)
Note: PHP duplicates string, which is sent by value, only of it's updated. Thus we don't need to care about overhead
\Zend_Pdf_ElementFactory_Interface
cleanUp()
Clear current state to remove cyclic object references
getLength() : integer
integer
getObject(integer $offset, \Zend_Pdf_Element_Reference_Context $context) : \Zend_Pdf_Element_Object
integer
\Zend_Pdf_Element_Reference_Context
\Zend_Pdf_Element_Object
getString() : string
string
isDelimiter(integer $chCode) : boolean
integer
boolean
isWhiteSpace(integer $chCode) : boolean
integer
boolean
parseIntFromStream(string $stream, integer $offset, integer $size) : integer
string
integer
integer
integer
readComment() : string
string
readElement($nextLexeme = null
) : \Zend_Pdf_Element
\Zend_Pdf_Exception |
---|
\Zend_Pdf_Element
readLexeme() : string
string
setContext(\Zend_Pdf_Element_Reference_Context $context)
\Zend_Pdf_Element_Reference_Context
skipComment()
skipWhiteSpace(boolean $skipComment = true
)
boolean
_readArray() : \Zend_Pdf_Element_Array
\Zend_Pdf_Exception |
---|
\Zend_Pdf_Element_Array
_readBinaryString() : \Zend_Pdf_Element_String_Binary
\Zend_Pdf_Exception |
---|
\Zend_Pdf_Element_String_Binary
_readDictionary() : \Zend_Pdf_Element_Dictionary
\Zend_Pdf_Exception |
---|
\Zend_Pdf_Element_Dictionary
_readNumeric(string $nextLexeme = null
) : \Zend_Pdf_Element_Numeric
string
\Zend_Pdf_Element_Numeric
_readReference(string $nextLexeme = null
) : \Zend_Pdf_Element_Reference
string
\Zend_Pdf_Element_Reference
_readString() : \Zend_Pdf_Element_String
\Zend_Pdf_Exception |
---|
\Zend_Pdf_Element_String
$data : string
''
$offset : integer
0
$_context : \Zend_Pdf_Element_Reference_Context
null
$_elements : array
array()
$_objFactory : \Zend_Pdf_ElementFactory_Interface
null