如何识别Excel文件是否符合Excel 95或Excel 97规范? [英] How to identify whether an Excel file conforms to Excel 95 or Excel 97 specifications?

查看:741
本文介绍了如何识别Excel文件是否符合Excel 95或Excel 97规范?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何识别Excel文件使用Excel 95或Excel 97规范的位置?即他们使用的是哪个版本的BIFF。

How to identify where the Excel file use Excel 95 or Excel 97 specifications? i.e., which version of BIFF they uses.

推荐答案

您可以在 MICROSOFT OFFICE EXCEL 97-2007 BINARY FILE FORMAT规格可从Microsoft获得。

You can find the necessary information in the MICROSOFT OFFICE EXCEL 97-2007 BINARY FILE FORMAT SPECIFICATION available from Microsoft.

有关以下说明,请参见第11页:

See page 11 for the following explanation:


BIFF       Microsoft Office Excel version
---------------------------------------------------
BIFF5      Microsoft Excel version 5.0 (XL5)
BIFF7      Microsoft Excel 95 (XL7) (also called Microsoft Excel version 7)
BIFF8      Microsoft Excel 97 (XL8), Microsoft Excel 2000 (XL9), 
           Microsoft Excel 2002 (XL10), Microsoft Office Excel 2003 (XL11), 
           Microsoft Office Excel 2007 (XL12)




您可以从所有BIFF
中存在的
文件(BOF)记录开始,识别XLS文件中使用的BIFF版本
版本5,7和8文件。在BIFF4
和早期版本中,各种记录
(BOF记录除外)在

高位字节中指定
版本信息,记录
数字。这是一种多余的
方法,所以对于BIFF4之后的BIFF
版本,Excel通过读取BOF记录来获取BIFF
版本。

You can identify the BIFF version used in an XLS file from the Beginning Of File (BOF) record present in all BIFF version 5, 7, and 8 files. In BIFF4 and earlier versions, various records (other than the BOF record) have version information specified in the high-order byte of their record numbers. This was a redundant methodology, so for versions of BIFF after BIFF4, Excel obtains the BIFF version by reading the BOF record.

同一文件第43页对BOF记录进行了详细描述。

The BOF record is described in detail on page 43 of the same document.

这篇关于如何识别Excel文件是否符合Excel 95或Excel 97规范?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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