Faq/Writer/166

How to create a permanent list of automatic insertions
When this feature is activated (check in ), the list of words collected by LibreOffice remains available as long as the session is open, in other words, as long as you do not close the program.

It is possible to restrict the availability of the list by checking When closing a document, remove the words collected from it from the list.

This note shows how to create a thesaurus, a list of words permanently available for each new Writer document. To make the list of words available during the whole session, you just need to open a document containing all the words. The Word Completion will work right away.

Creation of the word list

 * 1) collect in a new document the most representative of your written words. You can copy and paste from several successive documents;
 * 2) allow some time for Writer to index all the words in its word completion list. A spell check can accelerate the process; and
 * 3) when the list is complete, save the document with all its words.

Using the list of words
"C:\Program Files\LibreOffice\program\swriter.exe" "C:\Users\NomUtilisateur\Documents\Thesaurus.odt" -n "C:\Program Files\LibreOffice\share\template\shellnew\soffice.odt"
 * 1) open the "thesaurus" document:
 * 2) * using, or (if it is regularly open);
 * 3) * using a favorite location.
 * 4) as a default template:
 * 5) * set the created document as the default template cf. Changing the default template;
 * 6) * when creating a new Writer document, the list is available;
 * 7) * select all, delete, and begin to write.
 * 8) using AutoText:
 * 9) * select the contents of the document "thesaurus" and create an AutoText ('Tools menu);
 * 10) * to make word completion available, just insert the AutoText in a new document.
 * 11) using a shortcut while launching the software (Windows):
 * 12) * create a shortcut allowing to launch the word processor by opening the "thesaurus" file and a new document, for example using a syntax of type (below for Windows):

Explanations:


 * the program path must be adapted depending on the Windows and LibreOffice version;
 * the path and the "thesaurus" document name have to be adapted; and
 * -n ask for the creation of a new document based on the indicated document (cf. []), in this case, the template used by the file browser when you right-click and . Depending on the Windows version, this template could be located in :

C:\Program Files\LibreOffice\share\template\shellnew C:\ProgramData\Microsoft\Windows\Templates (Windows 7)