First, I think my situation is somewhat unique in that I have a high amount
of non-repeatable data. I'm generating an application that can be printed
out blank for a user to complete by hand, or can be printed out completed to
show a report of a submitted application (presumably after the data was
transcribed from a hand completed app). 

In many cases I define a subreport that contains purely non-repeatable data,
but enough of it that the height of the actual subreport exceeds the height
of the element that defines it in the parent report. I am able to have
several of these follow each other, and all are sized to height of the
actual subreports and will not overlap if position type is set to "float" -
so far so good. However, I have a case where a subreport declares a
subreport of its own, (lets say the parent report P contains subreport A,
which contains subreport B), and it appears that the detail band in A must
be aware of the actual height of B. If I define the height of A's detail
band to be just large enough to contain the element for subreport B (as I do
for A in the detail band of P), I am left with a large amount of whitespace.
If I increase the  size of the detail band to accommodate for the actual
height of B, it prints everything I want, but this will be problem since
there are cases where I use subreport expressions to select which subreport
to use and they are not necessarily the same height (and even so, I'd rather
not have to adjust both the height of the detail band in B and the height of
the subreport element in A when adding or removing static elements from B). 

This smells like a bug to me, but if anyone can point out an easier way, or
something I'm simply doing wrong, please do. 
-- 
View this message in context: 
http://www.nabble.com/Dynamically-Sizing-Nested-Subreports-tp15010861p15010861.html
Sent from the jasperreports-questions mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions

Reply via email to