The appearance is built each time a setField() is called from the /Rect
and /R of the field. You didn't say what the problem was but if you
decide to tell us please post the code used to create the field up to
the addAnnotation().
Paulo
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Evgenia Quindt
> Sent: Tuesday, September 11, 2007 3:38 PM
> To: [email protected]
> Subject: [iText-questions] Bug in iText?
>
> 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]
Aviso Legal:
Esta mensagem é destinada exclusivamente ao destinatário. Pode conter
informação confidencial ou legalmente protegida. A incorrecta transmissão desta
mensagem não significa a perca de confidencialidade. Se esta mensagem for
recebida por engano, por favor envie-a de volta para o remetente e apague-a do
seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de
usar, revelar ou distribuir qualquer parte desta mensagem.
Disclaimer:
This message is destined exclusively to the intended receiver. It may contain
confidential or legally protected information. The incorrect transmission of
this message does not mean the loss of its confidentiality. If this message is
received by mistake, please send it back to the sender and delete it from your
system immediately. It is forbidden to any person who is not the intended
receiver to use, distribute or copy any part of this message.
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/