Simple PHP script which take HTML code and transform it into OpenXML Code. (for Docx)
This is the very first version. I coded this because i wanted to put text from a WYSIWYG editor into a .docx document.
For now it can deals with :
Load the script .../HTMLtoOpenXML.php';
Then if your html code is in the variable $html, use this function:
HTMLtoOpenXML::getInstance()->fromHTML($article)
You will obtain a string formated in OpenXML.