kolja.ehlersiconplc.com Posted August 13, 2010 Share Posted August 13, 2010 Hello everybody,I was not able to find a suitable solution for my problem. I am printing invoices using Jasper and of course at some point of the report I want to print an address. This textfield must not strecht with overflow else it will not be readable through the envelope window. Is there any way I can trigger a log entry when a textfield is to small for the content? I have already looked at the debug messages but nothing like this gets printed. Maybe somebody could point me to the correct class then I could add my own log entry?Thanks for your helpKoljaPost Edited by kehlers at 08/13/2010 12:54 Link to comment Share on other sites More sharing options...
kolja.ehlersiconplc.com Posted August 13, 2010 Author Share Posted August 13, 2010 I have found a class TextMeasurer sounds like it has something to do with calculating the acutal size. Ill keep looking. Link to comment Share on other sites More sharing options...
teodord Posted August 19, 2010 Share Posted August 19, 2010 Hi, Yes, I think a custome text measurer would be the only way to have an exception raised when this occurs. Thanks,Teodor 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