| Search Locate Previous Next | Contents |
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
| Border | line-weight in points |
| Gutter | inner margin in points all round |
| Shadow | drop shadow behind frame (should be bordered) |
| Colour | colour of border |
| Fill | grey-scale value from 1 (feint) to 7 (solid), also 8=solid white |
| Overflow | 1=allow text to run out of the frame; 0=skip to next frame on filling this one |
| Clip | trim 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.