Package: Spreadsheet Writer, Excel Formatting Issues
| From: | Dominik Kiss | Date: | Fri, 27 Nov 2009 13:37:24 +0000 |
| Subject: | Package: Spreadsheet Writer, Excel Formatting Issues | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-30175@lists.php.net to get a copy of this message | ||
Hi guys,
We have some problems using the Spreadsheet Writer in combination with Excel. After Downloading the generated *.xls file everything looks fine, but there are some Excel formats missing. In a new Excel sheet i have predefined stylesheets like Decimal, Percent and Default.
The Spreadsheet-Writer generated xls-file only has the stylesheet "Default". After clicking the button "1000 delimiter" a error occurs "Stylesheet decimal missing"
Here is the php code:
***
require_once 'Spreadsheet/Excel/Writer.php';
$workbook = new Spreadsheet_Excel_Writer();
$workbook->send('test.xls');
$worksheet =& $workbook->addWorksheet('testsheet');
$workbook->close();
***
maybe anyone knows the solution?
thanks & regards,
Dominik