PHPExcel 1.3.5 released

Just a quick note on the new PHPExcel 1.3.5 release. There are some cool new features included!

One of the new features is rich text: one can now write coloured and styled text in a cell. Here's an example of how the feature demo result file looks:

This is of course not all. Jakub had a couple of sleepless nights, but managed to port in the PEAR Spreadsheet classes. Meaningless? No! PHPExcel now supports Excel2007 and older versions, too. Want to write an Excel document for Excel200? No problem:

[code:c#]

$objWriter = new PHPExcel_Writer_Excel5($objPHPExcel);
$objWriter->save('excel2000file.xls');

[/code]

There's even a cooler part related to this, and that is .xlsx to .xls conversion! Here's how:

[code:c#]

$objReader = new PHPExcel_Reader_Excel2007;
$objPHPExcel = $objReader->load('excel2007file.xlsx');

$objWriter = new PHPExcel_Writer_Excel5($objPHPExcel);
$objWriter->save('excel2000file.xls');

[/code]

As always, you can get the new release on www.phpexcel.net!

This is an imported post. It was imported from my old blog using an automated tool and may contain formatting errors and/or broken images.

Leave a Comment