Home » File Formats » Spreadsheet_Excel_Writer » Bug #781
Spreadsheet_Excel_Writer_Worksheet::insertBitmap ignores row height
Details
| Submitted | 2004-02-17 21:40 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) |
Comments
[2004-02-17 21: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.
[2004-04-14 23: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.