Frequently asked questions - Writer

From The Document Foundation Wiki
< Faq‎ | Writer
Jump to: navigation, search

How to create a permanent list of automatic insertions

When this feature is activated (check in Tools ▸ Autocorrect Options ▸ Word Completion [tab] ▸ Collect Words), 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.
  3. When the list is complete, save the document with all its words.

Using the list of words

  1. Open the "thesaurus" document
    • Using File ▸ Open, or File ▸ Recent Documents (if it is regularly open),
    • Using a favorite location
  2. as a default template
    • Set the created document as the default template cf. Changing the default template
    • When creating a new Writer document, the list is available.
    • Select all, delete and begin to write.
  3. Using AutoText
    • Select the contents of the document "thesaurus" and create an AutoText ('Edit menu)
    • To make word completion available, just insert the AutoText in a new document.
  4. Using a shortcut while launching the software (Windows)
    • 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 7):
"C:\Program Files (x86)\LibreOffice 3.5\program\swriter.exe" "C:\Users\User_name\Documents\Thesaurus.odt" -n "C:\ProgramData\Microsoft\Windows\Templates\soffice.odt"

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.
  • -n ask for the creation of a new document based on the indicated document (cf. [[1]]), in this case, the template used by the file browser when you right-click and New ▸ OpenDocument Text. Depending on the Windows version, this template could be located in :
C:\ProgramData\Microsoft\Windows\Templates (Windows 7)
C:\Document and settings\All Users\Templates (XP) 
C:\Document and settings\NomUtilisateur\Templates (XP)