You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by "Kommineni, Sateesh (IndSys)" <Sa...@geind.GE.com> on 2002/08/01 13:48:38 UTC

How to Lock and specify the Width of Cells using POI..

Hi,

    I am using POI's HSSF implementation for generating Excel Sheets from my
Java Program.
    How can we lock the Cells in a sheet and how to specify the Width of the
Cell..
    Pls let me know how to achieve the above details...

    Thanks a lot...

-Sateesh


"THIS E-MAIL MESSAGE ALONG WITH ANY ATTACHMENTS IS INTENDED ONLY FOR THE
ADDRESSEE and may contain confidential and privileged information.
If the reader of this message is not the intended recipient,
you are notified that any dissemination, distribution or copy of this 
communication is strictly Prohibited. 
If you have received this message by error, please notify us 
immediately, return the original mail to the sender and delete the 
message from your system."


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>


Re: How to Lock and specify the Width of Cells using POI..

Posted by "Andrew C. Oliver" <ac...@apache.org>.
You cannot currently "lock" cells (assuming you mean ether "protect" via 
encryption or freeze in place).

Look at:

http://xml.apache.org/cocoon/userdocs/serializers/xls-serializer.html

Specifically gmr:ColInfo as well as the webapp/cocoon/samples/poi 
examples (under Legacy Formats
from the menu).

-Andy

Kommineni, Sateesh (IndSys) wrote:

>Hi,
>
>    I am using POI's HSSF implementation for generating Excel Sheets from my
>Java Program.
>    How can we lock the Cells in a sheet and how to specify the Width of the
>Cell..
>    Pls let me know how to achieve the above details...
>
>    Thanks a lot...
>
>-Sateesh
>
>
>"THIS E-MAIL MESSAGE ALONG WITH ANY ATTACHMENTS IS INTENDED ONLY FOR THE
>ADDRESSEE and may contain confidential and privileged information.
>If the reader of this message is not the intended recipient,
>you are notified that any dissemination, distribution or copy of this 
>communication is strictly Prohibited. 
>If you have received this message by error, please notify us 
>immediately, return the original mail to the sender and delete the 
>message from your system."
>
>
>---------------------------------------------------------------------
>Please check that your question  has not already been answered in the
>FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
>
>To unsubscribe, e-mail:     <co...@xml.apache.org>
>For additional commands, e-mail:   <co...@xml.apache.org>
>
>
>  
>




---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>