Hello everybody,

I tried to use the HSSFCellStyle.getUserStyle() introduced in POI 3.2.

The method returns just null on a test document.

Has anybody ever had success with getting the user style information?

I rechecked with a fresh build from the latest 3.5 svn version - no
difference.
I saw that the unit test is ok. but just not so with a simple real world
test case.
BiffViewer shows style records like this:

Offset=0x000006E5(1765) recno=67 sid=0x0293 size=0x000B(11)
[STYLE]
    .xf_index_raw =0x0013
        .type     =user-defined
        .xf_index =0x0013
    .name        =style1
[/STYLE]

It would be interesting to verify the link between the cell and the cell
itself
but this is somehow out of my comprehension.

A bugzilla entry with test program and test data is available at
https://issues.apache.org/bugzilla/show_bug.cgi?id=46259


Thanks for any help

Axel

Reply via email to