I get this error when i try to use your docx lib.
Thats what i write:
<?php
$content=$_POST['content'];
require_once 'docx/classes/CreateDocx.inc';
$docx = new CreateDocx();
$docx->embedHTML($content);
$docx->modifyPageLayout('A4');
$docx->createDocx($_POST['documentname'])
?>
And this is the error what i get:
Fatal error: Call to undefined method CreateDocx::embedHTML() in