Home » File Formats » Spreadsheet_Excel_Writer » Bug #1134
bug in Worksheet
Details
| Submitted | 2004-04-05 06:38 UTC |
|---|---|
| From | boucher dot stephane at free dot fr |
| Status | Bogus |
| Package | Spreadsheet_Excel_Writer |
| PHP Version | 4.3.4 |
| OS | linux |
| Roadmaps | (Not assigned) |
Comments
[2004-04-05 06:38 UTC] boucher dot stephane at free dot fr
Description:
------------
THe number of str_total for SST in function writeStringBIFF8 in workSheet.php is not correct
The actually code is
Tha actually code is
/* check if string is already present */
if (!isset($this->_str_table[$str])) {
$this->_str_table[$str] = $this->_str_unique++;
}
$this->_str_total++;
I think, it better with the new line :
/* check if string is already present */
if (!isset($this->_str_table[$str])) {
$this->_str_table[$str] = $this->_str_unique++;
$this->_str_total++;
}
now the number of _str_total is good.
[2004-04-06 00:15 UTC] xnoguer at php dot net
Thank you for taking the time to write to us, but this is not
a bug.
_str_unique counts unique words, _str_total counts total words.