Sun Microsystems Corp.StarOffice™ Basic Examples


The example programs are embedded in StarOffice documents in the samples directory.
To view or edit the StarOffice Basic source, select the appropriate document and then select Tools->Macro.

Most of the examples are stand-alone, but two of them (Creating an Index and Import/Export of ASCII Files) have an associated data file identified by a .txt file name suffix).

These examples are taken from the Programmer's Tutorial. Some of them were ported to Java and you find them here.

These examples are presented in the order in which they appear in Chapter 5.


Text

Changing Appearance


Replacing Text


Using Regular Expressions


Inserting Bookmarks


Creating an Index


Sheet

Adapting to Euroland


Drawing

Import/Export of ASCII Files


Stock Quotes Updater

Stock Quotes Updater


Forms and Controls

Forms and Controls


<Main Index>