I hope you have found the solution.
In the start we also faced similar problem but this fixed teh issue.
in config/main.php in 'import'
'application.modules.phpdocx.classes.*',
'application.modules.phpdocx.lib.*',
'application.modules.phpdocx.lib.dompdfParser.*',
'application.modules.phpdocx.lib.fpdf-tpl.*',
'application.modules.phpdocx.lib.fpdi.*',
'application.modules.phpdocx.lib.log4php.*',
'application.modules.phpdocx.lib.log4php.appenders.*',
'application.modules.phpdocx.lib.log4php.configurators.*',
'application.modules.phpdocx.lib.log4php.filters.*',
'application.modules.phpdocx.lib.log4php.helpers.*',
'application.modules.phpdocx.lib.log4php.layouts.*',
'application.modules.phpdocx.lib.log4php.pattern.*',
'application.modules.phpdocx.lib.log4php.renderers.*',
and use following code where you create new CreateDocx or other PhpDocx object
require_once '/path-to-phpdocx/classes/AutoLoader.inc';
spl_autoload_unregister(array('YiiBase','autoload'));
AutoLoader::load();
spl_autoload_register(array('YiiBase','autoload'));
Or
require_once '/path-to-phpdocx/classes/AutoLoader.inc';
Yii::registerAutoloader(array("AutoLoader", "load"));