Search Locate Previous Next Contents

leaf.Switch – change layout in flight

Sometimes you do not know in advance when to change page layout. For example a function lister (see Lister in the NewLeaf workspace) might start with a contents page and then switch to thumb-indexed pages for the function catalogue. You probably don’t know how many of the initial (plain) pages the contents will take.

To overcome this problem, start with the plain layout, then switch to the headed paper when you need it:

leaf.Use rpt.plain
leaf.Place contents  © may be several pages
leaf.Switch rpt.flist
... continue

Note that you cannot change page orientation or paper size using Switch.



Continue to: leaf.table.CharSep – apply character rule
© Copyright Causeway Graphical Systems Ltd 2001