Hello,
You need to instanciate TransformDocAdv.inv class and invoke transformDocument method. You just need to set the correct output as:
transformDocument('document.docx', 'document.html')
Please read included phpdoc:
/**
* Transform DOCX to PDF, ODT, SXW, RTF, DOC, TXT, HTML or WIKI
*
* @access public
* @param $docSource
* @param $docDestination
* @param string $tempDir
* @param array $options :
* · method : 'direct' (default), 'script' ; 'direct' method uses
* passthru and 'script' uses a external script.
* If you're using Apache and 'direct' doesn't work use 'script'
* · 'odfconverter' : true (default) or false . Use odf-converter.
* @return void
*/
Regards.