Difference between revisions of "JA/Documentation/Administration Guide/Restricting functionality"
From Apache OpenOffice Wiki
(New page: {{DISPLAYTITLE:{{OOo}} の機能の制限}} {{Documentation/AdminGuideTOC/v2 |ShowPrevNext=block |ShowPrevPage=block |ShowNextPage=block |PrevPage=Documentation/Administration Guide/Custom...) |
OOoWikiBot (Talk | contribs) m (Robot: Automated text replacement (-{{PDL1}} +{{InterWiki Languages AdminGuide|articletitle={{PAGENAME}}}}\n{{PDL1}})) |
||
Line 111: | Line 111: | ||
{{OOo}} を再起動すると、設定が適用されます。 | {{OOo}} を再起動すると、設定が適用されます。 | ||
+ | {{InterWiki Languages AdminGuide|articletitle={{PAGENAME}}}} | ||
{{PDL1}} | {{PDL1}} |
Revision as of 13:45, 20 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>
コマンド名のリストとその説明については、「Apache OpenOffice の UNO コマンド名の索引」を参照してください。
コマンド設定ファイルを適用する
コマンド設定ファイルは、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). |