为什么文件实用程序将 Microsoft Word 文件识别为 CDF?这个CDF是什么?

发布于 2024-10-16 06:29:08 字数 761 浏览 1 评论 0原文

我这里有一些旧的 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

雨的味道风的声音 2024-10-23 06:29:08

复合文档格式与 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".

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文