You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by Cristina Hernández Sánchez <cr...@hotmail.com> on 2007/10/15 11:52:09 UTC

FW: writing word with poi



From: cris_maco@hotmail.com
To: dev@poi.apache.org
Subject: writing word with poi
Date: Mon, 15 Oct 2007 11:40:47 +0200








Hello!

I hope I send this message to the correct mail. So, I try to explain as well as I can because I'm spanish and I'm starting with poi.
I know what to do when I want to read a word document, I know the steps I have to do but when I want to write a new document I'm lost. I think I have to do this:
Create a new document: with the instruction createDocument
Register the Listener
Write the information: with this: servletoutputstream.write(data);
Save the information

My problem is that I don't know how to register the Listener and save the information, I don't know the specific instructions. and if I want to set the title of the document, i have to use the class SummaryInformation?

I want to do things more complicated like wite tables and images, this is because I work with JSP and I want to put the data of this pages into a word document.

thank you very much!

Express yourself instantly with MSN Messenger! MSN Messenger

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/