1cdf0e10cSrcweir<?xml version="1.0" encoding="UTF-8"?>
2f3673a11Smseidel
30e4b25e7SAndrew Rist<!--***********************************************************
4f3673a11Smseidel *
50e4b25e7SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
60e4b25e7SAndrew Rist * or more contributor license agreements.  See the NOTICE file
70e4b25e7SAndrew Rist * distributed with this work for additional information
80e4b25e7SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
90e4b25e7SAndrew Rist * to you under the Apache License, Version 2.0 (the
100e4b25e7SAndrew Rist * "License"); you may not use this file except in compliance
110e4b25e7SAndrew Rist * with the License.  You may obtain a copy of the License at
12f3673a11Smseidel *
130e4b25e7SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
14f3673a11Smseidel *
150e4b25e7SAndrew Rist * Unless required by applicable law or agreed to in writing,
160e4b25e7SAndrew Rist * software distributed under the License is distributed on an
170e4b25e7SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
180e4b25e7SAndrew Rist * KIND, either express or implied.  See the License for the
190e4b25e7SAndrew Rist * specific language governing permissions and limitations
200e4b25e7SAndrew Rist * under the License.
21f3673a11Smseidel *
220e4b25e7SAndrew Rist ***********************************************************-->
230e4b25e7SAndrew Rist
24f3673a11Smseidel<helpdocument version="1.0">
25cdf0e10cSrcweir<meta>
2654be4daeSmseidel<topic id="textswriterguideautotextxml" indexer="include" status="PUBLISH">
2754be4daeSmseidel<title xml-lang="en-US" id="tit">Using AutoText</title>
2854be4daeSmseidel<filename>/text/swriter/guide/autotext.xhp</filename>
2954be4daeSmseidel</topic>
3054be4daeSmseidel</meta>
3154be4daeSmseidel<body>
3254be4daeSmseidel<bookmark xml-lang="en-US" branch="index" id="bm_id3155521">
3354be4daeSmseidel<bookmark_value>AutoText</bookmark_value>
3454be4daeSmseidel<bookmark_value>networks and AutoText directories</bookmark_value>
3554be4daeSmseidel<bookmark_value>lists;AutoText shortcuts</bookmark_value>
3654be4daeSmseidel<bookmark_value>printing;AutoText shortcuts</bookmark_value>
3754be4daeSmseidel<bookmark_value>inserting;text blocks</bookmark_value>
3854be4daeSmseidel<bookmark_value>text blocks</bookmark_value>
3954be4daeSmseidel<bookmark_value>blocks of text</bookmark_value>
40cdf0e10cSrcweir</bookmark><comment>mw deleted "creating;"</comment>
41cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3155521" role="heading" level="1" l10n="U"
4254be4daeSmseideloldref="26"><variable id="autotext"><link href="text/swriter/guide/autotext.xhp" name="Using AutoText">Using AutoText</link>
43cdf0e10cSrcweir</variable></paragraph>
4454be4daeSmseidel<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>
4554be4daeSmseidel<paragraph xml-lang="en-US" id="hd_id3155539" role="heading" level="2" l10n="U"
4654be4daeSmseideloldref="48">To Create an AutoText Entry</paragraph>
4754be4daeSmseidel<list type="ordered">
4854be4daeSmseidel<listitem>
4954be4daeSmseidel<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>
5054be4daeSmseidel</listitem>
5154be4daeSmseidel<listitem>
5254be4daeSmseidel<paragraph xml-lang="en-US" id="par_id3155581" role="listitem" l10n="U" oldref="57">Choose <item type="menuitem">Edit - AutoText</item>.</paragraph>
5354be4daeSmseidel</listitem>
5454be4daeSmseidel<listitem>
5554be4daeSmseidel<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>
5654be4daeSmseidel</listitem>
5754be4daeSmseidel<listitem>
5854be4daeSmseidel<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>
5954be4daeSmseidel</listitem>
6054be4daeSmseidel<listitem>
61*b184ee58Smseidel<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>
6254be4daeSmseidel</listitem>
6354be4daeSmseidel<listitem>
6454be4daeSmseidel<paragraph xml-lang="en-US" id="par_idN10732" role="listitem" l10n="NEW">Click the <emph>Close</emph> button.</paragraph>
6554be4daeSmseidel</listitem>
6654be4daeSmseidel</list>
6754be4daeSmseidel<paragraph xml-lang="en-US" id="hd_id3147282" role="heading" level="2" l10n="U"
6854be4daeSmseideloldref="39">To Insert an AutoText Entry</paragraph>
6954be4daeSmseidel<list type="ordered">
7054be4daeSmseidel<listitem>
7154be4daeSmseidel<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>
7254be4daeSmseidel</listitem>
7354be4daeSmseidel<listitem>
7454be4daeSmseidel<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>
7554be4daeSmseidel</listitem>
7654be4daeSmseidel<listitem>
7754be4daeSmseidel<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>
7854be4daeSmseidel</listitem>
7954be4daeSmseidel</list>
80*b184ee58Smseidel<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>
81*b184ee58Smseidel<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>
8254be4daeSmseidel<paragraph xml-lang="en-US" id="hd_id3155115" role="heading" level="2" l10n="U"
8354be4daeSmseideloldref="45">To Print a List of AutoText Entries</paragraph>
8454be4daeSmseidel<list type="ordered">
8554be4daeSmseidel<listitem>
8654be4daeSmseidel<paragraph xml-lang="en-US" id="par_id3155136" role="listitem" l10n="CHG" oldref="44">Choose <emph>Tools - Macros - Organize Macros - %PRODUCTNAME Basic</emph>.</paragraph>
8754be4daeSmseidel</listitem>
8854be4daeSmseidel<listitem>
8954be4daeSmseidel<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>
9054be4daeSmseidel</listitem>
9154be4daeSmseidel<listitem>
9254be4daeSmseidel<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>
9354be4daeSmseidel</listitem>
9454be4daeSmseidel<listitem>
9554be4daeSmseidel<paragraph xml-lang="en-US" id="par_id3151304" role="listitem" l10n="U" oldref="64">Choose <emph>File - Print</emph>.</paragraph>
9654be4daeSmseidel</listitem>
9754be4daeSmseidel</list>
9854be4daeSmseidel<paragraph xml-lang="en-US" id="hd_id3151327" role="heading" level="2" l10n="U"
9954be4daeSmseideloldref="49">Using AutoText in Network Installations</paragraph>
10054be4daeSmseidel<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>
10154be4daeSmseidel<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>
10254be4daeSmseidel<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>
10354be4daeSmseidel<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>
10454be4daeSmseidel<section id="relatedtopics">
10554be4daeSmseidel<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>
10654be4daeSmseidel<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>
10754be4daeSmseidel</section>
10854be4daeSmseidel</body>
109f3673a11Smseidel</helpdocument>
110