公共事業(料金)/有用性 Scripts 与える/捧げるd by the OpenOffice.org community
This page 含む/封じ込めるs downloads of 公共事業(料金)/有用性 scripts that have been 与える/捧げるd by the OpenOffice.org community. These scripts are ーするつもりであるd to 論証する how to 令状 Java (or the dynamically-typed Beanshell) scripts for OpenOffice, with 十分な 接近 to both the OpenOffice.org API and the Java APIs. The scripts are for use with the 早期に Developer 解放(する) 0.3 of the Office Scripting 枠組み and all その後の 解放(する)s.Pre-requisites
- OpenOffice.org 1.1beta2 or above 任命する/導入するd with the Scripting 枠組み 早期に Developer 解放(する) 0.3. If you have not already done this then see the 取り付け・設備 guide.
General 取り付け・設備 手続き
- The scripts are made 利用できる for download as Zip とじ込み/提出するs. To 任命する/導入する the scripts, 簡単に unzip them in either the <OfficeInstallation>/使用者 or <OfficeInstallation>/株 directories.
- The scripts are then 利用できる to be bound to the 重要な or menu of
your choice using the 割り当てる dialogs.
- If the scripts 要求する any 付加 pre-requisites, 取り付け・設備 steps or その後の modification this will be 文書d below.
- If you wish to (軍隊を)展開する,配備する these scripts into a 文書 you will need
to create a new 小包 recipe and copy the sources from the zip とじ込み/提出するs
below. See the Developer
Guide for Netbeans for more (警察などへの)密告,告訴(状).
利用できる Scripts
- Word Count
- Capitalisation
- 地位,任命する To Newsgroups
- Scripting 枠組み Issuezilla Query -> Writer
- Scripting 枠組み Issuezilla Query -> Calc
- 挿入する Copyright Symbol
- 挿入する Trademark Symbol
- 挿入する Hidden Text
- 輸出(する) To HTML
- 連合させるd 公共事業(料金)/有用性s
Word Count
Author: Duncan Foster目的(とする): 供給するs a simple word count of the selected text.
Language: BeanShell
Pre-requisites: 非,不,無
Download: WordCount.zip (2Kb)
取り付け・設備: no 付加 steps needed
Description: Uses the OpenOffice API to get the selected text, and then uses Java's StringTokenizer (using the default delimiters) to 得る a word count. 陳列する,発揮するs the result in a simple Swing dialog.
問題/発行するs: 非,不,無
最高の,を越す
Capitalisation
Author: Duncan Foster目的(とする): 変えるs the selected text from upper 事例/患者 to first letter upper 事例/患者, 残り/休憩(する) lower 事例/患者, to lower 事例/患者.
Language: BeanShell
Pre-requisites: 非,不,無
Download: Capitalise.zip (2Kb)
取り付け・設備: no 付加 steps needed
Description: Uses the OpenOffice API to get the selected text (or makes a 選択 of the 現在の word if no text selected), and then uses Java to change the 事例/患者. 回転/交替s from "THIS" -> "This" -> "this" -> "THIS". The script 試みる/企てるs to break up selected text into 宣告,判決s using the Java StringTokenizer. The script also 試みる/企てるs to 持続する the 選択.
問題/発行するs: The script fails to 持続する the 選択 if two separate areas of text are selected. For example, if the first and last words of the previous 宣告,判決 were selected, only one (undefined) would remain selected after the script has been run.
最高の,を越す
地位,任命する to Newsgroups
Author: Neil Montgomery目的(とする): 容易にするs the 地位,任命するing of an OpenOffice 文書 to a newsgroup.
Language: Java
Pre-requisites: 非,不,無
Download: Newsgroup.zip (540Kb)
取り付け・設備: no 付加 steps needed
Description: The script will (悪事,秘密などを)発見する if a 地元の 取り付け・設備 of either Netscape or Mozilla has been used to subscribe to any newsgroups. These newsgroups will be 名簿(に載せる)/表(にあげる)d for the 使用者 in a combo box. If no newsgroups are (悪事,秘密などを)発見するd the 使用者 must 供給(する) the 指名する of the newgroup and server. The 使用者 may also 供給(する) the reply-to 演説(する)/住所, 支配する and message 団体/死体 (in the comment text field). The 使用者 can also 明示する the 判型 in which to send the 大(公)使館員d 文書 (the 現在/一般に active 文書). If the 文書 hasn't already been saved with a 肩書を与える, then the default 指名する for the attachment(s) will be "Attachment.sxw" and/or "Attachment.html".
問題/発行するs: 非,不,無.
最高の,を越す
Scripting 枠組み Issuezilla Query -> Writer
Author: John Rice目的(とする): 生産(高)s the results of an Issuezilla query into the open Writer 文書.
Language: BeanShell
Pre-requisites: 非,不,無
Download: SFBugsQueryIssuezilla.zip (2Kb)
取り付け・設備: The script 始める,決めるs a HTTP proxy on lines 43,44. The 使用者 will need to 修正する or 除去する these によれば their 地元の settings. The script also 含む/封じ込めるs a 確かな 量 of debug 生産(高) which the 使用者 may want to 除去する.
Description: The script uses Java to open a HTTP 関係 to the OpenOffice.org website, passing a URL for an Issuezilla query for Scripting 枠組み bugs. The script then 令状s 要約 (警察などへの)密告,告訴(状) for each bug into the open Writer 文書.
問題/発行するs: 非,不,無.
最高の,を越す
Scripting 枠組み Issuezilla Query -> Calc
Author: John Rice目的(とする): 生産(高)s the results of an Issuezilla query into the open Calc 文書.
Language: BeanShell
Pre-requisites: 非,不,無
Download: SFBugsQueryIssuezillaCalc.zip (2Kb)
取り付け・設備: The script 始める,決めるs a HTTP proxy on lines 25,26. The 使用者 will need to 修正する or 除去する these によれば their 地元の settings.
Description: The script uses Java to open a HTTP 関係 to the OpenOffice.org website, passing a URL for an Issuezilla query for Scripting 枠組み bugs. The script then 令状s 要約 (警察などへの)密告,告訴(状) for each bug into the open Calc 文書.
問題/発行するs: 非,不,無.
最高の,を越す
挿入する Copyright Symbol
Author: Duncan Foster目的(とする): 挿入するs a copyright symbol (or 取って代わるs the 現在の 選択 with a copyright symbol).
Language: Beanshell
Pre-requisites: 非,不,無
Download: InsertC.zip (4Kb)
取り付け・設備: No 付加 steps needed.
Description: 挿入するs a copyright symbol (or 取って代わるs the 現在の 選択 with a copyright symbol).
問題/発行するs: 非,不,無.
最高の,を越す
挿入する Trademark Symbol
Author: Duncan Foster目的(とする): 挿入するs a trademark symbol (or 取って代わるs the 現在の 選択 with a trademark symbol).
Language: Beanshell
Pre-requisites: 非,不,無
Download: InsertTM.zip (4Kb)
取り付け・設備: No 付加 steps needed.
Description: 挿入するs a trademark symbol (or 取って代わるs the 現在の 選択 with a trademark symbol).
問題/発行するs: 非,不,無.
最高の,を越す
挿入する Hidden Text
Author: Duncan Foster目的(とする): 挿入するs a hidden text field
Language: Beanshell
Pre-requisites: 非,不,無
Download: InsertHiddenText.zip (4Kb)
取り付け・設備: No 付加 steps needed.
Description: 取って代わるs the 現在/一般に selected text with a hidden text field with the same contents.
問題/発行するs: 非,不,無.
最高の,を越す
輸出(する) To HTML
Author: John Rice目的(とする): Saves a copy of the 文書 in HTML 判型.
Language: Beanshell
Pre-requisites: 非,不,無
Download: ExportToHTML.zip (4Kb)
取り付け・設備: No 付加 steps needed.
Description: Saves a copy of the 文書 in the 使用者's home directory in HTML 判型. Does not change the type of the 現在の 文書 (as happens with "Save As").
問題/発行するs: 非,不,無.
最高の,を越す
連合させるd 公共事業(料金)/有用性s
目的(とする): A zip とじ込み/提出する 含む/封じ込めるing all of the scripts above.Download: all.zip (550Kb)
最高の,を越す
Last 修正するd: Fri Jun 20 15:28:18 BST 2003