You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@poi.apache.org by Kristof Van Cleemput <kv...@schaubroeck.be> on 2003/02/03 09:39:20 UTC
RE: Spreadsheet Cell Formatting
Use different cell styles =>
cs1 (ALIGN_RIGHT)
cs2 (ALIGN_CENTER)
same for different fonts, ....
Groetjes
Kristof
-----Oorspronkelijk bericht-----
Van: Stuart Houston [mailto:stuart.houston@pha.co.za]
Verzonden: donderdag 30 januari 2003 07:28
Aan: poi-user@jakarta.apache.org
Onderwerp: Spreadsheet Cell Formatting
Hi
Could someone perhaps tell me if its possible to set the alignment of an
Individual cell in a spreadsheet?
I have tried getting the HSSFCellStyle and setting the alignment to
ALIGN_RIGHT but that effectively aligns ALL the cells in the speadsheet
to the right
Is there any way of aligning a single cell to the right?
Thanks
Stuart