1<?xml version="1.0" encoding="UTF-8"?> 2 3<!--*********************************************************** 4 * 5 * Licensed to the Apache Software Foundation (ASF) under one 6 * or more contributor license agreements. See the NOTICE file 7 * distributed with this work for additional information 8 * regarding copyright ownership. The ASF licenses this file 9 * to you under the Apache License, Version 2.0 (the 10 * "License"); you may not use this file except in compliance 11 * with the License. You may obtain a copy of the License at 12 * 13 * http://www.apache.org/licenses/LICENSE-2.0 14 * 15 * Unless required by applicable law or agreed to in writing, 16 * software distributed under the License is distributed on an 17 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 18 * KIND, either express or implied. See the License for the 19 * specific language governing permissions and limitations 20 * under the License. 21 * 22 ***********************************************************--> 23 24<helpdocument version="1.0"> 25<meta> 26<topic id="textswriterguideload_stylesxml" indexer="include"> 27<title xml-lang="en-US" id="tit">Using Styles From Another Document or Template</title> 28<filename>/text/swriter/guide/load_styles.xhp</filename> 29</topic> 30</meta> 31<body> 32<bookmark xml-lang="en-US" branch="index" id="bm_id3145086"> 33<bookmark_value>formatting styles; importing</bookmark_value> 34<bookmark_value>styles; importing from other files</bookmark_value> 35<bookmark_value>importing;styles from other files</bookmark_value> 36<bookmark_value>loading;styles from other files</bookmark_value> 37</bookmark> 38<paragraph xml-lang="en-US" id="hd_id3145086" role="heading" level="1" l10n="U" 39oldref="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> 40</variable></paragraph> 41<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> 42<list type="ordered"> 43<listitem> 44<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> 45</listitem> 46<listitem> 47<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> 48</listitem> 49<listitem> 50<paragraph xml-lang="en-US" id="par_idN1070B" role="listitem" l10n="NEW">Choose <emph>Load styles</emph>.</paragraph> 51</listitem> 52<listitem> 53<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> 54</listitem> 55<listitem> 56<paragraph xml-lang="en-US" id="par_id3145098" role="listitem" l10n="U" oldref="16">Do one of the following:</paragraph> 57</listitem> 58</list> 59<comment>somehow the following list disappeared, see issue 112471</comment> 60<list type="unordered"> 61<listitem> 62<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> 63</listitem> 64<listitem> 65<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> 66</listitem> 67</list> 68<embed href="text/shared/00/00000004.xhp#related"/> 69<embed href="text/swriter/guide/templates_styles.xhp#templates_styles"/> 70<embed href="text/swriter/guide/change_header.xhp#change_header"/> 71</body> 72</helpdocument> 73