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 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 database.
Use the class com.lowagie.tools.plugins.Burst as inspiration
to split the file in the ByteArrayOutputStream into separate pages.
Write each page to another ByteArrayOutputStream. Save the
byte[] obtained from the ByteArrayOutputStream to your database
as a BLOB.
well i didn't find any method to get the ByteArrayOutputStream will you plz
dicuss it in detail
All this procedure will be done without creating any PDF file
You will be creating a PDF file, but without writing it to the file system.
br,
Bruno
Waq
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions