Search Locate Previous Next Contents

leaf.table.TDepth – tree-structured titles

This table property is used to set multi-level headings as a tree structure. For example:

  ÚÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÌ
  Û            Salaries Report 1996                 Û
  ÃÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÂÎÎÎÎÎÎÎÎÂÎÎÎÎÎÎÎÎÎÎÝ
  Û Name                        Û    Age Û   Salary Û
  ÃÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÏÎÎÎÎÎÎÎÎÏÎÎÎÎÎÎÎÎÎÎÝ
  Û Adrian Smith                Û     42 Û    5,678 Û
  Û And so on                   Û     21 Û  123,000 Û
  ÀÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÁÎÎÎÎÎÎÎÎÁÎÎÎÎÎÎÎÎÎÎÙ

Here you can see a major heading (level 0) with 2 level-1 headings below it, of which the second ‘Details’ in turn has two level-2 children.

To set up this structure in NewLeaf, you must specify all 5 headings, and the appropriate heading depth for each (of course the default case is to have all headings at level 0):

leaf.table.Titles 'Report' 'Emp' 'Details' 'Age' 'Salary'
leaf.table.TDepth  0        1     1         2     2

Note that you should have the same number of ‘leaves’ in the tree as you have columns in the table.



Continue to: leaf.table.TFont – set table title font
© Copyright Causeway Graphical Systems Ltd 2001