.odt
Document
ODT(开放文档文本格式)
ODT 是 OASIS OpenDocument 规范定义的开放标准文字处理格式。它是 LibreOffice Writer 和 Apache OpenOffice 的原生格式,为可编辑文档提供了不依赖特定厂商的 DOCX 替代方案。
MIME 类型
application/vnd.oasis.opendocument.text
类型
二进制
压缩
无损
优点
- + ISO-standardized open format with no vendor lock-in
- + Native support in LibreOffice, Google Docs, and many open-source editors
- + ZIP-compressed for efficient file sizes
- + Full support for styles, tables, images, and change tracking
缺点
- − Formatting fidelity may differ when opened in Microsoft Word
- − Smaller ecosystem of templates and add-ins compared to DOCX
- − Less common in corporate environments that standardize on Office
何时使用 .ODT
当需要开放、厂商中立的文档格式时请使用 ODT——政府文件、归档文档或基于 LibreOffice 的工作流。
技术细节
ODT 文件是一个 ZIP 压缩包,包含用于内容、样式、元数据和嵌入资源的 XML 文件。content.xml 文件使用明确定义的命名空间来描述段落、文本段、表格和图形。
历史
OpenDocument 格式由 OASIS 开发,于 2006 年作为 ISO 标准(ISO/IEC 26300)发布。其设计目的是确保文档的长期可访问性,不依赖于任何单一厂商。