ssbg2 Posted June 2, 2009 Share Posted June 2, 2009 hi Everyone,Apologize for my Chinese English.I using iReport to make a report,but i have a big problem in the text field property's set. In my report,some text field's height cannot include all the text form an Oracle CLOB or a parameter,after i selected the Stretch With Overflow property,complete text displayed,but it cover the next rows.Maybe this is a simple question,but i tried everything,so if anybody knows the problem,Please reply.Thanks in advance.Zhang. Link to comment Share on other sites More sharing options...
ssbg2 Posted June 2, 2009 Author Share Posted June 2, 2009 and all i want to do is as follows:1.the text field shows all the text.2.the report's Detail element can adjust position and size make sure no one being covered,if it cannot displays in one page,shows in next page.Waiting for reply.Thanks. Link to comment Share on other sites More sharing options...
lreddy Posted June 2, 2009 Share Posted June 2, 2009 JRDesignTextField txt = new JRDesignTextField(); txt.setStretchWithOverflow(true); Link to comment Share on other sites More sharing options...
kchaudhry Posted June 2, 2009 Share Posted June 2, 2009 You will need to change a couple of things. 1. Turn the "Stretch with overflow" property on.2. Change the "Position Type" of some fields from "FixedRelativeToTop" to "Float". This will be done for the fields that are currently being cut off.Hope this helps! Link to comment Share on other sites More sharing options...
ssbg2 Posted June 3, 2009 Author Share Posted June 3, 2009 To lreddy:I tried,but i didn't see the difference,thanks for your help.:)To kchaudhry: It works!You did me a great favor.Best regards. 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