Home » File Formats » Spreadsheet_Excel_Writer » Bug #9259
writeBlank not accepting formatting options
Details
| Submitted | 2006-11-07 16:35 UTC |
|---|---|
| From | trichard at techovations dot com |
| Assigned | progi1984 |
| Status | No Feedback |
| Package | Spreadsheet_Excel_Writer |
| PHP Version | 5.1.4 |
| OS | Fedora Core 5 |
| Roadmaps | (Not assigned) |
Comments
[2006-11-07 16:35 UTC] trichard at techovations dot com
Description:
------------
When using the writeBlank function with a formatting object the cell does not get formatted correctly.
Test script:
---------------
$rowLateCenterFormat =& $xls->addFormat();
$rowLateCenterFormat->setLeft(1);
$rowLateCenterFormat->setRight(1);
$rowLateCenterFormat->setTextWrap();
$rowLateCenterFormat->setAlign('Top');
$rowLateCenterFormat->setAlign('Center');
$rowLateCenterFormat->setFgColor('43');
$sheet->writeBlank(0, 0, $rowLateCenterFormat);
Expected result:
----------------
Would expect the cell the show up with a border on the left & right, text align center, and the fg color set to a yellow.
Actual result:
--------------
Cell is not formatted at all.