Working with AutoTexts

From Apache OpenOffice Wiki
Jump to: navigation, search

Editing.png This page is in a DRAFT stage.

In an empty paragraph in a Writer document, write "dt" (without quotes) and press  F3 : a long paragraph with a sample text will be introduced (note: "dt" stands for "dummy text" and different acronyms may apply to non-English versions: use Edit → AutoText to see the one appropriate for your language). Now, type "fn" (again, without quotes) and press  F3 : a one row and two columns table will be introduced, with a Math object on the left cell and a variable on the other.

Both examples show what AutoText does and their use: to introduce a document snip previously defined in any place, using only an abbreviation and a keyboard shortcut.

Inserting an AutoText

The faster way to insert an AutoText is to use the abbreviation followed by  F3 . The problem with this method is the need to remember all the abbreviations and their functions.

With Edit → AutoText ( Ctrl  +  F3 ) we will have a list of all the available AutoTexts, but there is an easier method: Activating the Insert toolbar, we will have a button with a list of all the AutoTexts with their abbreviations: one click on the element on the list will introduce the autotext on the document


Defining an AutoText

In any document, select what you want to use for an AutoText. The content can be anything: text, tables, pictures, frames, sections... everything. With the content selected Edit → AutoText
Documentation caution.png If the AutoText contains a table, it is necessary to select at least one line before and one line after the table, otherwise only the content and not the table itself will go into the AutoText.


Under "Name" and "Shortcut" set a name and an abbreviation for the AutoText. In the box to the left choose where the new AutoText will be classified.

With the option "Display remainder of the name as suggestion while typing" enabled, Writer will try to guess if the user wants to insert an AutoText while writing so if you start to type the AutoText name Writer will suggest it, pressing  ↵ Enter  the AutoText will be introduced.

To the right of the window, the  Categories...  button allows you to create new categories to classify the AutoTexts.

Also to the right, the  AutoText  button shows a drop down menu with different options, like create a new AutoText.  Path...  defines where to save the AutoTexts.

From the options at the bottom of the page, the first two change how links are saved on the AutoText while the "Show preview" is only valid for existing AutoText: it will not work with new ones.

Editing an AutoText

On the same menu used to create the AutoText, it is possible to select an existing one from the list: the  AutoText...  button now offers the possibility to modify or even eliminate the AutoText.

Selecting Edit, a document will be opened with the AutoText. It is enough to modify that document and save it.

Documentation caution.png The changes will apply only to AutoTexts inserted after the modification, AutoText already inserted will not be changed
Personal tools