Home » File Formats » Spreadsheet_Excel_Writer » Bug #6909
Images not shown with OpenOffice 2.0
Details
| Submitted | 2006-02-23 16:40 UTC |
|---|---|
| From | ako at spreadshirt dot net |
| Assigned | cweiske |
| Status | Closed |
| Package | Spreadsheet_Excel_Writer |
| PHP Version | Irrelevant |
| OS | Windows XP/Linux |
| Roadmaps | (Not assigned) |
Comments
[2006-02-23 16:40 UTC] ako at spreadshirt dot net
Description:
------------
If I create a xls-File with a bitmap in it and open the file with Excel, I can see the image.
If I open it with OpenOffice 2.0, no image appears.
Test script:
---------------
$workbook = new Spreadsheet_Excel_Writer();
$workbook->send('test.xls');
$worksheet =& $workbook->addWorksheet('test');
$image='test.bmp';
$worksheet->insertBitmap(0, 0, $image);
$workbook->close();
Expected result:
----------------
An image in cell A1 in Excel and OpenOffice.
Actual result:
--------------
An image in cell A1 in Excel but not in OpenOffice.
[2007-02-21 10:38 UTC] nospam at nospam dot org
it seems to be an open office bug : try to insert a bmp in a .xls with oo and then save it into excel 5.0 or 95 format.
if you save it in excel 97 format it seems to work.