Difference between revisions of "Documentation/Administration Guide/Adding AutoText Files"

From Apache OpenOffice Wiki
Jump to: navigation, search
(To Add an AutoText Directory to an {{OOo}} Installation)
(To Add an AutoText Directory to an {{OOo}} Installation)
Line 23: Line 23:
  
 
===To Add an AutoText Directory to an {{OOo}} Installation===
 
===To Add an AutoText Directory to an {{OOo}} Installation===
 
+
<ol>
# In any {{OOo}} program, choose '''Tools &rarr; Options &rarr; {{OOo}} &rarr; Paths'''.
+
  <li>In any {{OOo}} program, choose '''Tools &rarr; Options &rarr; {{OOo}} &rarr; Paths'''.</li>
# In the list of default paths, select AutoText, and then click '''Edit'''.
+
  <li>In the list of default paths, select AutoText, and then click '''Edit'''.</li>
# In the '''Select Paths''' dialog box, click '''Add'''.
+
  <li>In the '''Select Paths''' dialog box, click '''Add'''.</li>
# Locate the directory that contains the AutoText <tt>*.bau</tt> files that you want to add and click the '''OK''' button.
+
  <li>Locate the directory that contains the AutoText <tt>*.bau</tt> files that you want to add and click the '''OK''' button.</li>
# In the '''Select Paths''' dialog box, click '''OK'''.
+
  <li>In the '''Select Paths''' dialog box, click '''OK'''.</li>
# In the '''Options &rarr; {{OOo}} &rarr; Paths''' dialog box, click '''OK'''.
+
  <li>In the '''Options &rarr; {{OOo}} &rarr; Paths''' dialog box, click '''OK'''.</li>
# Exit {{OOo}}.<br> {{OOo}} saves the AutoText path to the <tt>''install-dir''/user/registry/data/org/openoffice/Office/Common.xcu</tt> configuration file.
+
  <li>Exit {{OOo}}.<br> {{OOo}} saves the AutoText path to the <tt>''install-dir''/user/registry/data/org/openoffice/Office/Common.xcu</tt> configuration file.</li>
# Copy the code below into the appropriate <tt>Common.xcu</tt> file.
+
  <li>Copy the code below into the appropriate <tt>Common.xcu</tt> file.
#* To make the AutoText directory available to all users of the {{OOo}} network installation, copy the code into the <tt>''install-dir''/share/registry/data/org/openoffice/Office/Common.xcu</tt> file.
+
    <ul>
#* To make the AutoText directory available to a single user of an {{OOo}} network installation, copy the code into the <tt>''install-dir''/user/registry/data/org/openoffice/Office/Common.xcu</tt> file.
+
      <li>To make the AutoText directory available to all users of the {{OOo}} network installation, copy the code into the <tt>''install-dir''/share/registry/data/org/openoffice/Office/Common.xcu</tt> file.</li>
 +
    <li>To make the AutoText directory available to a single user of an {{OOo}} network installation, copy the code into the <tt>''install-dir''/user/registry/data/org/openoffice/Office/Common.xcu</tt> file.
  
 
<source lang="xml">
 
<source lang="xml">
Line 45: Line 46:
 
   </node>
 
   </node>
 
  </node>
 
  </node>
</source>
+
</source></li></ul></li>
 
+
</ol>
 
{{PDL1}}
 
{{PDL1}}

Revision as of 08:18, 10 July 2008


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

Template:Documentation/Note

To Add AutoText Files For All Users of an Apache OpenOffice 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 Apache OpenOffice

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

To Add an AutoText Directory to an 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 Edit.
  3. In the Select Paths dialog box, click Add.
  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 OK.
  6. In the Options → Apache OpenOffice → Paths dialog box, click OK.
  7. Exit Apache OpenOffice.
    Apache OpenOffice saves the AutoText path to the install-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 Apache OpenOffice network installation, copy the code into the install-dir/share/registry/data/org/openoffice/Office/Common.xcu file.
    • To make the AutoText directory available to a single user of an Apache OpenOffice network installation, copy the code into the install-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