Thanks a lot for your help! Now I was able to solve my problem by looking again 
at the code. I've made a terrible mistake. But I have one question left. In the 
document of the example

http://examples.itextpdf.com/results/part2/chapter07/movie_annotations_3.pdf

one can see a paperclip and a small textbox above the paperclip. Why are there 
these two symbols? I think it's because of this tow methods?

PdfAnnotation annotation = PdfAnnotation.CreateFileAttachment(writer, null,
                            name, null,
                            name,
                            name);
                    annotation.Put(PdfName.NAME, new PdfString("Paperclip"));

Are they described anywhere?

----- Ursprüngliche Mail -----
Von: "1T3XT" <[email protected]>
An: "Post all your questions about iText here" 
<[email protected]>
Gesendet: Donnerstag, 30. Dezember 2010 10:17:48
Betreff: Re: [iText-questions] Add reference in text to attached file

Op 30/12/2010 8:20, Sebastian Müller schreef:
> It is embedded in the document, but clicking doesnt anything

Yesterday, I referred to an online sample.
Were you able to compile and execute that sample,
and did it work?

What if you adapt that sample using your file?
Do you see the annotation? (For instance a paperclip?)

It would also help if you posted a very simple PDF and
the code to reproduce the problem so that we can see
what you mean.

(Because the online example works, doesn't it?)

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

-- 
Sebastian

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to