Click here to Skip to main content
15,902,189 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am using Spreadsheet_Excel_Writer which is in PEAR to generate Excel files in a web application. By default it is save in BIFF5.And I have use setVersion to change the BIFF5 version to BIFF8 version. But the manual says use of this function will be deprecated. Does anyone know the reason.
Posted
Updated 22-Oct-12 8:01am
v5

I'd suppose that the pertinent text in this case would be
"This method exists just to access experimental functionality from BIFF8"


Reading between the lines, it seems likely that it's functionality that has been hacked together and while it 'works' sometimes, the format has not been sufficiently understood to make the method reliable.

So from that perspective, it makes sense to remove the function that's 'no good' if it means a reduction in the burden of support and an increase in the reliability of the component.

I'd ask on PEAR's forums if you haven't already.
https://pear.php.net/manual/en/package.fileformats.spreadsheet-excel-writer.spreadsheet-excel-writer-workbook.setversion.php[^]
 
Share this answer
 
It was deprecated because the developers of PEAR Spreadsheet_Excel_Writer always intended to make BIFF8 the default format, and eventually to drop BIFF5 completely as Excel users migrated from Excel95 to Excel98 and later 2003, and the need for backward compatibility with the earlier version was reduced.

However, ongoing development of PEAR Spreadsheet_Excel_Writer atrophied and died before that point was reached; so the interim state remains.

In terms of risk: minimal. Most of the features of BIFF8 files can still be read by anbody still using Excel95 (the newer features of BIFF8 were never added to Spreadsheet_Excel_Writer); but most Excel users these days have moved on with Excel98 as a minimum version. The newer versions (Excel2007 and Excel2010) can still read BIFF8 files without any problem.

by Mark Baker
EDIT: In this thread at Stack Overflow, double-posted, answered a week ago. :mad:
http://stackoverflow.com/questions/13025772/what-is-the-risk-of-changing-biff-version-in-pear-excel-writer[^]
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900