在梨excel编写器中更改BIFF版本的风险是什么 [英] what is the risk of changing BIFF version in pear excel writer

查看:113
本文介绍了在梨excel编写器中更改BIFF版本的风险是什么的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用PEAR中的Spreadsheet_Excel_Writer在Web应用程序中生成Excel文件.默认情况下,它保存在BIFF5中.我已经使用setVersion将BIFF5版本更改为BIFF8版本.但是手册说这个功能将被弃用.有谁知道原因.

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.

推荐答案

我假设在这种情况下,相关文本为
I''d suppose that the pertinent text in this case would be
"This method exists just to access experimental functionality from BIFF8"



在两行之间阅读时,似乎它的功能已被一起破解,尽管有时起作用",但对这种格式的理解不足以使该方法可靠.

因此,从这个角度来看,如果这意味着减轻支持负担并增加组件的可靠性,则删除不好的"功能是有意义的.

我会在PEAR的论坛上问您是否还没有.
https://pear.php.净/手册/zh/package.fileformats.spreadsheet-excel-writer.spreadsheet-excel-writer-workbook.setversion.php [



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[^]


之所以弃用该信息,是因为PEAR Spreadsheet_Excel_Writer的开发人员始终希望将BIFF8设置为默认格式,并随着Excel用户从Excel95迁移到Excel98和更高版本的2003,最终完全放弃了BIFF5,并减少了与早期版本的向后兼容性.

但是,PEAR Spreadsheet_Excel_Writer的正在进行的开发在达到这一点之前就萎缩了,并死亡.因此过渡状态保持不变.

风险方面:最小.仍然使用Excel95的人仍可以读取BIFF8文件的大多数功能(BIFF8的新功能从未添加到Spreadsheet_Excel_Writer中);但是如今,大多数Excel用户已经将Excel98作为最低版本.较新版本(Excel2007和Excel2010)仍可以毫无问题地读取BIFF8文件.

马克·贝克(Mark Ba​​ker)
在这个线程在Stack Overflow,双重张贴,一周前回答. :mad:
> http://stackoverflow.com/Questions/13025772/what-is-the-the-risk-of-changing-biff-version-in-pear-excel-writer [ ^ ]
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
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[^]


这篇关于在梨excel编写器中更改BIFF版本的风险是什么的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