merge the formfield patch from ooo-build
[ooovba.git] / helpcontent2 / source / text / swriter / guide / autotext.xhp
blob73969106009c4f3abd813efb7d7b52975855cade
1 <?xml version="1.0" encoding="UTF-8"?>
2 <helpdocument version="1.0">
4 <!--
5 ***********************************************************************
7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
8 *
9 * Copyright 2008 by Sun Microsystems, Inc.
11 * OpenOffice.org - a multi-platform office productivity suite
13 * $RCSfile: soffice2xmlhelp.xsl,v $
14 * $Revision: 1.10 $
16 * This file is part of OpenOffice.org.
18 * OpenOffice.org is free software: you can redistribute it and/or modify
19 * it under the terms of the GNU Lesser General Public License version 3
20 * only, as published by the Free Software Foundation.
22 * OpenOffice.org is distributed in the hope that it will be useful,
23 * but WITHOUT ANY WARRANTY; without even the implied warranty of
24 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25 * GNU Lesser General Public License version 3 for more details
26 * (a copy is included in the LICENSE file that accompanied this code).
28 * You should have received a copy of the GNU Lesser General Public License
29 * version 3 along with OpenOffice.org. If not, see
30 * <http://www.openoffice.org/license.html>
31 * for a copy of the LGPLv3 License.
33 ************************************************************************
34 -->
37 <meta>
38 <topic id="textswriterguideautotextxml" indexer="include" status="PUBLISH">
39 <title xml-lang="en-US" id="tit">Using AutoText</title>
40 <filename>/text/swriter/guide/autotext.xhp</filename>
41 </topic>
42 </meta>
43 <body>
44 <bookmark xml-lang="en-US" branch="index" id="bm_id3155521"><bookmark_value>AutoText</bookmark_value>
45 <bookmark_value>networks and AutoText directories</bookmark_value>
46 <bookmark_value>lists;AutoText shortcuts</bookmark_value>
47 <bookmark_value>printing;AutoText shortcuts</bookmark_value>
48 <bookmark_value>inserting;text blocks</bookmark_value>
49 <bookmark_value>text blocks</bookmark_value>
50 <bookmark_value>blocks of text</bookmark_value>
51 </bookmark><comment>mw deleted "creating;"</comment>
52 <paragraph xml-lang="en-US" id="hd_id3155521" role="heading" level="1" l10n="U"
53 oldref="26"><variable id="autotext"><link href="text/swriter/guide/autotext.xhp" name="Using AutoText">Using AutoText</link>
54 </variable></paragraph>
55 <paragraph xml-lang="en-US" id="par_id3150534" role="paragraph" l10n="CHG" oldref="27">In $[officename] Writer, you can store text - also containing graphics, tables, and fields - as AutoText, so that you can quickly insert the text later on. If you want, you can also store formatted text.</paragraph>
56 <paragraph xml-lang="en-US" id="hd_id3155539" role="heading" level="2" l10n="U"
57 oldref="48">To To Create an AutoText Entry</paragraph>
58 <list type="ordered">
59 <listitem>
60 <paragraph xml-lang="en-US" id="par_id3155560" role="listitem" l10n="U" oldref="47">Select the text, text with graphics, table, or field that you want to save as an AutoText entry. A graphic can only be stored if it is anchored as a character and is preceded and followed by at least one text character.</paragraph>
61 </listitem>
62 <listitem>
63 <paragraph xml-lang="en-US" id="par_id3155581" role="listitem" l10n="U" oldref="57">Choose<emph/>
64 <item type="menuitem">Edit - AutoText</item>.</paragraph>
65 </listitem>
66 <listitem>
67 <paragraph xml-lang="en-US" id="par_id3147761" role="listitem" l10n="U" oldref="58">Select the category where you want to store the AutoText.</paragraph>
68 </listitem>
69 <listitem>
70 <paragraph xml-lang="en-US" id="par_id3147779" role="listitem" l10n="U" oldref="59">Type a name that is longer than four characters. This allows you to use the <emph>Display remainder of name as suggestion while typing</emph> AutoText option. If you want, you can modify the proposed shortcut.</paragraph>
71 </listitem>
72 <listitem>
73 <paragraph xml-lang="en-US" id="par_id3147807" role="listitem" l10n="U" oldref="60">Click the <emph>AutoText</emph> button, and then choose <emph>New</emph>. </paragraph>
74 </listitem>
75 <listitem>
76 <paragraph xml-lang="en-US" id="par_idN10732" role="listitem" l10n="NEW">Click the <emph>Close</emph> button.</paragraph>
77 </listitem>
78 </list>
79 <paragraph xml-lang="en-US" id="hd_id3147282" role="heading" level="2" l10n="U"
80 oldref="39">To Insert an AutoText Entry</paragraph>
81 <list type="ordered">
82 <listitem>
83 <paragraph xml-lang="en-US" id="par_id3145597" role="listitem" l10n="U" oldref="61">Click in your document where you want to insert an AutoText entry.</paragraph>
84 </listitem>
85 <listitem>
86 <paragraph xml-lang="en-US" id="par_id3145615" role="listitem" l10n="U" oldref="28">Choose <link href="text/swriter/01/02120000.xhp" name="Edit - AutoText"><emph>Edit - AutoText</emph></link>.</paragraph>
87 </listitem>
88 <listitem>
89 <paragraph xml-lang="en-US" id="par_id3145644" role="listitem" l10n="U" oldref="38">Select the AutoText that you want to insert, and then click<emph/>
90 <item type="menuitem">Insert</item>.</paragraph>
91 </listitem>
92 </list>
93 <paragraph xml-lang="en-US" id="par_id3145668" role="paragraph" l10n="CHG" oldref="30">You can also type the shortcut for an AutoText entry, and then press F3, or click the arrow next to the <item type="menuitem">AutoText</item>
94 <emph/>icon on the <item type="menuitem">Insert</item> bar, and then choose an AutoText entry. </paragraph>
95 <paragraph xml-lang="en-US" id="par_id3155090" role="tip" l10n="U" oldref="43">To quickly enter a %PRODUCTNAME Math formula, type <item type="literal">fn</item>, and then press F3. If you insert more than one formula, the formulae are sequentially numbered. To insert dummy text, type <item type="literal">dt</item>, and then press F3. </paragraph>
96 <paragraph xml-lang="en-US" id="hd_id3155115" role="heading" level="2" l10n="U"
97 oldref="45">To Print a List of AutoText Entries</paragraph>
98 <list type="ordered">
99 <listitem>
100 <paragraph xml-lang="en-US" id="par_id3155136" role="listitem" l10n="CHG" oldref="44">Choose <emph>Tools - Macros - Organize Macros - %PRODUCTNAME Basic</emph>.</paragraph>
101 </listitem>
102 <listitem>
103 <paragraph xml-lang="en-US" id="par_id3155160" role="listitem" l10n="CHG" oldref="62">In the <emph>Macro from</emph> list, double-click "%PRODUCTNAME Macros - Gimmicks".</paragraph>
104 </listitem>
105 <listitem>
106 <paragraph xml-lang="en-US" id="par_id3151277" role="listitem" l10n="U" oldref="63">Select "AutoText" and then click <emph>Run</emph>. A list of the current AutoText entries is generated in a separate text document.</paragraph>
107 </listitem>
108 <listitem>
109 <paragraph xml-lang="en-US" id="par_id3151304" role="listitem" l10n="U" oldref="64">Choose <emph>File - Print</emph>.</paragraph>
110 </listitem>
111 </list>
112 <paragraph xml-lang="en-US" id="hd_id3151327" role="heading" level="2" l10n="U"
113 oldref="49">Using AutoText in Network Installations</paragraph>
114 <paragraph xml-lang="en-US" id="par_id3151355" role="paragraph" l10n="U" oldref="50">You can store AutoText entries in different directories on a network.</paragraph>
115 <paragraph xml-lang="en-US" id="par_id3151370" role="paragraph" l10n="U" oldref="51">For example, you can store "read-only" AutoText entries for your company on a central server, and user-defined AutoText entries in a local directory.</paragraph>
116 <paragraph xml-lang="en-US" id="par_id3151390" role="paragraph" l10n="CHG" oldref="52">The paths for the AutoText directories can be edited in the configuration.</paragraph>
117 <paragraph xml-lang="en-US" id="par_id3154960" role="paragraph" l10n="U" oldref="53">Two directories are listed here. The first entry is on the server installation and the second entry is in the user directory. If there are two AutoText entries with the same name in both directories, the entry from the user directory is used.</paragraph>
118 <section id="relatedtopics">
119 <paragraph xml-lang="en-US" id="par_id3154995" role="paragraph" l10n="U" oldref="42"><link href="text/swriter/01/02120000.xhp" name="Edit - AutoText">Edit - AutoText</link></paragraph>
120 <paragraph xml-lang="en-US" id="par_id3155012" role="paragraph" l10n="U" oldref="46"><link href="text/shared/01/06040600.xhp" name="Word Completion">Word Completion</link></paragraph>
121 </section>
122 </body>
123 </helpdocument>