diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:06:44 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:06:44 +0000 |
commit | ed5640d8b587fbcfed7dd7967f3de04b37a76f26 (patch) | |
tree | 7a5f7c6c9d02226d7471cb3cc8fbbf631b415303 /helpcontent2/source/text/shared/00/00000020.xhp | |
parent | Initial commit. (diff) | |
download | libreoffice-upstream.tar.xz libreoffice-upstream.zip |
Adding upstream version 4:7.4.7.upstream/4%7.4.7upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | helpcontent2/source/text/shared/00/00000020.xhp | 193 |
1 files changed, 193 insertions, 0 deletions
diff --git a/helpcontent2/source/text/shared/00/00000020.xhp b/helpcontent2/source/text/shared/00/00000020.xhp new file mode 100644 index 000000000..2fa112daa --- /dev/null +++ b/helpcontent2/source/text/shared/00/00000020.xhp @@ -0,0 +1,193 @@ +<?xml version="1.0" encoding="UTF-8"?> + + + +<!-- + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + --> + + +<helpdocument version="1.0"> +<meta> +<topic id="textshared0000000020xml" indexer="include" status="PUBLISH"> +<title id="tit" xml-lang="en-US">About Import and Export Filters</title> +<filename>/text/shared/00/00000020.xhp</filename> +</topic> +</meta> +<body> +<bookmark xml-lang="en-US" branch="index" id="bm_id3152952"><bookmark_value>import filters</bookmark_value> +<bookmark_value>export filters</bookmark_value> +<bookmark_value>filters; for import and export</bookmark_value> +<bookmark_value>files; filters and formats</bookmark_value> +<bookmark_value>formats; on opening and saving</bookmark_value> +<bookmark_value>importing; HTML and text documents</bookmark_value> +<bookmark_value>exporting;HTML and text documents</bookmark_value> +<bookmark_value>text documents; importing/exporting</bookmark_value> +<bookmark_value>HTML documents; importing/exporting</bookmark_value> +<bookmark_value>UTF-8/UCS2 support</bookmark_value> +<bookmark_value>HTML; export character set</bookmark_value> +<bookmark_value>PostScript; creating files</bookmark_value> +<bookmark_value>exporting;to PostScript format</bookmark_value> +</bookmark> +<h1 id="hd_id3152952">About Import and Export Filters</h1> +<paragraph role="paragraph" id="par_id3143272" xml-lang="en-US">In $[officename], apart from its own <link href="text/shared/00/00000021.xhp" name="XML formats">XML formats</link> you can also open and save many foreign XML formats.</paragraph> +<paragraph role="paragraph" id="par_id3152414" xml-lang="en-US"><switchinline select="sys"><caseinline select="UNIX">In UNIX, certain file formats cannot be recognized automatically. +</caseinline><defaultinline>$[officename] normally recognizes the correct file type automatically on opening a file.</defaultinline></switchinline> There may be cases where you have to select the file type yourself in the <emph>Open</emph> 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.</paragraph> +<h2 id="hd_id3148668">BASIC Macros in Microsoft Office Documents</h2> +<paragraph role="paragraph" id="par_id3156211" xml-lang="en-US">In <switchinline select="sys"><caseinline select="MAC">%PRODUCTNAME - Preferences</caseinline><defaultinline>Tools - Options</defaultinline></switchinline> - <link href="text/shared/optionen/01130100.xhp" name="Load/Save - VBA Properties">Load/Save - VBA Properties</link> you can specify the settings for the VBA macro codes in MS Office documents. VBA macros are unable to run in $[officename]; they must first be converted and adapted. Often you only want to use $[officename] 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 $[officename] as desired: Either the VBA macros are saved in commented form as a subroutine of $[officename] 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.</paragraph> +<h2 id="hd_id3154232">Notes regarding external formats and file types</h2> +<paragraph role="paragraph" id="par_id3154230" xml-lang="en-US">Even if they are not installed, some filters can be selected in the <emph>Open</emph> and <emph>Save</emph> dialogs. If you select such a filter, a message will appear saying that you can still install the filter if you require.</paragraph> +<paragraph role="paragraph" id="par_id3149999" xml-lang="en-US"><switchinline select="sys"><caseinline select="WIN">If you want to install additional filters or remove individual filters from the installation, close %PRODUCTNAME, start the Setup program and select the <emph>Modify</emph> option. Then you will see a dialog in which you can add or remove individual components of %PRODUCTNAME. Graphic filters can be found in "Optional Components". +</caseinline></switchinline></paragraph> +<h3 id="hd_id3156027"><switchinline select="appl"><caseinline select="CALC"> +</caseinline><caseinline select="DRAW"> +</caseinline><caseinline select="IMPRESS"> +</caseinline><defaultinline>Importing and Exporting Text Documents</defaultinline></switchinline></h3> +<paragraph role="paragraph" id="par_id3145669" xml-lang="en-US"><switchinline select="appl"><caseinline select="CALC"> +</caseinline><caseinline select="DRAW"> +</caseinline><caseinline select="IMPRESS"> +</caseinline><defaultinline>$[officename] 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 $[officename] Writer can be transferred to Word, and not everything can be imported.</defaultinline></switchinline></paragraph> +<paragraph role="paragraph" id="par_id3150144" xml-lang="en-US"><switchinline select="appl"><caseinline select="CALC"> +</caseinline><caseinline select="DRAW"> +</caseinline><caseinline select="IMPRESS"> +</caseinline><defaultinline>Importing is normally not problematic. Even redlining information and controls are imported (and exported) so that $[officename] 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.</defaultinline></switchinline></paragraph> +<paragraph role="paragraph" id="par_id3149095" xml-lang="en-US"><switchinline select="appl"><caseinline select="CALC"> +</caseinline><caseinline select="DRAW"> +</caseinline><caseinline select="IMPRESS"> +</caseinline><defaultinline>It is also possible to import and export <link href="text/shared/00/00000005.xhp#rtf" name="RTF">RTF</link> 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 $[officename] Calc through <link href="text/shared/00/00000005.xhp" name="DDE">DDE</link> into $[officename] Writer.</defaultinline></switchinline></paragraph> +<paragraph role="tip" id="par_id3151378" xml-lang="en-US">The filter <emph>Text Encoded</emph> 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.</paragraph> +<h3 id="hd_id3149763">Importing and Exporting in HTML Format </h3> +<paragraph role="paragraph" id="par_id3150244" xml-lang="en-US">With $[officename] Writer, you can insert footnotes and endnotes in your HTML document. They are exported as meta tags. The footnote and endnote characters are exported as hyperlinks.</paragraph> +<paragraph role="paragraph" id="par_id3149800" xml-lang="en-US">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).</paragraph> +<paragraph role="paragraph" id="par_id3149734" xml-lang="en-US">The HTML import of $[officename] 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.</paragraph> +<paragraph role="paragraph" id="par_id3149578" xml-lang="en-US">When exporting to HTML, the character set selected in <switchinline select="sys"><caseinline select="MAC"><emph>%PRODUCTNAME - Preferences</emph></caseinline><defaultinline><emph>Tools - Options</emph></defaultinline></switchinline><emph> - Load/Save - HTML Compatibility</emph> 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.</paragraph> + + <paragraph role="paragraph" id="par_id3153146" xml-lang="en-US">If, in <switchinline select="sys"><caseinline select="MAC"><emph>%PRODUCTNAME - Preferences</emph></caseinline><defaultinline><emph>Tools - Options</emph></defaultinline></switchinline><emph> - Load/Save - HTML Compatibility</emph>, you select Mozilla Firefox or $[officename] 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. (<link href="text/shared/00/00000002.xhp" name="CSS">CSS</link> stands for Cascading Style Sheets.) Importing is also carried out according to this standard.</paragraph> + + +<paragraph role="paragraph" id="par_id3154143" xml-lang="en-US">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).</paragraph> +<list type="unordered"> +<listitem> +<paragraph role="listitem" id="par_id3153760" xml-lang="en-US">For example, "Font: bold italic small-caps 12pt/200% Arial, Helvetica" switches to bold, italic, small caps, double-space with the font family Arial or Helvetica, if Arial doesn't exist.</paragraph> +</listitem> +</list> +<list type="unordered"> +<listitem> +<paragraph role="listitem" id="par_id3150129" xml-lang="en-US">"Font: 10pt" switches to a 10pt font, with bold, italic, small caps off.</paragraph> +</listitem> +</list> +<paragraph role="paragraph" id="par_id3155135" xml-lang="en-US">If $[officename] 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.</paragraph> +<paragraph role="paragraph" id="par_id3148473" xml-lang="en-US">The distances of graphics and Plug-Ins to the content can be set individually for export to $[officename] 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".</paragraph> +<paragraph role="paragraph" id="par_id3144510" xml-lang="en-US">Frames are supported with the use of CSS1 extensions for absolute positioned objects. This applies only to the export options Mozilla Firefox and $[officename] Writer. Frames can be aligned as graphics, <switchinline select="sys"><caseinline select="WIN"> Plug-Ins, +</caseinline></switchinline>and Floating Frames, but character-linked frames are not possible.</paragraph> +<paragraph role="paragraph" id="par_id3147530" xml-lang="en-US">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>".</paragraph> +<paragraph role="paragraph" id="par_id3153896" xml-lang="en-US">The measurement unit set in $[officename] is used for HTML export of CSS1 properties. The unit can be set separately for text and HTML documents under <switchinline select="sys"><caseinline select="MAC"><emph>%PRODUCTNAME - Preferences</emph></caseinline><defaultinline><emph>Tools - Options</emph></defaultinline></switchinline><emph> - %PRODUCTNAME Writer - General</emph> or <switchinline select="sys"><caseinline select="MAC"><emph>%PRODUCTNAME - Preferences</emph></caseinline><defaultinline><emph>Tools - Options</emph></defaultinline></switchinline><emph> - %PRODUCTNAME Writer/Web - View</emph>. The number of exported decimal places depends on the unit.</paragraph> +<table id="tbl_id3154346"> +<tablerow> +<tablecell> +<paragraph role="tablehead" id="par_id3154935" xml-lang="en-US">Measurement Unit</paragraph> +</tablecell> +<tablecell> +<paragraph role="tablehead" id="par_id3154226" xml-lang="en-US">Measurement Unit Name in CSS1</paragraph> +</tablecell> +<tablecell> +<paragraph role="tablehead" id="par_id3151106" xml-lang="en-US">Maximum Number of Decimal Places</paragraph> +</tablecell> +</tablerow> +<tablerow> +<tablecell> +<paragraph role="paragraph" id="par_id3154071" xml-lang="en-US">Millimeter</paragraph> +</tablecell> +<tablecell> +<paragraph role="paragraph" id="par_id3149290" xml-lang="en-US">mm</paragraph> +</tablecell> +<tablecell> +<paragraph role="paragraph" id="par_id3152920" xml-lang="en-US">2</paragraph> +</tablecell> +</tablerow> +<tablerow> +<tablecell> +<paragraph role="paragraph" id="par_id3156293" xml-lang="en-US">Centimeter</paragraph> +</tablecell> +<tablecell> +<paragraph role="paragraph" id="par_id3154819" xml-lang="en-US">cm</paragraph> +</tablecell> +<tablecell> +<paragraph role="paragraph" id="par_id3147228" xml-lang="en-US">2</paragraph> +</tablecell> +</tablerow> +<tablerow> +<tablecell> +<paragraph role="paragraph" id="par_id3154329" xml-lang="en-US">Inch</paragraph> +</tablecell> +<tablecell> +<paragraph role="paragraph" id="par_id3150740" xml-lang="en-US">in</paragraph> +</tablecell> +<tablecell> +<paragraph role="paragraph" id="par_id3157320" xml-lang="en-US">2</paragraph> +</tablecell> +</tablerow> +<tablerow> +<tablecell> +<paragraph role="paragraph" id="par_id3156422" xml-lang="en-US">Pica</paragraph> +</tablecell> +<tablecell> +<paragraph role="paragraph" id="par_id3144760" xml-lang="en-US">pc</paragraph> +</tablecell> +<tablecell> +<paragraph role="paragraph" id="par_id3145322" xml-lang="en-US">2</paragraph> +</tablecell> +</tablerow> +<tablerow> +<tablecell> +<paragraph role="paragraph" id="par_id3155131" xml-lang="en-US">Point</paragraph> +</tablecell> +<tablecell> +<paragraph role="paragraph" id="par_id3147288" xml-lang="en-US">pt</paragraph> +</tablecell> +<tablecell> +<paragraph role="paragraph" id="par_id3145364" xml-lang="en-US">1</paragraph> +</tablecell> +</tablerow> +</table> +<paragraph role="paragraph" id="par_id3149262" xml-lang="en-US">The $[officename] Web page filter supports certain capabilities of CSS2. However, to use it, print layout export must be activated in <switchinline select="sys"><caseinline select="MAC"><emph>%PRODUCTNAME - Preferences</emph></caseinline><defaultinline><emph>Tools - Options</emph></defaultinline></switchinline><emph> - Load/Save - HTML Compatibility</emph>. 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.</paragraph> +<h3 id="hd_id3145750">Importing and Exporting Numbering</h3> +<paragraph role="paragraph" id="par_id3145591" xml-lang="en-US">If, in <switchinline select="sys"><caseinline select="MAC"><emph>%PRODUCTNAME - Preferences</emph></caseinline><defaultinline><emph>Tools - Options</emph></defaultinline></switchinline><emph> - Load/Save - HTML Compatibility</emph>, the export option "$[officename] 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.</paragraph> +<paragraph role="paragraph" id="par_id3153573" xml-lang="en-US">A left paragraph indent in numbering is indicated as "margin-left" CSS1 property. First-line indents are ignored in numbering and not exported.</paragraph> +<paragraph role="heading" id="hd_id3148556" xml-lang="en-US" level="3">Importing and Exporting Spreadsheet Files</paragraph> +<paragraph role="paragraph" id="par_id3153365" xml-lang="en-US">$[officename] 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.</paragraph> +<h3 id="hd_id3150228">Importing and Exporting Graphics Files</h3> +<paragraph role="paragraph" id="par_id3152578" xml-lang="en-US">As with HTML documents, you can choose to use a filter with or without the element ($[officename] Impress) in the name to open a $[officename] graphics file. If without, the file will be opened as a $[officename] Draw document. Otherwise, the file saved by an old program version is now opened in $[officename] Impress.</paragraph> +<paragraph role="paragraph" id="par_id3144441" xml-lang="en-US">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. <switchinline select="sys"><caseinline select="UNIX"> +</caseinline><defaultinline>If a different printer is used the preview will be printed.</defaultinline></switchinline> 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.</paragraph> +<paragraph role="paragraph" id="par_id3146120" xml-lang="en-US">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.</paragraph> +<paragraph role="paragraph" id="par_id3159153" xml-lang="en-US">Some $[officename] Draw and $[officename] Impress options can be accessed through <emph>File - Export</emph>. See <link href="text/shared/00/00000200.xhp" name="Graphics Export Options">Graphics Export Options</link> for more information.</paragraph> +<h3 id="hd_id3153213">PostScript</h3> +<paragraph role="paragraph" id="par_id3156444" xml-lang="en-US">To export a document or graphic in PostScript format:</paragraph> +<list type="ordered"> +<listitem> +<paragraph role="listitem" id="par_id3163714" xml-lang="en-US">If you have not yet done so, install a PostScript printer driver, such as the Apple LaserWriter driver.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3153142" xml-lang="en-US">Print the document with the <emph>File - Print</emph> menu command.</paragraph> +</listitem> +<listitem> +<paragraph role="listitem" id="par_id3154149" xml-lang="en-US">Select the PostScript printer in the dialog and mark the <emph>Print to file</emph> check box. A PostScript file will be created.</paragraph> +</listitem> +</list> +</body> +</helpdocument> |