The SWF's in there aren't attachments or embedded files, they are part of a RichMedia annotation. You will need to write different code to get the data from them.
Leonard -----Original Message----- From: keithnuix [mailto:[email protected]] Sent: Monday, July 06, 2009 10:24 PM To: [email protected] Subject: [iText-questions] iText extracting SWF from PDF. The following page shows how to extract attachments from PDF's, including video/sound from the annotations. http://www.1t3xt.com/downloads/source/?page=code&id=466 I downloaded the example pdf file from adobe (movieclip_to_pdf_file.zip), however the swf file doesn't seem to be extracted. I put in some println statements around 'if (!PdfName.FILEATTACHMENT.equals(subType)) ' and I can see the only annotation segments from the iterators are Screen and a lot of Link's. Link to adobes example is: http://www.adobe.com/devnet/captivate/articles/movieclip_to_pdf.html Any ideas on getting this working. -- View this message in context: http://www.nabble.com/iText-extracting-SWF-from-PDF.-tp24366152p24366152.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/blackberry _______________________________________________ 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 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/ ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/blackberry _______________________________________________ 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 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/
