Flattening a RadioButton
- From: Mark Wergen <m.wergen (at) bauer-kirch.de>
- Date: Tue, 31 Oct 2006 10:42:32 +0100
Hallo Paulo,
am Montag, 30. Oktober 2006, 17:03:03, schrieb Paulo Soares:
>
>
>> -----Original Message-----
>> From: itext-questions-bounces (at) lists.sourceforge.net
>> [mailto:itext-questions-bounces (at) lists.sourceforge.net] On
>> Behalf Of Mark Wergen
>> Sent: Monday, October 30, 2006 9:53 AM
>> To: itext-questions (at) lists.sourceforge.net
>> Subject: [iText-questions] Flattening a RadioButton
>>
>> Hallo itext-questions (at) lists.sourceforge.net,
>>
>> i want to flatten a RadioButton in an existing document.
>> I do this with stamper.setFormFlattening(true);
>>
>> But if i don't set the print-flag of the field, the radiobutton
>> doesn't appear.
>>
>
> Flattening behaves the same as printing.
>
>> If i set the print-flag the radiobutton's appear, but it has
>> not exact the
>> same size like the unflattened file.
>>
>> Is this a bug or a feature? What i'm doing wrong?
>>
>
> You are doing nothing wrong, although the class RadioCheckField will
> probably be easier to use. The difference in size is due to Acrobat's
> regeneration of the radio appearance, it can't be avoided.
Thanks for your answer, Paulo.
I found another solution. If i set the width and height of the
appearance, exactly the same as the widget-rectangle of the
radiobutton's, then the result looks better.
>
> Paulo
>
>
> 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.
--
Mit freundlichen Gruessen
Mark Wergen
-----------------------------------------------------------------------
Mark Wergen mailto:m.wergen (at) bauer-kirch.de
Bauer+Kirch GmbH http://www.bauer-kirch.de
Tel: +49 2472 988-200 Fax: +49 2472 988-222
-------------------------------------------------------------------------
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 (at) lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions