Class PHPOpenOfficeLib

Description

Recuperare il contenuto di un documento OpenOffice in formato testo.

Recuperare il contenuto di un documento OpenOffice in formato testo.

  • author: Giampaolo Losito, Antonio Di Girolomo
  • copyright:
  • license: GNU

Located in /adapter/helpers/class.openoffice2txt.php (line 24)


	
			
Class Constant Summary
 OPENOFFICEMETA = "meta.xml"
 OPENOFFICEXML = "content.xml"
Variable Summary
string $archive
ZipArchive $zip
Method Summary
void __construct (string $archiveFile)
void __destruct ()
array getMetadata ()
string getMetaFromArray (SimpleXmlElement $metadata, [string $separetor = ' '])
string openoffice2txt (string $archiveFile)
Variables
string $archive = null (line 32)

Documento OpenOffice

Documento OpenOffice

  • access: private
ZipArchive $zip = null (line 38)

Istanza della classe ZipArchive

Istanza della classe ZipArchive

  • access: private
Methods
Constructor __construct (line 46)

Open Document

Open Document

void __construct (string $archiveFile)
  • string $archiveFile
Destructor __destruct (line 162)

Close document

Close document

void __destruct ()
getMetadata (line 102)

Return Metadata from document

Return Metadata from document

  • throws: Helper_Exception
  • access: public
array getMetadata ()
getMetaFromArray (line 143)

Return value from metadatada

Return value from metadatada

  • access: private
string getMetaFromArray (SimpleXmlElement $metadata, [string $separetor = ' '])
  • SimpleXmlElement $metadata
  • string $separetor: [optional]
getTextFromSimpleXmlElement (line 153)
  • access: private
void getTextFromSimpleXmlElement ()
openoffice2txt (line 65)

Convert a ODT into text.

Convert a ODT into text.

  • return: The extracted text from the ODT
  • throws: Helper_Exception
string openoffice2txt (string $archiveFile)
  • string $archiveFile: The archiveFile to extract the data from.
Class Constants
OPENOFFICEMETA = "meta.xml" (line 26)
OPENOFFICEXML = "content.xml" (line 25)

Documentation generated on Fri, 16 Aug 2013 11:37:28 +0200 by phpDocumentor 1.4.0