<?xml version="1.0" encoding="UTF-8"?>
<helpdocument version="1.0">

<!--
 * 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 .
 -->


<meta>
      <topic id="textswriterguideload_stylesxml" indexer="include">
         <title xml-lang="en-US" id="tit">Using Styles From Another Document or Template</title>
         <filename>/text/swriter/guide/load_styles.xhp</filename>
      </topic>
   </meta>
   <body>
<bookmark xml-lang="en-US" branch="index" id="bm_id3145086"><bookmark_value>formatting styles; importing</bookmark_value>
      <bookmark_value>styles; importing from other files</bookmark_value>
      <bookmark_value>importing;styles from other files</bookmark_value>
      <bookmark_value>loading;styles from other files</bookmark_value>
</bookmark>
<paragraph xml-lang="en-US" id="hd_id3145086" role="heading" level="1"><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>
</variable></paragraph>
      <paragraph xml-lang="en-US" id="par_id3154491" role="paragraph">You can import styles from another document or template into the current document.</paragraph>
              <paragraph id="par_id731529889382463"  role="listitem" xml-lang="en-US">Open the <emph>Load Styles</emph> dialog box by either</paragraph>
              <list type="unordered">
                  <listitem>
                      <paragraph xml-lang="en-US" id="par_id3155910" role="listitem">Choose <emph>View - Styles</emph> or</paragraph>
                  </listitem>
                  <listitem>
                      <paragraph id="par_id441529889103330"  role="listitem" xml-lang="en-US"><embedvar href="text/swriter/00/stylesmenu.xhp#sms" markup="keep"/> to open the <emph>Styles</emph> sidebar deck.</paragraph>
                  </listitem>
                  <listitem>
                      <paragraph xml-lang="en-US" id="par_idN10703" role="listitem">Click the arrow next to the <emph>New Style from Selection</emph> icon to open the submenu.</paragraph>
                  </listitem>
              </list>
              <list type="ordered">
              <listitem>
            <paragraph xml-lang="en-US" id="par_id3149632" role="listitem">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>
         </listitem>
         <listitem>
            <paragraph xml-lang="en-US" id="par_id3145098" role="listitem">Do one of the following:</paragraph>
         </listitem>
      </list>
      <comment>somehow the following list disappeared, see issue 112471</comment>
      <list type="unordered">

<listitem>
<paragraph role="listitem" id="par_id3156240" xml-lang="en-US">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>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3153377" xml-lang="en-US">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>
</listitem>

</list>
      <embed href="text/shared/00/00000004.xhp#related"/>
      <embed href="text/swriter/guide/templates_styles.xhp#templates_styles"/>
      <embed href="text/swriter/guide/change_header.xhp#change_header"/>
   </body>
</helpdocument>
