Difference between revisions of "Documentation/UserGuide/Writer/Intro/AutoText"

From Apache OpenOffice Wiki
Jump to: navigation, search
Line 3: Line 3:
 
{{DISPLAYTITLE:Working with AutoTexts}}
 
{{DISPLAYTITLE:Working with AutoTexts}}
  
TODO
+
On an empty paragraph on a Writer document, write "te" (without quotes) and press {{Key|F3}}: a long paragraph with a sample text will be introduced. Now, type "fn" (again, without quotes) and press {{Key|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: introduce a document snip previously defined on any place, only using an abbreviation and a keyboard shortcut.
 +
= Inserting an AutoText =
 +
The faster way to insert an AutoText is to use the abbreviation followed by {{Key|F3}}. The problem with this method is clearly the need to remember all the abbreviations and their functions.
 +
With {{Menu|Edit|AutoText}} ({{Key|Ctrl|F3}}) we will have a list of all the available AutoTexts, but there is an easier method.
 +
[[Documentation/UserGuide/UI#Toolbars|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
 +
 
 +
 
 +
[[File:AOO-InsertAutoText.png|600px]]
 +
 
 +
 
 +
= Defining an AutoText =
 +
On 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 {{Menu|Edit|Autotext}}{{Documentation/Caution|If the AutoText contains a table, it is needed 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.}}
 +
[[File:AOO-AutoText.png|600px]]
 +
Under "Name" and "Shortcut" it is possible to set a name and a abbreviation for our AutoText. On the box to the left it is possible to choose where the new AutoText must be classified.
 +
 
 +
With the option "Display remainder of the name as suggestion while typing" enabled, Writer will try to guess if the user want to insert an AutoText while writing so if you start to type the AutoText name Writer will suggest it so with pressing {{Key|Enter}} the AutoText will be introduced.
 +
 
 +
To the right of the window, the {{Button|Categories...}} button gives the possibility to create new categories to classify our AutoTexts.
 +
 
 +
Also to the right, the {{Button|AutoText}} button offers a drop down menu with different options, like create a new AutoText. {{Button|Path...}} is to define 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 {{Button|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|The changes will apply only to AutoTexts inserted after the modification, AutoText already inserted will not be changed}}
  
 
[[Category:Documentation]] [[Category:Documentation/Writer]]
 
[[Category:Documentation]] [[Category:Documentation/Writer]]

Revision as of 01:20, 25 January 2013

Template:Documentation/DraftPage


On an empty paragraph on a Writer document, write "te" (without quotes) and press  F3 : a long paragraph with a sample text will be introduced. 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: introduce a document snip previously defined on any place, only using 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 clearly 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


AOO-InsertAutoText.png


Defining an AutoText

On 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 needed 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.

AOO-AutoText.png Under "Name" and "Shortcut" it is possible to set a name and a abbreviation for our AutoText. On the box to the left it is possible to choose where the new AutoText must be classified.

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

To the right of the window, the  Categories...  button gives the possibility to create new categories to classify our AutoTexts.

Also to the right, the  AutoText  button offers a drop down menu with different options, like create a new AutoText.  Path...  is to define 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