Docx document.
category |
Zend |
package |
Zend_Search_Lucene |
subpackage |
Document |
copyright |
Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
license |
New BSD License |
inherited_from |
\Zend_Search_Lucene_Document_OpenXml |
Methods
Proxy method for getFieldValue(), provides more convenient access to
the string value of a field.
__get(string $offset) : string
Inherited
Parameters
$offset
string
Returns
string
Add a field object to this document.
addField(\Zend_Search_Lucene_Field $field) : \Zend_Search_Lucene_Document
Inherited
Parameters
$field
\Zend_Search_Lucene_Field
Returns
\Zend_Search_Lucene_Document
Returns Zend_Search_Lucene_Field object for a named field in this document.
getField(string $fieldName) : \Zend_Search_Lucene_Field
Inherited
Parameters
$fieldName
string
Returns
\Zend_Search_Lucene_Field
Return an array with the names of the fields in this document.
getFieldNames() : array
Inherited
Returns the string value of a named field in UTF-8 encoding.
getFieldUtf8Value($fieldName) : string
Inherited
Parameters
$fieldName
Returns
string
Returns the string value of a named field in this document.
getFieldValue($fieldName) : string
Inherited
Parameters
$fieldName
Returns
string
Load Docx document from a file
loadDocxFile(string $fileName, boolean $storeContent = false
) : \Zend_Search_Lucene_Document_Docx
Static
Parameters
$fileName
string
$storeContent
boolean
Exceptions
\Zend_Search_Lucene_Document_Exception |
|
Returns
\Zend_Search_Lucene_Document_Docx
Determine absolute zip path
absoluteZipPath(string $path) : string
Inherited
Parameters
$path
string
Returns
string
Object constructor
__construct(string $fileName, boolean $storeContent)
Parameters
$fileName
string
$storeContent
boolean
Exceptions
\Zend_Search_Lucene_Exception |
|
Properties
Field boost factor
It's not stored directly in the index, but affects on normalization factor
$boost : float
Associative array Zend_Search_Lucene_Field objects where the keys to the
array are the names of the fields.
$_fields : array
Constants
Xml Schema - Core properties
SCHEMA_COREPROPERTIES = 'http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties' : string
Xml Schema - Dublin Core
SCHEMA_DUBLINCORE = 'http://purl.org/dc/elements/1.1/' : string
Xml Schema - Dublin Core Terms
SCHEMA_DUBLINCORETERMS = 'http://purl.org/dc/terms/' : string
Xml Schema - Office document
SCHEMA_OFFICEDOCUMENT = 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument' : string
Xml Schema - Relationships
SCHEMA_RELATIONSHIP = 'http://schemas.openxmlformats.org/package/2006/relationships' : string
Xml Schema - WordprocessingML
SCHEMA_WORDPROCESSINGML = 'http://schemas.openxmlformats.org/wordprocessingml/2006/main' : string