Community
Participate
Working Groups
Hi Team, I have a report that uses 2 different Master Pages (MP). One MP is in Portrait mode and has page numbering at its end, and one MP is in Landscape mode and has page numbering at its beginning. I want to apply a different style to the numbers displayed on the Landscape MP. My report has 2 tables (coming from 2 different libraries) which are display in a single report with different sections in order to be able to apply different MP. In order to run the report, I use the BIRT Engine (4.3.0) and a IRunAndRender task. When doing this, I can't have different style for the totalPageNumber information, however it works if using an IRunTask and an iRenderTask separatly. Attached is a basic example that shows the issue. Here is a description of what has been attached in the zip : - outputWhenOK.png : show the output when using IRunTask And IRenderTask. - outputWhenNOTOK.png : show the output then using IRunAndRenderTask. - EclipseProject.zip : contains an example. Remarks concerning the zip : - com.example.RunTestReport.java : look for "START - CODE THAT WORKS" and "START - CODE THAT DOES NOT WORK" in order to find the part which works and the one which doesn't. Comment/uncomment these parts in order to reproduce the issue. - I don't see any issue if I preview the report with the BIRT Viewer embedded within the Eclipse BIRT plugin. - By default the code will create the "C:/temp/test.pdf" report. Please don't hesitate to tell me if you need any further information regarding the information I provided. Thanks.
Created attachment 238915 [details] example with screenshots