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 #1422

#781 still not fixed

Details

Submitted2004-05-17 09:14 UTC
Fromuntil-june-04 at daniu dot de
StatusBogus
PackageSpreadsheet_Excel_Writer
PHP VersionIrrelevant
OSWin XP, 2000, Linux
Roadmaps(Not assigned)

Comments

[2004-05-17 09:14 UTC] until-june-04 at daniu dot de

Description:
------------
Hi!

Error #781 seems not to be fixed on any system I tried. Here is a testcase for Linux: http://www.daniu.de/php/excel2.php

The PHP-Version/Settings on this Server are: http://www.daniu.de/php/phpinfo.php

I am using the newest OLE and Excel-Modules from CVS (just reinstalled both to make sure I really do)

The used bitmap is: http://www.daniu.de/php/images/zs_teilnehmerliste_ck.bmp

Reproduce code:
---------------
<?php
require_once 'Spreadsheet/Excel/Writer.php';

$workbook = new Spreadsheet_Excel_Writer();
$workbook->send('test.xls');
$worksheet =& $workbook->addWorksheet('Test');

$worksheet->insertBitmap(0,0,'images/zs_teilnehmerliste_ck.bmp'); // 835*33
//$worksheet->setRow(0,48);

$workbook->close();
?>

[2004-05-17 15:05 UTC] until-june-04 at daniu dot de

Sorry - copied the wrong code

[2004-05-17 15:06 UTC] until-june-04 at daniu dot de

correct code is:

<?php
require_once 'Spreadsheet/Excel/Writer.php';

$workbook = new Spreadsheet_Excel_Writer();
$workbook->send('test.xls');
$worksheet =& $workbook->addWorksheet('Test');

$worksheet->insertBitmap(0,0,'images/zs_teilnehmerliste_ck.bmp'); //835*33
$worksheet->setRow(0,48);

$workbook->close();
?>