Difference between revisions of "JA/Documentation/Administration Guide/Restricting functionality"
OOoWikiBot (Talk | contribs) m (Robot: Automated text replacement (-{{PDL1}} +{{InterWiki Languages AdminGuide|articletitle={{PAGENAME}}}}\n{{PDL1}})) |
|||
Line 8: | Line 8: | ||
}} | }} | ||
− | {{OOo}} | + | {{OOo}} プログラムモジュールの機能は、個々のユーザー、グループ、またはネットワークを通じて制限できます。ユーザーごとに異なる制限を適用できます。また、XML 形式のコマンド設定ファイルを作成して、{{OOo}} プログラムのメニューコマンドの使用を制限することもできます。 |
==コマンド設定ファイルの作成== | ==コマンド設定ファイルの作成== | ||
Line 27: | Line 27: | ||
<li>次のファイル構造を使用します。</li> | <li>次のファイル構造を使用します。</li> | ||
− | <source | + | <source language="xml"> |
<?xml version="1.0" encoding="UTF-8" ?> | <?xml version="1.0" encoding="UTF-8" ?> | ||
<oor:node oor:name="Commands" oor:package="org.openoffice.Office" | <oor:node oor:name="Commands" oor:package="org.openoffice.Office" | ||
Line 47: | Line 47: | ||
<tt>Commands.xcu</tt> ファイルでは、次のスキーマが使用されます。 | <tt>Commands.xcu</tt> ファイルでは、次のスキーマが使用されます。 | ||
− | <source | + | <source language="xml"> |
<?xml version='1.0' encoding='UTF-8'?> | <?xml version='1.0' encoding='UTF-8'?> | ||
<oor:component-schema oor:name="Commands" | <oor:component-schema oor:name="Commands" | ||
Line 74: | Line 74: | ||
次の <tt>Commands.xcu</tt> ファイルでは、{{OOo}} のメニューをカスタマイズする機能が無効になります。この制限をすべてのユーザーに適用するには、このファイルを <tt>''network-install-dir''/share/registry/data/org/openoffice/Office</tt> ディレクトリにコピーします。 | 次の <tt>Commands.xcu</tt> ファイルでは、{{OOo}} のメニューをカスタマイズする機能が無効になります。この制限をすべてのユーザーに適用するには、このファイルを <tt>''network-install-dir''/share/registry/data/org/openoffice/Office</tt> ディレクトリにコピーします。 | ||
− | <source | + | <source language="xml"> |
<?xml version="1.0" encoding="UTF-8" ?> | <?xml version="1.0" encoding="UTF-8" ?> | ||
<oor:node oor:name="Commands" | <oor:node oor:name="Commands" | ||
Line 98: | Line 98: | ||
</source> | </source> | ||
− | コマンド名のリストとその説明については、「[[Framework/OpenOffice.org_2.0_Command_Reference|{{OOo}}]] | + | コマンド名のリストとその説明については、「[[Framework/OpenOffice.org_2.0_Command_Reference|Index of UNO Command Names for {{OOo}}]]」を参照してください。 |
====コマンド設定ファイルを適用する==== | ====コマンド設定ファイルを適用する==== | ||
Line 111: | Line 111: | ||
{{OOo}} を再起動すると、設定が適用されます。 | {{OOo}} を再起動すると、設定が適用されます。 | ||
− | |||
{{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 プログラムモジュールの機能は、個々のユーザー、グループ、またはネットワークを通じて制限できます。ユーザーごとに異なる制限を適用できます。また、XML 形式のコマンド設定ファイルを作成して、Apache OpenOffice プログラムのメニューコマンドの使用を制限することもできます。
コマンド設定ファイルの作成
コマンド設定ファイルの作成は、次の 3 つの手順で行います。
- 制限する機能のコマンド名を調べます。
- XML 設定ファイルを作成します。
- この設定ファイルを Apache OpenOffice インストールディレクトリの適切な場所にコピーします。
コマンド設定ファイルを作成する
- 制限する機能の UNO コマンド名を調べます。
- テキストエディタで、XML 設定ファイルを作成します。
- 次のファイル構造を使用します。
- 制限する機能ごとに異なるノードを作成します。
- 各ノードで、CommandName という用語を機能のコマンド名で置き換えます。
- このファイルを Commands.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
<?xml version="1.0" encoding="UTF-8" ?> <oor:node oor:name="Commands" oor:package="org.openoffice.Office" xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <node oor:name="Execute"> <node oor:name="Disabled"> <node oor:name="CommandName" oor:op="replace"> <prop oor:name="Command"> <value>CommandName</value> </prop> </node> </node> </node> </oor:node>
Commands.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
<?xml version='1.0' encoding='UTF-8'?> <oor:component-schema oor:name="Commands" oor:package="org.openoffice.Office" xml:language="ja-JP" xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <templates> <group oor:name="CommandType"> <prop oor:name="Command" oor:type="xs:string"/> </group> </templates> <component> <group oor:name="Execute"> <set oor:name="Disabled" oor:node-type="CommandType"/> </group> </component> </oor:component-schema>
次の Commands.xcu ファイルでは、Apache OpenOffice のメニューをカスタマイズする機能が無効になります。この制限をすべてのユーザーに適用するには、このファイルを network-install-dir/share/registry/data/org/openoffice/Office ディレクトリにコピーします。
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
<?xml version="1.0" encoding="UTF-8" ?> <oor:node oor:name="Commands" oor:package="org.openoffice.Office" xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <node oor:name="Execute"> <node oor:name="Disabled"> <node oor:name="ConfigureDialog" oor:op="replace"> <prop oor:name="Command"> <value>ConfigureDialog</value> </prop> </node> <node oor:name="ConfigureToolboxVisible" oor:op="replace">; <prop oor:name="Command"> <value>LoadToolBox</value> </prop> </node> </node> </node> </oor:node>
コマンド名のリストとその説明については、「Index of UNO Command Names for Apache OpenOffice」を参照してください。
コマンド設定ファイルを適用する
コマンド設定ファイルは、Solaris、Linux、および Windows プラットフォーム上の Apache OpenOffice に適用できます。
- すべての Apache OpenOffice アプリケーションを終了します。
Windows では、システムトレイにある Apache OpenOffice クイック起動も終了してください。 - Commands.xcu ファイルを適切なディレクトリにコピーします。
- この設定をネットワーク上のすべてのユーザーに適用するには、 Commands.xcu ファイルを次のディレクトリにコピーします。
network-install-dir/share/registry/data/org/openoffice/Office - この設定をネットワーク上の特定のユーザーに適用するには、 Commands.xcu ファイルを次のディレクトリにコピーします。
workstat-dir/user/registry/data/org/openoffice/Office
- この設定をネットワーク上のすべてのユーザーに適用するには、 Commands.xcu ファイルを次のディレクトリにコピーします。
Apache OpenOffice を再起動すると、設定が適用されます。
Content on this page is licensed under the Public Documentation License (PDL). |