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="textswriterguidetemplate_createxml" indexer="include" status="PUBLISH">
27<title xml-lang="en-US" id="tit">Creating a Document Template</title>
28<filename>/text/swriter/guide/template_create.xhp</filename>
29</topic>
30</meta>
31<body>
32<bookmark xml-lang="en-US" branch="index" id="bm_id3149688">
33<bookmark_value>document templates</bookmark_value>
34<bookmark_value>templates; creating document templates</bookmark_value>
35</bookmark>
36<paragraph xml-lang="en-US" id="hd_id3149688" role="heading" level="1" l10n="U"
37oldref="62"><variable id="template_create"><link href="text/swriter/guide/template_create.xhp" name="Creating a Document Template">Creating a Document Template</link>
38</variable></paragraph>
39<paragraph xml-lang="en-US" id="par_id3149492" role="paragraph" l10n="U" oldref="63">You can create a template to use as the basis for creating new text documents.</paragraph>
40<list type="ordered">
41<listitem>
42<paragraph xml-lang="en-US" id="par_id3155915" role="listitem" l10n="U" oldref="64">Create a document and add the content and formatting styles that you want.</paragraph>
43</listitem>
44<listitem>
45<paragraph xml-lang="en-US" id="par_id3147422" role="listitem" l10n="U" oldref="65">Choose <emph>File - Templates - Save</emph>.</paragraph>
46</listitem>
47<listitem>
48<paragraph xml-lang="en-US" id="par_id3149829" role="listitem" l10n="U" oldref="66">In the <item type="menuitem">New Template</item> box, type a name for the new template.</paragraph>
49</listitem>
50<listitem>
51<paragraph xml-lang="en-US" id="par_id3156098" role="listitem" l10n="U" oldref="70">Select a template category in the <item type="menuitem">Categories</item> list.</paragraph>
52</listitem>
53<listitem>
54<paragraph xml-lang="en-US" id="par_id3149281" role="listitem" l10n="U" oldref="71">Click <emph>OK</emph>.</paragraph>
55</listitem>
56</list>
57<paragraph xml-lang="en-US" id="par_id3153404" role="paragraph" l10n="U" oldref="67">To create a document based on the template, choose <item type="menuitem">File - New - Templates and Documents</item>, select the template, and then click <item type="menuitem">Open</item>.</paragraph>
58<section id="relatedtopics">
59<embed href="text/swriter/guide/templates_styles.xhp#templates_styles"/>
60<embed href="text/swriter/guide/template_default.xhp#template_default"/>
61<embed href="text/swriter/guide/load_styles.xhp#load_styles"/>
62<paragraph xml-lang="en-US" id="par_id3149636" role="paragraph" l10n="U" oldref="68"><link href="text/shared/01/01110300.xhp" name="File - Templates - Save">File - Templates - Save</link></paragraph>
63</section>
64</body>
65</helpdocument>
66