You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@poi.apache.org by Erick Lichtas <el...@linoma.com> on 2009/12/02 03:18:56 UTC

XSSFCellStyle.setRotation() doesn't work right with negative values

Hi all,

 

It appears that setting the rotation on an XSSFCellStyle works fine with
positive short values, but doesn't work with negative values (mainly testing
-45 and -90).  

 

I ran the same tests to write a 2003 document using an HSSFCellStyle and the
negative rotations appear accurately in the resulting spreadsheet.  So my
guess is there is a bug with this setting in XSSF.

 

I am using the latest nightly build from today (20091201) for this test:

 

poi-3.6-beta1-20091201.jar

poi-ooxml-3.6-beta1-20091201.jar

 

Can anyone else confirm this behavior as a bug?

 

Thanks,

 

Erick Lichtas

 

 <http://www.linomasoftware.com/> Linoma-Software-Logo

1409 Silver Street, Ashland, NE 68003

1-800-949-4696 x714