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

From Apache OpenOffice Wiki
Jump to: navigation, search
m (Robot: Automated text replacement (-{{PDL1}} +{{InterWiki Languages AdminGuide|articletitle={{PAGENAME}}}}\n{{PDL1}}))
Line 12: Line 12:
 
{{Documentation/Note|有关如何创建自动图文集条目的信息,请在 {{OOo}} Writer 联机帮助中搜索关键字“自动图文集”。}}
 
{{Documentation/Note|有关如何创建自动图文集条目的信息,请在 {{OOo}} Writer 联机帮助中搜索关键字“自动图文集”。}}
  
===为 {{OOo}} 网络安装的所有用户添加自动图文集===
+
===为 {{OOo}} 网络安装的所有用户添加自动图文集文件===
  
 
#成为 root 用户。
 
#成为 root 用户。
Line 24: Line 24:
 
===在 {{OOo}} 安装中添加自动图文集目录===
 
===在 {{OOo}} 安装中添加自动图文集目录===
 
<ol>
 
<ol>
   <li>在任何 {{OOo}} 程序中,选择'''工具 &rarr; 选项 &rarr; {{OOo}} &rarr; 路径'''。</li>
+
   <li>在任意 {{OOo}} 程序中,选择'''工具 &rarr; 选项 &rarr; {{OOo}} &rarr; 路径'''。</li>
   <li>在默认路径列表中,选择自动图文集”,然后单击'''编辑'''。</li>
+
   <li>在默认路径列表中,选择“自动图文集”,然后单击'''编辑'''。</li>
   <li>在'''选择路径'''对话框中,单击'''添加'''。</li>
+
   <li>在'''编辑路径'''对话框中,单击'''添加'''。</li>
   <li>找到包含要添加的自动图文集 <tt>*.bau</tt> 文件的目录,然后单击'''确定'''按钮。</li>
+
   <li>找到要添加的自动图文集 <tt>*.bau</tt> 文件所在的目录,然后单击'''选择'''按钮。</li>
   <li>在'''选择路径'''对话框中,单击'''确定'''。</li>
+
   <li>在'''编辑路径'''对话框中,单击'''确定'''。</li>
 
   <li>在'''选项 &rarr; {{OOo}} &rarr; 路径'''对话框中,单击'''确定'''。</li>
 
   <li>在'''选项 &rarr; {{OOo}} &rarr; 路径'''对话框中,单击'''确定'''。</li>
 
   <li>退出 {{OOo}}。<br> {{OOo}} 将在 <tt>''install-dir''/user/registry/data/org/openoffice/Office/Common.xcu</tt> 配置文件中保存自动图文集路径。</li>
 
   <li>退出 {{OOo}}。<br> {{OOo}} 将在 <tt>''install-dir''/user/registry/data/org/openoffice/Office/Common.xcu</tt> 配置文件中保存自动图文集路径。</li>
Line 36: Line 36:
 
     <li>要为 {{OOo}} 网络安装的单个用户提供自动图文集目录,请将该代码复制到 <tt>''install-dir''/user/registry/data/org/openoffice/Office/Common.xcu</tt> 文件中。
 
     <li>要为 {{OOo}} 网络安装的单个用户提供自动图文集目录,请将该代码复制到 <tt>''install-dir''/user/registry/data/org/openoffice/Office/Common.xcu</tt> 文件中。
  
<source lang="xml">
+
<source language="xml">
 
  <node oor:name="Path">
 
  <node oor:name="Path">
 
   <node oor:name="Current">
 
   <node oor:name="Current">
Line 48: Line 48:
 
</source></li></ul></li>
 
</source></li></ul></li>
 
</ol>
 
</ol>
{{InterWiki Languages AdminGuide|articletitle={{PAGENAME}}}}
 
 
{{PDL1}}
 
{{PDL1}}

Revision as of 14:25, 30 October 2008


Apache OpenOffice 将自动图文集条目保存到具有 *.bau 扩展名的文件的类别中。您可以为 Apache OpenOffice 网络安装的所有用户或单个用户提供自定义自动图文集文件。

Template:Documentation/Note

