使用者 Guide for the 早期に Developer 解放(する) (見解/翻訳/版 0.1)
This is a simple 使用者 guide for the 早期に Developer 解放(する) of the Office Scripting 枠組みContents
最高の,を越すPre-requisites
Before you 任命する/導入する the Scripting 枠組み, be aware of the に引き続いて:- 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 only on OpenOffice.org 643C.
- The Scripting 枠組み is 現在/一般に 利用できる in English only.
Running the example Office Scripts
There are two examples scripts 供給(する)d with the Scripting 枠組み, すなわち 最高潮の場面, and MemoryUsage. 最高潮の場面 is an 使用/適用 level script for Writer that 許すs the 使用者 to search for a word or phrase. It will 最高潮の場面 all instances in red and give a count of the number of instances.The second example, MemoryUsage, is a script 蓄える/店d in a Calc spreadsheet that checks the 現在の memory usage in the Java 事実上の Machine and updates 独房s in the spreadsheet with the usage values. The spreadsheet also 含む/封じ込めるs a graph which will update when the 独房 values are changed.
The examples are placed in <Office 取り付け・設備>/使用者/Scripts/java by the installer.
Running the 最高潮の場面 example
To run this example you first need to create a menu item from which you can 遂行する/発効させる the script.
- Start OpenOffice.org and open an 存在するing Writer 文書 or create a new one.
- Select the menu item 道具s/割り当てる Scripts (Java) To/Menu...
- In the "割り当てる Scripts (Java) To Menu" dialog that pops up
do the に引き続いて:
- Select script 機能(する)/行事
- Select the script 機能(する)/行事 HighlightText.showForm from the 名簿(に載せる)/表(にあげる).
- Choose the menu to 挿入する the script menu after
- Select the 最高の,を越す level menu and submenu under which you want to place your new menu item.
- 割り当てる script to new menu
- In the New Menu text field enter the label you want for your menu item (eg. 最高潮の場面)
- Click New Script Menu to create the new script menu item.
- Select script 機能(する)/行事
- Finally click on the 承認する button to save your new script menu item.
- 再開する OpenOffice.org and open a Writer 文書
- 公式文書,認める: Menu items are not updated on the 飛行機で行く, hence the need to 再開する, this will be 演説(する)/住所d in a 未来 解放(する).
- Your new menu item will now be 利用できる and clicking on it will invoke the Java script.
- You should see a 最高潮の場面 Text dialog appear which you can use to 最高潮の場面 さまざまな text strings you are looking for in the 文書.
Running the MemoryUsage example
The MemoryUsage example is already (軍隊を)展開する,配備するd inside an Office 文書,
<Office 取り付け・設備>/使用者/Scripts/java/ExampleSpreadSheet.sxc.
You can then 遂行する/発効させる the MemoryUsage script by 圧力(をかける)ing CTRL+転換+M
with the Troubleshooting
See the Known 問題/発行するs page.
Last 修正するd: Fri Nov 29 14:19:53 GMT 2002