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"><variable id="template_create"><link href="text/swriter/guide/template_create.xhp" name="Creating a Document Template">Creating a Document Template</link> 37</variable></paragraph> 38<paragraph xml-lang="en-US" id="par_id3149492" role="paragraph" l10n="U">You can create a template to use as the basis for creating new text documents.</paragraph> 39<list type="ordered"> 40<listitem> 41<paragraph xml-lang="en-US" id="par_id3155915" role="listitem" l10n="U">Create a document and add the content and formatting styles that you want.</paragraph> 42</listitem> 43<listitem> 44<paragraph xml-lang="en-US" id="par_id3147422" role="listitem" l10n="U">Choose <emph>File - Templates - Save</emph>.</paragraph> 45</listitem> 46<listitem> 47<paragraph xml-lang="en-US" id="par_id3149829" role="listitem" l10n="U">In the <item type="menuitem">New Template</item> box, type a name for the new template.</paragraph> 48</listitem> 49<listitem> 50<paragraph xml-lang="en-US" id="par_id3156098" role="listitem" l10n="U">Select a template category in the <item type="menuitem">Categories</item> list.</paragraph> 51</listitem> 52<listitem> 53<paragraph xml-lang="en-US" id="par_id3149281" role="listitem" l10n="U">Click <emph>OK</emph>.</paragraph> 54</listitem> 55</list> 56<paragraph xml-lang="en-US" id="par_id3153404" role="paragraph" l10n="U">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> 57<section id="relatedtopics"> 58<embed href="text/swriter/guide/templates_styles.xhp#templates_styles"/> 59<embed href="text/swriter/guide/template_default.xhp#template_default"/> 60<embed href="text/swriter/guide/load_styles.xhp#load_styles"/> 61<paragraph xml-lang="en-US" id="par_id3149636" role="paragraph" l10n="U"><link href="text/shared/01/01110300.xhp" name="File - Templates - Save">File - Templates - Save</link></paragraph> 62</section> 63</body> 64</helpdocument> 65