  | 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 | | JSP - A mailing list about Java Server Pages specification and reference | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | |
Struts & Hibernate
|
|
|
  | | | -none- | -none- 2007-09-11 - By Evgenia Quindt
Back Hi, I have created a rotated form field(90 ) in a PDF File. Code in PDF File: 3 0 obj<</TU(Feldbeschreibung)/Ff 4096/F 4/Type/Annot/Subtype/Widget/DR<</Font<</Helv 2 0 R>>>>/T(Feldname)/V()/AP<</N 1 0 R>>/MK<</R 90>>/BS<</W 1/S/S>>/FT/Tx/Rect[100 400 120 500]/DA(/Helv 10 Tf 0 g )>> endobj 1 0 obj <</Type/XObject/Resources<</ProcSet [/PDF /Text /ImageB /ImageC /ImageI]/Font<</Helv 2 0 R>>>>/Subtype/Form/BBox[0 0 20 100]/Matrix[0 1 -1 0 100 0]/Length 18/FormType 1/Filter/FlateDecode>>stream xœÓ PpòuVpb Then i have filled this field with AcroFields.setField("Feldname", "Test"). Code in filled PDF File: 6 0 obj<</TU(Feldbeschreibung)/Ff 4096/F 4/Type/Annot/Subtype/Widget/DR<</Font<</Helv 5 0 R>>>>/T(Feldname)/V(Test)/AP<</N 1 0 R>>/MK<</R 90>>/BS<</W 1/S/S>>/FT/Tx/Rect[100 400 120 500]/DA(/Helv 10 Tf 0 g )>> endobj 1 0 obj <</Type/XObject/Resources<</ProcSet [/PDF /Text /ImageB /ImageC /ImageI]>>/Subtype/Form/BBox[0 0 100 20]/Matrix[0 1 -1 0 20 0]/Length 22/FormType 1/Filter/FlateDecode>>stream xœ+TTÐ PpòuVpb
Value of attributes /BBox and /Matrix have changed /BBox[0 0 20 100] to /BBox[0 0 100 20] and /Matrix[0 1 -1 0 100 0] to /Matrix[0 1 -1 0 20 0]
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ----- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ __ ____ ____ ____ ____ ____ ____ ____ ____ ____ iText-questions mailing list iText-questions@(protected) https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
|
|
 |