OpenOffice.org XML is anopenXML-basedfile format developed as an open community effort[1][2][3] bySun Microsystems in 2000–2002. The open-source software application suiteOpenOffice.org 1.x andStarOffice 6 and 7 used the format as their native and default file format for saving files. The OpenOffice.org XML format is no longer widely used, but it is still supported in recent versions of OpenOffice.org-descended software.
OpenDocument (ISO/IEC 26300:2006) is based on OpenOffice.org XML and these formats are very similar in many technical areas.[4][5] However, OpenDocument is not the same as the older OpenOffice.org XML format and these formats are not directly compatible. In 2005, OpenOffice.org (since version 2.0) and StarOffice (since version 8) switched to OpenDocument as their native and default format.[6][7]
StarOffice developers adopted XML to replace the old binary StarOffice file format. The draft version was also known asStarOffice XML File Format.[8]
The stated goal in the draft was:
Our goal is twofold: to have a complete specification encompassing all StarOffice components, and to provide an open standard for office documents.
The format usesXML files to describe the documents. To minimize space, the files are compressed into an archive and given a suffix depending on what sort of data is contained in them.[9]
| File type | OpenOffice.org/StarOffice component | File (template) suffixes | MIME |
|---|---|---|---|
| Text | Writer | sxw (stw) | application/vnd.sun.xml.writer application/vnd.sun.xml.writer.template[10] |
| Spreadsheet | Calc | sxc (stc) | application/vnd.sun.xml.calc application/vnd.sun.xml.calc.template |
| Graphics | Draw | sxd (std) | application/vnd.sun.xml.draw application/vnd.sun.xml.draw.template |
| Presentation | Impress | sxi (sti) | application/vnd.sun.xml.impress application/vnd.sun.xml.impress.template |
| Formula | Math | sxm | application/vnd.sun.xml.math |
| Master document | Writer | sxg | application/vnd.sun.xml.writer.global |
| HTML | Writer | HTML (stw) | text/html application/vnd.sun.xml.writer.web |