Home
Analytics
Different render behavior in BIRT 2 and BIRT 4?
Ima Pojo
Hi folks,
I need some help. We now migrate from BIRT 2.6.2 to BIRT 4.2.2. Therefore I test our existing rptdesigns in both BIRT versions. The rptdesigns are created with BIRT report designer 2.6.2.
Now I have seen that there are differences in the rendered PDF documents and I don't know why. Please take a look at the attached PDF documents (two PDFs and the rptdesign). It is a very easy example for my problem. The BIRT 4.2.2 engine renders the documents different then BIRT 2.6.2. In this example the paddings in the cells are not in the same high, so grid, table and cells look like ?compressed?.
In our complex business rptdesigns that leads to a big layout difference, so the created reports aren't the same any more.
Do you have a solution? Is this maybe only a setting? Or does look the result from BIRT 2.6.2 because of a bug that was fixed in 4.2.2? Is there a workaround maybe? It is important that the generated PDFs are looking the same - with both render engines!
Thanks a lot!
J?rn
Find more posts tagged with
Comments
kclark
How are you rendering the PDF? If you go straight to PDF from Eclipse you will see a difference in the document vs viewing the report in the web viewer > export to PDF.
Ima Pojo
Hi kclark,<br />
<br />
thank you for your answer and excuse me for me late response!<br />
<br />
I render my PDFs via Eclipse in Report Design perspective, menu <em class='bbc'>Run --> View Reports --> As PDF</em>.<br />
<br />
Indeed there is a difference between the <em class='bbc'>As PDF</em> rendered document and the document in the <em class='bbc'>Web Viewer</em>. But that is not part of my problem. Here maybe is a better created PDF, now with a DataSet via JDBC. <br />
<br />
I changed a little bit the table borders. The borders in my first example surrounded the data elements, not the table rows. I fixed it. Now the borders surround the table cells like it used to be. So both rendered PDF documents almost seems identically, except of the grey header at the top of the PDFs. Do you maybe have a hint why the grey header is different in both PDFs?<br />
<br />
Greetings<br />
<br />
J?rn
rnigam
<p>Hi Ima</p>
<p> </p>
<p>I am facing same issue with my reports. Tried lot of different values for css properties. Did you make any headway with your issue?</p>
<p> </p>
<p>Thanks</p>