Hi,

i looked into the source code and the
method 'setUserName' did the trick (sets the PdfName.TU flag).

sfield.setUserName("Some Text for the Mouse-Over Information");

But why isn't the method called 'setQuickInfo(String s)' ?

ToM


> Hi iTexters,
>
> i know how to get the quickinfo from a form field
>
> PdfDictionary d = (PdfDictionary) item.merged.get(0);
> PdfString quickInfo = d.getAsString(PdfName.TU);
>
> but how does i set/add it?
>
> PdfFormField sfield = PdfFormField.createSignature(writer);
>
> I looked at all the set-Methods but there is no suitable method on a
> first glance...
>
> Thanks,
> ToM
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> iText-questions mailing list
> iText-questions@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> Buy the iText book: http://itext.ugent.be/itext-in-action/


Viele Grüße,
Tobias Meier
__________________________________________________
MSc, Dipl.-Inf. Tobias Meier
Softwareentwickler
nepatec GmbH & Co. KG
Hindenburgstr. 37 . 30175 Hannover
Fon +49(0)511 935 946.51, Fax +49(0)511 935 946.57
Mailto:[EMAIL PROTECTED]
http://www.nepatec.de


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to