  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Tomcat - JSP/Servlet container | | Struts - A MVC web framework | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | JSP - A mailing list about Java Server Pages specification and reference | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | |
Struts & Hibernate
|
|
|
  | | | Setting extra margins to multiline textfields | Setting extra margins to multiline textfields 2006-08-09 - By Saeed Subedar
Back Hi, We are using IText data merging with existing Acrobat PDF form fields in our company. We are using itext-1 (See http://ext-1.ora-code.com).2.jar library. When I am setting default values in Acrobat Professional to multiline textfields, they are getting displayed with additional top margin. And when executing the IText form fields merge code, the data displayed for the multiline fields does not have any additional top margin. This is resulting in overlapping data. To fix this, we will have to get the multiline textfields in all the PDF documents re-positioned by our client which is an overhead in many ways. In the AcroFields class, I see the setExtraMargin() method but this will set extra margins for all the form fields. Is there a way using above specified library to add extra margins to only multiline textfields? Thanks. Any help is greatly appreciated. Saeed Subedar.
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com <DIV>Hi,</DIV> <DIV> </DIV> <DIV>We are using IText data merging with existing Acrobat PDF form fields in our company.</DIV> <DIV> </DIV> <DIV>We are using <STRONG>itext-1 (See http://ext-1.ora-code.com).2.jar</STRONG> library.</DIV> <DIV> < /DIV> <DIV>When I am setting default values in Acrobat Professional to multiline textfields, they are getting displayed with additional top margin. And when executing the IText form fields merge code, the data displayed for the multiline fields does not have any additional top margin. This is resulting in overlapping data.</DIV> <DIV> </DIV> <DIV>To fix this, we will have to get the multiline textfields in all the PDF documents re-positioned by our client which is an overhead in many ways.< /DIV> <DIV> </DIV> <DIV>In the AcroFields class, I see the <STRONG >setExtraMargin()</STRONG> method but this will set extra margins for <STRONG >all the form fields</STRONG>. </DIV> <DIV> </DIV> <DIV>Is there a way using above specified library to add extra margins to <STRONG>only multiline textfields</STRONG>?</DIV> <DIV> </DIV> <DIV> </DIV> <DIV>Thanks.< /DIV> <DIV> </DIV> <DIV>Any help is greatly appreciated.</DIV> <DIV> </DIV> <DIV>Saeed Subedar.</DIV> <DIV> </DIV><p> __ ____ ______ __ ____ ____ ____ ____ ____ ____ ___<br>Do You Yahoo!?<br>Tired of spam? Yahoo! Mail has the best spam protection around <br>http://mail.yahoo.com -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ----- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 __ ____ ____ ____ ____ ____ ____ ____ ____ ____ iText-questions mailing list iText-questions@(protected) https://lists.sourceforge.net/lists/listinfo/itext-questions
|
|
 |