| <html> |
| <head> |
| <title>Installation and User Guide</title> |
| |
| <meta HTTP-EQUIV="content-type" CONTENT="text/html; charset=UTF-8"> |
| </head> |
| |
| <body> |
| <a name="top"></a> |
| |
| <h1>Installation Guide for the Early Developer Release (Version 0.1)</h1> |
| |
| This document tells you how to download and install the Early Developer |
| Release of the Office Scripting Framework. |
| |
| <h2>Contents</h2> |
| |
| <ul> |
| <li><p><a href="#who">Who Should Read This Document</a> |
| <li><p><a href="#prerequisites">Pre-requisites</a> |
| <li><p><a href="#download">Downloading the Scripting Framework</a> |
| <li><p><a href="#install">Installing the Scripting Framework</a> |
| <li><p><a href="#uninstall">Uninstalling the Scripting Framework</a> |
| </ul> |
| |
| <a name="who"></a> |
| |
| <h2>Who Should Read This Document</h2> |
| |
| This document should be read by: |
| |
| <ul> |
| <li><p>Application Developers who wish to enhance OpenOffice.org |
| functionality without needing to develop UNO components or to connect to |
| OpenOffice.org from a remote JVM |
| |
| <li><p>OpenOffice.org users who wish to execute Office scripts written |
| in Java via menu and key bindings in OpenOffice.org |
| </ul> |
| |
| <a href="#top">Top</a> |
| <a name="prerequisites"></a> |
| |
| <h2>Pre-requisites</h2> |
| |
| <ul> |
| <li>This is an Early Developer Release of the Office Scripting Framework |
| provided for users and developers of OpenOffice.org to try out and provide |
| feedback. Future releases of the Framework may change. |
| <li>This release of the Scripting Framework runs |
| <a href="http://www.openoffice.org/dev_docs/source/643c/index.html"> |
| <b>only on OpenOffice.org 643C</b></a> |
| <li>The Scripting Framework is currently available in English only. |
| </ul> |
| |
| The table below shows the JDK and memory requirements for running the |
| Office Scripting Framework on OpenOffice.org 643C. |
| |
| <p> |
| <center> |
| <table colspan=4 cellpadding=5 border=1> |
| <tr> |
| <th>User</th><th>IDE</th><th>JDK required</th><th>Memory required</th> |
| </tr> |
| <tr> |
| <td>Script User</td><td>-</td><td>1.3</td><td>256MB</td> |
| </tr> |
| <tr> |
| <td>Script Developer</td><td>NetBeans 3.4</td><td>1.3</td><td>512MB</td> |
| </tr> |
| <tr> |
| <td>Script Developer</td><td>jEdit 4.0.3</td><td>1.4</td><td>512MB</td> |
| </tr> |
| </table> |
| </center> |
| |
| <a href="#top">Top</a> |
| <a name="download"></a> |
| |
| <h2>Downloading the Scripting Framework</h2> |
| |
| The Scripting Framework is available for download in the form of a Jar |
| file which can be obtained from <a href="SFrameworkInstall.jar">here</a>. |
| The contents of the Jar file are as follows: |
| |
| <ul> |
| <li><b>installer</b> - A platform-independent installer for the Scripting |
| Framework written in Java. |
| |
| <li><b>bindingdialog</b> - A collection of StarBasic dialogs |
| to enable the user to assign (bind) scripts written in Java to menu and |
| key items. This directory also contains the necessary XML files |
| for the menu items that invoke these StarBasic dialogs. |
| |
| <li><b>examples</b> - Two example scripts written in Java. |
| |
| <li><b>sframework</b> - A UNO package <!--<sup>*</sup>--> containing |
| the Scripting Framework libraries, Jar files and types. |
| Additionally, a resource file for a security-related dialog. |
| |
| <li><b>ide</b> - The Jar files for NetBeans and jEdit integration. |
| |
| <li><b>(platform dirs)</b> - These contain the platform dependent |
| <font face="Courier, monospace" size="2">regsingleton</font> |
| tool used to add singleton entries in the OpenOffice.org services datatbase. |
| </ul> |
| |
| <!-- |
| <p> |
| <sup>*</sup>See <a href="http://api.openoffice.org/servlets/ProjectDownloadList?action=download&dlID=84"> |
| §4.7.1</a> of the |
| <a href="http://api.openoffice.org/DevelopersGuide/DevelopersGuide.html"> |
| Office Developers' Guide</a> for a description of the UNO packaging system. |
| <p> |
| --> |
| |
| <a href="#top">Top</a> |
| <a name="install"></a> |
| |
| <h2>Installing the Scripting Framework</h2> |
| |
| Before you begin installation, you need to ensure all Office processes |
| have terminated and on Windows and Linux, that the QuickStarter |
| has been closed. |
| <p> |
| To install the Scripting Framework: |
| |
| <ul> |
| <li>Open a terminal (Linux/UNIX) or DOS Command Prompt (Windows) |
| <li>Ensure that java is in your execution path |
| <li>Copy the Scripting Framework Jar file you downloaded into the program |
| directory of the OpenOffice.org installation into which you |
| wish to install the Framework. |
| <li>Switch to the <Office Installation>/program directory |
| <li>Run the command: |
| <font face="Courier, monospace" size="2">java -jar SFrameworkInstaller.jar</font> |
| </ul> |
| |
| <p> |
| This will cause the Scripting Framework to be installed in the |
| <Office Installation>/user/uno_packages directory of your Office |
| installation. If the installer detects an installation of either |
| <a href="http://www.netbeans.org/ide/download.html"> NetBeans 3.4</a> or |
| <a href="http://www.jedit.org/index.php?page=download">jEdit 4.0.3</a> |
| you will be asked whether you wish to install the Scripting Framework |
| add-ins for these IDEs. These add-ins provide support for developing |
| and deploying Office Scripts in Java. |
| |
| <p> |
| <b>Note:</b> The installer detects IDE installations by looking for |
| session related files in the home directory of the user running the install, |
| so in order for your IDE to be detected you will need to have run it at |
| least once. |
| |
| <p> |
| <b>Note:</b> If you are installing the Scripting Framework into a network |
| installed OpenOffice.org, the Framework install will need to be run as |
| the same user who did the initial network install. This is because one of |
| the files (ProtocolHandler.xcu) that needs to be modified during the |
| Framework install is in the <Office Installation>/share directory, |
| <p> |
| |
| <a href="#top">Top</a> |
| <a name="uninstall"></a> |
| |
| <h2>Uninstalling the Scripting Framework</h2> |
| |
| Currently there is no automated process for uninstalling the Scripting |
| Framework, so uninstalling must be done manually (the process will be |
| automated in a future release). |
| |
| <p> |
| To remove the Scripting Framework: |
| <ul> |
| <li>Delete the file <Office Installation>/user/uno_packages/ooscriptframe.zip |
| <li>Switch to the <Office Installation>/program directory and run the command: <font face="Courier, monospace" size="2">pkgchk</font> |
| </ul> |
| |
| <p> |
| If you wish to remove any scripts from your installation they are stored in the directories: |
| <ul> |
| <li><Office Installation>/user/Scripts |
| <li><Office Installation>/share/Scripts |
| </ul> |
| |
| <p> |
| You can use the Tools/Configure dialog to remove any menu or key bindings |
| that you have setup for Office scripts. |
| |
| <p> |
| If you have installed Office Scripting support into a NetBeans installation |
| you can remove it by deleting: |
| <ul> |
| <li><NetBeans Installation>/modules/office.jar |
| </ul> |
| |
| <p> |
| If you have installed Office Scripting support into a jEdit installation |
| you can remove it by deleting: |
| <ul> |
| <li><jEdit Installation>/jars/OfficeScripting.jar |
| <li><jEdit Installation>/jars/idesupport.jar |
| </ul> |
| |
| <a href="#top">Top</a> |
| |
| <hr> |
| Last Modified: Fri Nov 29 14:19:53 GMT 2002 |
| |
| </body> |
| </html> |