Adding AutoText Files to a Apache OpenOffice Network Installation

From Apache OpenOffice Wiki
Jump to: navigation, search


Apache OpenOffice 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 Apache OpenOffice network installation.

Template:Documentation/Note

To Add a AutoText Files For All Users Of a Apache OpenOffice Network Installation

  1. Become root.
  2. Copy the AutoText *.bau file to the <Apache OpenOffice network installation directory>/share/autotext/ directory.

To Add AutoText Files to a Workstation Installation of Apache OpenOffice

  1. Become root.
  2. Copy the AutoText *.bau file to the <Apache OpenOffice installation>/user/autotext/ directory on the workstation.

To Add an AutoText Directory to a Apache OpenOffice Installation

  1. In any Apache OpenOffice program, choose Tools → Options → Apache OpenOffice → Paths
  2. In the list of default paths, select "AutoText", and then click the Edit button.
  3. In the Select Paths dialog box, click the Add button.
  4. Locate the directory that contains the AutoText *.bau files that you want to add and click the OK button.
  5. In the Select Paths dialog box, click the OK button.
  6. In the Options → Apache OpenOffice → Paths dialog box, click the OK button.
  7. Exit Apache OpenOffice.
    Apache OpenOffice saves the AutoText path to the user installation directory/Apache OpenOffice2/user/registry/data/org/openoffice/Office/Common.xcu configuration file.
  8. Copy the code below into the appropriate Common.xcu file.
    • To make the AutoText directory available to all users of the Apache OpenOffice network installation, copy the code into the Apache OpenOffice installation directory /share/registry/data/org/openoffice/Office/Common.xcu file.
    • To make the AutoText directory available to a single user of a Apache OpenOffice 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>
Content on this page is licensed under the Public Documentation License (PDL).
Personal tools