Jeanneret Cédric - 2007-06-07 13:17:08
Hello!
First, thanks a lot for this class.
Then, I had to add some support for this, such as colspan and background color.
to do that, just edit class file, and modify function "writeCol()" in such manner :
function writeCol($value='', $options='')
{
if($this->state!="OPENED")
{
$this->error="Error : Please open the file.";
return false;
}
fwrite($this->fp,"<td class=xl24 width=64 $options>$value</td>");
}
It allows you to:
1- insert null values (for an empty line/case for example)
2- use options such as colspan=XX bgcolor=#xxxxxx
easy, but seems nobody has done it, or talked about it ^^