You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@poi.apache.org by Vibhuti Pithwa <vi...@gmail.com> on 2013/09/26 07:56:43 UTC

Can apache poi be used to create outlook appointment ?

Hi poi users,
I am new to apache poi and wanted to know can I create an outlook
appointment using apache poi hsmf and how I should go about it ?
I read somewhere it is only used to read and extract data and we cannot
create something like outlook appointment . Correct me if I am wrong.

Regards,
Vibhuti Pithwa

Re: Can apache poi be used to create outlook appointment ?

Posted by Nick Burch <ap...@gagravarr.org>.
On Thu, 26 Sep 2013, Vibhuti Pithwa wrote:
> I am new to apache poi and wanted to know can I create an outlook
> appointment using apache poi hsmf and how I should go about it ?

With a lot of work...

> I read somewhere it is only used to read and extract data and we cannot
> create something like outlook appointment . Correct me if I am wrong.

Currently, HSMF is read-only, but a lot of the stubs are there for 
read-write support. If you wanted to add this support, you'd need to do 
something like:
* Get HSMF so it can open a file, then save it again without changes
* Work out what chunks are needed to handle an appointment, and add
   support for those
* Work out what chunks get modified to add a reference to an appointment,
   and add modify/save support to those
* Work out how the new appointment chunks fit together, and code up some
   high level support for adding a consistent set of them

If you do fancy adding this support in, we'd love some patches! Join dev@ 
if you plan to, and we can all give you some advice on doing it

Nick

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
For additional commands, e-mail: user-help@poi.apache.org