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.
PDF string parser
Zend_Pdf_Element_Reference_Context $_context = 'null'Current reference context
Detailsarray $_elements = 'array'Array of elements of the currently parsed object/trailer
DetailsZend_Pdf_ElementFactory_Interface $_objFactory = 'null'PDF objects factory.
Detailsstring $data = ''Source PDF
Detailsinteger $offset = '0'Current position in a data
Details__construct(
$source, Zend_Pdf_ElementFactory_Interface $factory
)
:
Object constructor
Note: PHP duplicates string, which is sent by value, only of it's updated. Thus we don't need to care about overhead
Details_readArray(
)
:
Zend_Pdf_Element_ArrayRead array PDF object Also reads trailing ']' from a pdf stream
Details_readBinaryString(
)
:
Zend_Pdf_Element_String_BinaryRead binary string PDF object Also reads trailing '>' from a pdf stream
Details_readDictionary(
)
:
Zend_Pdf_Element_DictionaryRead dictionary PDF object Also reads trailing '>>' from a pdf stream
Details_readNumeric(
string $nextLexeme
=
null
)
:
Zend_Pdf_Element_NumericRead numeric PDF object
Details_readReference(
string $nextLexeme
=
null
)
:
Zend_Pdf_Element_ReferenceRead reference PDF object
Details_readString(
)
:
Zend_Pdf_Element_StringRead string PDF object Also reads trailing ')' from a pdf stream
DetailscleanUp(
)
:
Clean up resources.
Clear current state to remove cyclic object references
DetailsgetLength(
)
:
integerGet length of source string
DetailsgetObject(
integer $offset, Zend_Pdf_Element_Reference_Context $context
)
:
Zend_Pdf_Element_ObjectRead inderect object from a PDF stream
DetailsgetString(
)
:
stringGet source string
DetailsisDelimiter(
integer $chCode
)
:
booleanCharacter with code $chCode is a delimiter character
DetailsisWhiteSpace(
integer $chCode
)
:
booleanCharacter with code $chCode is white space
DetailsparseIntFromStream(
string $stream, integer $offset, integer $size
)
:
integerParse integer value from a binary stream
DetailsreadComment(
)
:
stringRead comment line
DetailsreadElement(
$nextLexeme
=
null
)
:
Zend_Pdf_ElementRead elemental object from a PDF stream
DetailsreadLexeme(
)
:
stringReturns next lexeme from a pdf stream
DetailssetContext(
Zend_Pdf_Element_Reference_Context $context
)
:
Set current context
DetailsskipComment(
)
:
Skip comment
DetailsskipWhiteSpace(
boolean $skipComment
=
true
)
:
Skip white space
Details