Previous Next Contents

Changes up to 1.7d (July 2002)

nltList/nltSpread – boundaries of table clearly marked with comments in the PostScrp code so RainPro can easily clip out and rescale a table formatted with NewLeaf. New function nltName allows more than one named table to be included, otherwise tables are ‘table1..n’ by default. Named tables will get included as anchors in HTML/PDF output.

Font list rationalised – it had a block of ‘HE’ shortcodes (mapped to Arial anyway) which have been removed. This changes some very old examples which used the ‘HEB’ etc mnemonics. This is now in line with the same default table in RainPro.

nlBitmap – implemented, as we will soon have a viewer that works with bitmaps (and JPEGs and PNGs). Screen image is now always drawn as a light aqua rectangle by our own viewer, as there is no longer any hope that the DRAW method will ever work. At least this way you get an honest preview of the scaled size on paper and screen.

nlvPolyBar – thin cover on native polyBar macro. Very useful for barcode generation as these are an array of black rectangles!

nlvGSave/GRestore/Translate/Scale – pass-through functions to PostScript co-ordinate stack and co-ordinate transformations. Useful for low-level drawing as you can re-locate an entire image.

nltEndgrid – strange case of a disappearing variable. Sometimes nl_opentable seems to vanish with no logical reason. Possible +Win bug, as at least one customer already has a bug report in with APL2000 about something similar. For safety, we protect the few places where it is checked with a ŒNC of the name before checking the value.

nlBeginBlock – marks a section of any report which may be bordered and edged with specified gutter and border properties The argument gives

Named blocks get included as anchors in HTML/PDF output.

N.B. The rounded corners are drawn incorrectly by the +Win ‘Draw’ method. They are OK rendered to PDF, or shown by our own OCX here! If this is a major nuisance, I will do them the hard way to avoid the problem. For now, we live with it and hope they fix it.

nlEndBlock – completes the current block, and draws the specified border. If a block spans a page or column boundary, it will be closed and re-opened at the top of the new frame with the same attributes. BorderedBlocks is the testbed function.

nltGridStyle – sets the style for the gridlines as a vector of 3 ints. Currently these may be simple numbers only, i.e. each type of gridline may have only one style. The default is 1 (solid), 2=dash, 3=dot etc. As of today, only the 2nd and 3rd elements (the styles for the vertical rules and horizontal hairlines) are used.

psView – now captures (and releases) the mouse so you can pull a ‘zoom’ rectangle outside the window if you want to. Thanks to Brent Hildebrand for the idea and the code.

ps_Flowbox – if the rounding is 0 it removes it from the Draw argument otherwise we get bizarre spurious round corners at high zoom factors.

nltSpread – if we have a very wide table with few rows, this now saves paper by running the blocks below each other on the same page until there is insufficient space for a complete block. Use ShortWide to try it, with various combinations of rows and columns and ‘fit to page’ settings.

ps_pT,pB,pL – have gained an extra argument to allow RainPro to force ‘crisp edges’ in SVG output. NewLeaf brought into line in the few places where these are used.



Continue to: Updates to 1.7 (Dec 2001)
© Copyright Causeway Graphical Systems Ltd 1996-9