| Search Locate Previous Next | Contents |
First, note how NewLeaf handles a table by default, and how each step of the procedure corresponds to a function call:
leaf.Init
leaf.Use''
© Change any table properties here
leaf.table.List salesQ1
docleaf.Close
View doc
Note that NewLeaf initialises the table properties automatically when it runs leaf.Init, and when it closes a document. It is not necessary to initialise the table properties explicitly except to return to a known starting point, as in the case of writing several differently formatted tables to the same document.
In general, you can change as few or as many table properties as you want; only when a matrix is put on a page by table.List are the values of the properties used. As the preceding code segments set no properties, you can see the effects of their default values on a table:
In the remainder of this tutorial, you will learn how to change these default settings individually and to combine them to achieve different effects. At the end of the tutorial, you will have a firm grounding in the options available to you through NewLeaf to manipulate the appearance of an individual table.