1<?xml version="1.0" encoding="UTF-8"?> 2<helpdocument version="1.0"> 3 4<!--*********************************************************** 5 * 6 * Licensed to the Apache Software Foundation (ASF) under one 7 * or more contributor license agreements. See the NOTICE file 8 * distributed with this work for additional information 9 * regarding copyright ownership. The ASF licenses this file 10 * to you under the Apache License, Version 2.0 (the 11 * "License"); you may not use this file except in compliance 12 * with the License. You may obtain a copy of the License at 13 * 14 * http://www.apache.org/licenses/LICENSE-2.0 15 * 16 * Unless required by applicable law or agreed to in writing, 17 * software distributed under the License is distributed on an 18 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 19 * KIND, either express or implied. See the License for the 20 * specific language governing permissions and limitations 21 * under the License. 22 * 23 ***********************************************************--> 24 25 26 27 28<meta> 29 <topic id="textswriterguideload_stylesxml" indexer="include"> 30 <title xml-lang="en-US" id="tit">Using Styles From Another Document or Template</title> 31 <filename>/text/swriter/guide/load_styles.xhp</filename> 32 </topic> 33 </meta> 34 <body> 35<bookmark xml-lang="en-US" branch="index" id="bm_id3145086"><bookmark_value>formatting styles; importing</bookmark_value> 36 <bookmark_value>styles; importing from other files</bookmark_value> 37 <bookmark_value>importing;styles from other files</bookmark_value> 38 <bookmark_value>loading;styles from other files</bookmark_value> 39</bookmark> 40<paragraph xml-lang="en-US" id="hd_id3145086" role="heading" level="1" l10n="U" 41 oldref="10"><variable id="load_styles"><link href="text/swriter/guide/load_styles.xhp" name="Using Styles From Another Document or Template">Using Styles From Another Document or Template</link> 42</variable></paragraph> 43 <paragraph xml-lang="en-US" id="par_id3154491" role="paragraph" l10n="U" oldref="11">You can import styles from another document or template into the current document.</paragraph> 44 <list type="ordered"> 45 <listitem> 46 <paragraph xml-lang="en-US" id="par_id3155910" role="listitem" l10n="CHG" oldref="12">Choose <emph>Format - Styles and Formatting</emph> to open the <emph>Styles and Formatting</emph> window.</paragraph> 47 </listitem> 48 <listitem> 49 <paragraph xml-lang="en-US" id="par_idN10703" role="listitem" l10n="NEW">Click the arrow next to the <emph>New Style from Selection</emph> icon to open the submenu.</paragraph> 50 </listitem> 51 <listitem> 52 <paragraph xml-lang="en-US" id="par_idN1070B" role="listitem" l10n="NEW">Choose <emph>Load styles</emph>.</paragraph> 53 </listitem> 54 <listitem> 55 <paragraph xml-lang="en-US" id="par_id3149632" role="listitem" l10n="U" oldref="15">Use the check boxes at the bottom of the dialog to select the style types that you want to import. To replace styles in the current document that have the same name as the ones you are importing, select <emph>Overwrite</emph>.</paragraph> 56 </listitem> 57 <listitem> 58 <paragraph xml-lang="en-US" id="par_id3145098" role="listitem" l10n="U" oldref="16">Do one of the following:</paragraph> 59 </listitem> 60 </list> 61 <comment>somehow the following list disappeared, see issue 112471</comment> 62 <list type="unordered"> 63 64<listitem> 65<paragraph role="listitem" id="par_id3156240" xml-lang="en-US" l10n="U" oldref="17">Click an entry in the <emph>Categories</emph> list, then click the template containing the styles that you want to use in the <emph>Templates</emph> list, and then click <emph>OK</emph>.</paragraph> 66</listitem> 67<listitem> 68<paragraph role="listitem" id="par_id3153377" xml-lang="en-US" l10n="U" oldref="13">Click <emph>From File</emph>, locate the file containing the styles that you want to use, and then click name, and then click <emph>Open</emph>.</paragraph> 69</listitem> 70 71</list> 72 <embed href="text/shared/00/00000004.xhp#related"/> 73 <embed href="text/swriter/guide/templates_styles.xhp#templates_styles"/> 74 <embed href="text/swriter/guide/change_header.xhp#change_header"/> 75 </body> 76</helpdocument>