取り付け・設備 Guide for the Office Scripting 枠組み
Contents
Who Should Read This 文書
This 文書 should be read by:-
使用/適用 Developers who wish to 高める OpenOffice.org functionality without needing to develop UNO 構成要素s or to connect to OpenOffice.org from a remote JVM
-
OpenOffice.org 使用者s who wish to 遂行する/発効させる Office scripts 経由で menu, 重要な and event bindings in OpenOffice.org
Pre-requisites
- This is an 早期に Developer 解放(する) of the Office Scripting 枠組み 供給するd for 使用者s and developers of OpenOffice.org to try out and 供給する feedback. 未来 解放(する)s of the 枠組み may change.
- This 解放(する) of the Scripting 枠組み runs on OpenOffice.org 1.1 rc and above.
- The Scripting 枠組み is 現在/一般に 利用できる in English only.
使用者 | IDE | JDK 要求するd | Memory 要求するd |
---|---|---|---|
Script 使用者 | - | 1.4.0_02 | 256MB |
Script Developer | NetBeans 3.4 | 1.4.0_02 | 512MB |
Downloading the Scripting 枠組み
The Scripting 枠組み is 利用できる for download in the form of a Jar とじ込み/提出する which can be 得るd from here. The contents of the Jar とじ込み/提出する are as follows:- installer - A 壇・綱領・公約-独立した・無所属 installer for the Scripting 枠組み written in Java.
- bindingdialog - A collection of StarBasic dialogs to enable the 使用者 to 割り当てる (貯蔵所d) scripts to menu and 重要な items, and to 文書 and 使用/適用 events. This directory also 含む/封じ込めるs the necessary XML とじ込み/提出するs for the menu items that invoke these StarBasic dialogs.
- examples - Example scripts written in Java, JavaScript & BeanShell.
- schema - 含む/封じ込めるs the
registry schema とじ込み/提出する for the Scripting 枠組み data.
- sframework
- ooscriptframe.zip - A UNO 一括 含む/封じ込めるing the
核心 Scripting 枠組み libraries & Jar とじ込み/提出するs. This also 含む/封じ込めるs
the Java script runtime.
- bshruntime.zip - A UNO 一括 含む/封じ込めるing the BeanShell
script runtime.
- jsruntime.zip - A UNO 一括 含む/封じ込めるing the JavaScript
script runtime.
- ide - The Jar とじ込み/提出するs for NetBeans 統合,差別撤廃.
任命する/導入するing the Scripting 枠組み
Before you begin 取り付け・設備, you need to 確実にする all Office 過程s have 終結させるd and on Windows and Linux, that the QuickStarter has been の近くにd.公式文書,認める: Unlike previous 解放(する)s, 解放(する) 0.3 must be 任命する/導入するd by the same 使用者 who 任命する/導入するd OpenOffice.org, ie. the 行政官/管理者 in the 事例/患者 of a 網状組織 取り付け・設備. This 必要物/必要条件 is 予定 to the fact that 解放(する) 0.3 含む/封じ込めるs a schema 拡張 to the OpenOffice.org registry which must be 任命する/導入するd under <Office 取り付け・設備>/株.
公式文書,認める: Before 任命する/導入するing an updated 見解/翻訳/版 of the Scripting 枠組み, the previous 見解/翻訳/版 should be 除去するd. (See the Guide for Uninstalling)
To 任命する/導入する the Scripting 枠組み:
- Open a 終点 (Linux/UNIX) or DOS 命令(する) 誘発する (Windows)
- 確実にする that java is in your 死刑執行 path
- Run the 命令(する): java -jar SFrameworkInstall.jar
This will start the installer GUI, which you can use to select the Office 取り付け・設備 to which you want to 任命する/導入する the Scripting 枠組み. The 枠組み is 任命する/導入するd in the <Office 取り付け・設備>/使用者/uno_packages directory of the Office 取り付け・設備 you choose. If the installer (悪事,秘密などを)発見するs an 取り付け・設備 of either NetBeans 3.4 you will be asked whether you wish to 任命する/導入する the IDE 追加する-ins. These 追加する-ins 供給する support for developing and (軍隊を)展開する,配備するing Office Scripts.
公式文書,認める: If you do not wish to use the GUI you can 任命する/導入する the Scripting 枠組み and the IDE 追加する-in 経由で the 命令(する) line using the 命令(する):
java -jar SFrameworkInstall.jar -office <Office 取り付け・設備> -netbeans <NetBeans 取り付け・設備>
公式文書,認める: The installer (悪事,秘密などを)発見するs IDE 取り付け・設備s by looking
for
開会/開廷/会期 関係のある とじ込み/提出するs in the home directory of the 使用者 running the
任命する/導入する, so in order for your IDE to be (悪事,秘密などを)発見するd you will need to have
run it at least once.
任命する/導入するing the Scripting 枠組み in a 網状組織 取り付け・設備 of OpenOffice.org
任命する/導入するing the Scripting 枠組み into an OpenOffice.org 網状組織 取り付け・設備 can only be done 経由で the 命令(する) line. the 取り付け・設備 done as a two-part 過程.First (after 任命する/導入するing the OpenOffice.org, the 体制/機構 -逮捕する part) 任命する/導入する the 構成要素s and 株d scripts, 大型のs etc:java -jar SFrameworkInstall.jar -office <株d Office 取り付け・設備> -逮捕する
then as each 使用者, once the 使用者 has 任命する/導入するd OpenOffice.org (体制/機構 from the 株d 取り付け・設備), 追加する the menu bindings to the Scripting 枠組み dialogs:
java -jar SFrameworkInstall.jar -office <使用者 Office 取り付け・設備> -bindings
This is 現在/一般に not working on Linux 予定 to a bug in the Linux 解放(する) of OpenOffice.org1.1rc. It is 推定する/予想するd that this will be 直す/買収する,八百長をするd by the next 解放(する).
Update: The 網状組織 任命する/導入する in 現在の download is broken, this will be 直す/買収する,八百長をするd as soon as possible.
Last 修正するd: Tue Sep 16 18:48:26 BST 2003