Adding AutoText Files to an OpenOffice.org Network Installation

From Apache OpenOffice Wiki
Jump to: navigation, search


OpenOffice.org saves AutoText entries to categories in files with a *.bau extension. You can make custom AutoText files available to all users or to individual users of a network installation of OpenOffice.org.

Documentation note.png For information on how to create AutoText entries, search for the keyword "AutoText" in the online help for OpenOffice.org Writer

To Add AutoText Files For All Users of an OpenOffice.org Network Installation

  1. Become root.
  2. Copy the AutoText *.bau files to the network-install-dir/share/autotext/ directory.

To Add AutoText Files to a Workstation Installation of OpenOffice.org

  1. Become root.
  2. Copy the AutoText *.bau files to the install-dir/user/autotext/ directory on the workstation.

To Add an AutoText Directory to an OpenOffice.org Installation

  1. In any OpenOffice.org program, choose Tools → Options → OpenOffice.org → Paths.
  2. In the list of default paths, select AutoText, and then click Edit.
  3. In the Edit Paths dialog box, click Add.
  4. Locate the directory that contains the AutoText *.bau files that you want to add and click the Select button.
  5. In the Edit Paths dialog box, click OK.
  6. In the Options - OpenOffice.org - Paths dialog box, click OK.
  7. Exit OpenOffice.org.
    OpenOffice.org saves the AutoText path to the ooo-user-dir/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 OpenOffice.org network installation, copy the code into the install-dir/basis<version>/share/registry/data/org/openoffice/Office/Common.xcu file.
    • To make the AutoText directory available to a single user of an OpenOffice.org network installation, copy the code into the ooo-user-dir/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
In other languages