Before you insert this applet, make sure that the document you are inserting it in has been saved at least once.
To insert the applet, drag and drop the mouse (8) into a HoTMetaL PRO document. A Design-Time Control window that will allow you to configure the applet will appear. Some spreadsheet operations can be performed when you run the applet.
Spreadsheet applet 8 |
OverviewThis applet displays a simple spreadsheet. You can load the spreadsheet from a URL that points to a data file. the entries in this data file must be comma-separated lists of values; this format can be exported from spreadsheet applications such as Microsoft Excel. Note: At the time of this release, this applet runs only in Netscape Navigator 3.0. This spreadsheet can execute simple calculations, and also display a chart--a simple graph similar to the one displayed by the Graph applet. Setting up the spreadsheetWhen you drag this applet to the HoTMetaL PRO document, a dialog box (called a Design-Time Control) appears; this enables you to set up the spreadsheet. The fields in this dialog box should be filled out as follows: Applet parameters
Spreadsheet Parameters
Click on OK when you have finished the setup. You can display this dialog box again by right-clicking on the applet icon and choosing DTC Properties... from the pop-up menu. Using the spreadsheetWhen the browser opens the page, it automatically loads the applet and displays the graph in a separate window. The initial load time is proportional to the number of cells in the spreadsheet. Note: You may find it useful to include the instructions below in pages that use this applet. The spreadsheet has a small menu bar. You can exit the spreadsheet by choosing Exit from the File menu. Commands in the Edit menu enable you to cut, copy, and paste data. Chart... in the View menu lets you display a chart (graph). Executing formulasYou can execute simple formulas in a cell. The spreadsheet supports the basic arithmetical operators +, -, *, and /. Formulas are evaluated from left-to-right, but you can use parentheses, ( and ), to force a particular order of operations. A formula starts with an equal sign (=) and can contain numbers and/or cell names. For example: =7+5 =A2*D3 =B2/10 To execute a formula:
Displaying a chartThe Spreadsheet applet can display a chart--a simple bar or line graph--in a separate window. The input data for the chart consists of two cell ranges from the spreadsheet that is currently displayed. To set up the chart, choose Chart... from the spreadsheet's View menu. This displays a dialog box; the fields in this dialog box should be filled out as follows:
Click on OK to display the chart. |