Fix Bug #14932: The name of the Workbook stream MUST be "Workbook", not "Book" [progi1984]
git-svn-id: https://svn.php.net/repository/pear/packages/Spreadsheet_Excel_Writer/trunk@287053 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
bcb70905c5
commit
e95501071c
|
|
@ -565,7 +565,11 @@ class Spreadsheet_Excel_Writer_Workbook extends Spreadsheet_Excel_Writer_BIFFwri
|
|||
*/
|
||||
function _storeOLEFile()
|
||||
{
|
||||
$OLE = new OLE_PPS_File(OLE::Asc2Ucs('Book'));
|
||||
if($this->_BIFF_version == 0x0600) {
|
||||
$OLE = new OLE_PPS_File(OLE::Asc2Ucs('Workbook'));
|
||||
} else {
|
||||
$OLE = new OLE_PPS_File(OLE::Asc2Ucs('Book'));
|
||||
}
|
||||
if ($this->_tmp_dir != '') {
|
||||
$OLE->setTempDir($this->_tmp_dir);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -44,6 +44,8 @@ http://pear.php.net/dtd/package-2.0.xsd">
|
|||
- Fix Bug #2405: Text concat operator & truncate formula [progi1984]
|
||||
- Fix Bug #2261: Excel 2002 crashes when use write() with @ as
|
||||
first value of the text [progi1984]
|
||||
- Fix Bug #14932: The name of the Workbook stream MUST be "Workbook", not
|
||||
"Book" [progi1984]
|
||||
</notes>
|
||||
|
||||
<contents>
|
||||
|
|
|
|||
Loading…
Reference in New Issue