Module
Contents
Index 🔎︎

# XML File Formats

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

The OpenDocument file format (ODF) is a standardized file format used by many software applications. You can find more information at the Wikipedia site: wikipedia.org/wiki/OpenDocument.

## OpenDocument názvy formátu súboru

LibreOffice uses the following file formats:

Formát dokumentu | Prípona k súboru
ODF Text | *.odt
ODF Text Template | *.ott
ODF Hlavný dokument | *.odm
HTML dokument | *.html
Šablóna HTML dokumentu | *.oth
ODF Tabuľka | *.ods
Šablóna tabuľky ODF | *.ots
ODF Kresba | *.odg
Šablóna kresby ODF | *.otg
ODF Prezentácia | *.odp
Šablóna prezentácie ODF | *.otp
ODF Vzorec | *.odf
ODF Databáza | *.odb
LibreOffice Rozšírenie | *.odt

HTML formát nie je OpenDocument formátom.

ODF Chart is the name of the file format for stand alone charts. This format with the extension *.odc is currently not in use.

## Evolution of the OpenDocument format

The OpenDocument format evolves over time.

ODF version | Date of standard approval by OASIS | First supporting version of the software
ODF 1.0 | 2005-05-01 | OpenOffice.org 1.1.5 or StarOffice 7
ODF 1.1 | 2007-02-02 | OpenOffice.org 2.2 or StarOffice 8 Update 4
ODF 1.2 | 2011-09-30 | OpenOffice.org 3, StarOffice 9, Oracle Open Office
ODF 1.2 (Extended) | - | OpenOffice.org 3.2 or StarOffice 9.2

In current versions, you can select to save your documents using ODF 1.2 (default) or ODF 1.0/1.1 (for backward compatibility). Choose Tools - Options - Load/Save - General and select the ODF format version.

If you want to exchange documents with users that still use OpenOffice.org 1 or StarOffice 7, save the document using the respectively named filter in the File type listbox.

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

## XML štruktúra súboru

Dokumenty v OpenDocument formáte súboru sú uložené ako skomprimované zip archívy, ktoré obsahujú XML súbory. Na prezeranie týchto XML súborov, môžete otvoriť OpenDocument súbor pomocou unzip programu. Nasledujúce súbory a adresáre sú obsiahnuté vo vnútri OpenDocument súboru:

1. 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. The use of indentations and line breaks can be activated in the Expert configuration by setting the property /org.openoffice.Office.Common/Save/Document PrettyPrinting to true.

2. 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.

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

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

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

Ďalšie súbory a adresáre môžu byť obsiahnuté v komprimovanom formáte súboru.

## Definícia XML formátu

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

Related Topics

Otváranie dokumentov

Ukladanie dokumentov

Zmena asociácie dokumentov typu Microsoft Office

Document Converter Wizard