On 23/12/2014 11:56, Denzen, van Carl wrote:
> My first mailing was not accurate enough. The problem you have caught in
> removing the “setAttributes” line will lead to an error while running
> the code. This is another problem (that also occurs in a more severe way
> in iTextSharp, I cannot find a workaround for it in iTextSharp).
>
> The problem I intended to submit was the fact that I can make a pdf, but
> in the created pdf file, the link doesn’t work: the pointer in the
> reader doesn’t change to a hand if I hover over the text that was meant
> as the localGoto.

The exception about the missing F key is already fixed in the 5.5.4 
release.  You probably upgraded your itext jar, but not your itext-pdfa jar.

The reason you don't get a working link when you add the "setAttributes" 
call, is that a GoTo is stored as an attribute of a Chunk.  This is 
later converted into a link annotation.  By overriding the attributes 
with a blank map, you are effectively undoing your "setLocalGoto" call.

I'll check if there's a porting issue in iTextSharp wrt to F key error.

Your code sample did expose a different problem.  This is related to 
outputintents and icc profiles.  The fix is in rev 6658.

Best regards,
Raf

-- 
Raf Hens
Director of Engineering
iText Software

------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
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