Yii Framework Forum: [Extension] Convert Docx, Xlsx To Html And Pdf To Text - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

[Extension] Convert Docx, Xlsx To Html And Pdf To Text Rate Topic: ***** 1 Votes

#1 User is offline   Anderson Loyola 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 1
  • Joined: 13-January 11

Posted 04 April 2013 - 10:23 AM

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();

Attached File(s)


0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users