1*cdf0e10cSrcweir<?xml version="1.0" encoding="UTF-8"?>
2*cdf0e10cSrcweir
3*cdf0e10cSrcweir
4*cdf0e10cSrcweir
5*cdf0e10cSrcweir<!--
6*cdf0e10cSrcweir ***********************************************************************
7*cdf0e10cSrcweir *
8*cdf0e10cSrcweir * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
9*cdf0e10cSrcweir *
10*cdf0e10cSrcweir * Copyright 2000, 2010 Oracle and/or its affiliates.
11*cdf0e10cSrcweir *
12*cdf0e10cSrcweir * OpenOffice.org - a multi-platform office productivity suite
13*cdf0e10cSrcweir *
14*cdf0e10cSrcweir * This file is part of OpenOffice.org.
15*cdf0e10cSrcweir *
16*cdf0e10cSrcweir * OpenOffice.org is free software: you can redistribute it and/or modify
17*cdf0e10cSrcweir * it under the terms of the GNU Lesser General Public License version 3
18*cdf0e10cSrcweir * only, as published by the Free Software Foundation.
19*cdf0e10cSrcweir *
20*cdf0e10cSrcweir * OpenOffice.org is distributed in the hope that it will be useful,
21*cdf0e10cSrcweir * but WITHOUT ANY WARRANTY; without even the implied warranty of
22*cdf0e10cSrcweir * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
23*cdf0e10cSrcweir * GNU Lesser General Public License version 3 for more details
24*cdf0e10cSrcweir * (a copy is included in the LICENSE file that accompanied this code).
25*cdf0e10cSrcweir *
26*cdf0e10cSrcweir * You should have received a copy of the GNU Lesser General Public License
27*cdf0e10cSrcweir * version 3 along with OpenOffice.org.  If not, see
28*cdf0e10cSrcweir * <http://www.openoffice.org/license.html>
29*cdf0e10cSrcweir * for a copy of the LGPLv3 License.
30*cdf0e10cSrcweir *
31*cdf0e10cSrcweir ************************************************************************
32*cdf0e10cSrcweir -->
33*cdf0e10cSrcweir
34*cdf0e10cSrcweir
35*cdf0e10cSrcweir		<helpdocument version="1.0">
36*cdf0e10cSrcweir<meta>
37*cdf0e10cSrcweir<topic id="textsharedguidestandard_templatexml" indexer="include" status="PUBLISH">
38*cdf0e10cSrcweir<title id="tit" xml-lang="en-US">Changing Default Templates</title>
39*cdf0e10cSrcweir<filename>/text/shared/guide/standard_template.xhp</filename>
40*cdf0e10cSrcweir</topic>
41*cdf0e10cSrcweir</meta>
42*cdf0e10cSrcweir<body>
43*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3154285"><bookmark_value>modifying, see changing</bookmark_value>
44*cdf0e10cSrcweir<bookmark_value>changing, see also editing and replacing</bookmark_value>
45*cdf0e10cSrcweir<bookmark_value>default templates; changing</bookmark_value>
46*cdf0e10cSrcweir<bookmark_value>defaults;documents</bookmark_value>
47*cdf0e10cSrcweir<bookmark_value>custom templates</bookmark_value>
48*cdf0e10cSrcweir<bookmark_value>updating; templates</bookmark_value>
49*cdf0e10cSrcweir<bookmark_value>editing;templates</bookmark_value>
50*cdf0e10cSrcweir<bookmark_value>templates;editing and saving</bookmark_value>
51*cdf0e10cSrcweir<bookmark_value>saving;templates</bookmark_value>
52*cdf0e10cSrcweir<bookmark_value>resetting;templates</bookmark_value>
53*cdf0e10cSrcweir</bookmark><comment>MW deleted "changing;"</comment><paragraph role="heading" id="hd_id3154285" xml-lang="en-US" level="1" l10n="U" oldref="36"><variable id="standard_template"><link href="text/shared/guide/standard_template.xhp" name="Changing Default Templates">Changing Default Templates</link>
54*cdf0e10cSrcweir</variable></paragraph>
55*cdf0e10cSrcweir<section id="text">
56*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3152811" xml-lang="en-US" l10n="U" oldref="2">When you open a new document with <emph>File - New</emph>, a blank document appears based on a $[officename] template. You can edit, modify, or replace this template so that the new document contains your customized Styles or other contents.</paragraph>
57*cdf0e10cSrcweir<paragraph role="heading" id="hd_id3150792" xml-lang="en-US" level="2" l10n="U" oldref="3">Modifying Default Templates</paragraph>
58*cdf0e10cSrcweir<list type="unordered">
59*cdf0e10cSrcweir<listitem>
60*cdf0e10cSrcweir<paragraph role="listitem" id="par_id3154365" xml-lang="en-US" l10n="U" oldref="4">First, open either an existing $[officename] template and modify it, or open a new document and edit it as necessary to create the desired template.</paragraph>
61*cdf0e10cSrcweir</listitem>
62*cdf0e10cSrcweir</list>
63*cdf0e10cSrcweir<paragraph role="note" id="par_id3159152" xml-lang="en-US" l10n="U" oldref="6">You can define a document template for each $[officename] module. The following describes how to proceed for text documents.</paragraph>
64*cdf0e10cSrcweir<list type="ordered">
65*cdf0e10cSrcweir<listitem>
66*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3145748" xml-lang="en-US" l10n="U" oldref="8">Save the document by choosing<emph> File</emph> -<emph> Templates - Save </emph>and saving the document in the <emph>My Templates</emph> category.</paragraph>
67*cdf0e10cSrcweir</listitem>
68*cdf0e10cSrcweir<listitem>
69*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3154011" xml-lang="en-US" l10n="U" oldref="9">Choose <emph>File - Templates - Organize</emph>.</paragraph>
70*cdf0e10cSrcweir</listitem>
71*cdf0e10cSrcweir<listitem>
72*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3145799" xml-lang="en-US" l10n="CHG" oldref="11">Double-click <emph>My Templates</emph> in the list on the left. You will see the user-defined templates in the user directory specified under <emph><switchinline select="sys"><caseinline select="MAC">%PRODUCTNAME - Preferences</caseinline><defaultinline>Tools - Options</defaultinline></switchinline> - %PRODUCTNAME - Paths</emph>. Select the template you have just saved and open the context menu or open the submenu of the <emph>Commands</emph> button.</paragraph>
73*cdf0e10cSrcweir</listitem>
74*cdf0e10cSrcweir<listitem>
75*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3146901" xml-lang="en-US" l10n="U" oldref="26">Choose <emph>Set As Default Template</emph>. The next time you open a new text document, the new document will be based on the new default template.</paragraph>
76*cdf0e10cSrcweir</listitem>
77*cdf0e10cSrcweir</list>
78*cdf0e10cSrcweir<paragraph role="heading" id="hd_id3153947" xml-lang="en-US" level="2" l10n="U" oldref="27">Resetting Default Templates</paragraph>
79*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3156276" xml-lang="en-US" l10n="U" oldref="12">To reset the modified text template to the original default template:</paragraph>
80*cdf0e10cSrcweir<list type="ordered">
81*cdf0e10cSrcweir<listitem>
82*cdf0e10cSrcweir<paragraph role="listitem" id="par_id3146792" xml-lang="en-US" l10n="U" oldref="29">Choose <emph>File - Templates - Organize</emph>.</paragraph>
83*cdf0e10cSrcweir</listitem>
84*cdf0e10cSrcweir<listitem>
85*cdf0e10cSrcweir<paragraph role="listitem" id="par_id3153714" xml-lang="en-US" l10n="U" oldref="32">Open the context menu and choose <emph>Reset default template</emph>. In the submenu, select the document type whose default setting you want to restore. Thereafter, when you open an empty text document, it will again correspond to the $[officename] default template for text documents.</paragraph>
86*cdf0e10cSrcweir</listitem>
87*cdf0e10cSrcweir</list>
88*cdf0e10cSrcweir<paragraph role="heading" id="hd_id3153764" xml-lang="en-US" level="2" l10n="U" oldref="13">Using Custom Templates</paragraph>
89*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3150386" xml-lang="en-US" l10n="CHG" oldref="14">There are several ways to make your work easier by using your own custom templates. </paragraph>
90*cdf0e10cSrcweir<paragraph role="heading" id="hd_id3149109" xml-lang="en-US" level="3" l10n="U" oldref="15">Templates in the Template Folder</paragraph>
91*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3146918" xml-lang="en-US" l10n="CHG" oldref="16">You can save a new template with <emph>File - Templates - Save</emph> or by selecting "Template" file type in any Save dialog. Save the template in the user directory specified under <emph><switchinline select="sys"><caseinline select="MAC">%PRODUCTNAME - Preferences</caseinline><defaultinline>Tools - Options</defaultinline></switchinline> - %PRODUCTNAME - Paths</emph> to be able to access the template from within the <emph>File - New - From Templates and Documents</emph> dialog.</paragraph>
92*cdf0e10cSrcweir<paragraph role="tip" id="par_id3155960" xml-lang="en-US" l10n="U" oldref="33">You may need to update the view of the templates in the dialog before you can see a newly created template. In this case, choose <emph>File - Templates - Organize</emph> and in the submenu of the <emph>Commands</emph> button, choose <emph>Update</emph>.</paragraph>
93*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3147343" xml-lang="en-US" l10n="U" oldref="17">To open the template for editing, choose <emph>File - Templates - Edit</emph>.</paragraph>
94*cdf0e10cSrcweir</section>
95*cdf0e10cSrcweir<section id="relatedtopics">
96*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3147315" xml-lang="en-US" l10n="U" oldref="37"><link href="text/shared/01/01110000.xhp" name="Templates">Templates</link></paragraph>
97*cdf0e10cSrcweir<switch select="appl">
98*cdf0e10cSrcweir<case select="WRITER"><embed href="text/swriter/guide/template_default.xhp#template_default"/>
99*cdf0e10cSrcweir</case>
100*cdf0e10cSrcweir</switch></section>
101*cdf0e10cSrcweir</body>
102*cdf0e10cSrcweir</helpdocument>
103