Difference between revisions of "ZH/Documentation/Administration Guide/Adding Template Files"
OOoWikiBot (Talk | contribs) m (Robot: Automated text replacement (-{{PDL1}} +{{InterWiki Languages AdminGuide|articletitle={{PAGENAME}}}}\n{{PDL1}})) |
|||
Line 8: | Line 8: | ||
{{DISPLAYTITLE:在 {{OOo}} 安装中添加模板文件}} | {{DISPLAYTITLE:在 {{OOo}} 安装中添加模板文件}} | ||
− | 您可以为 {{OOo}} | + | 您可以为 {{OOo}} 网络安装的所有用户或单个用户提供自定义文档模板。此外,还可以为这些用户提供特定的文档模板目录。 |
− | {{Documentation/Caution| | + | {{Documentation/Caution|不要向用户授予模板文件的写入权限。}} |
===为 {{OOo}} 网络安装的所有用户添加模板=== | ===为 {{OOo}} 网络安装的所有用户添加模板=== | ||
Line 24: | Line 24: | ||
===在 {{OOo}} 安装中添加模板目录=== | ===在 {{OOo}} 安装中添加模板目录=== | ||
− | # | + | #在任意 {{OOo}} 程序中,选择'''工具 → 选项 → {{OOo}} → 路径'''。 |
#在默认路径列表中,选择“模板”,然后单击'''编辑'''。 | #在默认路径列表中,选择“模板”,然后单击'''编辑'''。 | ||
− | #在''' | + | #在'''编辑路径'''对话框中,单击'''添加'''按钮。 |
− | #找到要添加的模板目录,然后单击''' | + | #找到要添加的模板目录,然后单击'''选择'''。 |
− | #在''' | + | #在'''编辑路径'''对话框中,单击'''确定'''按钮。 |
#在'''选项 → {{OOo}} → 路径'''对话框中,单击'''确定'''。 | #在'''选项 → {{OOo}} → 路径'''对话框中,单击'''确定'''。 | ||
#退出 {{OOo}}。<br>{{OOo}} 将在 <tt>''install-dir''/user/registry/data/org/openoffice/Office/Common.xcu</tt> 配置文件中保存模板路径。 | #退出 {{OOo}}。<br>{{OOo}} 将在 <tt>''install-dir''/user/registry/data/org/openoffice/Office/Common.xcu</tt> 配置文件中保存模板路径。 | ||
Line 34: | Line 34: | ||
#*要为 {{OOo}} 网络安装的所有用户提供模板目录,请将该代码复制到 <tt>''install-dir''/share/registry/data/org/openoffice/Office/Common.xcu</tt> 文件中。 | #*要为 {{OOo}} 网络安装的所有用户提供模板目录,请将该代码复制到 <tt>''install-dir''/share/registry/data/org/openoffice/Office/Common.xcu</tt> 文件中。 | ||
#*要为 {{OOo}} 网络安装的单个用户提供模板目录,请将该代码复制到 <tt>''install-dir''/user/registry/data/org/openoffice/Office/Common.xcu</tt> 文件中。 | #*要为 {{OOo}} 网络安装的单个用户提供模板目录,请将该代码复制到 <tt>''install-dir''/user/registry/data/org/openoffice/Office/Common.xcu</tt> 文件中。 | ||
− | <source | + | <source language="xml"> |
<node oor:name="Path"> | <node oor:name="Path"> | ||
<node oor:name="Current"> | <node oor:name="Current"> | ||
Line 46: | Line 46: | ||
</source> | </source> | ||
− | |||
{{PDL1}} | {{PDL1}} |
Revision as of 14:25, 30 October 2008
- Apache OpenOffice Basic Macros and Libraries
- Apache OpenOffice Extension Manager
- Adding Template Files to an Apache OpenOffice Installation
- Adding AutoText Files to an Apache OpenOffice Network Installation
- Deactivating the Apache OpenOffice Registration Wizard
- Accessing Email Clients
- Customizing the User Interface
- Restricting Functionality in Apache OpenOffice
- Accessing Apache OpenOffice User Profiles on an LDAP Server
您可以为 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 文件中。
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="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). |