You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@poi.apache.org by Steve <st...@Basit.COM> on 2004/08/06 04:42:19 UTC

question re setCellType(HSSFCell.CELL_TYPE_BLANK)

Is it valid to use:   xcell.setCellType(HSSFCell.CELL_TYPE_BLANK);
Is there any reason to do that, rather than simply not creating the cell?

Thanks,
Steve


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


RE: question re setCellType(HSSFCell.CELL_TYPE_BLANK)

Posted by Michael Zalewski <za...@optonline.net>.
A CELL_TYPE_BLANK cell can have formatting applied, such as borders and
background colors.

There is no need to set CELL_TYPE_BLANK if you don't need the formatting (it
would only waste space).

-----Original Message-----
From: Steve [mailto:stephen@Basit.COM]
Sent: Thursday, August 05, 2004 10:42 PM
To: POI Users List
Subject: question re setCellType(HSSFCell.CELL_TYPE_BLANK)


Is it valid to use:   xcell.setCellType(HSSFCell.CELL_TYPE_BLANK);
Is there any reason to do that, rather than simply not creating the cell?

Thanks,
Steve


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


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