REPORTER JavaScript API reference manual

This appendix documents the JavaScript classes that REPORTER uses for scripting.
It is not an introduction to scripting. See the scripting chapter of the REPORTER manual for that.

REPORTER extends the JavaScript interpreter with the following new classes.

Class Description
Colour The Colour class defines colours in REPORTER.
File The File class allows you to read and write from text files in REPORTER.
Image The Image class allows you to create bitmaps in REPORTER.
Include The Include class from PRIMER is used in limited form in REPORTER.
Item The Item class gives access to items in REPORTER.
Options The Options class is used to get/set options for certain functions in REPORTER.
Page The Page class gives access to pages in REPORTER.
Reporter The Reporter class is the root class for objects, properties etc in REPORTER.
Template The Template class gives access to templates in REPORTER.
Utils The Utils class contains various useful utility functions in REPORTER.
Variable The Variable class gives access to variables in REPORTER.
Window The Window class gives access to windows for a graphical user interface in REPORTER.

In addition REPORTER also adds some new methods to the global Javascript object.