Extension convert DOCX and XLSX to HTML and PDF to Text
Based to PostOffice WordPress
Installation
Download and install YiiOffice extension.
Download and Unzip YiiOffice, then copy yiioffice directory to protected/vendors.
Set the folder permission extract
Add YiiOffice to imports:
…
‘import’=>array(
...
'application.vendors.yiioffice.YiiOffice',
...
),
Usage
$debug = true;
$yiiOffice = new YiiOffice($tempFile,$debug);
echo $yiiOffice->getHtml();
martinpas
(Martinfpas)
2
There is an error inside the function UnzipAll in the line
"foreach ($lista as $fileName => $trash) {"
Please post how should be placed in controller and view