<?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>
  <h1 id="hd_id3145086"><variable id="load_styles"><link href="text/swriter/guide/load_styles.xhp">Using Styles From Another Document or Template</link>
</variable></h1>
  <paragraph 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">Open the <link href="text/swriter/01/05170000.xhp"><emph>Load Styles</emph></link> dialog box by either</paragraph>
  <list type="unordered">
    <listitem>
      <paragraph id="par_id3155936" role="listitem">Choose <menuitem>Styles - Load Styles</menuitem> or</paragraph>
    </listitem>
    <listitem>
      <paragraph id="par_id3155910" role="listitem">Choose <emph>View - Styles</emph> or</paragraph>
    </listitem>
    <listitem>
      <paragraph id="par_id441529889103330"  role="listitem">Choose <emph>Styles - Manage Styles</emph> or <switchinline select="sys"><caseinline select="MAC"><keycode>Command+T</keycode></caseinline><defaultinline><keycode>F11</keycode></defaultinline></switchinline> to open the <emph>Styles</emph> sidebar deck.</paragraph>
    </listitem>
    <listitem>
      <paragraph id="par_idN10703" role="listitem">Click the arrow next to the <emph>Styles actions</emph> icon to open the submenu, and choose <menuitem>Load Styles</menuitem></paragraph>
    </listitem>
  </list>
  <list type="ordered">
    <listitem>
      <paragraph 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 id="par_id3145098" role="listitem">Do one of the following:</paragraph>
    </listitem>
  </list>
  <list type="unordered">
    <listitem>
      <paragraph role="listitem" id="par_id3156240">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">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>

  <section id="relatedtopics">
    <embed href="text/swriter/guide/templates_styles.xhp#templates_styles"/>
    <embed href="text/swriter/guide/change_header.xhp#change_header"/>
    <embed href="text/swriter/01/05170000.xhp#load_styles_header"/>
  </section>
</body>
</helpdocument>
