Re: [iText-questions] Extract PDF from a PDF Collection

2013-03-01 Thread sselvia
Thank you for the very detail response, the PDF is extremely helpful. It took a little digging but I got the code working with the PDF that I have and the embedded PDF's. -- View this message in context: http://itext-general.2136553.n4.nabble.com/Extract-PDF-from-a-PDF-Collection-tp4657711p465

Re: [iText-questions] Extract PDF from a PDF Collection

2013-03-01 Thread Leonard Rosenthol
The values of EmbeddedFiles is a Names Tree - so it can have both Names and Kids in any combination Leonard On 2/28/13 11:33 PM, "sselvia" wrote: >Using the code below I'm trying to extract an embedded PDF which I can >see in >Reader. The problem I'm having is the PdfArray file specs = embedde

[iText-questions] Extract PDF from a PDF Collection

2013-03-01 Thread sselvia
Using the code below I'm trying to extract an embedded PDF which I can see in Reader. The problem I'm having is the PdfArray file specs = embedded files.getAsArray(PdfName.NAMES); The content of the embeddedfiles is an KIDS item not NAMES. If I change the code to be KIDS and execute the rest of