XML-filformat

Som standard laddas och sparas filer i LibreOffice i OpenDocument-filformat.

Symbolen Info

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.


Namn pÄ OpenDocument-filformat

LibreOffice anvÀnder följande filformat:

Dokumentformat

FiltillÀgg

OpenDocument-text

*.odt

OpenDocument-textmall

*.ott

OpenDocument-samlingsdokument

*.odm

HTML dokument

*.html

HTML dokumentmall

*.oth

OpenDocument-tabell

*.ods

OpenDocument-tabellmall

*.ots

OpenDocument-teckning

*.odg

OpenDocument-teckningsmall

*.otg

OpenDocument-presentation

*.odp

OpenDocument-presentationsmall

*.otp

OpenDocument-formel

*.odf

OpenDocument-databas

*.odb

LibreOffice-paket

*.oxt


Symbolen Info

HTML-formatet Àr inte ett OpenDocument-format.


ODF-diagram Àr namnet pÄ ett filformat för fristÄende diagram. Detta format med tillÀgget *.odc anvÀnds inte för tillfÀllet.

OpenDocument-formatets evolution

OpenDocument-formatet utvecklas efterhand.

ODF-version

Datum för OASIS godkÀnnande av standard

Första versionen med stöd för programvaran

ODF 1.0

2005-05-01

OpenOffice.org 1.1.5 eller StarOffice 7

ODF 1.1

2007-02-02

OpenOffice.org 2.2 eller StarOffice 8 uppdatering 4

ODF 1.2

2011-09-30

OpenOffice.org 3, StarOffice 9, Oracle Open Office

ODF 1.2 (utökat)

-

OpenOffice.org 3.2 eller StarOffice 9.2


I de befintliga versionerna kan du spara dokument med ODF 1.2 (standard) eller ODF 1.0/1.1 (för bakĂ„tkompabilitet). VĂ€lj Verktyg – Alternativ – LĂ€s in/Spara – AllmĂ€nt och vĂ€lj ODF-formatversionen.

Om du vill utbyta dokument med anvÀndare som fortfarande anvÀnder OpenOffice.org 1 eller StarOffice 7 sparar du dokumentet i önskat format (du vÀljer formatet i listrutan Filtyp).

Symbolen Tips

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


XML-filens struktur

Dokument i OpenDocument-filformat lagras som komprimerade zipparkiv som innehÄller XML-filer. Om du vill visa dessa XML-filer kan du öppna OpenDocument-filen med ett extraheringsprogram. Följande filer och kataloger ingÄr i OpenDocument-filerna:

  1. Dokumentets textinnehÄll finns i 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. Filen meta.xml innehÄller metainformation om dokumentet. Du kan mata in den hÀr informationen under Arkiv - Egenskaper.

    Om du sparar ett dokument med lösenord krypteras inte meta.xml.

  3. Filen settings.xml innehÄller ytterligare information om instÀllningarna för det hÀr dokumentet.

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

  5. Filen meta-inf/manifest.xml beskriver XML-filens struktur.

Ytterligare filer och mappar kan ingÄ i ett komprimerat filformat.

Definition av XML-formaten

Schemat för OpenDocument-formaten finns pÄ webbplatsen www.oasis-open.org.