为什么文件实用程序将 Microsoft Word 文件识别为 CDF?这个CDF是什么?
我这里有一些旧的 Microsoft Word 文件(可能是 Word 97),并注意到标准 Unix 文件实用程序将此类文件标识为“CDF”。它实际上更精确,转储详细的元数据,例如:
CDF V2 Document,
Little Endian,
Os: Windows,
Version 4.0,
Code page: 1252,
Title: ...,
Author: ...,
Template: Normal.dot,
Last Saved By: ...,
Revision Number: 1,
Name of Creating Application: Microsoft Word 8.0,
Create Time/Date: ...,
Last Saved Time/Date: ...,
Number of Pages: 1,
Number of Words: 95,
Number of Characters: 542,
Security: 0
CDF 代表什么?这是一种通用的容器格式,就像媒体文件的 RIFF 一样吗?我在网上找不到任何有用的东西。 “通道定义格式”和“复合文档格式”显然不是这个意思,因为这些 Microsoft Word 文件完全是二进制的。对于通用数据格式,我找不到连接。我试图在文件util的源代码中找到一些东西(在FreeBSD附带的版本中),但我只能发现它有一个专门的readcdf.c
来处理这种格式。
I have some old Microsoft Word files (probably Word 97) lying around here and noticed that the standard Unix file utility identifies such files as "CDF". It is actually more precise, dumping detailed meta data, for example:
CDF V2 Document,
Little Endian,
Os: Windows,
Version 4.0,
Code page: 1252,
Title: ...,
Author: ...,
Template: Normal.dot,
Last Saved By: ...,
Revision Number: 1,
Name of Creating Application: Microsoft Word 8.0,
Create Time/Date: ...,
Last Saved Time/Date: ...,
Number of Pages: 1,
Number of Words: 95,
Number of Characters: 542,
Security: 0
What does that CDF stand for? Is that kind of a general container format, like RIFF for media files? I can't find anything useful on the web. "Channel Definition Format" and "Compound Document Format" are clearly not meant, as those Microsoft Word files are completely binary. For Common Data Format I can't find a connection. I tried to find something in the sourcecode of the file util (in the version which comes with FreeBSD), but I could only find out that it has a dedicated readcdf.c
which deals with this format.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
复合文档格式与 OLE/ 相关COM。它指的是链接和嵌入对象,例如Word文档中的Excel图表。
请参阅历史(XML 之前)MS Office 文档规范,以及具体的文件格式描述是《Windows复合二进制文件格式规范》。
Compound Documents format is related to OLE/COM. It refers to linking and embedding objects, for example, Excel charts in Word documents.
See the historical (pre-XML) document specifications for MS Office, and the specific file format description is "Windows Compound Binary File Format Specification".