Home
Analytics
White spaces in generated PDF file
MaheshM
Hi,
Am using Birt Report using Eclipse IDE.
I have implemented grouping in my report. I have created three groups G1, G2 and G3.
When I execute the report as PDF (go to RUN->View Report->As PDF) I am getting the white spaces in the generated report.
I am getting this issue only when I set the drop property to detail for group data cell.
when I set the drop property to none everything works fine, but it adds extra row for each group header.
Please see the attached screenshot.
Please help me.
Regards,
Mahesh M.
Find more posts tagged with
Comments
Yogesh Maharwade
May be you set background color to column binding field. instead of that set background color to row.
MaheshM
<blockquote class='ipsBlockquote' data-author="'piwya'" data-cid="83955" data-time="1318341308" data-date="11 October 2011 - 06:55 AM"><p>
May be you set background color to column binding field. instead of that set background color to row.<br /></p></blockquote>
<br />
Thanks for your reply.<br />
<br />
I tried this but no luck. This issue is not only related to the white spaces, but also the data is overwritten by the white spaces. I guess this issue is not only limited to background color.<br />
<br />
Regards,<br />
Mahesh M.
Yogesh Maharwade
Its hard to say what exactly wrong in your report. can you attach your report..?
Yogeshh
<blockquote class='ipsBlockquote' data-author="'piwya'" data-cid="83967" data-time="1318344254" data-date="11 October 2011 - 07:44 AM"><p>
Its hard to say what exactly wrong in your report. can you attach your report..?<br /></p></blockquote>
<br />
Hi,<br />
<br />
I?m also facing the same issue. Actually these white spaces are nothing but table background color, say if we change the table background color from white to RED then we?ll see the RED spaces.<br />
<br />
I have attached the rptdesign report file along with the generated PDF report file. This report is created using ClassicModels sample birt database .<br />
<br />
This issue is not just related with background color, but also group header data is not seen in report for some pages (group header is not repeated on every page).<br />
<br />
Please have a look at report and help us.<br />
<br />
Regards,<br />
Yogesh
gauravdhmj
Hi,
How you have created this pdf from the eclipse IDE?
I am able to create a report using BIRT tool but I don't know how to export the report to PDF format please help me out.
Please tell me the jars and code required to add this functionality(like exporting report to PDF,Excel)?
MaheshM
<blockquote class='ipsBlockquote' data-author="'piwya'" data-cid="83967" data-time="1318344254" data-date="11 October 2011 - 07:44 AM"><p>
Its hard to say what exactly wrong in your report. can you attach your report..?<br /></p></blockquote>
<br />
<br />
Hi Piwya,<br />
<br />
Could you please look into the rptdesign file attached by Yogeshh. I have looked into the same file and found that this is exactly the same issue which I am still facing.<br />
<br />
Thanks,<br />
MaheshM
Yogesh Maharwade
Hi
I execute your report as PDF in both eclipse birt and actuate birt.
I m not sure but its bug of eclipse birt. if you will do same in actuate birt ,you will not get white spaces.
wbl
Hi,
If you remove the line
<property name="drop">detail</property>
from the Whitesapce_issue.rptdesign sample report then the issue seems to go away.
Yogeshh
<blockquote class='ipsBlockquote' data-author="'wbl'" data-cid="84082" data-time="1318511080" data-date="13 October 2011 - 06:04 AM"><p>
Hi,<br />
<br />
If you remove the line<br />
<property name="drop">detail</property><br />
from the Whitesapce_issue.rptdesign sample report then the issue seems to go away.<br /></p></blockquote>
<br />
<br />
Hi wbl,<br />
<br />
Thanks for your reply. Yes you are correct, if we remove the said line or if we set 'drop' property to 'none' it will work fine but as per our actaul report requirement we need to set drop propery to detail only. Report should display group header and detail row data in a same row.<br />
<br />
This issue occurs only after setting 'drop' property to 'detail' and group's 'repeat header' properly set to 'true'.<br />
<br />
If you could provide any other solution, would be much appreciated.<br />
<br />
Regards,<br />
Yogesh
Yogeshh
<blockquote class='ipsBlockquote' data-author="'piwya'" data-cid="84046" data-time="1318445936" data-date="12 October 2011 - 11:58 AM"><p>
Hi<br />
I execute your report as PDF in both eclipse birt and actuate birt.<br />
I m not sure but its bug of eclipse birt. if you will do same in actuate birt ,you will not get white spaces.<br /></p></blockquote>
<br />
<br />
Hi piwya,<br />
<br />
Your reply was very helpful and very much appreciated.<br />
<br />
I have executed previously attached report and some other reports which were having the same issue on actuate birt and issue seems to be resolved. <br />
<br />
But unfortunately I have again found this issue in actuate birt. Sample birt database report (Attached here) .<br />
<br />
Please help me to get rid of this issue.<br />
<br />
Best Regards,<br />
Yogesh H.
Yogesh Maharwade
Hi
which version r you using...?
i execute your latest report and i m not getting any white spaces. let me know...?
Yogeshh
<blockquote class='ipsBlockquote' data-author="'piwya'" data-cid="84089" data-time="1318522859" data-date="13 October 2011 - 09:20 AM"><p>
Hi<br />
which version r you using...?<br />
i execute your latest report and i m not getting any white spaces. let me know...?<br /></p></blockquote>
<br />
<br />
Hi Piwya,<br />
<br />
I have executated several .rptdesing files using below version of Actuate BIRT but I'm still getting the white space and data hiding issue on all of the reports:<br />
<br />
Actuate BIRT Designer Professional <br />
Version: 11.0.2<br />
Build id: 20110811<br />
<br />
I've also executed the same report using the latest BIRT runtime version 3.7.1 but it also doesn't help. <br />
<br />
Any help is appreciated.<br />
<br />
Thanks and Regards,<br />
Yogesh
mwilliams
Has anyone opened a bug for this yet?
http://www.birt-exchange.org/org/resources/bug-reporting/
If not, could someone please do so? If you have, can you post the bug info in here?
I'm going to take a look at the above file made with the sample database and see if there is a way around it, but I'm guessing you guys have tried just about everything imaginable!
mwilliams
Alright, as Yogeshh said, the color that comes through is the table background. If you set the table background to the same color that you have the row background set to, it will not show this space as white, but as your row color. Also, I tried this same report in 3.7.1 and did not see the white spaces, so maybe a bug report is not needed, as it seems to be fixed in the latest version. If someone has an example that uses the sample database that doesn't work in 3.7.1, can you please post it?
Yogeshh, as for the group headers not repeating on page break, I believe this is related to a bug in 2.6.1 having to do with page break events being called for "natural" page breaks in PDF. This is also fixed in the latest version.