1<?xml version="1.0" encoding="UTF-8"?> 2<helpdocument version="1.0"> 3 4<!-- 5*********************************************************************** 6 * 7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 8 * 9 * Copyright 2000, 2010 Oracle and/or its affiliates. 10 * 11 * OpenOffice.org - a multi-platform office productivity suite 12 * 13 * This file is part of OpenOffice.org. 14 * 15 * OpenOffice.org is free software: you can redistribute it and/or modify 16 * it under the terms of the GNU Lesser General Public License version 3 17 * only, as published by the Free Software Foundation. 18 * 19 * OpenOffice.org is distributed in the hope that it will be useful, 20 * but WITHOUT ANY WARRANTY; without even the implied warranty of 21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 22 * GNU Lesser General Public License version 3 for more details 23 * (a copy is included in the LICENSE file that accompanied this code). 24 * 25 * You should have received a copy of the GNU Lesser General Public License 26 * version 3 along with OpenOffice.org. If not, see 27 * <http://www.openoffice.org/license.html> 28 * for a copy of the LGPLv3 License. 29 * 30 ************************************************************************ 31 --> 32 33 34<meta> 35 <topic id="textswriterguideload_stylesxml" indexer="include"> 36 <title xml-lang="en-US" id="tit">Using Styles From Another Document or Template</title> 37 <filename>/text/swriter/guide/load_styles.xhp</filename> 38 </topic> 39 </meta> 40 <body> 41<bookmark xml-lang="en-US" branch="index" id="bm_id3145086"><bookmark_value>formatting styles; importing</bookmark_value> 42 <bookmark_value>styles; importing from other files</bookmark_value> 43 <bookmark_value>importing;styles from other files</bookmark_value> 44 <bookmark_value>loading;styles from other files</bookmark_value> 45</bookmark> 46<paragraph xml-lang="en-US" id="hd_id3145086" role="heading" level="1" l10n="U" 47 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> 48</variable></paragraph> 49 <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> 50 <list type="ordered"> 51 <listitem> 52 <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> 53 </listitem> 54 <listitem> 55 <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> 56 </listitem> 57 <listitem> 58 <paragraph xml-lang="en-US" id="par_idN1070B" role="listitem" l10n="NEW">Choose <emph>Load styles</emph>.</paragraph> 59 </listitem> 60 <listitem> 61 <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> 62 </listitem> 63 <listitem> 64 <paragraph xml-lang="en-US" id="par_id3145098" role="listitem" l10n="U" oldref="16">Do one of the following:</paragraph> 65 </listitem> 66 </list> 67 <comment>somehow the following list disappeared, see issue 112471</comment> 68 <list type="unordered"> 69 70<listitem> 71<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> 72</listitem> 73<listitem> 74<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> 75</listitem> 76 77</list> 78 <embed href="text/shared/00/00000004.xhp#related"/> 79 <embed href="text/swriter/guide/templates_styles.xhp#templates_styles"/> 80 <embed href="text/swriter/guide/change_header.xhp#change_header"/> 81 </body> 82</helpdocument>