From OpenOffice.org Wiki
PAGE_TITLE: QWRkaW5nIEF1dG9UZXh0IEZpbGVzIHRvIGFuIE9wZW5PZmZpY2Uub3JnIE5ldHdvcmsgSW5zdGFsbGF0aW9u
OpenOffice.org saves AutoText entries to categories in *.bau files. You can make custom AutoText files available to all or to individual users of a network installation of OpenOffice.org.
 | For information on how to create AutoText entries, search for the keyword "AutoText" in the online help for OpenOffice.org Writer
|
To Add a AutoText Files For All Users Of a OpenOffice.org Network Installation
- Become root.
- Copy the AutoText *.bau file to the <OpenOffice.org network installation directory>/share/autotext/ directory.
To Add AutoText Files to a Workstation Installation of OpenOffice.org
- Become root.
- Copy the AutoText *.bau file to the <OpenOffice.org installation>/user/autotext/ directory on the workstation.
To Add an AutoText Directory to a OpenOffice.org Installation
- In any OpenOffice.org program, choose Tools → Options → OpenOffice.org → Paths
- In the list of default paths, select "AutoText", and then click the Edit button.
- In the Select Paths dialog box, click the Add button.
- Locate the directory that contains the AutoText *.bau files that you want to add and click the OK button.
- In the Select Paths dialog box, click the OK button.
- In the Options → OpenOffice.org → Paths dialog box, click the OK button.
- Exit OpenOffice.org.
OpenOffice.org saves the AutoText path to the user installation directory/OpenOffice.org2/user/registry/data/org/openoffice/Office/Common.xcu configuration file.
- Copy the code below into the appropriate Common.xcu file.
- To make the AutoText directory available to all users of the OpenOffice.org network installation, copy the code into the OpenOffice.org installation directory /share/registry/data/org/openoffice/Office/Common.xcu file.
- To make the AutoText directory available to a single user of a OpenOffice.org network installation, copy the code into the user installation directory/user/registry/data/org/openoffice/Office/Common.xcu file.
<node oor:name="Path">
<node oor:name="Current">
<prop oor:name="AutoText" oor:type="oor:string-list">
<value>$(inst)/share/autotext/$(vlang)
$(user)/autotext new_autotext_directory
</value>
</prop>
</node>
</node>