AutoText

From LibreOffice Help
Jump to: navigation, search

Creates, edits, or inserts AutoText. You can store formatted text, text with graphics, tables, and fields as AutoText. To quickly insert AutoText, type the shortcut for the AutoText in your document, and then press F3.

Tip.png You can also click the arrow next to the AutoText icon on the Insert bar, and then choose the AutoText that you want to insert.

Choose Tools - AutoText

Ctrl+F3

On the Insert toolbar, click

Icon
AutoText

Using AutoText

AutoText

The AutoText dialog lists the AutoText categories and entries.

Display remainder of name as a suggestion while typing

Displays a suggestion for completing a word as a Help Tip after you type the first three letters of a word that matches an AutoText entry. To accept the suggestion, press Enter. If more than one AutoText entry matches the letters that you type, press Ctrl+Tab to advance through the entries. For example, to insert dummy text, type "Dum", and then press Enter.

To display the list in reverse order, press Ctrl+Shift+Tab.

Name

Lists the name of the currently selected AutoText entry. If you have selected text in the document, type the name of the new AutoText entry, click the AutoText button, and then choose New.

Shortcut

Displays the shortcut for the selected AutoText entry. If you are creating a new AutoText entry, type the shortcut that you want to use for the entry.

List box

Lists the AutoText categories. To view the AutoText entries in a category, double-click the category, or click the plus sign (+) in front of the category. To insert an AutoText entry into the current document, select the entry in the list, and then click Insert.

Tip.png You can drag and drop AutoText entries from one category to another.

Insert

Inserts the selected AutoText into the current document.

Note.png If you insert an unformatted AutoText entry into a paragraph, the entry is formatted with the current paragraph style.

Close

Closes the dialog and saves all changes.

AutoText

Click to display additional AutoText commands, for example, to create a new AutoText entry from a text selection in the current document.

New

Creates a new AutoText entry from the selection that you made in the current document. The entry is added to the currently selected AutoText category. You must first enter a name before you see this command.

New (text only)

Creates a new AutoText entry only from the text in the selection that you made in the current document. Graphics, tables and other objects are not included. You must first enter a name before you see this command.

Copy

Copies the selected AutoText to the clipboard.

Replace

Replaces the contents of the selected AutoText entry with the selection that was made in the current document.

Rename

Opens the Rename AutoText dialog, where you can change the name of the selected AutoText entry.

Delete

Deletes the selected element or elements after confirmation.

Edit

Opens the selected AutoText entry for editing in a separate document. Make the changes that you want, choose File - Save AutoText, and then choose File - Close.

Macro

Opens the Assign Macro dialog, where you attach a macro to the selected AutoText entry.

You can also use the macros that are linked to some of the provided AutoText entries in AutoText entries that you create. The AutoText entries must be created with the "text only" option. For example, insert the string <field:company> in an AutoText entry, and LibreOffice replaces the string with the contents of the corresponding database field.

Import

Opens a dialog where you can select the MS 97/2000/XP Word document or template, containing the AutoText entries that you want to import.

Categories

Adds, renames, or deletes AutoText categories.

Edit Categories

Adds, renames, or deletes AutoText categories.

Category

Displays the name of the selected AutoText category. To change the name of the category, type a new name, and then click Rename. To create a new category, type a name, and then click New.

Path

Displays the current path to the directory where the selected AutoText category files are stored. If you are creating an AutoText category, select where you want to store the category files.

New

Creates a new AutoText category using the name that you entered in the Name box.

Rename

Changes the name of the selected AutoText category to the name that you enter in the Name box.

Selection list

Lists the existing AutoText categories and the corresponding paths.

Delete

Deletes the selected element or elements without requiring confirmation.

Path

Opens the Edit Paths dialog, where you can select the directory to store AutoText.

To add a new path to an AutoText directory, click the Path button in the AutoText dialog.

Save links relative to

Use this area to set the way LibreOffice inserts links to the AutoText directory.

File system

Links to AutoText directories on your computer are relative.

Internet

Links to files on the Internet are relative.