CodeIgniter Forums

Full Version: implementation of excel & pdf generation
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[eluser]yogesh_CI[/eluser]
Hi,

Is there any class already for excel, pdf generation in CodeIgniter?
Please let me know any example or reference link for excel, pdf generation in CI.

Thanks

El Forum

[eluser]Thorpe Obazee[/eluser]
look into bambooinvoice. it uses the 2 plugins that you need.

El Forum

[eluser]yogesh_CI[/eluser]
Thanks

Is there any way to integrate php_writeexcel with codeigniter?

El Forum

[eluser]Skuja[/eluser]
bambooinvoice is written on codeigniter

El Forum

[eluser]yogesh_CI[/eluser]
I checked it, but i want to do formatting in excel & it is not done.
e.g. how to set the headers as bold?

El Forum

[eluser]Dam1an[/eluser]
The easiest way would be to generate an excel file without bold, change a single cell to be bold, and then diff the 2 files, you then know what code you need to make it bold
Repeat for all sorts of formating you want

Or... google it, chances are its been done before

El Forum

[eluser]moodsey211[/eluser]
You could use XML. Excel supports XML Spreadsheets. You could easily format it. Not only in excel but also in word too.

heres a link:

Microsoft Office XML formats