Search Locate Previous Next Contents

The Frame

The Frame is the basic element of page-layout in NewLeaf. It defines a rectangular region into which text can be placed or flowed.

By default, frames are borderless with no gutter (text wraps to the full width of the frame) and no background fill. The basic frame properties are an id, position and size (measured from the lower left corner of the paper in x,y co-ordinates), and optionally:

Properties
Borderline-weight in points
Gutterinner margin in points all round
Shadowdrop shadow behind frame (should be bordered)
Colourcolour of border
Fillgrey-scale value from 1 (feint) to 7 (solid), also 8=solid white
Overflow1=allow text to run out of the frame; 0=skip to next frame on filling this one
Cliptrim placed text at right edge of frame. Default is to over-run.

Normally, a gutter is only necessary for bordered frames, as the border is drawn entirely inside the frame dimensions. The default for Overflow is 0 which forces automatic continuation of text to the next frame. It may sometimes be better to allow text to over-run the frame, for example in an address box, in which case Overflow should be set to 1.

Similarly Clip should be left at 0 for an address box, but for function listings it might look more tidy to clip wide lines (usually just the header) rather than let them run to the edge of the paper.



Continue to: The Rule
© Copyright Causeway Graphical Systems Ltd 2001