为什么文件实用程序将 Microsoft Word 文件识别为 CDF?这个 CDF 是什么? [英] Why does the file utility identify Microsoft Word files as CDF? What is this CDF?

查看:25
本文介绍了为什么文件实用程序将 Microsoft Word 文件识别为 CDF?这个 CDF 是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我这里有一些旧的 Microsoft Word 文件(可能是 Word 97),我注意到标准的 Unix 文件实用程序将这些文件标识为CDF".它实际上更精确,转储详细的元数据,例如:

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

那个 CDF 代表什么?那是一种通用的容器格式,比如媒体文件的 RIFF 吗?我在网上找不到任何有用的东西.频道定义格式"和复合文档格式"显然不是这个意思,因为这些 Microsoft Word 文件是完全二进制的.对于通用数据格式,我找不到连接.我试图在文件 util 的源代码中找到一些东西(在 FreeBSD 附带的版本中),但我只能发现它有一个专门的 readcdf.c 来处理这种格式.

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.

推荐答案

复合文档格式 与 OLE/COM 相关.它是指链接和嵌入对象,例如 Word 文档中的 Excel 图表.

Compound Documents format is related to OLE/COM. It refers to linking and embedding objects, for example, Excel charts in Word documents.

查看历史(XML 之前)MS Office 的文档规范,具体文件格式说明为《Windows复合二进制文件格式规范》.

See the historical (pre-XML) document specifications for MS Office, and the specific file format description is "Windows Compound Binary File Format Specification".

这篇关于为什么文件实用程序将 Microsoft Word 文件识别为 CDF?这个 CDF 是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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