Banded report authoring
PixelPerfect report templates are constructed using a banded design. Content in the report is structured as a series of horizontal (and sometimes vertical) bands. Some bands can be connected to specific data for looping of content (with levels). Bands can be arranged in hierarchical structures.
Bands are used to arrange content in the way it is intended to appear in output. Bands can be nested within other bands. Bands allow you to compose dynamic reports that alternate between varied and repeated content. With bands, you also have maximum control over the printed output of your reports, with a number of bands being used mainly to prepare your report to be printed.
In your report template, the bands are shown on the side of the design surface.
Types of bands
There are multiple types of bands that can appear in a PixelPerfect report template. Every PixelPerfect template contains a TopMargin, Detail, and BottomMargin band. These bands cannot be removed from the template.
The TopMargin and BottomMargin bands help you organize content so that it is consistent in where it starts and ends. These bands help produce content that is ready to be printed. If desired, you can add repeatable objects in these bands (such as page numbers or logos), or you can use the PageHeader and PageFooter bands for this purpose.
Every template also has a Detail band that cannot be removed. If you are creating a detailed report filled with varied content and levels, you will probably need to create additional DetailReport bands to arrange the report data. When creating simple reports, the default Detail band is useful for adding non-repeated content.
The following sections outline the most commonly used bands, and what you can do with them.
DetailReport
Create DetailReport bands in your template to organize the presentation of data. DetailReport bands can be bound to app data, creating levels. You can nest DetailReport bands within other DetailReport bands to achieve a complex design that allows granular, filtered analysis.
PageHeader and PageFooter
PageHeader and PageFooter bands appear at the start and end of every page. These bands are useful for:
-
Adding fixed images such as logos
-
Adding repeated title information
-
Adding page numbers
ReportHeader and ReportFooter
Add report headers and footers with ReportHeader and ReportFooter bands. The ReportHeader band appears once, at the start of the report. The ReportFooter band appears once, at the end of the report. These bands are useful for:
-
Adding a report cover.
-
Adding an interactive table of contents.
-
Adding summary information, and descriptions that do not need to be repeated.
Bands and levels
Bands are used to arrange content in the way it is intended to appear in output. Bands can be nested within other bands. As you add content to your template, you can connect some bands to a data binding so that it is repeated in output, with each iteration of the content filtering the app data for a different dimension or chart value. When you perform this action, you are creating a level.
For more information about levels, see Working with levels and Using a level to loop over app data.
Working with bands
As you build your template, you can create and delete bands, and rearrange them on the design surface.
Creating a new band
Do the following:
-
In the PixelPerfect designer, right-click in or outside the design surface.
Where you right-click affects whether or not the new band is created within other bands. If you right-click on an area with an existing band, the new band is created within that band.
-
Do one of the following:
-
Move your cursor over Insert Band, and then select an option from the list. This creates a horizontal band.
-
Move your cursor over Insert Vertical Band, and select an option from the list. This creates a vertical band.
-
Resizing a band
You can resize bands in the template by hovering your cursor over the color-coded block where the band's name is shown, and then clicking and dragging.
To resize a band to exact dimensions, you can configure the band's properties.
Do the following:
-
Select the band.
-
Click in the right side panel to open the Properties menu.
- Under Layout > Size, set a width and height.
Deleting bands
Some bands cannot be deleted (see Types of bands). For a band that you can delete, remove it by selecting the band and then clicking the Delete key on your keyboard. Alternatively, select the band and then click the icon in the toolbar at the top of the designer.
Additional band types
There are additional band types that can be used for advanced report authoring. For examples, see:
-
Vertical bands: Example - Creating a profit and loss table with vertical bands
Viewing and arranging bands
The Report Explorer offers an alternative view of the structure of your report, laying out the report elements in a hierarchical structure. In this structure, you can view all bands in the template and their positions in the hierarchy. You can rearrange bands that can be moved, by clicking and dragging them to new positions in the structure.