Home
Analytics
Large table Starts on a new page in PDF only
Kristi
Hi.
I've been working on a report for a while now and am reaching out to see if anyone else has any ideas on how to fix this.
When I view a report, it shows up exactly how I want it. The 1st table is, of course, at the top of the 1st page and the 2nd table starts on the 1st page right under the 1st table and it carries over onto the 2nd and 3rd pages. (In this example, the long descriptions are VERY long.) See picture "Report on View Only.png".
When I export this to a PDF, it is changed from the view to have the 1st table start on the 1st page, but if the 2nd table would otherwise break over the page, it is started on the 2nd page rather than starting right below the 1st table on the 1st page. See picture "Report Exported to PDF".
However, when I export this to a word document, the spacing is the same as it was on the view. See Report Exported to Word Document.png".
When I do a direct print, it prints as it apprears in the PDF export. That adds additional pages on the report, so I really want to change this so it prints as compact as possible with the direct print icon rather that manually exporting this to word and printing it.
I have gotten into the XML source for the report and ensured that the pages breaks in every instance are set to avoid:
<property name="pageBreakAfter">avoid</property>
<property name="pageBreakBefore">avoid</property>
<property name="pageBreakInside">avoid</property>
I've also been googling this and haven't found anything that works for me. Any idea why this is happening and what I can do to avoid this? (BIRT 3.7.1)
Many thanks in advance.
Find more posts tagged with
Comments
kclark
What version of BIRT are you using?
Kristi
<blockquote class='ipsBlockquote' data-author="'kclark'" data-cid="111047" data-time="1351629439" data-date="30 October 2012 - 01:37 PM"><p>
What version of BIRT are you using?<br /></p></blockquote>
<br />
<br />
3.7.1
kclark
I was thinking that it might have something to do with the PDF emitter but if it's happening on print then I don't think that's the problem. It could be something to do with the overflow settings in your grid/table. You might want to try playing with those settings. Also, just for troubleshooting sake can you save the word doc as a PDF and tell me if it's still doing the same thing?
Kristi
<blockquote class='ipsBlockquote' data-author="'kclark'" data-cid="111119" data-time="1351786563" data-date="01 November 2012 - 09:16 AM"><p>
I was thinking that it might have something to do with the PDF emitter but if it's happening on print then I don't think that's the problem. It could be something to do with the overflow settings in your grid/table. You might want to try playing with those settings. Also, just for troubleshooting sake can you save the word doc as a PDF and tell me if it's still doing the same thing?<br /></p></blockquote>
<br />
<br />
I've saved it as a word document and then saved it as a PDF from there and it it saves to a PDF in the form that I want it to. Of course you can always just print it straight from word, but I'd like to be able to just use the direct print option.
kclark
Can you reproduce this with the sample db?
Kumar Yesu
<p>Hi,</p>
<p> </p>
<p>Has this problem solved? If yes, can anyone tell me the steps to solve. i have the same issue.</p>