forked from amazingfate/help
132 lines
8.7 KiB
XML
Executable File
132 lines
8.7 KiB
XML
Executable File
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--***********************************************************************
|
|
*
|
|
* The Contents of this file are made available subject to the terms of
|
|
* either of the following licenses
|
|
*
|
|
* - GNU Lesser General Public License Version 2.1
|
|
* - Sun Industry Standards Source License Version 1.1
|
|
*
|
|
* Sun Microsystems Inc., October, 2000
|
|
*
|
|
* GNU Lesser General Public License Version 2.1
|
|
* =============================================
|
|
* Copyright 2000 by Sun Microsystems, Inc.
|
|
* 901 San Antonio Road, Palo Alto, CA 94303, USA
|
|
*
|
|
* This library is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
* License version 2.1, as published by the Free Software Foundation.
|
|
*
|
|
* This library is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* Lesser General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
* License along with this library; if not, write to the Free Software
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
|
|
* MA 02111-1307 USA
|
|
*
|
|
*
|
|
* Sun Industry Standards Source License Version 1.1
|
|
* =================================================
|
|
* The contents of this file are subject to the Sun Industry Standards
|
|
* Source License Version 1.1 (the "License"); You may not use this file
|
|
* except in compliance with the License. You may obtain a copy of the
|
|
* License at http://www.openoffice.org/license.html.
|
|
*
|
|
* Software provided under this License is provided on an "AS IS" basis,
|
|
* WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
|
|
* WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
|
|
* MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
|
|
* See the License for the specific provisions governing your rights and
|
|
* obligations concerning the Software.
|
|
*
|
|
* The Initial Developer of the Original Code is: Sun Microsystems, Inc..
|
|
*
|
|
* Copyright: 2000 by Sun Microsystems, Inc.
|
|
*
|
|
* All Rights Reserved.
|
|
*
|
|
* Contributor(s): _______________________________________
|
|
*
|
|
*
|
|
************************************************************************-->
|
|
|
|
<helpdocument version="1.0">
|
|
<meta>
|
|
<topic id="textsharedguidestandard_templatexml" indexer="include" status="PUBLISH">
|
|
<title id="tit" xml-lang="en-US">Changing Default Templates</title>
|
|
<filename>/text/shared/guide/standard_template.xhp</filename>
|
|
</topic>
|
|
<history>
|
|
<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
|
|
<lastedited date="2004-07-26T11:54:07">FPE: Deleted screenshot. Slightly cleaned.</lastedited>
|
|
</history>
|
|
</meta>
|
|
<body>
|
|
<bookmark xml-lang="en-US" branch="index" id="bm_id3154285"><bookmark_value>templates; changing default templates</bookmark_value>
|
|
<bookmark_value>default templates; changing</bookmark_value>
|
|
<bookmark_value>default documents</bookmark_value>
|
|
<bookmark_value>templates; documents</bookmark_value>
|
|
<bookmark_value>templates; using</bookmark_value>
|
|
<bookmark_value>custom templates</bookmark_value>
|
|
<bookmark_value>updating; templates</bookmark_value>
|
|
<bookmark_value>editing;templates</bookmark_value>
|
|
<bookmark_value>templates;editing</bookmark_value>
|
|
<bookmark_value>saving;templates</bookmark_value>
|
|
<bookmark_value>templates;saving</bookmark_value>
|
|
</bookmark>
|
|
<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>
|
|
</variable></paragraph>
|
|
<section id="text">
|
|
<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>
|
|
<paragraph role="heading" id="hd_id3150792" xml-lang="en-US" level="2" l10n="U" oldref="3">Modifying Default Templates</paragraph>
|
|
<list type="unordered">
|
|
<listitem>
|
|
<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, empty document and edit it as necessary to create the desired template.</paragraph>
|
|
</listitem>
|
|
</list>
|
|
<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>
|
|
<list type="ordered">
|
|
<listitem>
|
|
<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>Default</emph> category.</paragraph>
|
|
</listitem>
|
|
<listitem>
|
|
<paragraph role="paragraph" id="par_id3154011" xml-lang="en-US" l10n="U" oldref="9">Choose <emph>File - Templates - Organize</emph>.</paragraph>
|
|
</listitem>
|
|
<listitem>
|
|
<paragraph role="paragraph" id="par_id3145799" xml-lang="en-US" l10n="U" oldref="11">Double-click <emph>Default</emph> in the list on the left. You will see the user-defined templates in the directory $[officepath]\user\template. Select the template you have just saved and open the context menu or open the submenu of the <emph>Commands</emph> button.</paragraph>
|
|
</listitem>
|
|
<listitem>
|
|
<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>
|
|
</listitem>
|
|
</list>
|
|
<paragraph role="heading" id="hd_id3153947" xml-lang="en-US" level="2" l10n="U" oldref="27">Resetting Default Templates</paragraph>
|
|
<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>
|
|
<list type="ordered">
|
|
<listitem>
|
|
<paragraph role="listitem" id="par_id3146792" xml-lang="en-US" l10n="U" oldref="29">Choose <emph>File - Templates - Organize</emph>.</paragraph>
|
|
</listitem>
|
|
<listitem>
|
|
<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>
|
|
</listitem>
|
|
</list>
|
|
<paragraph role="heading" id="hd_id3153764" xml-lang="en-US" level="2" l10n="U" oldref="13">Using Custom Templates</paragraph>
|
|
<paragraph role="paragraph" id="par_id3150386" xml-lang="en-US" l10n="U" oldref="14">There are several ways to make your work easier by using your own custom templates. One of the most important is quick access to the templates. You can store your templates in different locations in $[officename]. Opening a new document with one of your templates will then differ accordingly.</paragraph>
|
|
<paragraph role="heading" id="hd_id3149109" xml-lang="en-US" level="3" l10n="U" oldref="15">Templates in the Template Folder</paragraph>
|
|
<paragraph role="paragraph" id="par_id3146918" xml-lang="en-US" l10n="U" 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 $[officepath]/user/template directory to access through the <emph>File - New - From Templates and Documents</emph> dialog. Opening the template applies the template formatting to a new document.</paragraph>
|
|
<paragraph role="paragraph" 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>
|
|
<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>
|
|
</section>
|
|
<section id="relatedtopics">
|
|
<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>
|
|
<switch select="appl">
|
|
<case select="WRITER"><embed href="text/swriter/guide/template_default.xhp#template_default"/>
|
|
</case>
|
|
</switch>
|
|
</section>
|
|
</body>
|
|
</helpdocument>
|