Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

Developer Guide for jEdit

Contents

Pre-requisites

Setting up the Office Scripting plugin

See the Installation Guide for instructions on installing the Office Scripting plugin.

Setting up the http proxy

Installing required plugins

Setting up the Office Scripting plugin for jEdit

If you did not install the Office Scripting plugin according to the instructions in the Installation Guide you need to do so first.

Recommended layout for the jEdit window

Using the Office Scripting plugin

Popup Menu actions

The Scripting plugin provides a dockable window listing your scripts. A number of actions are available in this window:

Menu actions

Menu actions available are:

Options

You may configure some options in Utilities/Global Options/Plugin Options/Scripting Most of them are self-explanatory, but some need further explanation:

Step by step actions

How to create a Parcel using the New... menu.

By clicking on the first button or by right clicking on the "All Parcels" tree item and selecting New... a dialog box is displayed asking the name of the parcel you want to create. After you have input the name is this dialog, another dialog box is displayed requesting the destination path where that parcel should be created.

Clicking on OK will create the full tree structure for the parcel if no problem were encountered.

How to create a Parcel using the Wizard... menu.

By clicking on the third button or by right clicking on the "All Parcels" tree item and selecting Parcel Wizard... a dialog box is displayed. You need to enter the Parcel Name, the destination path where the parcel will be created and select the java files you wish to include in the parcel.

Clicking on OK will create the full tree structure for the parcel if no problem is encountered.

How to open a Parcel using the Open... menu.

By clicking on the second button or by right clicking on the "All Parcels" tree item and selecting Open..., a file chooser dialog box will be displayed you can select a directory parcel, and .sxp file representing a Parcel or an Office Document.

A directory parcel should look like this:

Parcel Name
  - Contents
    - Java files
    - Directories

A .sxp file should look like this:

Parcel Name
  - Contents
    - Java files
    - Directories
  - .sxp File output

An Office Document look like this:

Office Document
  - Contents
    - Parcels

How to Compile a Parcel using the ScriptCompile menu.

This action is only available on a Directory parcel for the moment. The ScriptCompile menu item is only available if a build.xml file is available in the parcel.

By clicking on this menu item the parcel will be compiled and errors will be shown in the ErrorList Plugin.

How to Build a Parcel using the Build SXP menu

This action is only available on a Directory parcel for the moment. By clicking on this item, the parcel will be rebuilt and a dialog box will be displayed showing the available methods in the parcel. This dialog box enables you to select methods that you want to export as scripts in Office.

For each method you can assign a Logical Name to use as a script name in OpenOffice.org. Clicking on OK will create the .sxp File.

Troubleshooting


Last Modified: Fri Nov 29 14:19:53 GMT 2002

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.