Difference between revisions of "JA/Documentation/Administration Guide/Restricting functionality"
From Apache OpenOffice Wiki
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 という名前で保存します。
<?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). |