public static function loadDocxFile($fileName, $storeContent = false) 
    {
        if (!is_readable($fileName)) {
            include_once 'Zend/Search/Lucene/Document/Exception.php';
            throw new Zend_Search_Lucene_Document_Exception('Provided file \'' . $fileName . '\' is not readable.');
        }

        return new Zend_Search_Lucene_Document_Docx($fileName, $storeContent);
    }
public static function loadDocxFile($fileName, $storeContent = false) 
    {
        if (!is_readable($fileName)) {
            include_once 'Zend/Search/Lucene/Document/Exception.php';
            throw new Zend_Search_Lucene_Document_Exception('Provided file \'' . $fileName . '\' is not readable.');
        }

        return new Zend_Search_Lucene_Document_Docx($fileName, $storeContent);
    }
public static function loadDocxFile ( $ fileName , $ storeContent = false ) { if ( ! is_readable ( $ fileName ) ) { include_once 'Zend/Search/Lucene/Document/Exception.php' ; throw new Zend_Search_Lucene_Document_Exception ( 'Provided file \'' . $ fileName . '\' is not readable.' ) ; } return new Zend_Search_Lucene_Document_Docx ( $ fileName , $ storeContent ) ; }
Load Docx document from a file

@param  string  $fileName
@param  boolean $storeContent
@return Zend_Search_Lucene_Document_Docx
@throws Zend_Search_Lucene_Document_Exception
Load Docx document from a file