I was able to solve this a with a workaround. I created two form fields, one above the other. "formfieldtop" and "formfieldbottom". Then I manage the line break in my JAVA code likeso:
String valueString= getValueString(); if(valueString.length()>60){ int half = valueString.length()/2; int breakIndex = valueString.substring(0, half).lastIndexOf(" "); acroFields.setField("formfieldtop", valueString.substring(0, breakIndex)); acroFields.setField("formfieldbottom", valueString.substring(breakIndex+1)); }else{ acroFields.setField("formfieldbottom", valueString); } -- View this message in context: http://itext-general.2136553.n4.nabble.com/Word-wrap-tp2145424p4192600.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Cloud Computing - Latest Buzzword or a Glimpse of the Future? This paper surveys cloud computing today: What are the benefits? Why are businesses embracing it? What are its payoffs and pitfalls? http://www.accelacomm.com/jaw/sdnl/114/51425149/ _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions iText(R) is a registered trademark of 1T3XT BVBA. Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php