Re: [iText-questions] Storing document page by page in DB

2006-06-07 Thread bruno
Please do not mail me personally. Jesús Vallejo Ramos wrote: I have a pdf to which I have added one to him watermark and I need to keep it in a field BLOB. How can do it? Let me try to understand the question. You have created a PDF. Or you have added watermarks to an existing PDF.

Re: [iText-questions] Storing document page by page in DB

2006-05-16 Thread Waq lala
(); } catch (IOException ex) { } } Waq From: bruno [EMAIL PROTECTED] To: Waq lala [EMAIL PROTECTED] CC: itext-questions@lists.sourceforge.net Subject: Re: [iText-questions] Storing document page by page in DB Date: Mon, 15 May 2006 16:12:18 +0200 Waq lala wrote: hahaha I am

Re: [iText-questions] Storing document page by page in DB

2006-05-16 Thread Waq lala
Hi, From: bruno [EMAIL PROTECTED] To: itext-questions@lists.sourceforge.net, [EMAIL PROTECTED] Subject: Re: [iText-questions] Storing document page by page in DB Date: Mon, 15 May 2006 11:15:36 +0200 Waq lala wrote: Hi, I want to creat a document without creating any PDF file. Write

[iText-questions] Storing document page by page in DB

2006-05-16 Thread Waq lala
Hi, I want to creat a document without creating any PDF file. I also want to save the document in the database page by page e.g. suppose i have created 5 pages in a document and i want to save these pages seperatly in to the database. All this procedure will be done without creating any PDF

Re: [iText-questions] Storing document page by page in DB

2006-05-16 Thread bruno
Waq lala wrote: I found that if the size of a file is less then the size of that blob object buffer then it will not store any data I don't know anything about BLOB object code in Oracle, but it sounds like you need something like a flush() method. I execute this code. its fine for now.

Re: [iText-questions] Storing document page by page in DB

2006-05-16 Thread bruno
Waq lala wrote: Hi, I want to creat a document without creating any PDF file. Write everything to a ByteArrayOutputStream. I also want to save the document in the database page by page e.g. suppose i have created 5 pages in a document and i want to save these pages seperatly in to the

Re: [iText-questions] Storing document page by page in DB

2006-05-16 Thread bruno
Waq lala wrote: hahaha I am not amused. yes i execute it and as i told u that i m able to store this Blob Object. I must have missed that. Your mail was hard to understand. now i m still there where i was... I have no idea where that is. I want to store the document object in

Re: [iText-questions] Storing document page by page in DB

2006-05-16 Thread bruno
Waq lala wrote: well i didn't find any method to get the ByteArrayOutputStream will you plz dicuss it in detail ??? Yesterday, you wrote: pdfOutputStream = new ByteArrayOutputStream(); Document doc = new Document(); PdfWriterwriter = writer.getInstance(doc, pdfOutputStream); doc.open();