Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Table Border missing in pdf report
4robert
Hi All,
I have designed a report using birt-rcp-report-designer-2.3.2.
I have a table in my report. Its data are dynamic and can be of more than one page. My final output format is required in pdf. And I am facing a
problem while generating the report in pdf format.
When I am generating report as "view report as pdf" from my birt report designer it is working fine and the table is coming on multipage with its
border properly. But when I am fetching the report as pdf fromat from BIRT it is not coming properly. In the first page table border is ok but in the second page border is not coming. It is missing from the second page.
I have tried several ways but stiil not able to find the solution. And table border in second page is missing and it is inconsistent.
Can anyone tell me how to solve this problem?
Is it a bug of birt report designer?
It is really urgent. Please Help me.
Thanks in Advance!
Robert
Find more posts tagged with
Comments
mwilliams
Hi Robert,
Can you explain more about what you mean by "fetching the report as PDF format from BIRT"?
4robert
Hi Michael,
Thanx for your reply.
My final report output format is required in pdf. Here is some clarification about "fetching the report as PDF format from BIRT". I have uploaded my reports(.rptdesign files) in the another machine where I have installed BIRT server. When user are generating the report from the user interface,report is fetched from that server and I am calling the report from that server as pdf format. Also I can do it in other way for testing. In that case I have copied the reports in the server machine where under tomcat server Birt application is running and then open the web browser and provide the link like follows - "
http://100.111.0.1:8180/birt/run?__report=TableBordrProblem.rptdesign&__format=PDF"
;
where 100.111.0.1 is the IP of BIRT server.
in any web browser like mozilla firefox and get that output. This the output I think user will get from the user interface.
This report pdf is creating problem.
I have attached pdf here to show the error.
1.TableBorderProblem_DesignOP2.pdf ==== it shows output of my BIRT designer.
2.TableBorderProblem_ServerOP2.pdf ==== it shows output from BIRT server.
Both reports are same but showing different output.
Also notice I have used two details row in table as it is a requirement. So the data is repeated. Is it a Problem?
Try to help me.
If any problem to understand this then please ask me.
Hope to get result soon.
Thanks in Advance!
Robert
mwilliams
Robert,
Ah, so you are talking about fetching the report from the deployed viewer. Got it now. There shouldn't be an issue with using 2 detail rows. Can you recreate this issue with the sample database so that I can run it? This way I can be sure that the border is applied the same way as you have it done. Thanks.
4robert
Hi Michael,
Thanx for your reply.
Yes I am fetching reports from BIRT server where I have installed birt-runtime-2_3_2.
I have attached here TableBordrProblem_excel.rptdesign file and TableBorderData1.csv file.
Please do the needful to make the connection working. And try it in two different palces-1>BIRT Designer and 2>BIRT runtime to see two different pdf format. Also I have attached here Server ouput preview and Designer output to show the difference.
Try to solve the problem Please.
Thanks in Advance!
Robert
mwilliams
Robert,
What is the full version of the runtime you have installed? When I deploy the report to my 2.3.2.2 viewer, it has all the borders in PDF.
4robert
Hi Michael,<br />
<br />
Thanx for your reply.<br />
<br />
I have installed birt-runtime-2_3_2.It is BIRT Runtime.<br />
I dont know where to find the full version name. I can say it is a package which I found its name as "birt-runtime-2_2_2".<br />
You can see about this on the following link: <a class='bbc_url' href='
http://archive.eclipse.org/birt/downloads/build_list.php'>Eclipse
BIRT Home</a><br />
Here I have seen its Build Name and Build Date.<br />
<br />
[ Have you followed the same procedure I have stated earlier?<br />
"In that case I have copied the reports in the server machine where under tomcat server Birt application is running and then open the web browser and provide the link like follows - <br />
"
http://100.111.0.1:8180/birt/run?__report=TableBordrProblem.rptdesign&__format=PDF"<br
/>
where 100.111.0.1 is the IP of BIRT server.<br />
in any web browser like mozilla firefox and get that output. This the output I think user will get from the user interface.<br />
This report pdf is creating problem." ]<br />
<br />
I am really confused about this problem.<br />
Please guide me to solve this problem asap as it is really urgent.<br />
Try to solve the problem Please.<br />
<br />
Thanks in Advance!<br />
<br />
Robert
mwilliams
Robert,
Yes, I ran the report on the deployed viewer in Tomcat with a similar URL, only for my local host. I got all the borders correctly. However, I am using the latest 2.3.2 runtime of 2.3.2.2 and IE7. You may try upgrading your runtime to this version to see if that makes a difference. Or I can download the older version and see if I get the same problem you're having.
4robert
Hi Michael,
Many many thanx for your reply.
Sorry for late reply from my side.
At last I have solved the problem. After changing a lot of configuration I have updated my Birt runtime to "birt-runtime-2_3_2_2" as pesecribed by you and now the border are coming properly. It solves my problem a lot.
But there is another issue which was also present in the earlier version of runtime.The issue was also present in my previous uploaded pdf.
The issue is that the number of records per page is not equal in every page in the pdf, it varies page to page. It is really a problem as it increase the no. of page and also not good to see from the user perspective. So, whats the wrong thing in this report?
I have again uploaded the reports and pdf ( pdf1 indicates output from the designer and pdf2 indicates output from the web browser) for your reference.
Have a look at this report and help me to solve this problem.
Thanks in Advance!
Robert
mwilliams
Robert,
If I understand what you're meaning, you have a page break interval of 40 set, which is the default. You have 2 rows in your detail row, so it's really trying to fit 80 rows on a page. Page breaks are set after these 80 rows, which ends up being before the bottom of the next page. If you select the table in your design, go to the page break section of the property editor and change the interval to like 21 or something, you should get a better result. Let me know.
4robert
Hi Michael,
Thanx for your reply.
In page break properties I set values "auto" for "before", "after","inside" properties. Then insert nothing in "page break interval" as I just wanted to make the page break "Automatic". And it makes page break interval of 40 set in my report by default. You already advised me to change my designer to latest "birt-rcp-report-designer-2_3_2" version to make it automatic maintaining the proper A4 page size (IN ONE OF MY PREVIOUS POST). But now it is again creating problem.
Also I have changed the page break interval of 21 and others but still it is not working.
My qustion is that why should I make it 21 or 25 while I want simply it to be automatic depending upon data fit to my page size.
I think this is really a serious issue for BIRT Designer. I want to know about this "Automatic" properties how it exactly works?
Tell me proper way to solve this problem. You can post a demo report or change my report to make it correct, if possible.
Thanks in Advance!
Robert
mwilliams
Robert,
Forget what I said before about setting the interval to 21. Instead, set it to 0. This makes every page fill up as it should.
4robert
Hi Michael,
Thanx for your reply.
Sorry for very late reply from my side.
This is exactly what I needed.
After searching a lot Now my problem is solved.
Thanx one again.
Regards,
Robert
For Birt
Hi Team,
I have issue like i need to show data in a table like if 4 row cells is having same
value i need to show single value in middle of 4 row cells,i have used table groups
concept i am able to achive some wat but not in last two column of table and i am
facing problem with table borders alignment.i am attaching saples for your reference
Please help me for aligning tha table bordes i am attaching protocolsample.pdf for your
reference
actual table contains DB data,i need to generate same like result table.
Please help me for this.
Thanks in advance.
Sowjanya
mwilliams
From the looks of it, if you group the first two columns and then use suppress duplicates on the others, you'll achieve what you're wanting. The suppressed values won't be vertically centered though. As far as the borders go, you could do some scripting to add and remove borders when necessary. With some more scripting work, you could probably get the values vertically centered as well.
For Birt
Hi Team,
I am not able to put table border lines properly for table attached sample pdf for your reference and i need to show the data in middle of row cells Please help me to achive this requirement.
i need to show the result like as in resulttable i have attached same for your reference.
Thanks!
Sowjanya
For Birt
Hi Team,
I facing issue like i need to show data in the middle of rows and i wand to delete unwanted borders for all the
cells in table i am attaching RPT and PDF for your reference.Please provide solution for the same.
Thanks in advance!
Sowjanya
Yogesh Maharwade
Hi
are you able to show data in middle..? the unwanted border comes because you drop the column.i dont know if there is way to avoid this. But you can achieve same result by another way.
will you upload your .csv file..? as m not able to run the report without data file.
Regards
Piwya
Yogesh Maharwade
Hi
Take a look at report. Hope this helps.
For Birt
Hi,
I am not able to solve my issue from long days Could you please help me to resolve this.
i have attache all the files for your reference.i have created this using Groups concept i am not able to achive this in last two column's of the table except that everything is fine.
Plase find CSV_file.zip contains .csv file and actualTable.bmp table is my dataset and i want to genetare report like as same as in ResultTable.bmp.
Please help me as soon as posible.
Rgs,
sowjanya!
For Birt
Hi,
i am attaching file for your reference,in that i have drawn with red sqares that two rows i need to show as a single columnn in the middle.
i have used table groups for this please help me to achive this what i need to use.
Please help me hear.
Thanks!
Sowjanya.