Tables (End of Conditional Area)
    • 04 Mar 2025
    • 1 Minute to read
    • Contributors
    • PDF

    Tables (End of Conditional Area)

    • PDF

    Article summary

    In the table settings, you can use the Relative to and Vertical lines to options to manage the table style and the position of headers and footers relative to the body.

    Exercise

    Download and import the attached configuration called 22. Tables (End of Cond. Area) in Lasernet Developer 9. Afterward, navigate to the Forms section and open the Sample form.

    1. In the output, switch to the Last Page tab.

    2. Right-click the table and open the Table Properties dialog.

    1. Switch to the Footer tab.

    2. Set Height to 15 mm.

    3. Clear the Hide footer on page checkbox.

    1. Select the Single Page radio button in the Current Page group box and make the same changes as for the last page.

    2. Click Ok to confirm changes.

    1. Switch to the tab of the Sample.xml grab file.

    1. On the Developer toolbar, click the Rearrange tool.

    2. In the input, click the /Root/Footer/Amount node.

    1. Edit properties for the last added rearrange. To this end, open the Edit Rearrange dialog and switch to the Position tab.

    2. In the Relative group box, set Relative to to End of cond. Area (Absolute).

    3. Select the Last and Single checkboxes in the Absolute group box.

    4. Click Ok to confirm changes.

    1. On the Property bar, set Font to 18 pt and Bold, the X position to 195 mm, Y to 11 mm and align the text right.

    1. On the Developer toolbar, select the Text tool and insert the Total text. For the added text, set Font size to 18 pt, the X position to 133 mm and Y to 15 mm. In the Absolute group box, select the Last and Single checkboxes, set Relative to to End of cond. area (Absolute).

    Now let us remove the vertical lines between the end of the last item line and the footer of the table. To this end, follow these steps:

    1. Select the table and right-click it to open the Table Properties dialog. Switch to the Body tab.

    2. Clear the Footer checkbox for the Vertical lines to setting.

    3. Click Ok to confirm settings.

    A vertical line between the last item line and the footer is now removed as illustrated:

    To complete designing the form, you need to perform the same changes for the last page. This is required for supporting the single and multi-page layouts.