<?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="textswriterguidetemplate_createxml" indexer="include" status="PUBLISH">
    <title id="tit" xml-lang="en-US">Creating a Document Template</title>
    <filename>/text/swriter/guide/template_create.xhp</filename>
  </topic>
</meta>

<body>

<bookmark xml-lang="en-US" branch="index" id="bm_id3149688">
  <bookmark_value>document templates</bookmark_value>
  <bookmark_value>templates; creating document templates</bookmark_value>
</bookmark>


<paragraph id="hd_id3149688" role="heading" level="1" xml-lang="en-US"><variable id="template_create"><link href="text/swriter/guide/template_create.xhp" name="Creating a Document Template">Creating a Document Template</link></variable></paragraph>
<paragraph id="par_id3149492" role="paragraph" xml-lang="en-US">You can create a template to use as the basis for creating new text documents.</paragraph>

<list type="ordered">
  <listitem>
    <paragraph id="par_id3155915" role="listitem" xml-lang="en-US">Create a document and add the content and formatting styles that you want.</paragraph>
  </listitem>
  <listitem>
    <paragraph id="par_id3147422" role="listitem" xml-lang="en-US">Choose <item type="menuitem">File - Templates - Save As Template</item>.</paragraph>
  </listitem>
  <listitem>
    <paragraph id="par_id3149829" role="listitem" xml-lang="en-US">In the <item type="menuitem">New Template</item> box, type a name for the new template.</paragraph>
  </listitem>
  <listitem>
    <paragraph id="par_id3156098" role="listitem" xml-lang="en-US">Select a template category in the <item type="menuitem">Categories</item> list.</paragraph>
  </listitem>
  <listitem>
    <paragraph id="par_id3149281" role="listitem" xml-lang="en-US">Click <emph>OK</emph>.</paragraph>
  </listitem>
</list>
<paragraph id="par_id3153404" role="paragraph" xml-lang="en-US">To create a document based on the template, choose <item type="menuitem">File - New - Templates</item>, select the template, and then click <item type="menuitem">Open</item>.</paragraph>

<section id="relatedtopics">
<embed href="text/swriter/guide/templates_styles.xhp#templates_styles"/>
<embed href="text/swriter/guide/template_default.xhp#template_default"/>
<embed href="text/swriter/guide/load_styles.xhp#load_styles"/>
<paragraph id="par_id3149636" role="paragraph" xml-lang="en-US"><link href="text/shared/01/01110300.xhp" name="File - Templates - Save As Template">File - Templates - Save As Template</link></paragraph>
</section>
</body>

</helpdocument>
