Difference between revisions of "JA/Documentation/Administration Guide/Restricting functionality"
From Apache OpenOffice Wiki
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:{{OOo}} の機能の制限}} | {{DISPLAYTITLE:{{OOo}} の機能の制限}} | ||
− | {{Documentation/AdminGuideTOC/v2 | + | {{JA/Documentation/AdminGuideTOC/v2 |
|ShowPrevNext=block | |ShowPrevNext=block | ||
|ShowPrevPage=block | |ShowPrevPage=block | ||
|ShowNextPage=block | |ShowNextPage=block | ||
− | |PrevPage=Documentation/Administration Guide/Customizing the UI | + | |PrevPage=JA/Documentation/Administration Guide/Customizing the UI |
− | |NextPage=Documentation/Administration Guide/LDAP Access | + | |NextPage=JA/Documentation/Administration Guide/LDAP Access |
}} | }} | ||
Line 27: | Line 27: | ||
<li>次のファイル構造を使用します。</li> | <li>次のファイル構造を使用します。</li> | ||
− | <source | + | <source lang="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 lang="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 lang="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 112: | Line 112: | ||
{{PDL1}} | {{PDL1}} | ||
+ | {{InterWiki_Languages_AdminGuide|articletitle=Documentation/Administration Guide/Restricting functionality}} |
Latest revision as of 15:16, 6 October 2009
Apache OpenOffice プログラムモジュールの機能は、個々のユーザー、グループ、またはネットワークを通じて制限できます。ユーザーごとに異なる制限を適用できます。また、XML 形式のコマンド設定ファイルを作成して、Apache OpenOffice プログラムのメニューコマンドの使用を制限することもできます。
コマンド設定ファイルの作成
コマンド設定ファイルの作成は、次の 3 つの手順で行います。
- 制限する機能のコマンド名を調べます。
- XML 設定ファイルを作成します。
- この設定ファイルを Apache OpenOffice インストールディレクトリの適切な場所にコピーします。
コマンド設定ファイルを作成する
- 制限する機能の UNO コマンド名を調べます。
- テキストエディタで、XML 設定ファイルを作成します。
- 次のファイル構造を使用します。
- 制限する機能ごとに異なるノードを作成します。
- 各ノードで、CommandName という用語を機能のコマンド名で置き換えます。
- このファイルを Commands.xcu という名前で保存します。
<?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 ファイルでは、次のスキーマが使用されます。
<?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 ディレクトリにコピーします。
<?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). |