Hi there,
here is the result of the work of three students who worked on the
assignment "BSF4Rexx and OpenOffice.org Nutshell Examples":
*
<http://wi.wu-wien.ac.at/rgf/diplomarbeiten/Seminararbeiten/2006s_wu/20060628_BSF4RexxSnipplets.pdf>
*
<http://wi.wu-wien.ac.at/rgf/diplomarbeiten/Seminararbeiten/2006s_wu/20060628_BSF4RexxSnipplets_code.zip>
They explain the BSF4Rexx and OpenOffice.org architecture briefly and
give quite a few very interesting (and very short) examples on how to
use Java classes and OpenOffice.org from ooRexx (http://www.ooRexx.org),
e.g.
* Math, regexp, awt, swing,
* business charts,
* MIDI,
* Reflection,
* Hash,
* text to speech (TTS),
* read/write MP3 tag files,
* processing XML files (JDOM), example works on RSS files,
* 3D Graphics,
* Calendar,
* JDBC (relational database access),
* Clipboard (example depicts running under Linux),
* OOo printing, theaurus, charts (OOo, external ones created with
JFreeChart),
* a combination of applying TTS with OOo.
All of these examples are multiplatform, ie. they run unchanged under
Linux and Windows!
Even though they are developed in ooRexx the ideas and concepts can be
applied to most other languages as well (at least JavaScript,
BeanShell). The students will try to submit the programs (short
nutshells) to the OOo snippet database.
Regards,
---rony
P.S.: If using the opensource, multiplatform vim editor, version 7.0 or
higher (http://www.vim.org) ooRexx programs can be looked at with
appropriate color coding.