为 Apache OpenOffice 网络安装的所有用户添加自动图文集文件

  1. 成为 root 用户。
  2. 将自动图文集 *.bau 文件复制到 network-install-dir/share/autotext/ 目录中。

在 Apache OpenOffice 工作站安装中添加自动图文集文件

  1. 成为 root 用户。
  2. 将自动图文集 *.bau 文件复制到工作站上的 installation-dir/user/autotext/ 目录中。

在 Apache OpenOffice 安装中添加自动图文集目录

  1. 在任意 Apache OpenOffice 程序中,选择工具 → 选项 → Apache OpenOffice → 路径
  2. 在默认路径列表中,选择“自动图文集”,然后单击编辑
  3. 编辑路径对话框中,单击添加
  4. 找到要添加的自动图文集 *.bau 文件所在的目录,然后单击选择按钮。
  5. 编辑路径对话框中,单击确定
  6. 选项 → Apache OpenOffice → 路径对话框中,单击确定
  7. 退出 Apache OpenOffice。
    Apache OpenOffice 将在 install-dir/user/registry/data/org/openoffice/Office/Common.xcu 配置文件中保存自动图文集路径。
  8. 将下面的代码复制到相应的 Common.xcu 文件中。
    • 要为 Apache OpenOffice 网络安装的所有用户提供自动图文集目录,请将该代码复制到 install-dir/share/registry/data/org/openoffice/Office/Common.xcu 文件中。
    • 要为 Apache OpenOffice 网络安装的单个用户提供自动图文集目录,请将该代码复制到 install-dir/user/registry/data/org/openoffice/Office/Common.xcu 文件中。

      Invalid language.

      You need to specify a language like this: <source lang="html4strict">...</source>

      Supported languages for syntax highlighting:

      4cs, 6502acme, 6502kickass, 6502tasm, 68000devpac, abap, actionscript, actionscript3, ada, algol68, apache, applescript, apt_sources, arm, asm, asp, asymptote, autoconf, autohotkey, autoit, avisynth, awk, bascomavr, bash, basic4gl, bf, bibtex, blitzbasic, bnf, boo, c, c_loadrunner, c_mac, caddcl, cadlisp, cfdg, cfm, chaiscript, cil, clojure, cmake, cobol, coffeescript, cpp, cpp-qt, csharp, css, cuesheet, d, dcl, dcpu16, dcs, delphi, diff, div, dos, dot, e, ecmascript, eiffel, email, epc, erlang, euphoria, f1, falcon, fo, fortran, freebasic, freeswitch, fsharp, gambas, gdb, genero, genie, gettext, glsl, gml, gnuplot, go, groovy, gwbasic, haskell, haxe, hicest, hq9plus, html4strict, html5, icon, idl, ini, inno, intercal, io, j, java, java5, javascript, jquery, kixtart, klonec, klonecpp, latex, lb, ldif, lisp, llvm, locobasic, logtalk, lolcode, lotusformulas, lotusscript, lscript, lsl2, lua, m68k, magiksf, make, mapbasic, matlab, mirc, mmix, modula2, modula3, mpasm, mxml, mysql, nagios, netrexx, newlisp, nsis, oberon2, objc, objeck, ocaml, ocaml-brief, octave, oobas, oorexx, oracle11, oracle8, oxygene, oz, parasail, parigp, pascal, pcre, per, perl, perl6, pf, php, php-brief, pic16, pike, pixelbender, pli, plsql, postgresql, povray, powerbuilder, powershell, proftpd, progress, prolog, properties, providex, purebasic, pycon, pys60, python, q, qbasic, rails, rebol, reg, rexx, robots, rpmspec, rsplus, ruby, sas, scala, scheme, scilab, sdlbasic, smalltalk, smarty, spark, sparql, sql, stonescript, systemverilog, tcl, teraterm, text, thinbasic, tsql, typoscript, unicon, upc, urbi, uscript, vala, vb, vbnet, vedit, verilog, vhdl, vim, visualfoxpro, visualprolog, whitespace, whois, winbatch, xbasic, xml, xorg_conf, xpp, yaml, z80, zxbasic


       <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