Module
Contents
Index 🔎︎

# About Import and Export Filters

In LibreOffice, apart from its own XML formats you can also open and save many foreign XML formats.

In UNIX, certain file formats cannot be recognized automatically.LibreOffice normally recognizes the correct file type automatically on opening a file.
There may be cases where you have to select the file type yourself in the Open dialog. For example, if you have a database table in text format that you want to open as a database table, you need to specify the file type "Text CSV" after selecting the file.

## Basic Makro v MS Office Documentoch

In LibreOffice - PreferencesTools - Options
- Load/Save - VBA Properties you can specify the settings for the VBA macro codes in MS Office documents. VBA macros are unable to run in LibreOffice; they must first be converted and adapted. Often you only want to use LibreOffice to change the visible content of a Word, Excel or PowerPoint file and then save the file again in Microsoft Office format without changing the macros they contain. You can set the behavior of LibreOffice as desired: Either the VBA macros are saved in commented form as a subroutine of LibreOffice and when the document is saved in MS Office format are written back correctly again, or you can select the Microsoft Office macros to be removed when loading. The last option is an effective protection against viruses within the Microsoft Office documents.

## Poznámky ohľadne externých formátov a typov súborov

Even if they are not installed, some filters can be selected in the Open and Save dialogs. If you select such a filter, a message will appear saying that you can still install the filter if you require.

If you want to install additional filters or remove individual filters from the installation, close LibreOffice, start the Setup program and select the Modify option. Then you will see a dialog in which you can add or remove individual components of LibreOffice. Graphic filters can be found in "Optional Components".

### Importing and Exporting Text Documents

LibreOffice Writer can read various versions of the Microsoft Word text format. You also can save your own texts in Word format. However, not everything available with LibreOffice Writer can be transferred to Word, and not everything can be imported.

Importing is normally not problematic. Even redlining information and controls are imported (and exported) so that LibreOffice recognizes inserted or deleted text in Word documents as well as font attributes that have been modified. Different coloring for each author and the time of such changes is also included. When graphic text boxes and labels are imported from templates, most of the attributes are also imported as direct paragraph and drawing attributes. However, some of the attributes may be lost during the import procedure.

It is also possible to import and export RTF files. This file format can be used to exchange formatted texts across various applications and platforms. In this way, many formats read by most programs will be transferred without a problem. The clipboard uses RTF format when you insert part of a spreadsheet from LibreOffice Calc through DDE into LibreOffice Writer.

The filter Text Encoded helps you open and save text documents with another encoding font. The filter opens a dialog that enables you to select character set, default fonts, language and paragraph break.

### Import a Export v HTML Formáte

S LibreOffice Writer môžete do HTML dokumentu vložiť poznámky pod čiarou a koncové poznámky. Exportované sú ako meta tagy. Symboly poznámka pod čiarou a koncová poznámka sú exportované ako hypertextové odkazy.

Comments are used to include unknown characters in an HTML document. Every note that begins with "HTML:..." and ends with ">" is treated as an HTML code, but is exported without these designations. Several tags around text can be included after "HTML:..." Accented characters are converted into the ANSI character set. Comments are created during import (for example, for meta tags that have no room in the file properties or unknown tags).

HTML import z LibreOffice Writer môže načítať súbory, ktoré majú UTF-8 alebo UCS2 kódovanie znakov. Všetky znaky, ktoré sú obsiahnuté v ANSI súbore znakov alebo v systémovom súbore znakov môžu byť zobrazené.

When exporting to HTML, the character set selected in LibreOffice - PreferencesTools - Options
- Load/Save - HTML Compatibility is used. Characters not present there are written in a substitute form, which is displayed correctly in modern web browsers. When exporting such characters, you will receive an appropriate warning.

If, in LibreOffice - PreferencesTools - Options
- Load/Save - HTML Compatibility, you select Mozilla Firefox, MS Internet Explorer, or LibreOffice Writer as the export option, upon export all important font attributes are exported as direct attributes (for example, text color, font size, bold, italic, and so on) in CSS1 styles. (CSS stands for Cascading Style Sheets.) Importing is also carried out according to this standard.

The "font" property corresponds to Mozilla Firefox; that is, before the font size you can specify optional values for "font-style" (italic, none), "font-variant" (normal, small-caps) and "font-weight" (normal, bold).

- Napríklad, "Font: štýl písma tučná kurzíva 12pt/200% Arial, Helvetica" zmeni tučná kurzíva štýl písma písaný ob riadok so skupinou písmen Arial alebo Helvetica, ak Arial neexistuje.

- "Font: 10pt" zmení 10pt font, s tučným, kurzíva, štýl písma vypnutý.

