Docs For Class Docx2Text

## Class Docx2Text

Description

Docx 2 text

- version: 2012.12.06
- copyright: Copyright (c) 2009-2013 Narcea Producciones Multimedia S.L. (http://www.2mdc.com)
- link: http://www.phpdocx.com
- since: File available since Release 2.6
- license: http://www.phpdocx.com/wp-content/themes/lightword/pro_license.php

Located in /Docx2Text.inc (line 15)

Class Constant Summary
DEBUG = 0
SEPARATOR_LINUX = "\n"
SEPARATOR_LINUX_DEBUG = '\n'
SEPARATOR_TAB = "\t"
SEPARATOR_TAB_DEBUG = '\t'
SEPARATOR_WINDOWS = PHP_EOL
SEPARATOR_WINDOWS_DEBUG = '\n\r'
Method Summary
Docx2Text __construct ([array $boolTransforms = array()])
void extract ([string $filename = ''])
void getDocument ()
void getDocx ()
void setDocument ( $docu)
void setDocx ( $filename)
void writeFile (the $filename, the $data)
Methods
Constructor __construct (line 158)

Construct

- access: public

Docx2Text __construct ([array $boolTransforms = array()])

- array $boolTransforms: of boolean values of which elements should be transformed or not

extract (line 216)

Extract the content of a word document and create a text file if the name is given

- access: public

void extract ([string $filename = ''])

- string $filename: of the word document.

getDocument (line 251)

Getter

- access: public

void getDocument ()
getDocx (line 271)

Getter

- access: public

void getDocx ()
setDocument (line 261)

Setter

- access: public

void setDocument ( $docu)

- $docu

setDocx (line 281)

Setter

- access: public

void setDocx ( $filename)

- $filename

writeFile (line 297)

Write the file

- access: public

void writeFile (the $filename, the $data)

- the $filename: name of the file which is going to write
- the $data: data of the file

Class Constants
DEBUG = 0 (line 20)
SEPARATOR_LINUX = "\n" (line 18)
SEPARATOR_LINUX_DEBUG = '\n' (line 22)
SEPARATOR_TAB = "\t" (line 19)
SEPARATOR_TAB_DEBUG = '\t' (line 23)
SEPARATOR_WINDOWS = PHP_EOL (line 17)
SEPARATOR_WINDOWS_DEBUG = '\n\r' (line 21)

Documentation generated on Tue, 21 May 2013 17:19:53 +0200 by phpDocumentor 1.4.4