On Tuesday 21 October 2003 21:48, Benny Pedersen wrote:
> Document document = new Document(PageSize.A4);
> ByteArrayOutputStream buf = new ByteArrayOutputStream();
> RtfWriter writer = RtfWriter.getInstance(document, buf);
> document.open();
> document.close();
> writer.close(); // when omitted, everythig works fine.
There is no need to call the close() method of the writer. The document does 
that for you.

Greetings,
Mark
-- 
The only thing better than love is milk.

My GPG public key is available at:
http://www.edu.uni-klu.ac.at/~mhall/data/security/MarkHall.asc



-------------------------------------------------------
This SF.net email is sponsored by OSDN developer relations
Here's your chance to show off your extensive product knowledge
We want to know what you know. Tell us and you have a chance to win $100
http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to