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.
Pptx document.
string
SCHEMA_PRESENTATIONML
= 'http://schemas.openxmlformats.org/presentationml/2006/main'
Xml Schema - PresentationML
string
SCHEMA_DRAWINGML
= 'http://schemas.openxmlformats.org/drawingml/2006/main'
Xml Schema - DrawingML
string
SCHEMA_SLIDERELATION
= 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/slide'
Xml Schema - Slide relation

__construct(
string $fileName, boolean $storeContent
)
:
void
Object constructor
Name | Type | Description |
---|---|---|
$fileName | string | |
$storeContent | boolean |
Exception | Description |
---|---|
\Zend_Search_Lucene_Exception |

__get(
string $offset
)
:
string
Proxy method for getFieldValue(), provides more convenient access to the string value of a field.
Inherited from: \Zend_Search_Lucene_Document::__get()Name | Type | Description |
---|---|---|
$offset | string |
Type | Description |
---|---|
string |

absoluteZipPath(
string $path
)
:
string
Determine absolute zip path
Inherited from: \Zend_Search_Lucene_Document_OpenXml::absoluteZipPath()Name | Type | Description |
---|---|---|
$path | string |
Type | Description |
---|---|
string |

addField(
\Zend_Search_Lucene_Field $field
)
:
\Zend_Search_Lucene_Document
Add a field object to this document.
Inherited from: \Zend_Search_Lucene_Document::addField()Name | Type | Description |
---|---|---|
$field | \Zend_Search_Lucene_Field |
Type | Description |
---|---|
\Zend_Search_Lucene_Document |

extractMetaData(
\ZipArchive $package
)
:
array
Extract metadata from document
Inherited from: \Zend_Search_Lucene_Document_OpenXml::extractMetaData()Name | Type | Description |
---|---|---|
$package | \ZipArchive | ZipArchive OpenXML package |
Type | Description |
---|---|
array | Key-value pairs containing document meta data |

getField(
string $fieldName
)
:
\Zend_Search_Lucene_Field
Returns Zend_Search_Lucene_Field object for a named field in this document.
Inherited from: \Zend_Search_Lucene_Document::getField()Name | Type | Description |
---|---|---|
$fieldName | string |
Type | Description |
---|---|
\Zend_Search_Lucene_Field |

getFieldNames(
)
:
array
Return an array with the names of the fields in this document.
Inherited from: \Zend_Search_Lucene_Document::getFieldNames()Type | Description |
---|---|
array |

getFieldUtf8Value(
$fieldName
)
:
string
Returns the string value of a named field in UTF-8 encoding.
Inherited from: \Zend_Search_Lucene_Document::getFieldUtf8Value()Name | Type | Description |
---|---|---|
$fieldName |
Type | Description |
---|---|
string |

getFieldValue(
$fieldName
)
:
string
Returns the string value of a named field in this document.
Inherited from: \Zend_Search_Lucene_Document::getFieldValue()Name | Type | Description |
---|---|---|
$fieldName |
Type | Description |
---|---|
string |

loadPptxFile(
string $fileName, boolean $storeContent
=
false
)
:
\Zend_Search_Lucene_Document_Pptx
Load Pptx document from a file
Name | Type | Description |
---|---|---|
$fileName | string | |
$storeContent | boolean |
Type | Description |
---|---|
\Zend_Search_Lucene_Document_Pptx |