PixM Posted November 21, 2006 Share Posted November 21, 2006 Hi There, I'm new to the board and i have a question. It's about pagebreaks in iReport. I have a report that has 3 pages and i want 2 subreports on each page so 6 subreports total. First page is ok but the subreports that have to be on page 3 are starting on page 2 because the second page is only filled for about half of the A4. The subreports are placed in groups. Can anybody please help me out because i cant seem to find a solution for it. Thanx Alot! Link to comment Share on other sites More sharing options...
Teodor Danciu Posted November 21, 2006 Share Posted November 21, 2006 Hi, Today, we have added support for a new type of element called <break> in JasperReports.It will be used to introduce both column and page breaks. This new feature will probably be supported by the next iReport release, but until then we are happy to receive any feedback from users testing it from the SVN head version of JasperReports. Thank you,Teodor Link to comment Share on other sites More sharing options...
PixM Posted November 22, 2006 Author Share Posted November 22, 2006 Hi, Thanx i will check it out. Link to comment Share on other sites More sharing options...
ankurtek Posted November 23, 2006 Share Posted November 23, 2006 hey can u plz tell me from whr can i get the SVN Head version? i want to download it and implement the same page break thing in my reports.. Link to comment Share on other sites More sharing options...
lucianc Posted November 23, 2006 Share Posted November 23, 2006 The SVN URL is https://scm.jasperforge.org/svn/repos/jasperreports/. You will need to create an account for the Developer area of JasperForge, use this account to connect to the SVN repository, check out trunk/jasperreports from the repository, build it and use it in your application. Regards,Lucian Link to comment Share on other sites More sharing options...
PixM Posted December 22, 2006 Author Share Posted December 22, 2006 I compiled the source and gave it a try. Didn't seem to be working yet. So I edited two files in net.sf.jasperreports.engine.fill: JRHorizontalFiller and JRVerticalFiller. In the method fillGroupHeader(JRGroup) I removed the check for !isNewPage and compiled again. Now, the pagebreak function in the groups worked properly. It doesn't seem very logical to remove this check, but somehow I think it isn't working properly.. And is it normal that the SVN version of jasper is a bit slow in the JRviewer (related to development or so)? Thanx Pixm 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