简体   繁体   English

Excel文件和程序结构

[英]Excel file and program structure

I need to know for a school project how Excel work. 我需要知道一个学校项目Excel是如何工作的。 Precisely I need to know what kind of structure is behind an Excel file and how the Excel program work with this file. 确切地说,我需要知道Excel文件背后是什么类型的结构以及Excel程序如何使用此文件。

I know Excel is a Microsoft propriety and it' s not Open Source so I know I can' t find too much on this argument... But everything that can help me to understand how excel work it' s useful. 我知道Excel是微软的专有权,它不是开源的,所以我知道我对这个论点找不到太多......但是所有能帮助我理解excel如何工作的东西都是有用的。

If I could not find something about Excel I will try to take a look at Open Office or Open Document format. 如果我找不到有关Excel的内容,我将尝试查看Open Office或Open Document格式。 So even some information about this will be real useful. 因此,即使是关于此的一些信息也将非常有用。

Thanks to all 谢谢大家

You can find details of the MS Office BIFF file formats here in the microsoft.com library , while the Office Open XML format is published here on the ECMA site and here in the microsoft.com library . 您可以在microsoft.com库中找到MS Office BIFF文件格式的详细信息,而Office Open XML格式在ECMA网站上microsoft.com库中发布

You can find specifications for the OpenDocument format used by Open Office on the OASIS site 您可以在OASIS站点上找到Open Office使用的OpenDocument格式的规范

It is simpler than you may think. 它比你想象的要简单。

An excel file is just a zip file of multiple XML documents. excel文件只是多个XML文档的zip文件。 Each XML document corresponds to one spreadsheet in the Excel file. 每个XML文档对应于Excel文件中的一个电子表格。

You will find the XML sheets at xl\\worksheets inside the zip folder. 您将在zip文件夹中的xl \\ worksheets中找到XML表。

You can scripting reading and writing to it. 您可以编写脚本来读取和写入它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM