Can you post a sample PDF that demonstrates the problem?

The only open source PDF structure viewer that I am aware of is PoDoFo  
Browser - but it's just a browser of the Cos structure.  It won't do  
any validation, etc. for you.  For that, you will need to look at  
commercial solutions.

Leonard

On Nov 17, 2008, at 4:54 AM, Ralf Hauser wrote:

> When using PdfAnnotation.createFileAttachment()...
> and
> annot.setFlags(PdfAnnotation.FLAGS_TOGGLENOVIEW);
>
> Upon double-click on the file attachment, Acrobat returns a pop-up  
> with the
> wonderfully helpful message "There was an error processing an  
> annotation or
> link. There was a problem reading this document (14)."
> A second attempt then succeeds without the warning
>
> Unfortunately, I don't know how to convince the Acrobat Reader how to
> a) provide a more helpful message or
> b) turn on a debug mode with verbose output ("-debug" isn't it :( )
> c) even allow to provide a pdf document structure dump
> Any hints on this are highly appreciated (or hints for alternative  
> free/open
> source pdf debugging/analysis/diagnosis tools).
>
> Finally, took
>  annot.setFlags(PdfAnnotation.FLAGS_INVISIBLE);
> instead that has a similar effect, but not the error;
>
> This is related to an even worse problem in acrobat 9
> http://sourceforge.net/mailarchive/forum.php?thread_name=20105079.post%40tal
> k.nabble.com&forum_name=itext-questions
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's  
> challenge
> Build the coolest Linux based applications with Moblin SDK & win  
> great prizes
> Grand prize is a trip for two to an Open Source event anywhere in  
> the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> iText-questions mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
>
> Buy the iText book: http://www.1t3xt.com/docs/book.php
>


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php

Reply via email to