| Search Locate Previous Next | Contents |
This is a typical report structure. It has a heading, a paragraph or so of introductory text, a table of data (perhaps with left and right aligned columns) and some extra notes at the foot. It may well flow over several pages, in which case the report titles should repeat at the top of each new page.
To make this kind of report in NewLeaf, you can simply use the default page layout (one frame, with page-number centred at the bottom) and output text directly to it. For example:
nlUse '' © Default page layout
nlStyle 'Heading' © Take the supplied style
nlPlace 'Here is the Heading' © Assume it will not wrap
nlPopStyle © Revert to previous style
nlFlow (text)(text)(more text) © Wrap paragraphs of text
nltSet ('Coltitles' 'text' 'text') © Set up table header
nltSpread matrix © Do the report
psView nlClose © Preview the result
If you want to send the report directly to the printer, use psPrint in place of psView. However you can use the right-mouse menu on the preview screen to print the report, or send it to an EPS file.