It's the same fantasy all over again, we just had a thread like this a few
days ago. When you produce "blob.getBinaryStream()" it mean nothing, God
knows what's inside. Save your
blob to a file and look at what's there, you may have a surprise.

----- Original Message ----- 
From: "Ivan Hwang" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, November 02, 2005 7:49 PM
Subject: [iText-questions] PDFReader not getting updated page number


Hi,
I originally have a 1(one) page PDF document stored in a database as a BLOB.
I then retrieve the page and append 2 other PDF pages to the end of the
original document (as giving in the Concatenate example) and resave to the
database. I know the database has all three pages because i have written a
program that will go to the database and display the contents when a link is
pressed. However, when I retrieve the bytes from the database into a
PDFReader (ie , PDFReader reader = new PDFReader(blob.getBinaryStream());),
i then do a reader.getNumberOfPages() and am returned 1 (one) when I am
supposed to get 3(three). Any aid or suggestions are greatly appreciated.
 Cheers,
ivan



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to