You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@poi.apache.org by "Mili Aggarwal, Noida" <mi...@noida.hcltech.com> on 2005/01/20 06:59:53 UTC
Use newline across rows?
Hi,
Is it possible to set the cell values across various ros using \n .
Example: If I write hssfCellTemp.setCellValue("Total \n A1 \n A2") for row
no 6 and cell #5; and set wordWrap to true,It enters the value in cell#5 and
Row#6. But if I want that Total ,A1 and A2 should be on different rows,is it
posssible using \n ?????
Warm Regards,
Mili Aggarwal
----------------------------------------------------------------------------
-----------------------------DISCLAIMER-------------------------------------
----------------------------------------------------------------------------
---------
This message and any attachment(s) contained here are information that is
confidential, proprietary to HCL Technologies and its customers. Contents
may be privileged or otherwise protected by law. The information is solely
intended for the individual or the entity it is addressed to. If you are not
the intended recipient of this message, you are not authorized to read,
forward, print, retain, copy or disseminate this message or any part of it.
If you have received this e-mail in error, please notify the sender
immediately by return e-mail and delete it from your computer.
AW: Use newline across rows?
Posted by "KHZ (SAW)" <ka...@sawag.com>.
Hi Mili.
You'll have to program it yourself but it'll surely be possible to
behave like this in your own classes.
Regards, Karl-Heinz.
-----Ursprüngliche Nachricht-----
Von: Mili Aggarwal, Noida [mailto:milia@noida.hcltech.com]
Gesendet: Donnerstag, 20. Januar 2005 07:00
An: poi-user@jakarta.apache.org
Betreff: Use newline across rows?
Hi,
Is it possible to set the cell values across various ros using
\n .
Example: If I write hssfCellTemp.setCellValue("Total \n A1 \n A2") for
row
no 6 and cell #5; and set wordWrap to true,It enters the value in cell#5
and
Row#6. But if I want that Total ,A1 and A2 should be on different
rows,is it
posssible using \n ?????
Warm Regards,
Mili Aggarwal
------------------------------------------------------------------------
----
-----------------------------DISCLAIMER---------------------------------
----
------------------------------------------------------------------------
----
---------
This message and any attachment(s) contained here are information that
is
confidential, proprietary to HCL Technologies and its customers.
Contents
may be privileged or otherwise protected by law. The information is
solely
intended for the individual or the entity it is addressed to. If you are
not
the intended recipient of this message, you are not authorized to read,
forward, print, retain, copy or disseminate this message or any part of
it.
If you have received this e-mail in error, please notify the sender
immediately by return e-mail and delete it from your computer.
---------------------------------------------------------------------
To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
Mailing List: http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project: http://jakarta.apache.org/poi/