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

From Apache OpenOffice Wiki
Jump to: navigation, search
m (To Add an AutoText Directory to an {{AOo}} Installation)
 
(18 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{DISPLAYTITLE: Adding AutoText Files to a {{OOo}} Network Installation}}
 
 
{{Documentation/AdminGuideTOC/v2
 
{{Documentation/AdminGuideTOC/v2
 
|ShowPrevNext=block
 
|ShowPrevNext=block
Line 6: Line 5:
 
|PrevPage=Documentation/Administration Guide/Adding Template Files
 
|PrevPage=Documentation/Administration Guide/Adding Template Files
 
|NextPage=Documentation/Administration Guide/Deactivating Registration Wizard
 
|NextPage=Documentation/Administration Guide/Deactivating Registration Wizard
}}
+
}}
 +
{{DISPLAYTITLE: Adding AutoText Files to an {{AOo}} Network Installation}}
  
{{OOo}} saves AutoText entries to categories in <tt>*.bau</tt> files. You can make custom AutoText files available to all or to individual users of a network installation of {{OOo}} network installation.
+
{{AOo}} saves AutoText entries to categories in files with a <tt>*.bau</tt> extension. You can make custom AutoText files available to all users or to individual users of a network installation of {{AOo}}.
  
{{Documentation/Note|For information on how to create AutoText entries, search for the keyword "AutoText" in the online help for {{OOo}} Writer}}
+
{{Note|For information on how to create AutoText entries, search for the keyword "AutoText" in the online help for {{AOo}} Writer}}
  
===To Add a AutoText Files For All Users Of a {{OOo}} Network Installation===
+
===To Add AutoText Files For All Users of an {{AOo}} Network Installation===
  
 
# Become root.
 
# Become root.
# Copy the AutoText <tt>*.bau</tt> file to the <tt>&lt;{{OOo}} network installation directory&gt;/share/autotext/</tt> directory.
+
# Copy the AutoText <tt>*.bau</tt> files to the <tt>''network-install-dir''/share/autotext/</tt> directory.
  
===To Add AutoText Files to a Workstation Installation of {{OOo}}===
+
===To Add AutoText Files to a Workstation Installation of {{AOo}}===
  
 
# Become root.
 
# Become root.
# Copy the AutoText <tt>*.bau</tt> file to the <tt>&lt;{{OOo}} installation&gt;/user/autotext/</tt> directory on the workstation.
+
# Copy the AutoText <tt>*.bau</tt> files to the <tt>''install-dir''/user/autotext/</tt> directory on the workstation.
  
===To Add an AutoText Directory to a {{OOo}} Installation===
+
===To Add an AutoText Directory to an {{AOo}} Installation===
 +
<ol>
 +
  <li>In any {{AOo}} program, choose {{menu|Tools|Options|OpenOffice|Paths}}.</li>
 +
  <li>In the list of default paths, select AutoText, and then click {{button|Edit}}.</li>
 +
  <li>In the '''Edit Paths''' dialog box, click {{button|Add}}.</li>
 +
  <li>Locate the directory that contains the AutoText <tt>*.bau</tt> files that you want to add and click the {{button|Select}} button.</li>
 +
  <li>In the '''Edit Paths''' dialog box, click {{button|OK}}.</li>
 +
  <li>In the {{menu|Options|OpenOffice|Paths}} dialog box, click {{button|OK}}.</li>
 +
  <li>Exit {{AOo}}.<br> {{AOo}} saves the AutoText path to the <tt>''ooo-user-dir''/user/registry/data/org/openoffice/Office/Common.xcu</tt> configuration file.</li>
 +
  <li>Copy the code below into the appropriate <tt>Common.xcu</tt> file.
 +
    <ul>
 +
      <li>To make the AutoText directory available to all users of the {{AOo}} network installation, copy the code into the <tt>''install-dir''/basis<version>/share/registry/data/org/openoffice/Office/Common.xcu</tt> file.</li>
 +
    <li>To make the AutoText directory available to a single user of an {{AOo}} network installation, copy the code into the <tt>''ooo-user-dir''/user/registry/data/org/openoffice/Office/Common.xcu</tt> file.
  
# In any {{OOo}} program, choose '''Tools &rarr; Options &rarr; {{OOo}} &rarr; Paths'''
+
<syntaxhighlight lang="xml">
# In the list of default paths, select "AutoText", and then click the '''Edit''' button.
+
<node oor:name="Path">
# In the '''Select Paths''' dialog box, click the '''Add''' button.
+
   <node oor:name="Current">
# Locate the directory that contains the AutoText <tt>*.bau</tt> files that you want to add and click the '''OK''' button.
+
   <prop oor:name="AutoText" oor:type="oor:string-list">
# In the '''Select Paths''' dialog box, click the '''OK''' button.
+
     <value>$(inst)/share/autotext/$(vlang)
# In the '''Options &rarr; {{OOo}} &rarr; Paths''' dialog box, click the '''OK''' button.
+
# Exit {{OOo}}.<br> {{OOo}} saves the AutoText path to the <tt>user installation directory/{{OOo}}2/user/registry/data/org/openoffice/Office/Common.xcu</tt> configuration file.
+
# 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>{{OOo}} installation directory /share/registry/data/org/openoffice/Office/Common.xcu</tt> file.
+
#* To make the AutoText directory available to a single user of a {{OOo}} network installation, copy the code into the <tt>user installation directory/user/registry/data/org/openoffice/Office/Common.xcu</tt> file.
+
 
+
&lt;node oor:name="Path"&gt;
+
   &lt;node oor:name="Current"&gt;
+
   &lt;prop oor:name="AutoText" oor:type="oor:string-list"&gt;
+
     &lt;value&gt;$(inst)/share/autotext/$(vlang)
+
 
     $(user)/autotext new_autotext_directory
 
     $(user)/autotext new_autotext_directory
     &lt;/value&gt;
+
     </value>
   &lt;/prop&gt;
+
   </prop>
   &lt;/node&gt;
+
   </node>
  &lt;/node&gt;
+
  </node>
 
+
</syntaxhighlight></li></ul></li>
 +
</ol>
 +
{{InterWiki Languages AdminGuide|articletitle=Documentation/Administration Guide/Adding AutoText Files}}
 
{{PDL1}}
 
{{PDL1}}

Latest revision as of 10:01, 1 May 2022


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.

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

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 install-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 → OpenOffice → 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 → Paths dialog box, click  OK .
  7. Exit Apache OpenOffice.
    Apache OpenOffice 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 Apache OpenOffice 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 Apache OpenOffice 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