You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@poi.apache.org by pk...@gmail.com on 2009/12/28 09:33:24 UTC

How to create a shared xls (HSSF) file with POI

HI,

I would like to know How to create a shared xls (HSSF) file with POI

thx for your reply ,

Cordialement,

Philippe KOUBAKA

----------------------------------------------------------
Philippe Koubaka
Email: pkoubaka@gmail.com -
---------------------------------------------------------

L'intégrité de ce message n'étant pas assurée sur internet, Philippe KOUBAKA
ne peut être tenu responsable de son contenu.
Toute utilisation ou diffusion non autorisée est
interdite. Si vous n'êtes pas destinataire de ce message, merci de le
détruire et d'avertir l'expéditeur (pkoubaka@gmail.com)



The integrity of this message not being ensured on Internet, Philippe
KOUBAKA cannot be held responsible for its contents.
Any use or diffusion not - authorized is
prohibited. If you summers not recipient of this message, thank you to
destroy it and inform the shipper (pkoubaka@gmail.com)

Re: How to create a shared xls (HSSF) file with POI

Posted by pk...@gmail.com.
HI
Mark

thx for your response


Cordialement,

Philippe KOUBAKA

----------------------------------------------------------
Philippe Koubaka
Email: pkoubaka@gmail.com -
---------------------------------------------------------

L'intégrité de ce message n'étant pas assurée sur internet, Philippe KOUBAKA
ne peut être tenu responsable de son contenu.
Toute utilisation ou diffusion non autorisée est
interdite. Si vous n'êtes pas destinataire de ce message, merci de le
détruire et d'avertir l'expéditeur (pkoubaka@gmail.com)



The integrity of this message not being ensured on Internet, Philippe
KOUBAKA cannot be held responsible for its contents.
Any use or diffusion not - authorized is
prohibited. If you summers not recipient of this message, thank you to
destroy it and inform the shipper (pkoubaka@gmail.com)


2009/12/28 MSB <ma...@tiscali.co.uk>

>
> Hello Philippe,
>
> Please do not accept this as the definitiave answer because I could very
> well be wrong; however, I do think that the answer to your question is no.
> As far as I am aware, the API does not expose this funtionality to users.
>
> Having said that, I think that you do have a relativly simple solution open
> to you. Simply use Excel itself to create a template file, make sure that
> template is shared and then save it away. Now, open the template file using
> POI and populate the sheet/sheets and I think that when you save the
> resulting file away again it will still be a shared file because POI adopts
> a policy where it preserves properties that it does not expose to the user.
>
> Hope this helps.
>
> Yours
>
> Mark B
>
> PS When I say template, I do not actually mean that you have to create a
> .xlt file, a .xls will work perfectly well so you could even open and
> modify
> a pre-existing file if it was shared.
>
>
> pkoubaka wrote:
> >
> > HI,
> >
> > I would like to know How to create a shared xls (HSSF) file with POI
> >
> > thx for your reply ,
> >
> > Cordialement,
> >
> > Philippe KOUBAKA
> >
> > ----------------------------------------------------------
> > Philippe Koubaka
> > Email: pkoubaka@gmail.com -
> > ---------------------------------------------------------
> >
> > L'intégrité de ce message n'étant pas assurée sur internet, Philippe
> > KOUBAKA
> > ne peut être tenu responsable de son contenu.
> > Toute utilisation ou diffusion non autorisée est
> > interdite. Si vous n'êtes pas destinataire de ce message, merci de le
> > détruire et d'avertir l'expéditeur (pkoubaka@gmail.com)
> >
> >
> >
> > The integrity of this message not being ensured on Internet, Philippe
> > KOUBAKA cannot be held responsible for its contents.
> > Any use or diffusion not - authorized is
> > prohibited. If you summers not recipient of this message, thank you to
> > destroy it and inform the shipper (pkoubaka@gmail.com)
> >
> >
>
> --
> View this message in context:
> http://old.nabble.com/How-to-create-a-shared-xls-%28HSSF%29-file-with-POI-tp26940758p26942382.html
> Sent from the POI - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
> For additional commands, e-mail: user-help@poi.apache.org
>
>

Re: How to create a shared xls (HSSF) file with POI

Posted by MSB <ma...@tiscali.co.uk>.
Hello Philippe,

Please do not accept this as the definitiave answer because I could very
well be wrong; however, I do think that the answer to your question is no.
As far as I am aware, the API does not expose this funtionality to users.

Having said that, I think that you do have a relativly simple solution open
to you. Simply use Excel itself to create a template file, make sure that
template is shared and then save it away. Now, open the template file using
POI and populate the sheet/sheets and I think that when you save the
resulting file away again it will still be a shared file because POI adopts
a policy where it preserves properties that it does not expose to the user.

Hope this helps.

Yours

Mark B

PS When I say template, I do not actually mean that you have to create a
.xlt file, a .xls will work perfectly well so you could even open and modify
a pre-existing file if it was shared.


pkoubaka wrote:
> 
> HI,
> 
> I would like to know How to create a shared xls (HSSF) file with POI
> 
> thx for your reply ,
> 
> Cordialement,
> 
> Philippe KOUBAKA
> 
> ----------------------------------------------------------
> Philippe Koubaka
> Email: pkoubaka@gmail.com -
> ---------------------------------------------------------
> 
> L'intégrité de ce message n'étant pas assurée sur internet, Philippe
> KOUBAKA
> ne peut être tenu responsable de son contenu.
> Toute utilisation ou diffusion non autorisée est
> interdite. Si vous n'êtes pas destinataire de ce message, merci de le
> détruire et d'avertir l'expéditeur (pkoubaka@gmail.com)
> 
> 
> 
> The integrity of this message not being ensured on Internet, Philippe
> KOUBAKA cannot be held responsible for its contents.
> Any use or diffusion not - authorized is
> prohibited. If you summers not recipient of this message, thank you to
> destroy it and inform the shipper (pkoubaka@gmail.com)
> 
> 

-- 
View this message in context: http://old.nabble.com/How-to-create-a-shared-xls-%28HSSF%29-file-with-POI-tp26940758p26942382.html
Sent from the POI - User mailing list archive at Nabble.com.


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