r00fus wrote:
> Mark,
> I've attached the pdf here:
> http://n4.nabble.com/file/n2174232/Test.pdf Test.pdf 
> 
> It's not embedded videos... and most of the attachments themselves are pdfs
> (this example includes a doc file as well).

You're trying to remove document level attachments,
but the attachments are file attachment annotations.

Don't know where you found the example, but you took the wrong one.
(This will all be explained soon in chapter 16 of iText in Action 2E).
-- 
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

------------------------------------------------------------------------------

_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.itextpdf.com/book/
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to