このページはEtoJ逐語翻訳フィルタによって翻訳生成されました。

翻訳前ページへ


Developing Scripts in NetBeans
Language

The 解放する/自由な and Open 生産性 控訴
解放(する)d: Apache OpenOffice 4.1.15

Developing Scripts in NetBeans

This 文書 述べるs how to 始める,決める up NetBeans for Office Scripting and how to 令状 a simple script using NetBeans. You can download the NetBeans IDE from the NetBeans download page.

Contents:

Pre-requisites

Now start NetBeans and 開始する the directory you created using the とじ込み/提出する/開始する Filesystem menu 選択. You also need to 開始する all of the jar とじ込み/提出するs in the <Office 取り付け・設備>/program/classes directory in order to 接近 the Office API from your scripts.

最高の,を越す

Creating a 小包 Recipe

Office scripts are 配達するd in Script 小包s. Like Office 文書s they are zip とじ込み/提出するs. Script 小包s have the .sxp 拡張. Script 小包s are 生成するd from 小包 Recipes where all of the とじ込み/提出するs that are necessary to create the 小包 are put together. To create a new 小包 Recipe: This will create a new directory with the 指名する you chose. In this directory you will find a Contents directory where all of your とじ込み/提出するs will be placed. An empty stub とじ込み/提出する will have been placed in the Contents directory and can be used as a starting point for your script.

公式文書,認める: To 追加する その上の empty stub scripts to your 小包 Recipe, 権利 click on the Contents directory and use the New/Office Scripting/Empty Script menu item.

最高の,を越す

活動/戦闘s 利用できる for 小包 Recipe

If the 使用者 権利 clicks on the 小包 directory they should be able to use the に引き続いて 活動/戦闘s:

最高の,を越す

活動/戦闘s 利用できる for Script 小包s

Script 小包s supports only one 活動/戦闘:

公式文書,認める: If you (軍隊を)展開する,配備する a Script 小包 to an OpenOffice.org 取り付け・設備 you need to use the 道具s/Scripting 追加する-on's/Refresh All Scripts menu item for the new script to appear in the 割り当てる Script dialog.

公式文書,認める: You can also (軍隊を)展開する,配備する to Office 文書s within NetBeans using drag and 減少(する) or 削減(する) and paste.

最高の,を越す

活動/戦闘s 利用できる for Office 文書s

Office 文書s are also recognised by NetBeans. Any 小包s 含む/封じ込めるd in the 文書 will be 陳列する,発揮するd as nodes of the Office 文書. 削除するing one of these nodes will 除去する the Script 小包 from the 文書. You should 確実にする that the 文書 is not open in OpenOffice.org before 削除するing any 小包s it may 含む/封じ込める. Office 文書s support the 基準 削除する, 削減(する) and Copy 活動/戦闘s and the に引き続いて custom 活動/戦闘s:

最高の,を越す

Debugging Java Office scripts in NetBeans

公式文書,認める: As the BeanShell scripting language does not support debugging it is not possible to debug BeanShell Office scripts from NetBeans. You can however use the Interactive BeanShell scripting menu item under the 道具s menu in OpenOffice.org to 実験(する) BeanShell code. Just enter any BeanShell code and 攻撃する,衝突する the Eval button to 遂行する/発効させる it.

最高の,を越す

Troubleshooting

最高の,を越す


Last 修正するd: Tue 損なう 12 11:40:28 GMT 2003

Apache Software Foundation

Copyright & License | Privacy | 接触する Us | 寄付する | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are 登録(する)d trademarks of The Apache ソフトウェア 創立/基礎. The Apache feather logo is a trademark of The Apache ソフトウェア 創立/基礎. Other 指名するs appearing on the 場所/位置 may be trademarks of their 各々の owners.