|Ratings|| ||Unique User Downloads|| ||Download Rankings|
| 57%||Total: 5,802 This week: 1||All time: 401 This week: 349|
This class can convert DOCX, DOC, PDF files to plain text.
It can read files in either Microsoft Word DOCX and DOC formats or PDF and parse the files to extract text they contain.
The text extracted from the documents is returned as a plain text string.
Prize: One copy of VS.PHP
|File formats like Microsoft Word DOC or PDF are used to create documents that may contain text and other types of document elements.
Parsing and extracting the document elements from files in those formats, usually is not a trivial task. However, if you just want to extract the text in the document, simpler approaches may be used.
This class can extract text from PDF document files as well Microsoft Word files, including the older versions that use a binary file format.
$docObj = new Filetotext("test.docx");
//$docObj = new Filetotext("test.pdf");
$return = $docObj->convertToText();
var_dump( $return ) ;
||Applications that use this package
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.