Welcome Guest, Not a member yet? Register   Sign In
implementation of excel & pdf generation


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.


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


Is there any way to integrate php_writeexcel with codeigniter?

bambooinvoice is written on codeigniter

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

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

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

Theme © iAndrew 2016 - Forum software by © MyBB