1cdf0e10cSrcweir<?xml version="1.0" encoding="UTF-8"?>
2cdf0e10cSrcweir<helpdocument version="1.0">
3cdf0e10cSrcweir
40e4b25e7SAndrew Rist<!--***********************************************************
5cdf0e10cSrcweir *
60e4b25e7SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
70e4b25e7SAndrew Rist * or more contributor license agreements.  See the NOTICE file
80e4b25e7SAndrew Rist * distributed with this work for additional information
90e4b25e7SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
100e4b25e7SAndrew Rist * to you under the Apache License, Version 2.0 (the
110e4b25e7SAndrew Rist * "License"); you may not use this file except in compliance
120e4b25e7SAndrew Rist * with the License.  You may obtain a copy of the License at
130e4b25e7SAndrew Rist *
140e4b25e7SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
150e4b25e7SAndrew Rist *
160e4b25e7SAndrew Rist * Unless required by applicable law or agreed to in writing,
170e4b25e7SAndrew Rist * software distributed under the License is distributed on an
180e4b25e7SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
190e4b25e7SAndrew Rist * KIND, either express or implied.  See the License for the
200e4b25e7SAndrew Rist * specific language governing permissions and limitations
210e4b25e7SAndrew Rist * under the License.
220e4b25e7SAndrew Rist *
230e4b25e7SAndrew Rist ***********************************************************-->
240e4b25e7SAndrew Rist
250e4b25e7SAndrew Rist
26cdf0e10cSrcweir
27cdf0e10cSrcweir
28cdf0e10cSrcweir<meta>
29cdf0e10cSrcweir      <topic id="textswriterguideautotextxml" indexer="include" status="PUBLISH">
30cdf0e10cSrcweir         <title xml-lang="en-US" id="tit">Using AutoText</title>
31cdf0e10cSrcweir         <filename>/text/swriter/guide/autotext.xhp</filename>
32cdf0e10cSrcweir      </topic>
33cdf0e10cSrcweir   </meta>
34cdf0e10cSrcweir   <body>
35cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3155521"><bookmark_value>AutoText</bookmark_value>
36cdf0e10cSrcweir      <bookmark_value>networks and AutoText directories</bookmark_value>
37cdf0e10cSrcweir      <bookmark_value>lists;AutoText shortcuts</bookmark_value>
38cdf0e10cSrcweir      <bookmark_value>printing;AutoText shortcuts</bookmark_value>
39cdf0e10cSrcweir      <bookmark_value>inserting;text blocks</bookmark_value>
40cdf0e10cSrcweir      <bookmark_value>text blocks</bookmark_value>
41cdf0e10cSrcweir      <bookmark_value>blocks of text</bookmark_value>
42cdf0e10cSrcweir</bookmark><comment>mw deleted "creating;"</comment>
43cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3155521" role="heading" level="1" l10n="U"
44cdf0e10cSrcweir                 oldref="26"><variable id="autotext"><link href="text/swriter/guide/autotext.xhp" name="Using AutoText">Using AutoText</link>
45cdf0e10cSrcweir</variable></paragraph>
46cdf0e10cSrcweir      <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>
47cdf0e10cSrcweir      <paragraph xml-lang="en-US" id="hd_id3155539" role="heading" level="2" l10n="U"
48cdf0e10cSrcweir                 oldref="48">To To Create an AutoText Entry</paragraph>
49cdf0e10cSrcweir      <list type="ordered">
50cdf0e10cSrcweir         <listitem>
51cdf0e10cSrcweir            <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>
52cdf0e10cSrcweir         </listitem>
53cdf0e10cSrcweir         <listitem>
54*94e6a959SRegina Henschel            <paragraph xml-lang="en-US" id="par_id3155581" role="listitem" l10n="U" oldref="57">Choose <item type="menuitem">Edit - AutoText</item>.</paragraph>
55cdf0e10cSrcweir         </listitem>
56cdf0e10cSrcweir         <listitem>
57cdf0e10cSrcweir            <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>
58cdf0e10cSrcweir         </listitem>
59cdf0e10cSrcweir         <listitem>
60cdf0e10cSrcweir            <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>
61cdf0e10cSrcweir         </listitem>
62cdf0e10cSrcweir         <listitem>
63cdf0e10cSrcweir            <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>
64cdf0e10cSrcweir         </listitem>
65cdf0e10cSrcweir         <listitem>
66cdf0e10cSrcweir            <paragraph xml-lang="en-US" id="par_idN10732" role="listitem" l10n="NEW">Click the <emph>Close</emph> button.</paragraph>
67cdf0e10cSrcweir         </listitem>
68cdf0e10cSrcweir      </list>
69cdf0e10cSrcweir      <paragraph xml-lang="en-US" id="hd_id3147282" role="heading" level="2" l10n="U"
70cdf0e10cSrcweir                 oldref="39">To Insert an AutoText Entry</paragraph>
71cdf0e10cSrcweir      <list type="ordered">
72cdf0e10cSrcweir         <listitem>
73cdf0e10cSrcweir            <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>
74cdf0e10cSrcweir         </listitem>
75cdf0e10cSrcweir         <listitem>
76cdf0e10cSrcweir            <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>
77cdf0e10cSrcweir         </listitem>
78cdf0e10cSrcweir         <listitem>
79*94e6a959SRegina Henschel            <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 <item type="menuitem">Insert</item>.</paragraph>
80cdf0e10cSrcweir         </listitem>
81cdf0e10cSrcweir      </list>
82*94e6a959SRegina Henschel      <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> icon on the <item type="menuitem">Insert</item> bar, and then choose an AutoText entry. </paragraph>
83cdf0e10cSrcweir      <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>
84cdf0e10cSrcweir      <paragraph xml-lang="en-US" id="hd_id3155115" role="heading" level="2" l10n="U"
85cdf0e10cSrcweir                 oldref="45">To Print a List of AutoText Entries</paragraph>
86cdf0e10cSrcweir      <list type="ordered">
87cdf0e10cSrcweir         <listitem>
88cdf0e10cSrcweir            <paragraph xml-lang="en-US" id="par_id3155136" role="listitem" l10n="CHG" oldref="44">Choose <emph>Tools - Macros - Organize Macros - %PRODUCTNAME Basic</emph>.</paragraph>
89cdf0e10cSrcweir         </listitem>
90cdf0e10cSrcweir         <listitem>
91cdf0e10cSrcweir            <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>
92cdf0e10cSrcweir         </listitem>
93cdf0e10cSrcweir         <listitem>
94cdf0e10cSrcweir            <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>
95cdf0e10cSrcweir         </listitem>
96cdf0e10cSrcweir         <listitem>
97cdf0e10cSrcweir            <paragraph xml-lang="en-US" id="par_id3151304" role="listitem" l10n="U" oldref="64">Choose <emph>File - Print</emph>.</paragraph>
98cdf0e10cSrcweir         </listitem>
99cdf0e10cSrcweir      </list>
100cdf0e10cSrcweir      <paragraph xml-lang="en-US" id="hd_id3151327" role="heading" level="2" l10n="U"
101cdf0e10cSrcweir                 oldref="49">Using AutoText in Network Installations</paragraph>
102cdf0e10cSrcweir      <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>
103cdf0e10cSrcweir      <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>
104cdf0e10cSrcweir      <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>
105cdf0e10cSrcweir      <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>
106cdf0e10cSrcweir      <section id="relatedtopics">
107cdf0e10cSrcweir         <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>
108cdf0e10cSrcweir         <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>
109cdf0e10cSrcweir      </section>
110cdf0e10cSrcweir   </body>
111cdf0e10cSrcweir</helpdocument>