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

Bug #781 Spreadsheet_Excel_Writer_Worksheet::insertBitmap ignores row height
Submitted: 2004-02-17 16:40 UTC Modified: 2004-04-14 18:13 UTC
From: pear-bugs at carldunham dot com Assigned: xnoguer
Status: Closed Package: Spreadsheet_Excel_Writer
PHP Version: 4.3.4 OS: Gentoo Linux
Roadmaps: (Not assigned)    
Subscription  


 [2004-02-17 16:40 UTC] pear-bugs at carldunham dot com
Description: ------------ Actually, it looks like Spreadsheet_Excel_Writer_Worksheet::setRow doesn't set this->row_sizes (no one seems to) which _sizeRow() uses to determine the row heights. Anyway, the outcome is that doing this: $ss =& new Spreadsheet_Excel_Writer(); $ws =& $ss->addWorksheet('Sheet1'); $ws->setRow(0, 70); $ws->insertBitmap(0, 0, 'images/logo.bmp', 10, 5); causes the image to be stretched in the resulting output.

Comments

 [2004-04-14 18:13 UTC] xnoguer at php dot net
This bug has been fixed in CVS. In case this was a documentation problem, the fix will show up at the end of next Sunday (CET) on pear.php.net. In case this was a pear.php.net website problem, the change will show up on the website in short time. Thank you for the report, and for helping us make PEAR better.
 [2010-09-09 05:46 UTC] alexanderlim (Alexander Lll)
What was actually the fix for this bug? Can please tell me what file and which line(s)? Thanks.