Оиди Филтрҳои Импорт ва Экспорт

Дар LibreOffice, ба ғайр аз форматҳои XMLи худиаш шумо ҳамчунин метавонед форматҳои XMLи берунаро кушоед ва сабт кунед.

Баъзан ҳолатҳое во мехуранд, ки шумо бояд типи дафтарро дар муколамаи Кушодан интихоб кунед. Мисол, агар шумо дафтари МДро дар намуди матн дошта бошед, бояд типи дафтари "Матни CSV" ро пас аз интихоби дафтар интихоб кунед.

BASIC Macros in Microsoft Office Documents

Дар Асбобҳо - Параметрҳо - Боркунӣ/Сабткунӣ - Хосиятҳои VBA шумо метавонед ҷӯрсозиҳои макроси VBAи ҳуҷҷати MS Office-ро тағир диҳед. Макросҳои VBA дар LibreOffice иҷро намешаванд; онҳоро аввал бояд такмил ва мувофиқ сохт. Аксаран шумо мехоҳед дар LibreOffice таркиби намоёни дафтари Word, Excel ё PowerPoint-ро тағир диҳед ва онро бозпас дар формати Microsoft Office бе тағири макрос сабт кунед. Шумо метавонед рафтори LibreOffice ро ба тарзи зер тағир диҳед: Ё макроси VBAро ҳамчун зерроҳи шарҳшудаи LibreOffice ва онро бозпас дар формати MS Office дуруст сабт кунед, ё метавонед макроси Microsoft Office-ро ҳангоми боркунӣ кӯр кунед. Тарзи дуюм мувофиқтар аст барои ҳифз аз вирусҳои ҳуҷҷати Microsoft Office.

Эзоҳ оиди тип ва формати дафтарҳои беруна

Баъзе филтрҳо новобаста аз васл нашуда буданашон дар муколамаи Кушодан ва Сабткунӣ истифода карда мешаванд. Агар шумо аз ин гуна филтр истифода баред, онгоҳ маълумоте пайдо мешавад, ки ба шумо имкон доштани ин филтрҳо хабар медиҳад.

Тасвири мадад

Филтри Матн кодбаст шудааст ба шумо барои кушодан ва сабт кардани ҳуҷҷати матнӣ бо ҳуруфоти кодбасти дигар кӯмак мекунад. Филтр муколамаеро мекушояд, ки дар он кодбаст, ҳуруфоти аслӣ, забон ва бурриши параграфро интихоб карда метавонед.


Импорт ва Экспорт ба формати HTML

Бо LibreOffice Writer шумо метавонед сарсатр ва зерсатрро ба ҳуҷҷати HTML дохил кунед. Онҳо дар намуди метатег илова карда мешаванд. Рамзҳои сарсатр ва зерсатр ҳамчун ҳавола оварда мешаванд.

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

The HTML import of LibreOffice Writer is able to read files that have UTF-8 or UCS2 character coding. All characters that are contained in the ANSI character set or in the system's character set can be displayed.

When exporting to HTML, the character set selected in - 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 - Load/Save - HTML Compatibility, you select Mozilla Firefox 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).

If 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. 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".

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

Frames are exported as "<SPAN>" or "<DIV>" tags if they do not contain columns. If they do contain columns then they are exported as "<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 Writer - General or - LibreOffice Writer/Web - View. The number of exported decimal places depends on the unit.

Measurement Unit

Measurement Unit Name in CSS1

Maximum Number of Decimal Places

Миллиметр

мм

2

Сантиметр

см

2

Инч

in

2

Pica

pc

2

Нуқта

pt

1


The LibreOffice Web page filter supports certain capabilities of CSS2. However, to use it, print layout export must be activated in - 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.

Importing and Exporting Numbering

If, in - Load/Save - HTML Compatibility, the export option "LibreOffice Writer" 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.

A left paragraph indent in numbering is indicated as "margin-left" CSS1 property. First-line indents are ignored in numbering and not exported.

Importing and Exporting Spreadsheet Files

LibreOffice imports and exports references to deleted sections such as, for example, a referenced column. The whole formula can be viewed during the export process and the deleted reference contains an indication (#REF!) to the reference. A #REF! will be correspondingly created for the reference during the import.

Importing and Exporting Graphics Files

As with HTML documents, you can choose to use a filter with or without the element (LibreOffice Impress) in the name to open a LibreOffice graphics file. If without, the file will be opened as a LibreOffice Draw document. Otherwise, the file saved by an old program version is now opened in 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. 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.

Multipage-TIFFs are allowed when graphics are imported or exported in TIFF format. The graphics are retrieved as a set of individual pictures in a single file, for example, the individual pages of a fax.

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

PostScript

To export a document or graphic in PostScript format:

  1. If you have not yet done so, install a PostScript printer driver, such as the Apple LaserWriter driver.

  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.

Please support us!