On Thu, Jan 20, 2011 at 11:10 AM, Nick Burch <[email protected]> wrote:
> On Thu, 20 Jan 2011, Mark Volkmann wrote:
>>
>> style.setRotation((short) 90);
>> style.setAlignment(CellStyle.ALIGN_CENTER);
>> style.setVerticalAlignment(CellStyle.ALIGN_CENTER);
>
> I think you need the VERTICAL_ ones though, eg
> http://poi.apache.org/apidocs/org/apache/poi/ss/usermodel/CellStyle.html#VERTICAL_CENTER

That did it! Thanks!

style.setRotation((short) 90);
style.setAlignment(CellStyle.ALIGN_CENTER);
style.setVerticalAlignment(CellStyle.VERTICAL_CENTER);

-- 
R. Mark Volkmann
Object Computing, Inc.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to