Previous Next Contents

Changes up to 1.7 – 2nd Dec 2001

leaf.TOC – sets ‘Table of Contents’ level for an upcoming paragraph. This causes leaf.Place and leaf.Flow to create a bookmark from the first line of the paragraph text at the appropriate contents level. When the report is saved as a PDF the heading levels are automatically reflected in the bookmarks tree, in the same way as the Word ‘document map’ sidebar. An obvious use for this is to populate a tree-control with the document outline, using the table returned by PostScrp.Info.

See function TocTest for a dummy report with 3 levels of headings.

 TocTest ª 3œPostScrp.Info PG

This returns the bookmark, page number and indent level for it.

Layout.Design – optional left argument to force ‘zoom out’ on large paper sizes. This allows you to work with sizes up to A2 – the default value limits you to A3 (landscape) so you should use

 1.5 Layout.Design 'mypage'

To work with A3 (portrait) paper. Zoom may be 1 1.5 2 2.5 3 3.5 4 only.

PostScrp.isFile – several functions assumed that a ‘page’ of more than 64 bytes could not be the name of a spool file. The check is now all in one place and looks at the first character in addition to see if it is ‘%’ which should correctly identify a PostScript page.

All calls to pL macro updated to allow for new ‘effect’ property (to keep the viewer in-line with RainPro). Also the ‘Rule’ object on the master page now uses the LJ-II optimised vGrid and hGrid calls for the common cases.

leaf.table.bust – was incorrectly allowing space for headings when checking is a new page was needed when we were continuing an existing table. Fixed.

================ Released as 1.7 ACDS 2nd Dec 2001 ====================


Continue to: Changes up to 1.6i – 14th June 2001
© Copyright Causeway Graphical Systems Ltd 1996-9