| 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:
leaf.Use '' © Default page layout
leaf.Style 'Heading' © Take the supplied style
leaf.Place 'Here is the Heading' © Assume it will not wrap
leaf.PopStyle © Revert to previous style
leaf.Flow (text)(text)(more text) © Wrap paragraphs of text
leaf.table.Set ('Coltitles' 'text' 'text') © Set up table header
leaf.table.Spread matrix © Do the report
PostScrp.View leaf.Close © Preview the result
If you want to send the report directly to the printer, use PostScrp.Print in place of PostScrp.View. However you can use the right-mouse menu on the preview screen to print the report, or send it to an EPS file.