在 Apache OpenOffice 安装中添加模板文件
From Apache OpenOffice Wiki
< ZH/Documentation/Administration Guide
Revision as of 21:42, 30 October 2008 by G11nAutomation (Talk | contribs)
您可以为 Apache OpenOffice 网络安装的所有用户或单个用户提供自定义文档模板。此外,还可以为这些用户提供特定的文档模板目录。
为 Apache OpenOffice 网络安装的所有用户添加模板
- 成为 root 用户。
- 将该模板复制到 network-install-dir/share/template/ 目录中。
在 Apache OpenOffice 工作站安装中添加模板
- 成为 root 用户。
- 将该模板复制到工作站上的 install-dir/user/template/ 目录中。
在 Apache OpenOffice 安装中添加模板目录
- 在任意 Apache OpenOffice 程序中,选择工具 → 选项 → Apache OpenOffice → 路径。
- 在默认路径列表中,选择“模板”,然后单击编辑。
- 在编辑路径对话框中,单击添加按钮。
- 找到要添加的模板目录,然后单击选择。
- 在编辑路径对话框中,单击确定按钮。
- 在选项 → Apache OpenOffice → 路径对话框中,单击确定。
- 退出 Apache OpenOffice。
Apache OpenOffice 将在 install-dir/user/registry/data/org/openoffice/Office/Common.xcu 配置文件中保存模板路径。 - 将下面的代码复制到相应的 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="Template" oor:type="oor:string-list"> <value>$(inst)/share/template/$(vlang) $(user)/template new_template_directory </value> </prop> </node> </node>
Content on this page is licensed under the Public Documentation License (PDL). |