PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » File Formats » Spreadsheet_Excel_Writer » Bug #781

Spreadsheet_Excel_Writer_Worksheet::insertBitmap ignores row height

Details

Submitted2004-02-17 21:40 UTC
Frompear-bugs at carldunham dot com
Assignedxnoguer
StatusClosed
PackageSpreadsheet_Excel_Writer
PHP Version4.3.4
OSGentoo 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.