Ok, I see, this is the newer way of embedding media into PDF's, possibly not supported by iText yet. The annotation code I linked to was to extract multimedia objects embedded in their native formats as annotations, not the newer way which converts them to SWF RichMedia elements. Anyway, if anyone knows how to get this newer data out that would be good.
Keith Leonard Rosenthol-3 wrote: > > 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:ke...@nuix.com] > Sent: Monday, July 06, 2009 10:24 PM > To: itext-questions@lists.sourceforge.net > 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 > iText-questions@lists.sourceforge.net > 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 > iText-questions@lists.sourceforge.net > 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/ > > -- View this message in context: http://www.nabble.com/iText-extracting-SWF-from-PDF.-tp24366152p24382893.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/Challenge _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net 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/