|Last Updated|| ||Ratings|| ||Unique User Downloads|| ||Download Rankings|
|2020-10-12 (6 days ago) ||Not enough user ratings||Total: 133 This week: 87||All time: 9,049 This week: 2|
This class can convert Microsoft Word DOCX document to HTML.
It can take file name of a Microsoft Word DOCX and extract its contents to obtain the XHTML document and image files.
The class can parse the contained XHTML files and process its tags to convert Microsoft Word XHTML tags into regular HTML tags.
Currently it can convert paragraph tags, formatting tags, image tags, link tags and table tags.
This class read a DOCX file and output it to HTML format.
$rt = new WordPHP(true);
$rt = new WordPHP(false); or $rt = new WordPHP();
Set output encoding
$rt = new WordPHP(false, OUTPUT_ENCODING);
Read docx file and returns the html code
$text = $rt->readDocument(FILENAME);
To load images, please create a tmp folder where images can be extracted and saved from the document.
Don't forget to change the permissions in that folder so that the user that runs this class can write the images in it.
||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.