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 format datoteke imena

LibreOffice uses the following file formats:

Dokument format | Ekstenzija datoteke
ODF Tekst | *.odt
ODF Tekst šablon | *.ott
ODF Glavni Dokumenat | *.odm
HTML dokument | *.html
HTML Dokument šablon | *.oth
ODF Spreadsheet | *.ods
ODF Spreadsheet Template | *.ots
ODF crtež | *.odg
ODF | *.otg
ODF Prezentacija | *.odp
ODF Prezentacija šablon | *.otp
ODF formula | *.odf
ODF baza podataka | *.odb
Dodatak za LibreOffice | *.oxt

HTML format nije OpenDocument format.

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

OpenDocument format razvija tijekom vremena.

ODF verzija | Datum standarda odobri OASIS | Prvi podržava verziju OpenOffice.org / StarOffice
ODF 1.0 | 01/05/2005 | OpenOffice.org 1.1.5 ili StarOffice 7
ODF 1.1 | 02/02/2007 | OpenOffice.org 2.2 ili StarOffice 8 Update 4
ODF 1.0 | 2011-09-30 | OpenOffice.org 3 ili StarOffice 9
ODF 1.2 (Extended) | - | OpenOffice.org 1.1.5 ili StarOffice 7

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 LibreOffice - Preferences Tools - Options - Load/Save - General and select the ODF format version.

Ako želite razmjenu dokumenata sa korisnicima koji još uvijek koriste OpenOffice.org 1 ili StarOffice 7, spremite dokument pomoću odgovarajućih filtera u Vrsta datoteke listi.

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.

## Struktura XML datoteke

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:

1. Tekst sadržaj dokumenta se nalazi u 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. Datoteka meta.xml sadrži meta podatke o dokumentu koje možete unijeti pod Datoteka - Osobine.

   Ako spremite dokument s lozinkom, meta.xml neće biti kodiran.

3. Datoteka settings.xml sadrži daljnje informacije o postavkama za ovaj dokument.

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

5. meta-inf/manifest.xml datoteka opisuje strukturu XML datoteke.

Dodatne datoteke i mape mogu biti sadržane u arhivi.

## Definicija XML formata

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

Related Topics

Opening Documents

Saving Documents

Changing the Association of Microsoft Office Document Types

Document Converter Wizard