有什么方法可以判断任意.docx文件是Strict Office Open XML格式还是Transitional格式? (ECMA-376) [英] Any way to tell if an arbitrary .docx file is in the Strict Office Open XML format vs. the Transitional format? (ECMA-376)

查看:704
本文介绍了有什么方法可以判断任意.docx文件是Strict Office Open XML格式还是Transitional格式? (ECMA-376)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

  1. 我已经在网上进行搜索,但是没有找到任何可以区分那些编码为Strict ECMA-376的.docx文件和那些无法区分的.docx文件的过程或工具. (.xlsx档案的演练相同)大多数讨论都集中在给定应用程式支援哪些格式,例如LibreOffice,但不区分文件.

尾部问题:2.是否有人知道任何说明ECMA-376四个版本之间差异的文档? http://www.ecma-international.org/publications/standards/Ecma -376.htm

Dovetail question: 2. Does anyone know of any documentation that lays out the differences in the four editions of ECMA-376? http://www.ecma-international.org/publications/standards/Ecma-376.htm

在该页面上,您将看到第一版,第二版,第三版,第四版.第一版是2006年,第四版是2012年12月.这些文档似乎都没有描述从一个版本到下一个版本的修订,没有此版本的新增功能"之类的内容. (在某些情况下,他们注意到结构上的变化,例如上一次在第1部分中讨论的主题现在在第2部分中,等等.)

On that page, you'll see first edition, second edition, third edition, fourth edition. First edition was 2006, and fourth edition is Dec 2012. None of the documentation appears to describe the revisions from one edition to the next, no "What's New in this edition" or anything like that. (In some cases they note structural changes, like a topic that was housed in Part 1 last time is now in Part 2, etc.)

Wikipedia描述了前两个版本的结构内容...: https://en. wikipedia.org/wiki/Office_Open_XML#Versions

Wikipedia describes the structural contents of the first two editions...: https://en.wikipedia.org/wiki/Office_Open_XML#Versions

...但是对于第三版或第四版,或前两个版之间的实质性更改,无话可说.谁能指出指向迭代更改的文档?

...but has nothing to say about third or fourth editions, or substantive changes between the first two. Can anyone point me to documentation that lays out the iterative changes?

(ECMA-376通常通过ISO 29500进行镜像.ISO可能会记录修订,但其酒馆都是付费专区,而不仅仅是任何付费专区,还有352瑞士法郎的付费专区,按今天的汇率计算为$ 394.20 ...)

(ECMA-376 is normally mirrored by ISO 29500. ISO might document revisions, but their pubs are paywalled, and not just any paywall, but a 352 Swiss Franc paywall, which at today's exchange rates comes to $394.20...)

推荐答案

有两个问题需要解决:

  1. 严格与过渡之间的区别

严格文档和过渡文档之间的主要区别是名称空间.据我所记得,Strict中的名称空间全部包含#purl.org",而Transitional中的名称空间包含单词"microsoft".请参见《 OpenXml Standard for Strict第1部分》和《 Transitional第4部分》中的确切字符串.

The main difference between Strict documents and Transitional documents is namespaces. The namespaces in Strict all contain #purl.org", as far as I remember, whereas namespaces in Transitional contain the word "microsoft". See the exact strings in Part 1 of OpenXml Standard for Strict and Part 4 for Transitional.

  1. 我认为没有可用的此类文档-也不适用于ISO版本.

最后-您说ECMA已被ISO镜像.实际上是另一回事.每当ISO发布该标准的新版本时,ECMA(及其信笺抬头等)随后都会(几乎)发布完全相同的副本.

And finally - you say that ECMA is mirrored by ISO. It is actually the other way around. Whenever ISO publishes a new version of the standard, an (almost) exact copy is published by ECMA (with their letter-head etc) afterwards.

最后,最后,ISO OpenXml标准是免费的.您可以在 http://standards.iso.org/ittf/PubliclyAvailableStandards/中找到最新版本. index.html (在页面上搜索"29500").

And finally, finally, ISO OpenXml standard is free of charge. You can find the latest edition at http://standards.iso.org/ittf/PubliclyAvailableStandards/index.html (search for "29500" on the page).

您希望对我们在ISO工作组中所做的事情有所了解,这是一个不错的开始: http://jtc1sc34.org/wg4 .

Should you wish to look a bit into what we do in the ISO working group, this is a good start: http://jtc1sc34.org/wg4 .

杰斯珀·隆德·斯托霍姆(Jesper Lund Stocholm) 被任命为与OpenXml一起工作的ISO SC34委员会的专家.

Jesper Lund Stocholm Appointed Expert to ISO SC34 committee working with OpenXml.

这篇关于有什么方法可以判断任意.docx文件是Strict Office Open XML格式还是Transitional格式? (ECMA-376)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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