Categories: TutorialsData

Setting Up the iReport Pages

1 min read

Configuring the page format

We can follow the listed steps for setting up report pages:

  1. Open the report List of Products.
  2. Go to menu Window | Report Inspector. The following window will appear on the left side of the report designer:
  3. Select the report List of Products, right-click on it, and choose Page Format….
  4. The Page format… dialog box will appear, select A4 from the Format drop-down list, and select Portrait from the Page orientation section.
  5. You can modify the page margins if you need to, or leave it as it is to have the default margins. For our report, you need not change the margins.
  6. Press OK.

Page size

You have seen that there are many preset sizes/formats for the report, such as Custom, Letter, Note, Legal, A0 to A10, B0 to B5, and so on. You will choose the appropriate one based on your requirements. We have chosen A4. If the number of columns is too high to fit in Portrait, then choose the Landscape orientation.

If you change the preset sizes, the report elements (title, column heading, fields, or other elements) will not be positioned automatically according to the new page size. You have to position each element manually. So be careful if you decide to change the page size.

Configuring properties

We can modify the default settings of report properties in the following way:

  1. Right-click on List of Products and choose Properties.
  2. We can configure many important report properties from the Properties window.

You can see that there are many options here. You can change the Report name, Page size, Margins, Columns, and more. We have already learnt about setting up pages, so now our concern is to learn about some of the other (More…) options.

Packt

Share
Published by
Packt

Recent Posts

Top life hacks for prepping for your IT certification exam

I remember deciding to pursue my first IT certification, the CompTIA A+. I had signed…

3 years ago

Learn Transformers for Natural Language Processing with Denis Rothman

Key takeaways The transformer architecture has proved to be revolutionary in outperforming the classical RNN…

3 years ago

Learning Essential Linux Commands for Navigating the Shell Effectively

Once we learn how to deploy an Ubuntu server, how to manage users, and how…

3 years ago

Clean Coding in Python with Mariano Anaya

Key-takeaways:   Clean code isn’t just a nice thing to have or a luxury in software projects; it's a necessity. If we…

3 years ago

Exploring Forms in Angular – types, benefits and differences   

While developing a web application, or setting dynamic pages and meta tags we need to deal with…

3 years ago

Gain Practical Expertise with the Latest Edition of Software Architecture with C# 9 and .NET 5

Software architecture is one of the most discussed topics in the software industry today, and…

3 years ago