FAQ
Edit report at https://pear.php.net/bugs/bug.php?id=9259&edit=1

ID: 9259
Updated by: daniel.oconnor@gmail.com
Reported By: trichard at techovations dot com
Summary: writeBlank not accepting formatting options
-Status: Feedback
+Status: No Feedback
Type: Bug
Package: Spreadsheet_Excel_Writer
Operating System: Fedora Core 5
Package Version: 0.9.1
PHP Version: 5.1.4
Assigned To: progi1984
Roadmap Versions:
New Comment:

-Status: Feedback
+Status: No Feedback



Previous Comments:
------------------------------------------------------------------------

[2010-04-06 13:08:45] progi1984

-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.

------------------------------------------------------------------------

[2006-11-07 11:35:51] 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.

------------------------------------------------------------------------

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 1 | next ›
Discussion Overview
grouppear-bugs @
categoriesphp
postedJan 27, '12 at 1:30p
activeJan 27, '12 at 1:30p
posts1
users1
websitepear.php.net

1 user in discussion

Daniel Oconnor: 1 post

People

Translate

site design / logo © 2022 Grokbase