|
README | 輪郭(を描く) the order by which the 任命する/導入するs of さまざまな 構成要素s must occur. |
Install_01 | 実験(する) the SFrameworkInstall.jar とじ込み/提出する when
(軍隊を)展開する,配備するd will 現在の to the 使用者 選択s to 許す a script to be bound to
an event. Also 実験(する) that scripting 枠組み office.jar とじ込み/提出する is 首尾よく (軍隊を)展開する,配備するd to NetBeans. |
Install_02 | 実験(する) the SFrameworkInstall.jar will sense directory 指名するs longer than 8 characters. |
Install_03 | 実験(する) the SFrameworkInstall.jar will sense directory 指名するs which 含む/封じ込める a space character. |
Bindings_01 | 実験(する) that the 使用者 can 割り当てる a (軍隊を)展開する,配備するd script to a 重要な. |
Bindings_02 | 実験(する) that the 使用者 can 除去する an 割り当てるd 重要な. |
Bindings_03 | 実験(する) that the 使用者 can 割り当てる a (軍隊を)展開する,配備するd script to the とじ込み/提出する menu item. |
Bindings_04 | 実験(する) that the 使用者 can 削除する an 割り当てるd とじ込み/提出する menu item. |
Bindings_05 | 実験(する) that the 使用者 can 遂行する/発効させる a script 蓄える/店d in a 文書 with a binding 蓄える/店d in the same 文書. |
NetBeans_01 | 収集する and (軍隊を)展開する,配備する a java script to the 使用/適用 使用者 area using NetBeans. |
NetBeans_02 | 収集する and (軍隊を)展開する,配備する a java script to a 文書 using NetBeans. |
NetBeans_03 | 削除する a script (軍隊を)展開する,配備するd to a 文書 using NetBeans. |
NetBeans_04 |
生成する and (軍隊を)展開する,配備する a script using the 命令(する) line
interface |
実験(する) 事例/患者: README
実験(する) Area: Solaris - Linux - Windows
実験(する) 目的(とする)輪郭(を描く) the order by which the 任命する/導入するs of さまざまな 構成要素s must occur.
必要条件s:-
Download NetBeans 3.4 from http://www.netbeans.org.
Download Scripting 枠組み from http://枠組み.openoffice.org/scripting/
Download OpenOffice.org 1.1Beta or later from http://www.openoffice.org
General Description:
It is important that the に引き続いて steps be 遂行する/発効させるd
in order and before and other 実験(する) 事例/患者s.
1. 任命する/導入する NetBeans
2. Start NetBeans, cd to the 任命する/導入する-dir/貯蔵所
and 遂行する/発効させる runide.sh for unix systems,
select runide.exe for windows. 出口 NetBeans.
3. 任命する/導入する OpenOffice.org.
4. Copy the SFrameworkInstall.jar とじ込み/提出する
to the 使用者s home directory.
実験(する) 事例/患者: install_01
実験(する) Area: Solaris - Linux - Windows
実験(する) 目的(とする)実験(する) the SFrameworkInstall.jar とじ込み/提出する when (軍隊を)展開する,配備するd will 現在の to the 使用者 選択s to 許す a script to be bound to an event.
Also 実験(する) that scripting 枠組み office.jar とじ込み/提出するs is 首尾よく (軍隊を)展開する,配備するd to NetBeans.
必要物/必要条件s
README
is 成し遂げるd before running this 実験(する) 事例/患者.
Description:
1. Copy the SFrameworkInstall.jar とじ込み/提出する to the 使用者's
home directory.
2. 確実にする OpenOffice.org is not running, also 確実にする
the quickstarters for windows and Linux are not running.
3. 遂行する/発効させる java -jar SFrameworkInstall.jar
4. On the Scripting 枠組み Installer welcome 審査する
click next, the welcome 審査する should 明言する/公表する the 見解/翻訳/版 of SFramework.jar.
5. Select 任命する/導入する, in the dialog select Next.
6. When 取り付け・設備 has 完全にするd, select Finish,
the next dialog should 誘発する you that the installer has
設立する a NetBeans 取り付け・設備,
select Next.
8. Select the IDE's for update, i.e. NetBeans, select
Next, Select 任命する/導入する, Select Finish
9. Manually check the NetBeans 任命する/導入する directory <netbeans-任命する/導入する>/modules
for the に引き続いて とじ込み/提出する:-
office.jar
10. Manually check that the SFrameworkInstall.スピードを出す/記録につける
とじ込み/提出する was writter to the 使用者s home directory.
11. Start OpenOffice.org, select 道具s, there should
be an 入ること/参加(者) - Scripting 追加する On's
12. Select 道具s, Scripting 追加する On's, Interactive
Beanshell Scripting, An interactive beanshell editor window should be
開始する,打ち上げるd.
推定する/予想するd Result:
All 操作/手術s should 完全にする 首尾よく.
実験(する) 事例/患者: install_02
実験(する) Area: Windows
実験(する) 目的(とする)実験(する) the SFrameworkInstall.jar will sense directory 指名するs longer than 8 characters.
必要物/必要条件s
READMEis 成し遂げるd before running
this 実験(する) 事例/患者.
OpenOffice.org 取り付け・設備 path directory has a
指名する which is nine characters or more.
NetBeans 取り付け・設備 path directory has a 指名する which
is nine characters or more.
Description:
1. Copy the SFrameworkInstall.jar とじ込み/提出する to the 使用者's
home directory.
2. 確実にする OpenOffice.org is not running, also 確実にする
the quickstarters for windows and Linux are not running.
3. 遂行する/発効させる java -jar SFrameworkInstall.jar
4. On the Scripting 枠組み Installer welcome 審査する
click next.
5. Select 任命する/導入する, in the dialog select Next.
6. When 取り付け・設備 has 完全にするd, select Finish,
the next dialog should 誘発する you that the installer has
a NetBeans 取り付け・設備, select
Next.
8. Select the IDE's for update, i.e. NetBeans, select
Next, Select 任命する/導入する, Select Finish.
9. Manually check the NetBeans 任命する/導入する directory <netbeans-任命する/導入する>/modules
for the に引き続いて とじ込み/提出する:-
office.jar.
10. Start OpenOffice.org, select 道具s, there should be an 入ること/参加(者) - Scripting 追加する On's
11. Select 道具s, Scripting 追加する On's, Interactive
Beanshell Scripting, An interactive beanshell editor window should be
開始する,打ち上げるd.
推定する/予想するd Result:
All 操作/手術s should 完全にする 首尾よく.
実験(する) 事例/患者: install_03
実験(する) Area: Windows
実験(する) 目的(とする)実験(する) the SFrameworkInstall.jar will sense directory 指名するs which 含む/封じ込める a space character.
必要物/必要条件s
README is 成し遂げるd before
running this 実験(する) 事例/患者.
OpenOffice.org 取り付け・設備 path directory has a
指名する which 含む/封じ込めるs a space character.
NetBeans 取り付け・設備 path directory has a 指名する which
含む/封じ込めるs a space character.
Description:
1. Copy the SFrameworkInstall.jar とじ込み/提出する to the 使用者's
home directory.
2. 確実にする OpenOffice.org is not running, also 確実にする
the quickstarters for windows and Linux are not running.
3. 遂行する/発効させる java -jar SFrameworkInstall.jar
4. On the Scripting 枠組み Installer welcome 審査する
click next.
5. Select 任命する/導入する, in the dialog select Next.
6. When 取り付け・設備 has 完全にするd, select Finish,
the next dialog should 誘発する you that the installer has
a NetBeans 取り付け・設備, select
Next.
8. Select the IDE's for update, i.e. NetBeans, select
Next, Select 任命する/導入する, Select Finish
9. Manually check the NetBeans 任命する/導入する directory <netbeans-任命する/導入する>/modules
for the に引き続いて とじ込み/提出する:-
office.jar
10. Start OpenOffice.org, select 道具s, there should be an 入ること/参加(者) - Scripting 追加する On's
11. Select 道具s, Scripting 追加する On's Interactive
Beanshell Scripting, An interactive beanshell editor window should
be 開始する,打ち上げるd.
推定する/予想するd Result:
All 操作/手術s should 完全にする 首尾よく.
実験(する) 事例/患者: bindings_01
実験(する) Area: Solaris - Linux - Windows
実験(する) 目的(とする)実験(する) that the 使用者 can 割り当てる a (軍隊を)展開する,配備するd script to an 重要な.
必要条件s:-
install_01 is 遂行する/発効させるd
before running this 実験(する) 事例/患者.
Description:
1. Start OpenOffice.org writer 文書.
2. Select 道具s - Script 追加する On's, 割り当てる Script
to 重要な.
3. In the popup dialog,
in the select script 機能(する)/行事
select
場所- 使用者
Language- Java
Script - HighlightText.showForm
Select 重要な Group SHIFT +
CONTROL +F 重要なs.
Select ShortcutKey SHIFT + CONTROL
+ F3.
SelectAssign 重要な.
4. The 重要な should now be 割り当てるd to HighlightText.showForm.
Select 承認する.
5. Select 転換 - 支配(する)/統制する
- F3. The 最高潮の場面 Text box dialog should be 陳列する,発揮するd.
6. Select 道具s - Script
追加する On's - 割り当てる Script to 重要な.
SHIFT-CONTROL-F3 should be 名簿(に載せる)/表(にあげる)d as 割り当てるd to HighlightText.showForm.
の近くに the 割り当てる Script to 重要な dialog.
9. Select 道具s - Configure, select the Keyboard
選択, 確実にする that writer is selected in the 最高の,を越す 権利 corner.
In the shortcut 重要なs scroll to Ctrl+転換+F3, this
should show that it is 割り当てるd to [script://HighlightText.showForm].
10. の近くに the Configuration dialog.
推定する/予想するd Result:
All 操作/手術s should 完全にする 首尾よく.
実験(する) 事例/患者: bindings_02
実験(する) Area: Solaris - Linux - Windows
実験(する) 目的(とする)実験(する) that the 使用者 can 除去する an 割り当てるd 重要な.
必要条件s:-
bindings_01 is 遂行する/発効させるd
before running this 実験(する) 事例/患者.
Description:
1. Start OpenOffice.org writer 文書.
2. Select 道具s - Script
追加する On's - 割り当てる Script to 重要な.
3. In the popup dialog,
Select 重要な Group SHIFT +
CONTROL +F 重要なs.
Select ShortcutKey SHIFT + CONTROL
+ F3.
Select 削除する Script 重要な.
4. The 重要な should not be 割り当てるd to anything. Select
承認する.
6. Select 転換 - 支配(する)/統制する - F3. The 最高潮の場面 Text
box dialog should be not 陳列する,発揮するd.
7. Select 道具s -Script
追加する On's - 割り当てる Script to 重要な ,
重要な, SHIFT-CONTROL-F3 should not be 名簿(に載せる)/表(にあげる)d as 割り当てるd to anything. の近くに
the 割り当てる Script (Java) to 重要な dialog
8. Select 道具s - Configure, select the Keyboard
選択, 確実にする that writer is selected in the 最高の,を越す 権利 corner.
In the shortcut 重要なs scroll to Ctrl+転換+F3, this
should show that it is not 割り当てるd to anything
9. の近くに the Configuration dialog.
推定する/予想するd Result:
All 操作/手術s should 完全にする 首尾よく.
実験(する) 事例/患者: bindings_03
実験(する) Area: Solaris - Linux - Windows
実験(する) 目的(とする)実験(する) that the 使用者 can 割り当てる a (軍隊を)展開する,配備するd script to the とじ込み/提出する menu item.
必要条件s:-
install_01 is 遂行する/発効させるd
before running this 実験(する) 事例/患者
Description:
1. Start OpenOffice.org writer 文書.
2. Select 道具s, Scripting 追加する On's, 割り当てる Script
to Menu.
3. In the popup dialog, select
場所 - 使用者
Language - Java
Script - HighlightText.showForm
Select とじ込み/提出する in the 最高の,を越す Level menu 減少(する)
負かす/撃墜する 名簿(に載せる)/表(にあげる).
In the New Menu dialog box , enter
a menu item 指名する e.g. menuhighlight.
Select New, select ok.
4. Select とじ込み/提出する, menuhighlight - a 最高潮の場面 text box should appear.
推定する/予想するd Result:
All 操作/手術s should 完全にする 首尾よく.
実験(する) 事例/患者: bindings_04
実験(する) Area: Solaris - Linux - Windows
実験(する) 目的(とする)実験(する) that the 使用者 can 削除する an 割り当てるd とじ込み/提出する menu item.
必要条件s:-
bindings_03 is
遂行する/発効させるd before running this 実験(する) 事例/患者
Description:
1. Start OpenOffice.org writer 文書.
2. Select 道具s, Scripting
追加する On's, 割り当てる Script to Menu.
3. In the popup dialog,
Select とじ込み/提出する in the 最高の,を越す Level menu
減少(する) 負かす/撃墜する 名簿(に載せる)/表(にあげる).
In the Sub Menu, select menuhighlight
[ HighlightText.ShowForm]
Select 削除する Script Menu. Select
承認する.
4. Select とじ込み/提出する, there should now be no menu 選択
menuhighlight.
推定する/予想するd Result:
All 操作/手術s should 完全にする 首尾よく.
実験(する) 事例/患者: bindings_05
実験(する) Area: Solaris - Linux - Windows
実験(する) 目的(とする)実験(する) that the 使用者 can 遂行する/発効させる a script 蓄える/店d in a 文書 with a binding 蓄える/店d in the same 文書.
必要条件s:-
install_01 is 遂行する/発効させるd
before running this 実験(する) 事例/患者.
Description:
1. Start OpenOffice.org.
2. Select とじ込み/提出する - Open, navigate to <OpenOffice.org-任命する/導入する-dir>/使用者/Scripts/java/MemoryUsage.
3. Open とじ込み/提出する ExampleSpreadSheet.sxc, a spreadsheet
文書 with a pie chart should be opened
4. 圧力(をかける) ctrl-転換-m, the 使用者 is 警告するd that they
are about to 遂行する/発効させる a sctipt.
Do you want to 遂行する/発効させる this script.
5. Select Yes.
6. The chart updates with JVM memory usage 統計(学).
7. Repeat steps 4-6 again.
推定する/予想するd Result:
実験(する) 事例/患者: netbeans_01
実験(する) Area: Solaris - Linux - Windows
実験(する) 目的(とする)収集する and (軍隊を)展開する,配備する a java script to the 使用/適用 使用者 area using NetBeans.
Prerequisits
install_01 is 遂行する/発効させるd
before running this 実験(する) 事例/患者.
http://枠組み.openoffice.org/scripting/解放(する)-0.2/netbeans-devguide.html#必要条件s
Description:
-
1. Create an examples directory e.g. HelloNetBeans.#
Start NetBeans.
2. 開始する the examples directories
Select the とじ込み/提出する->開始する Filesystem menu item
In the Choose Filesystem Type window select 地元の Directory and click Next
開始する the examples directory you created i.e. HelloNetBeans.
Select Finish.
3. Create a new script 小包
権利 click on your 機動力のある examples directory.
Select New->Office Scripting->小包 Recipe
In the New Wizard window that appears, enter the 指名する you wish to call your
new 小包 e.g HelloNetBeans.
Select Finish.
4. Click on the Contents-Empty とじ込み/提出する
-Change the 指名する of 'public class Empty' to 'public
class HelloNetBeans'
-除去する the 一括 宣言 '一括 HelloNetBeans.Contents;'
at the 最高の,を越す of the とじ込み/提出する
-追加する the に引き続いて lines to the 最高の,を越す of the script
すぐに after the first 輸入する 声明
輸入する com.sun.星/主役にする.uno.UnoRuntime;
輸入する com.sun.星/主役にする.でっちあげる,人を罪に陥れる.XModel;
輸入する com.sun.星/主役にする.text.*;
5. 追加する the に引き続いて lines to the public method doMethod in the HelloNetBeans class.
XModel model = xSc.getDocument();
XTextDocument textdoc = (XTextDocument)
UnoRuntime.queryInterface(XTextDocument.class, model);
XText oText = textdoc.getText();
XTextCursor oCursor = oText.createTextCursor();
oText.insertString(oCursor, "Hello NetBeans",
誤った);
6. 権利 click on the HelloNetBeans in the 権利 でっちあげる,人を罪に陥れる and select save.
7. 権利 click on the HelloNetBeans
directory and select 収集する. You should 公式文書,認める that
the 収集する 完全にするs 首尾よく from the lower
権利 手渡す でっちあげる,人を罪に陥れる (生産(高) window) of NetBeans.
8. 権利 click on the HelloNetBeans directory
and select build,
In the dialog which appears select the HelloNetBeans.doMethod
and 追加する to scripts , select 承認する.
A HelloNetBeans 小包 とじ込み/提出する should be built.
9. 権利 click on the Hello NetBeans 小包 とじ込み/提出する and select (軍隊を)展開する,配備する to OpenOffice.org, 使用者.
10. Check that the とじ込み/提出するs have been 首尾よく (軍隊を)展開する,配備するd to <office-任命する/導入する>/使用者/Scripts/java.
11. 割り当てる an event to 遂行する/発効させる the script.
- Start OpenOffice.org writer 文書.
- Select 道具s, Scripting
追加する On's, 割り当てる Script to Menu.
- In the popup dialog, select
場所 - 使用者
Language - Java
Script HelloNetBeans.doMethod
Select とじ込み/提出する in the 最高の,を越す Level menu
減少(する) 負かす/撃墜する 名簿(に載せる)/表(にあげる).
In the New Menu, enter a menu item 指名する
e.g. HelloNetBeans.
Select New, select ok.
- Select とじ込み/提出する, HelloNetBeans - Hello NetBeans should
be 挿入するd into the 文書.
All 操作/手術s should 完全にする 首尾よく.
実験(する) 事例/患者: netbeans_02
実験(する) Area: Solaris - Linux - Windows
実験(する) 目的(とする)収集する and (軍隊を)展開する,配備する a java script to a 文書 using NetBeans.
必要条件s
netbeans_01 is 遂行する/発効させるd
before running this 実験(する) 事例/患者.
削除する directory <office-任命する/導入する>/使用者/Scripts/java/HelloNetBeans.
A 以前 created OpenOffice.org writer 文書, e.g. TestBindNB.sxw
1. Start NetBeans
権利 click on the HelloNetBeans in the 権利
でっちあげる,人を罪に陥れる and select the 以前 opened HelloNetBeans.java とじ込み/提出する.
Change the "Hello NetBeans" line to "Hello NetBeans
2 ----"
Select とじ込み/提出する Save.
2. 権利 click on the HelloNetBeans
directory and select 収集する. You should 公式文書,認める that
the 収集する 完全にするs 首尾よく from the lower
権利 手渡す でっちあげる,人を罪に陥れる (生産(高) window) of NetBeans.
3. 権利 click on the HelloNetBeans directory
and select build,
In the dialog which appears select the HelloNetBeans.doMethod
and 追加する to scripts , select 承認する.
A HelloNetBeans 小包 とじ込み/提出する should be built.
4. 権利 click on the Hello NetBeans 小包 とじ込み/提出する and select (軍隊を)展開する,配備する to Office 文書, select the 以前 saved 実験(する) 文書 i.e. TestBindNB.sxw. A 警告 dialog should 警告する the 使用者 that the douemnt should not already be opened in OpenOffice.org. If the 文書 is opened, の近くに it and select ok.
5. Check that the script has been 首尾よく (軍隊を)展開する,配備するd to the 文書 by running unzip -l TestBindNB.sxw. (Unix) or pkunzip -v TestBindNB.sxw (Windows). You should see the script saved in the 文書.
6. 割り当てる an event to 遂行する/発効させる the script.
- Open the TestBindNB.sxw 実験(する) 文書.
- Select 道具s, Scripting 追加する On's, 割り当てる Script to Menu.
- In the popup dialog, select
場所 - 文書,
Language - Java,
Script- HelloNetBeans.doMethod
Select とじ込み/提出する in the 最高の,を越す Level menu 減少(する)
負かす/撃墜する 名簿(に載せる)/表(にあげる).
In the New Menu, enter a menu item 指名する
e.g. HelloNetBeans.
Select New, select ok.
- Select とじ込み/提出する, HelloNetBeans - Hello NetBeans 2 ----
should be 挿入するd into the 文書.
実験(する) 事例/患者: netbeans_03
実験(する) Area: Solaris - Linux - Windows
実験(する) 目的(とする)削除する a script (軍隊を)展開する,配備するd to a 文書 using NetBeans.
Prerequisits
netbeans_02 is 遂行する/発効させるd
before running this 実験(する) 事例/患者.
1. Start NetBeans.
開始する the とじ込み/提出する system where TestBindNB.sxw. is 蓄える/店d. If TestBindNB.sxw is opened in OpenOffice.org,
の近くに it.
2. 拡大する the とじ込み/提出する TestBindNB.sxw とじ込み/提出する . 権利 click on the PARCEL_FILE and select 削除する.
3. The Script saved in the office 文書 TestBindNB.sxw should now be 削除するd.
4. Check that it is 削除するd by running unzip -l TestBindNB.sxw. (Unix) or pkunzip -v TestBindNB.sxw (Windows). You should see that the 以前 saved script in the 文書 is now gone.
実験(する) 目的(とする)
生成する and (軍隊を)展開する,配備する a script using the 命令(する) line interface.
Prerequisits
netbeans_03 is 遂行する/発効させるd before running this 実験(する) 事例/患者.
http://枠組み.openoffice.org/scripting/解放(する)-0.2/commandline-devguide.html#prereqs
始める,決める the 使用者s CLASSPATH to 含む
<netbeans-任命する/導入する-dir>/modules.jar
all jar とじ込み/提出するs <office-任命する/導入する-dir>/program/classes/ directory.
all jar とじ込み/提出するs in the xerces 取り付け・設備 path directory.
1. Create a new examples directory, e.g. examplesCLI. Create a Contents directory in examplesCLI.
2. Copy the HelloNetBeans.java and HelloNetBeans.class path from the examples directory (HelloNetBeans) 以前 生成するd in netbeans_02 to the newly created Contents directory in examplesCLI.
3. Enter the 命令(する) 'java CommandLineTools -g examplesCLI -l Java'.
You should be 誘発するd that a examplesCLI.sxp とじ込み/提出する has been 生成するd.
4. Enter the 命令(する) 'java CommandLineTools -d <絶対の path>/examplesCLI.sxp <office-任命する/導入する-dir/株/Scripts.
5. Start OpenOffice.org, Select 道具s, Scripting 追加する On's, 割り当てる Script to Menu.
Select,
場所 - 株
Language - Java
Script - HelloNetBeans.doMethod
Create a binding to the とじ込み/提出する menu, and 遂行する/発効させる it. HelloNetBeans 2 ---- should be entered in the text 文書.