5.12.6  Newline

The 'Newline' object (carriage return) advances printing to the next line. If a Newline exists on a line by itself, the vertical advance is determined by the Newline size in points (1/72 inch).

To add a Newline, follow these steps:

1. Click in the report to place the cursor at the location where you want to add the Newline.

2. Click the 'Newline' component in the Toolbox panel. This adds the Newline element to the report.

3. Right-click the Newline element, and select 'Properties' from the context menu. This opens the 'Newline Properties' dialog box.

 

4. Specify the 'Number of Newlines' to add, as well as the 'Newline Size' or vertical displacement.

5. (Optional) Select 'Break' to mark the new line as a 'break'. (See below for details.)

6. Click 'OK' to close the dialog box.

When you select the 'Break' option from the 'Properties' dialog box, elements following the Newline component are not forced onto a new line. Rather, the cursor is advanced according to the 'Newline Size' specification. In normal flow, a 'Break' behaves in the same way as a 'Newline'. However, if anchored elements are used on the same line., this changes the flow.

For example, consider a text element that is followed by a break, which is in turn followed by another text element. When an anchored element is placed after the second text element, both text elements are printed to the left of the anchored element. If you change the break to a newline, the second text element and the anchored element are printed below the first element.

 

With the line break, all elements are processed in one pass to determine if they fit on the same line. Standard anchored element wrapping is then applied. When the break is changed to a newline, the elements up to the newline are processed first. After the cursor is advanced by the newline, the elements following the newline are then processed. This causes the elements following a newline to always be placed below the newline element.

<< 5.12.5 Separator © 1996-2013 InetSoft Technology Corporation (v11.4) 5.12.7 Page Break >>