1<?xml version="1.0" encoding="UTF-8"?> 2<helpdocument version="1.0"> 3 4<!--*********************************************************** 5 * 6 * Licensed to the Apache Software Foundation (ASF) under one 7 * or more contributor license agreements. See the NOTICE file 8 * distributed with this work for additional information 9 * regarding copyright ownership. The ASF licenses this file 10 * to you under the Apache License, Version 2.0 (the 11 * "License"); you may not use this file except in compliance 12 * with the License. You may obtain a copy of the License at 13 * 14 * http://www.apache.org/licenses/LICENSE-2.0 15 * 16 * Unless required by applicable law or agreed to in writing, 17 * software distributed under the License is distributed on an 18 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 19 * KIND, either express or implied. See the License for the 20 * specific language governing permissions and limitations 21 * under the License. 22 * 23 ***********************************************************--> 24 25 26 27 28<meta> 29 <topic id="textswriterguidetemplate_createxml" indexer="include" status="PUBLISH"> 30 <title xml-lang="en-US" id="tit">Creating a Document Template</title> 31 <filename>/text/swriter/guide/template_create.xhp</filename> 32 </topic> 33 </meta> 34 <body> 35<bookmark xml-lang="en-US" branch="index" id="bm_id3149688"><bookmark_value>document templates</bookmark_value> 36 <bookmark_value>templates; creating document templates</bookmark_value> 37</bookmark> 38<paragraph xml-lang="en-US" id="hd_id3149688" role="heading" level="1" l10n="U" 39 oldref="62"><variable id="template_create"><link href="text/swriter/guide/template_create.xhp" name="Creating a Document Template">Creating a Document Template</link> 40</variable></paragraph> 41 <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> 42 <list type="ordered"> 43 <listitem> 44 <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> 45 </listitem> 46 <listitem> 47 <paragraph xml-lang="en-US" id="par_id3147422" role="listitem" l10n="U" oldref="65">Choose <emph>File - Templates - Save</emph>.</paragraph> 48 </listitem> 49 <listitem> 50 <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> 51 </listitem> 52 <listitem> 53 <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> 54 </listitem> 55 <listitem> 56 <paragraph xml-lang="en-US" id="par_id3149281" role="listitem" l10n="U" oldref="71">Click <emph>OK</emph>.</paragraph> 57 </listitem> 58 </list> 59 <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> 60 <section id="relatedtopics"> 61 <embed href="text/swriter/guide/templates_styles.xhp#templates_styles"/> 62 <embed href="text/swriter/guide/template_default.xhp#template_default"/> 63 <embed href="text/swriter/guide/load_styles.xhp#load_styles"/> 64 <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> 65 </section> 66 </body> 67</helpdocument>