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

Bug #9259 writeBlank not accepting formatting options
Submitted: 2006-11-07 11:35 UTC
From: trichard at techovations dot com Assigned:
Status: Open Package: Spreadsheet_Excel_Writer (version 0.9.1)
PHP Version: 5.1.4 OS: Fedora Core 5
Roadmaps: (Not assigned)    
Subscription  
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes. If this is not your bug, you can add a comment by following this link. If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: trichard at techovations dot com
New email:
PHP Version: Package Version: OS:

 

 [2006-11-07 11: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