transform
[ class tree: transform ] [ index: transform ] [ all elements ]

Class: Docx2Text

Source Location: /Docx2Text.inc

Class Overview


Docx 2 text


Author(s):

Version:

  • 2012.12.06

Copyright:

  • Copyright (c) 2009-2013 Narcea Producciones Multimedia S.L. (http://www.2mdc.com)

Constants

Methods



Class Details

[line 15]
Docx 2 text



Tags:

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


[ Top ]


Class Methods


constructor __construct [line 158]

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

Construct



Tags:

access:  public


Parameters:

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

[ Top ]

method extract [line 216]

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

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



Tags:

access:  public


Parameters:

string   $filename   of the word document.

[ Top ]

method getDocument [line 251]

void getDocument( )

Getter



Tags:

access:  public


[ Top ]

method getDocx [line 271]

void getDocx( )

Getter



Tags:

access:  public


[ Top ]

method setDocument [line 261]

void setDocument( $docu)

Setter



Tags:

access:  public


Parameters:

   $docu  

[ Top ]

method setDocx [line 281]

void setDocx( $filename)

Setter



Tags:

access:  public


Parameters:

   $filename  

[ Top ]

method writeFile [line 297]

void writeFile( the $filename, the $data)

Write the file



Tags:

access:  public


Parameters:

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

[ Top ]


Class Constants

DEBUG =  0

[line 20]


[ Top ]

SEPARATOR_LINUX =  "\n"

[line 18]


[ Top ]

SEPARATOR_LINUX_DEBUG =  '\n'

[line 22]


[ Top ]

SEPARATOR_TAB =  "\t"

[line 19]


[ Top ]

SEPARATOR_TAB_DEBUG =  '\t'

[line 23]


[ Top ]

SEPARATOR_WINDOWS =  PHP_EOL

[line 17]


[ Top ]

SEPARATOR_WINDOWS_DEBUG =  '\n\r'

[line 21]


[ Top ]



Documentation generated on Mon, 13 Jan 2014 13:44:22 +0100 by phpDocumentor 1.4.4