Yii Framework Forum: Yiireport - Yii Framework Forum

Jump to content

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

Yiireport Extension for export Spreadsheet and PDF from scratch or templates usi Rate Topic: -----

#1 User is offline   Yeye 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 11
  • Joined: 14-March 12

Posted 25 January 2013 - 12:00 PM

Hi folks.

I was modify the PHPReport class and create this Yii extension.
With this extension is easy use a excel file as template, set data via array, end export the result as an excel file, html or pdf.

Extension:
http://www.yiiframew...sion/yiireport/

Repo:
https://bitbucket.org/upnfm/yiireport

Original class:
https://github.com/vernes/PHPReport
1

#2 User is offline   manoj 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 18
  • Joined: 06-July 09

Posted 29 January 2013 - 02:59 AM

Awesome !!

It is what I need.

Thanks a lot for sharing
0

#3 User is offline   Vernes 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 4
  • Joined: 27-September 12

Posted 02 February 2013 - 01:11 PM

Nice work in bringing PHPReport to yii!
0

#4 User is offline   J. Fornes 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 7
  • Joined: 23-April 13

Posted 07 May 2013 - 02:48 AM

I have problems with large numbers like imeis or bank account numbers to be presented in excel file.
My template has a cell formated as text but when i try to introduce an imei number, excel it converts it to number and so it rounds it or it represents in general format.
I tried to use 'format' for the 'data' but without success.
The only i need is to put this imei as text in the cell instead of a number.
I read it about and this is a PHPexcel problem and all the gurus sugest to do:

->setValueExplicit('1234567890123456', PHPExcel_Cell_DataType::TYPE_STRING);

But i do not know how to do it inside yiireport.
Another solution is to put a excel formula like:

=text(1234567890123456;'000000000000000')
but i do not know how to do it inside yiireport either.

Please, can you help me
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