Bug 425557 - Page Number issue when using iRunAndRenderTask
Summary: Page Number issue when using iRunAndRenderTask
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: 4.3.0   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Birt-ReportEngine-inbox@eclipse.org CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-13 07:52 EST by Julien Helbling CLA
Modified: 2014-01-13 07:53 EST (History)
0 users

See Also:


Attachments
example with screenshots (80.11 KB, application/octet-stream)
2014-01-13 07:53 EST, Julien Helbling CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Julien Helbling CLA 2014-01-13 07:52:25 EST
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.
Comment 1 Julien Helbling CLA 2014-01-13 07:53:04 EST
Created attachment 238915 [details]
example with screenshots