Show ellipsis text in a textbox
- From: Mark Wergen <m.wergen (at) bauer-kirch.de>
- Date: Tue, 31 Oct 2006 14:56:29 +0100
Hallo Paulo,
am Dienstag, 31. Oktober 2006, 12:19:51, schrieb Paulo Soares:
> You'll have to get the field position and place the text yourself. See
> AcroFields.getTextPositions().
>
Sorry, i don't find any method getTextPositions() in the class
AcroFields.
Can you tell where i find it?
Thanks in advance.
Mark
> Paulo
>
>> -----Original Message-----
>> From: itext-questions-bounces (at) lists.sourceforge.net
>> [mailto:itext-questions-bounces (at) lists.sourceforge.net] On
>> Behalf Of Mark Wergen
>> Sent: Tuesday, October 31, 2006 9:24 AM
>> To: itext-questions (at) lists.sourceforge.net
>> Subject: [iText-questions] Show ellipsis text in a textbox
>>
>> Hallo itext-questions (at) lists.sourceforge.net,
>>
>> i want to fill in textboxes in a form and flattening the form after
>> processing. This is no problem so long.
>>
>> But if the text is too long for the textbox, i want to show ellipsis
>> at the end of the text.
>> This indicates the user, that the text is truncated.
>>
>> I don't want to use the options multiline or autosize of the textbox.
>>
>> Does anybody know how to do this?
>> Or, exist no possibility to show ellipsis in textboxes?
>> Or, how i can get the font of the text, to calc my own textwidth?
>>
>>
>> --
>>
>> best regards,
>>
>> 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
>>
>
>
> 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