sk.anders Posted October 9, 2013 Share Posted October 9, 2013 Hi,Now i'm create to sample template using iReport Designer 5.1.but i have problem about 'textfield page break', textfield have a variable data length (very short or very long).this is my structure with properties setting.== Page Header : Split type <Default>====Static Text==Column Header : Split type <Default>====Field1 : Position type <Fix Relative to Top>, Stretch type <No stretch>, Stretch With Overflow <true>====Field2 : Position type <Float>, Stretch type <No stretch>, Stretch With Overflow <true>==Detail====Field1 : Position type <Float>, Stretch type <No stretch>, Stretch With Overflow <true>====Field2 : Position type <Float>, Stretch type <No stretch>, Stretch With Overflow <true>====Field3 : Position type <Float>, Stretch type <No stretch>, Stretch With Overflow <true> ...==Page Footer===="Page "+$V{PAGE_NUMBER} problem is Detail band, textfield2 or textfield3.for example)<<page 1>>Sample Reportblablablablablablablablablablablablablablablabla1blablablablablablablablablablablablablablablabla2-----------------------------------------------------------------------textfield1textfield1textfield1textfield1textfield1textfield1textfield1textfield1textfield1textfield2textfield2textfield2textfield2textfield2textfield2textfield2textfield2textfield2textfield2textfield2textfield2textfield2textfield2textfield2textfield2 ...textfield8textfield8textfield8textfield8textfield8textfield8 <<page 2>>Sample Reportblablablablablablablablablablablablablablablabla1blablablablablablablablablablablablablablablabla2-----------------------------------------------------------------------textfield8textfield8textfield8textfield8textfield8textfield8textfield8textfield8textfield8textfield8textfield8 ...I'd like to textfield8 bring on next page. is that possible ?Can you please give me some suggestions? (i already search this community and google, but didn't find correct answer.) Link to comment Share on other sites More sharing options...
C-Box Posted October 9, 2013 Share Posted October 9, 2013 You could place the textfield3 that is not allowed to stretch over serveral pages into a own DetailBand2 (iReport -> contextmenue -> addAnotherDetailBand) and set the SplitType of the new DetailBand2 to "prevent" ... so all other fields can stretch and break but just the one you won't want to break starts immediatly at the next page if it doesn't fit at current page.hth + regards from GermanyC-Box 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