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)
problem with page break (interval) in nested table
andreas2
Hi,<br />
<br />
this is my report (abstractly speaking - if this info is not enough I may provide a sample report):<br />
<br />
<pre class='_prettyXprint _lang-auto _linenums:0'>
<my-heading>
<outer-table page-break-interval=0>
<inner-table page-break-interval=0 />
</outer-table>
</pre>
<br />
What comes out as a PDF is:<br />
<br />
<pre class='_prettyXprint _lang-auto _linenums:0'>
<page1>
<my-heading>
<(+) a lot of empty space that could be filled with some content from the inner table rows => (*) />
</page1>
<page2>
<some content of outer-table rows />
<(*) some content of innter-table rows spanned over multiple pages />
</page2>
<page3 ...
</pre>
<br />
The problem is that the content from (*) is started on a new page (page2) and not directly after (+).<br />
<br />
<br />
A ) When I set e.g. <inner-table page-break-interval=5 /> 5 rows of (*) will be placed on page1, but this is not sufficient since I then have at most only 5 rows on each page, but it should be as many as possible (meaning of page-break-interval=0).<br />
<br />
B ) When I remove <my-heading> it works with (*) started at the first page, but of course I need my heading :-/<br />
<br />
<br />
Do you understand my problem? Is this a bug or does page-break-interval=0 implicitely mean BIRT starts the content of a "big" table on the next page if there is already something on the current page? (because that is the seen behaviour)<br />
<br />
<br />
I am using BIRT:<br />
<br />
Version: 2.5.2.v20090925-7c957LFOKfqz0MwMSNVnZG1<br />
Build id: v20100210-0630<br />
<br />
<br />
Kind regards and thanks for any hint or help<br />
Andreas :-)
Find more posts tagged with
Comments
mwilliams
Hi Andreas,
If you could create an example with the sample database that does what you're talking about, that'd be great!
andreas2
attached you can find the "examplified" report and a generated PDF
andreas2
**** - everything works as expected - my mistake.
Due to another problem I found my mistake by having a <page-break-inside=avoid> on the inner-table which of course causes the effect.
I did not see this by parsing the XML since it has another syntax than other page-break tags.
Anyway thanks for quick response.
Kind regards
Andreas :-)
mwilliams
Andreas,
I was wondering if it was something like this as I hadn't been able to reproduce the problem.
Good luck with the rest of your report creation. Let us know whenever you have questions!