How to dynamically set page orientation?
Hello all BIRT experts,
I’m just a beginner in BIRT and need your help to achieve following requirements to design a layout with three pages.
Here are my requirements for the design.
- First page is a covering letter that contain static text – This page should be always on portrait orientation
- Second page has fixed number of rows – This page should be always on portrait orientation
- Third page has fixed number of columns – Number of columns need to be on the third page would differ based on the data. so requirement is to display the third page in portrait orientation if there are only 10 or less number of columns. If more than 10 columns, third page needs to be on landscape orientation.
I have three master pages in my layout and each of them are created for each pages. How do I dynamically change the orientation only for third page based on a condition? I can write a condition based on fields present in each of those columns .. but, i'm missing the line of code that i need to write to get this working.