| Next | Contents |
nltSpread when using <b> in a table AND at the same time specifying the same cell to have bold emphasis, the cell gets an incorrect font. Fixed.
nltReset simple utility to close the current table (if a table is open) and reset all table properties to default values. Safer than remembering what you changed.
nlReset the same, but for paragraph properties (indenting etc).
nlInclude was not flushing bookmarks (also nlIncludeLeft). Fixed.
Wrapped text substituted strings may contain tcnl in addition to | to enforce hard line-breaks in wrapped text elements on the page layout.
HTML rendering new property added to text, ruler and bitmap objects on the master page layout to allow these to be selectively included on reports rendered as HTML. By default, no items from the page layout are rendered to HTML, as the assumption is that the newleaf report will form part of a page design which already has some kind of framing pre-built.
nltList measured cells (with headings) which wrapped over several pages could create Length Errors. Fixed.
nlRichtext ignored wraparound block set up by nlBitmapLeft. Fixed.
Error handling check for existing file hidden in subfunctions so that we no longer set/reset ELX anywhere. The only localised ELX settings are now in places where the function immediately exits, so the handler is not reset. This should obviate any masking of the standard error-handler in the calling application.
nlDefineFont could be confused by re-using a standard name such as AR for the new font. Appeared to work, but picked up the wrong metrics so wrapping messed up. Now removes the matching entry from the metrics cache.
Shaded cells were not drawn in PDF, VML or SVG renderings. Fixed.
nlSwitch sets all paragraph and table properties back to defaults.
Print current page was always printing the first page of a spooled report. Fixed.
Bookmarks were not being resolved on the last page of a report which was completed with nlClose. Was OK in nlSpool. Fixed. Also were incorrect if nlSkipToPage had been used to update the page-number in flight. The code to find the bookmarks in a spooled report assumed it could use the page# as the file index. Fixed.
Frames pattern set extended to include semi-transparent fills and simple gradients (gradients work well in PDF). Also a frame with shading but no edge was not being shaded. fixed.
Bitmaps records used <dpi> info along with boundingbox. This saves time when converting to PDF format as we dont need to go and find the real imagesize all over again.
plDesign bitmap object renamed as image as it takes JPEG as well as BMP now. The design behaviour is improved so that it will show you an accurate facsimile of where the actual bitmap will be placed on the page. The picture starts at a notional size but as soon as you complete a valid filename, the image size is checked and the image is drawn at the current Scan size (default 96dpi = 1:1). When you modify the Scan property, the placeholder is rescaled to match.
Bitmaps enhanced behaviour is now as follows. If we are at the very top of a frame, the picture is scaled to whichever is less of height and width. If we have moved down the frame, then is is constrained to the width only, and we will skip to a new frame (or spill out of the bottom) depending on the overflow setting. The same applies to nlBitmapLeft if the picture does not fit.
Overflow property this is now upgraded from a boolean switch to have 3 possible behaviours when a frame is filled:
If you select the Discard setting, output will be thrown away until the next call to nlNewpage or nlNewFrame, either explicitly or implicitly by a command such as nlSwitch which resets the page layout. See SkipTest for examples.
Page skipping paragraph text was allowing for space after when checking to see if there was enough room without leaving an orphan. It should just look to see if there is room below the last baseline for the descenders. Also we turn off all widow/orphan checking if overflow=2 as we will never see any of the following text, so we may as well use all the frame here!