If MS Internet Explorer or LibreOffice Writer are set as the export option, the sizes of the control field and their internal margins are exported as styles (print formats). CSS1 size properties are based on "width" and "height" values. The "Margin" property is used to set equal margins on all sides of the page. To allow different margins, the "Margin-Left", "Margin-Right", "Margin-Top" and "Margin-Bottom" properties are used.

The distances of graphics and Plug-Ins to the content can be set individually for export to LibreOffice Writer and MS Internet Explorer. If the top/bottom or right/left margin is set differently, the distances are exported in a "STYLE" option for the corresponding tag as CSS1 size properties "Margin-Top", "Margin-Bottom", "Margin-Left" and "Margin-Right".

Text frames are supported with the use of CSS1 extensions for absolute positioned objects. This applies only to the export options Mozilla Firefox, MS Internet Explorer, and LibreOffice Writer. Text frames can be aligned as graphics, Plug-Ins,
and Floating Frames, but character-linked frames are not possible.

Textové rámce sú exportované ako "<SPAN>" alebo "<DIV>" tagy ak neobsahujú usporiadané rady stľpcov. Ak obsahujú usporiadané rady stľpcov, potom sú exportované ako "<MULTICOL>".

The measurement unit set in LibreOffice is used for HTML export of CSS1 properties. The unit can be set separately for text and HTML documents under LibreOffice - PreferencesTools - Options
- LibreOffice Writer - General or LibreOffice - PreferencesTools - Options
- LibreOffice Writer/Web - View. The number of exported decimal places depends on the unit.

Merná jednotka | Merná jednotka - Názov jednotky v CSS1 | Maximálny počet desatinných miest
Milimeter | mm | 2
Centimeter | cm | 2
Palec | in | 2
Pika | pc | 2
Bod | pt | 1

The LibreOffice Web page filter supports certain capabilities of CSS2. However, to use it, print layout export must be activated in LibreOffice - PreferencesTools - Options
- Load/Save - HTML Compatibility. Then, in HTML documents, besides the HTML Page Style, you can also use the styles "First page", "Left page" and "Right page". These styles should enable you to set different page sizes and margins for the first page and for right and left pages when printing.

### Import a export čísel

If, in LibreOffice - PreferencesTools - Options
- Load/Save - HTML Compatibility, the export option "LibreOffice Writer" or "Internet Explorer" is selected, the indents of numberings are exported as "margin-left" CSS1 property in the STYLE attribute of the <OL> and <UL> tags. The property indicates the difference relative to the indent of the next higher level.

Ľavé posunutie na ľavom okraji v číslovaní je indikované ako "ľavý okraj" vlastnosť CSS1. Prvý riadok indikácie je ignorovaný v číslovaní a nie je exportovaný.

### Import a export súborov tabuľkového procesora

LibreOffice import a export odkazy na zmazané časti, také ako napríklad, nejaký odkaz na kolónku. Celý vzorec môžeme vidieť v priebehu procesu exportu a zmazaný odkaz obsahuje indikáciu (#REF!) k odkazu. K #REF! bude vytvorený odpovedajúci odkaz v priebehu importu.

### Import a export grafických súborov

Ako pri HTML dokumentoch, môžete si vybrať pre používanie filtre s alebo bez prvku (LibreOffice Impress) v názve pre otváranie LibreOffice grafivkých súborov. Ak vyberiete bez, súbor bude otvorený ako LibreOffice Draw dokument. Ináč, súbor uložený starou verziou programu je teraz otvorený v LibreOffice Impress.

When you import an EPS file, a preview of the graphic is displayed in the document. If a preview is not available, a placeholder corresponding to the size of the graphic is displayed in the document. Under Unix and Microsoft Windows you can print the imported file by using a PostScript printer. If a different printer is used the preview will be printed.
When exporting EPS graphics, a preview is created and has the TIFF or EPSI format. If an EPS graphic together with other graphics is exported in the EPS format then this file will be embedded unchanged in the new file.

Viacstránkový TIFF je povolený, ak grafika je importovaná alebo exportovaná v TIFF formáte. Grafika je získaná ako súbor individuálnych obrázkov v jednoduchej rade, napríklad, individuálne stránky z faxu.

Some LibreOffice Draw and LibreOffice Impress options can be accessed through File - Export. See Graphics Export Options for more information.

### Doplnok

Exportovať dokument alebo grafiku v doplnkovom formáte

1. Ak ste tak ešte neučinili, nainštalujte doplnkový radič tlačiarne, taký, ako Apple LaserWriter ovládač.

2. Print the document with the File - Print menu command.

3. Select the PostScript printer in the dialog and mark the Print to file check box. A PostScript file will be created.