Presentation Graphics Applet

This topic refers to the Presentation applet. The Presentation applet manages a graphical and text interface designed for the development of visual presentation aids. This document is divided into the following sections:

  1. Introduction
  2. Creating Instances and Obtaining References of Graphics Objects
  3. Presentation Graphics Applet Parameter Tags
  4. Presentation Graphics Applet Properties
  5. Presentation Graphics Applet Methods

Introduction

The Presentation Graphics applet manages a text and graphical interface used towards the design of visual presentation aids. In order to design a presentation you can manipulate the behavior and look of the presentation graphics Presentation object. You can personalize the user interface by determining the values of the respective HTML parameters or by developing scripts which make use of the API properties and methods.

Creating Instances and Obtaining References of Graphics Objects

To create an instance of a Presentation object you must embedd an Presentation applet tag in your HTML file. The following example is an instance of how the Presentation applet can is embedded in an HTML page:

<APPLET
CODE="lotus.graphics.Presentation"
NAME="myPresentation"
CODEBASE="../.."
ARCHIVE="jars/devpack_graphics_app.jar"
WIDTH=500 HEIGHT=500>
<PARAM NAME="cabinets" VALUE="cabs/devpack_graphics_app.cab">
</APPLET>

You may want to provide more detailed configuration information for the applet in order to tailor the applet to your needs. In this case you may furnish it by means of PARAM tags. The following is an example of how to embedd PARAM tags in an HTML page (Note that they are placed within the APPLET tag):

<APPLET CODE="lotus.graphics.Presentation"...>
<PARAM NAME="cabinets" VALUE="cabs/devpack_graphics_app.cab">

<PARAM NAME="name of parameter to be set" VALUE="value parameter is to hold">
<PARAM NAME="parameter 2" VALUE="value of parameter 2">

<PARAM NAME="parameter n" VALUe="value of parameter n">
</APPLET>

In order to obtain a reference to the presentation graphics object using JavaScript, after instantiating in the HTML document as seen above use the following code in your script:

var presentationGraphics = document.myPresentation

Presentation Graphics Applet Parameter Tags

Use the following parameter (PARAM) tags to configure your Presentation applet through your HTML document:

alignLeft PARAM tag
autoAdvanceInterval PARAM tag
backgroundColor PARAM tag
dataFrom PARAM tag
dataItemName PARAM tag
dataNameFrom PARAM tag
editMode PARAM tag
fitToObjects PARAM tag
highlightColor PARAM tag
listenFor PARAM tag
masterLocation PARAM tag
multiPage PARAM tag
presentationStartup PARAM tag
printInColor PARAM tag
printLandscape PARAM tag
showVCRControls PARAM tag
smartMaster PARAM tag
symbolLocation PARAM tag

Presentation Graphics Applet Properties

Use the following properties in order to access the Presentation applet programatically:

AlignPageLeft property
AppletName property
AutoAdvanceInterval property
BackgroundColor property
DataFrom property
DataItemName property
DataNameFrom property
EditMode property
FitToObjects property
HighlightColor property
ListenFor property
MasterBase property
MultiPage property
Presentation property
PresentationStartup property
PrintInColor property
PrintLandscape property
SmartMaster property
SymbolBase property
VCRControlsVisible property
Text property

Presentation Graphics Applet Methods

Use the following methods to access the Presentation applet programatically:

addObjectClickListener method
addPageChangeListener method
advance method
findTextBlock method
findNextTextBlock method
getCurrentPageNumber method
getPageCount method
goToPage method
launchScreenShowWindow method
print method
printRange method
removeObjectclickListener method
removePageChangeListener method