loge Posted May 3, 2009 Share Posted May 3, 2009 Hi, i have a tricky framing issue ongoing. See attachment 1 (idescreen.png) where you can see my iReport workbench. Attachment 2 (result.pdf) is the preview of the resulting PDF. I think i dont need to explain more here. I really need to have the vertical lines expand to the page footer (i dont have a column footer). The vertical lines are inside the "detail" band and i modified the "stretch" attribute of the line object in every possible way without luck. Thanks for hints. Marc Link to comment Share on other sites More sharing options...
Giulio Toffoli Posted May 5, 2009 Share Posted May 5, 2009 Use the background band to draw your rectangle. Giulio Link to comment Share on other sites More sharing options...
loge Posted May 5, 2009 Author Share Posted May 5, 2009 I dont think this works too well because the start of the rectangle depends on what page is printed. On second page, i have different headers and this way the rectangle wouldnt be in the right position. I am wondering why the vertical lines dont strech in the detail band. I assume that the detail band will be stretched to the footer elements in case of "not enough" data. Link to comment Share on other sites More sharing options...
Giulio Toffoli Posted May 5, 2009 Share Posted May 5, 2009 No, the band will just take the minimum amount of space it requires, but the background solution can still work using one or more rectangles in the background with a proper printWhen expression set to something like:new Boolean( $V{REPORT_PAGE}.intValue() == 1) // This one is used for the first page rectanglenew Boolean( $V{REPORT_PAGE}.intValue() >1) // This one is used for the other pages.Giulio Link to comment Share on other sites More sharing options...
loge Posted May 6, 2009 Author Share Posted May 6, 2009 Thanks. Yeah, this could be a perfect workaround. Feels nevertheless like a workaround but as long as it works, its fine. Its just not very self explaining :-) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now