在 Apache OpenOffice 网络安装中添加自动图文集文件

From Apache OpenOffice Wiki
Jump to: navigation, search
doc OOo


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

Documentation note.png 有关如何创建自动图文集条目的信息,请在 Apache OpenOffice Writer 联机帮助中搜索关键字“自动图文集”。

为 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 文件中。
       <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