Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.9.4

Bug #9259 writeBlank not accepting formatting options
Submitted: 2006-11-07 16:35 UTC
From: trichard at techovations dot com Assigned: progi1984
Status: No Feedback Package: Spreadsheet_Excel_Writer (version 0.9.1)
PHP Version: 5.1.4 OS: Fedora Core 5
Roadmaps: (Not assigned)    
Subscription  


 [2006-11-07 16:35 UTC] trichard at techovations dot com (Troy)
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.

Comments

 [2010-04-06 17:08 UTC] progi1984 (Franck Lefevre)
-Status: Open +Status: Feedback -Assigned To: +Assigned To: progi1984
Thank you for taking the time to report a problem with the package. This problem may have been already fixed by a previous change that is in the SVN of the package. Please checking out the SVN repository of this package and upgrade svn checkout svn.php.net/repository/pear/packages/Spreadsheet_Excel_Writer/trunk pear upgrade package2.xml or pear upgrade package.xml If you are able to reproduce the bug with the latest SVN, please change the status back to "Open". Again, thank you for your continued support of PEAR.
 [2012-01-27 19:32 UTC] doconnor (Daniel O'Connor)
-Status: Feedback +Status: No Feedback