summaryrefslogtreecommitdiffstats
path: root/source/text/shared/guide/standard_template.xhp
diff options
context:
space:
mode:
Diffstat (limited to 'source/text/shared/guide/standard_template.xhp')
-rw-r--r--source/text/shared/guide/standard_template.xhp99
1 files changed, 77 insertions, 22 deletions
diff --git a/source/text/shared/guide/standard_template.xhp b/source/text/shared/guide/standard_template.xhp
index 3abbc7f6a0..68f6faface 100644
--- a/source/text/shared/guide/standard_template.xhp
+++ b/source/text/shared/guide/standard_template.xhp
@@ -1,7 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-
-
-
+<helpdocument version="1.0">
<!--
* This file is part of the LibreOffice project.
*
@@ -20,11 +18,9 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
-->
-
- <helpdocument version="1.0">
<meta>
<topic id="textsharedguidestandard_templatexml" indexer="include" status="PUBLISH">
-<title id="tit" xml-lang="en-US">Changing Default Templates</title>
+<title id="tit" xml-lang="en-US">Creating and Changing Default and Custom Templates</title>
<filename>/text/shared/guide/standard_template.xhp</filename>
</topic>
</meta>
@@ -32,6 +28,7 @@
<bookmark xml-lang="en-US" branch="index" id="bm_id3154285"><bookmark_value>modifying, see changing</bookmark_value>
<bookmark_value>changing, see also editing and replacing</bookmark_value>
<bookmark_value>default templates; changing</bookmark_value>
+<bookmark_value>default templates; creating</bookmark_value>
<bookmark_value>defaults;documents</bookmark_value>
<bookmark_value>custom templates</bookmark_value>
<bookmark_value>updating; templates</bookmark_value>
@@ -39,36 +36,94 @@
<bookmark_value>templates;editing and saving</bookmark_value>
<bookmark_value>saving;templates</bookmark_value>
<bookmark_value>resetting;templates</bookmark_value>
-</bookmark><comment>MW deleted "changing;"</comment><paragraph role="heading" id="hd_id3154285" xml-lang="en-US" level="1"><variable id="standard_template"><link href="text/shared/guide/standard_template.xhp" name="Changing Default Templates">Changing Default Templates</link>
-</variable></paragraph>
+</bookmark>
+<h1 id="hd_id3154285" xml-lang="en-US"><variable id="standard_template"><link href="text/shared/guide/standard_template.xhp" name="Changing Default Templates">Creating and Changing Default and Custom Templates</link>
+</variable></h1>
<section id="text">
<paragraph role="paragraph" id="par_id3152811" xml-lang="en-US">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>
-<paragraph role="heading" id="hd_id3150792" xml-lang="en-US" level="2">Modifying Default Templates</paragraph>
-<list type="unordered">
+<note id="par_id3159152" xml-lang="en-US">You can define document templates for each $[officename] module.</note>
+<h2 id="hd_id3150792" xml-lang="en-US">Creating a Default Template</h2>
+<list type="ordered">
<listitem>
-<paragraph role="listitem" id="par_id3154365" xml-lang="en-US">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>
+<paragraph role="listitem" id="par_id3154365" xml-lang="en-US"><variable id="create_template">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.</variable></paragraph>
+</listitem>
+<listitem>
+<paragraph role="paragraph" id="par_id3145748" xml-lang="en-US">Save the document by choosing <menuitem>File - Templates - Save as Template</menuitem>, then enter the template name, click the <emph>Set as default template</emph> checkbox, and save in the <emph>My Templates</emph> category.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="paragraph" id="par_id3146901" xml-lang="en-US">The next time you open a new text document, the new document will be based on this new default template.</paragraph>
</listitem>
</list>
-<paragraph role="note" id="par_id3159152" xml-lang="en-US">You can define a document template for each $[officename] module. The following describes how to proceed for text documents.</paragraph>
-<list type="ordered">
+<h2 id="hd_id751605458425017">Modifying a Default Template</h2>
+<list type="ordered">
<listitem>
-<paragraph role="paragraph" id="par_id3145748" xml-lang="en-US">Save the document by choosing <emph>File - Templates - Save As Template</emph> and saving the document in the <emph>My Templates</emph> category.</paragraph>
+<paragraph role="paragraph" id="par_id3154011" xml-lang="en-US"><variable id="edit_template">Choose <menuitem>File - Templates - Manage Templates</menuitem>.</variable></paragraph>
</listitem>
+
<listitem>
-<paragraph role="paragraph" id="par_id3154011" xml-lang="en-US">Choose <emph>File - New - Templates</emph>.</paragraph>
+<paragraph id="par_id531605464645795" role="listitem">Use <emph>Filter</emph> to select the type of document.</paragraph>
</listitem>
+
<listitem>
-<paragraph role="paragraph" id="par_id3145799" xml-lang="en-US">Double-click <emph>My Templates</emph> in the list. You will see the user-defined templates in the user directory specified under <switchinline select="sys"><caseinline select="MAC"><emph>%PRODUCTNAME - Preferences</emph></caseinline><defaultinline><emph>Tools - Options</emph></defaultinline></switchinline><emph> - %PRODUCTNAME - Paths</emph>. Select the template you have just saved.</paragraph>
+<paragraph id="par_id981605464830645" role="listitem">The default template is marked with a green check mark. Right-click that template and choose <menuitem>Edit</menuitem>.</paragraph>
</listitem>
<listitem>
-<paragraph role="paragraph" id="par_id3146901" xml-lang="en-US">Choose <emph>Set as default</emph>. The next time you open a new text document, the new document will be based on the new default template.</paragraph>
+<paragraph id="par_id211605464919603" role="listitem"><variable id="save_template">Make desired changes, choose <menuitem>File - Save</menuitem>, and close the document.</variable></paragraph>
</listitem>
+ <listitem>
+ <paragraph id="par_id851605464921341" role="listitem">When you open a new document, the modified default template will be used.</paragraph>
+ </listitem>
+</list>
+<switch select="appl">
+<case select="CALC"></case>
+<case select="DRAW"></case>
+<case select="IMPRESS">
+<note id="par_id131605483428241">%PRODUCTNAME provides built-in presentation templates, which cannot be edited, renamed, or deleted. To modify a built-in presentation template, open a document using the template, modify, then save as a new template.</note>
+</case>
+<case select="WRITER">
+<note id="par_id461605483905608">%PRODUCTNAME provides built-in templates for Writer, which cannot be edited, renamed, or deleted. To modify a built-in template, open a document using the template, modify, then save as a new template.</note>
+ </case>
+<default>
+</default>
+</switch>
+<h2 id="hd_id891605476755142">Setting a Template as Default</h2>
+<list type="ordered">
+ <listitem>
+ <paragraph id="par_id501605476796634" role="listitem"><embedvar href="text/shared/guide/standard_template.xhp#edit_template"/></paragraph>
+ </listitem>
+ <listitem>
+ <paragraph id="par_id711605476873605" role="listitem">Right-click on template to be made default, choose <menuitem>Set as Default</menuitem>.</paragraph>
+ </listitem>
</list>
-<paragraph role="heading" id="hd_id3153764" xml-lang="en-US" level="2">Using Custom Templates</paragraph>
-<paragraph role="paragraph" id="par_id3150386" xml-lang="en-US">There are several ways to make your work easier by using your own custom templates. </paragraph>
-<paragraph role="heading" id="hd_id3149109" xml-lang="en-US" level="3">Templates in the Template Folder</paragraph>
-<paragraph role="paragraph" id="par_id3146918" xml-lang="en-US">You can save a new template with <emph>File - Templates - Save As Template</emph> or by selecting "Template" file type in any Save dialog. Save the template in the user directory specified under <switchinline select="sys"><caseinline select="MAC"><emph>%PRODUCTNAME - Preferences</emph></caseinline><defaultinline><emph>Tools - Options</emph></defaultinline></switchinline><emph> - %PRODUCTNAME - Paths</emph> to be able to access the template from within the <emph>File - New - Templates</emph> dialog.</paragraph>
-<paragraph role="paragraph" id="par_id3147343" xml-lang="en-US">To open the template for editing, choose <emph>File - New - Templates</emph>, select the template and click the <emph>Edit</emph> button.</paragraph>
+
+<h2 id="hd_id3153764" xml-lang="en-US">Creating a Custom Template</h2>
+ <list type="ordered">
+ <listitem>
+ <paragraph id="par_id231605475396242" role="listitem"><embedvar href="text/shared/guide/standard_template.xhp#create_template"/></paragraph>
+ </listitem>
+ <listitem>
+ <paragraph id="par_id251605475503009" role="listitem">Choose <menuitem>File - Templates - Save As Template</menuitem>, then enter the template name, choose a <emph>Template category</emph>, and save.</paragraph>
+ </listitem>
+</list>
+
+<h2 id="hd_id311605475738848">Modifying a Custom Template</h2>
+<list type="ordered">
+ <listitem>
+ <paragraph id="par_id901605475822840" role="listitem"><embedvar href="text/shared/guide/standard_template.xhp#edit_template"/></paragraph>
+ </listitem>
+ <listitem>
+ <paragraph id="par_id51605476162735" role="listitem">Right-click on the template to be modified, and choose <menuitem>Edit</menuitem>.
+ </paragraph>
+ </listitem>
+ <listitem>
+ <paragraph id="par_id191605477448444" role="listitem"><embedvar href="text/shared/guide/standard_template.xhp#save_template"/></paragraph>
+ </listitem>
+</list>
+
+<h2 id="hd_id3149109" xml-lang="en-US">Saving a Template in the Template Folder</h2>
+<paragraph role="paragraph" id="par_id3146918" xml-lang="en-US">You can save any document as a template by selecting "Template" file type in the Save dialog. To access the template from the Template Manager, save the template in the <emph>User Paths</emph> directory specified for <emph>Templates</emph> in <switchinline select="sys"><caseinline select="MAC"><menuitem>%PRODUCTNAME - Preferences</menuitem></caseinline><defaultinline><menuitem>Tools - Options</menuitem></defaultinline></switchinline><emph> - %PRODUCTNAME - Paths</emph>. It is often easier to save a document with <menuitem>File - Templates - Save As Template</menuitem>, because it automatically places the template in the appropriate directory.</paragraph>
+
+<tip id="par_id271605485719890">The <link href="text/shared/guide/template_manager" name="templatemanager">Template Manager</link> is the preferred method for working with templates. <menuitem>File - New - Templates</menuitem> and <menuitem>File - Templates - Manage Templates</menuitem> are equivalent for opening the <emph>Template Manager</emph>. <keycode>Ctrl+Shift+N</keycode> is the predefined shortcut key.</tip>
</section>
<section id="relatedtopics">
<paragraph role="paragraph" id="par_id3147315" xml-lang="en-US"><link href="text/shared/01/01110000.xhp" name="Templates">Templates</link></paragraph>