OpenOffice.org video based manual
Plan-B for OpenOffice.org, learning office productivity software with videos


Tech Support for OpenOffice.org
Applications
Go to Open Office Writer Index
Go to Open Office Impress Index
Go to Open Office Math Index
Go to Open Office Draw Index
Go to Open Office Calc Index
Go to Open Office Base Index
Go to Open Office Online Help Index

Help Sections:
General
Writer
Impress
Math
Draw
Calc
Base
Basic

XML File Formats

By default, OpenOffice.org loads and saves files in the OpenDocument file format.

The OpenDocument file format is an XML file format standardized by OASIS (Organization for the Advancement of Structured Information Standards).

OpenDocument file format names

OpenOffice.org r2.1 uses the following file formats:

Document format

File extension

OpenDocument Text

*.odt

OpenDocument Text Template

*.ott

OpenDocument Master Document

*.odm

HTML Document

*.html

HTML Document Template

*.oth

OpenDocument Spreadsheet

*.ods

OpenDocument Spreadsheet Template

*.ots

OpenDocument Drawing

*.odg

OpenDocument Drawing Template

*.otg

OpenDocument Presentation

*.odp

OpenDocument Presentation Template

*.otp

OpenDocument Formula

*.odf

OpenDocument Database

*.odb


The HTML format is not an OpenDocument format.

Older File Formats Prior to OpenOffice.org r2.1

If you want to exchange documents with users that still use older versions of OpenOffice.org, save the document in the following formats:

Application

File extension

OpenOffice.org Writer before OpenOffice.org r2.1

*.sxw

OpenOffice.org Writer templates before OpenOffice.org r2.1

*.stw

Master documents before OpenOffice.org r2.1

*.sxg

OpenOffice.org Calc before OpenOffice.org r2.1

*.sxc

OpenOffice.org Calc templates before OpenOffice.org r2.1

*.stc

OpenOffice.org Impress before OpenOffice.org r2.1

*.sxi

OpenOffice.org Impress templates before OpenOffice.org r2.1

*.sti

OpenOffice.org Draw before OpenOffice.org r2.1

*.sxd

OpenOffice.org Draw templates before OpenOffice.org r2.1

*.std

OpenOffice.org Math before OpenOffice.org r2.1

*.sxm


If you want to define another file format as the default, choose Tools - Options - Load/Save - General to find alternative file formats for each OpenOffice.org document type.

XML file structure

Documents in OpenDocument file format are stored as compressed zip archives that contain XML files. To view these XML files, you can open the OpenDocument file with an unzip program. The following files and directories are contained within the OpenDocument files:

  • The text content of the document is located in content.xml.

    By default, content.xml is stored without formatting elements like indentation or line breaks to minimize the time for saving and opening the document. On the Tools - Options - Load/Save - General tab page you can activate the use of indentations and line breaks by clearing the check box Size optimization for XML format (no pretty printing).

  • The file meta.xml contains the meta information of the document, which you can enter under File - Properties.

    If you save a document with a password, meta.xml will not be encrypted.

  • The file settings.xml contains further information about the settings for this document.

  • In styles.xml, you find the styles applied to the document that can be seen in the Styles and Formatting window.

  • The meta-inf/manifest.xml file describes the structure of the XML file.

Additional files and folders can be contained in the packed file format.

Definition of the XML formats

The schema for the OpenDocument formats can be found on the www.oasis-open.org web site.

The DTD (Document Type Description) files for the older formats can be found in {installation_path\}share\dtd.

Note that the formats are subject to certain licenses. You can find notes on the licenses at the start of the DTD files. More detailed information can be found on the OpenOffice.org website.

Index

exporting, XML files

file formats, XML

XML file formats

extensions, file formats

suffixes in file formats

document types,XML

file formats, changing defaults

default file formats

file formats,OpenDocument

OpenDocument file formats

changing,default file formats

This help text is published from the OpenOffice-Help files under the Public Documentation License 1.0.

Get OpenOffice.org - Free!