It can happen. The signature is a kind of annotation and doesn't appear in the page content. You must read the pdf reference to see what is where.
Paulo ----- Original Message ----- From: "Carrie Schindele" <[EMAIL PROTECTED]> To: "Post all your questions about iText here" <[email protected]> Sent: Friday, June 08, 2007 8:27 PM Subject: Re: [iText-questions] getPageContent question >i want to get the byte[] for a specific page of the PDF. I used the >getPageContent method for a pdf without a signature and it returned 192 >bytes. I used the same method with the same PDF except adding a digital >signature to it and got 47 bytes back. > > > ----- Original Message ---- > From: Paulo Soares <[EMAIL PROTECTED]> > To: Post all your questions about iText here > <[email protected]> > Sent: Friday, June 8, 2007 1:38:17 PM > Subject: Re: [iText-questions] getPageContent question > > > Like reading the file to a byte[]? You don't need iText to do that. > > Paulo > > ----- Original Message ----- > From: "Carrie Schindele" <[EMAIL PROTECTED]> > To: "Post all your questions about iText here" > <[email protected]> > Sent: Friday, June 08, 2007 7:24 PM > Subject: Re: [iText-questions] getPageContent question > > >> the byte[] of all the content for the PDF >> >> >> ----- Original Message ---- >> From: Paulo Soares <[EMAIL PROTECTED]> >> To: Post all your questions about iText here >> <[email protected]> >> Sent: Friday, June 8, 2007 1:15:40 PM >> Subject: Re: [iText-questions] getPageContent question >> >> >> What exactly do you expect to get from getPageContent? It won't return >> any >> text. >> >> Paulo >> >> ----- Original Message ----- >> From: "Schindele, Carrie" <[EMAIL PROTECTED]> >> To: <[email protected]> >> Sent: Friday, June 08, 2007 5:35 PM >> Subject: [iText-questions] getPageContent question >> >> >> I am trying to get all of the content for a PDF using the getPageContent >> method. The PDFs that I am having problems with have digital signatures >> on them. When I make the getPageContent method, I am not getting any of >> the actual text for the PDF. I read online that I should get the >> content from the PDF XObject, is that correct and if so...can I get an >> example of how to get this content? ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
