https://issues.apache.org/bugzilla/show_bug.cgi?id=49689

           Summary: Can't set the user style name on custom cell styles
           Product: POI
           Version: 3.7-dev
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HSSF
        AssignedTo: [email protected]
        ReportedBy: [email protected]


As reported on the mailing list at:
http://mail-archives.apache.org/mod_mbox/poi-user/201007.mbox/%3c000901cb2fd1$7eb48060$7c1d81...@[email protected]%3E

HSSFWorkbook wb = ...
HSSFCellStyle cs = wb.createCellStyle();
cs.setUserStyleName(name);

However, when I try to do that I get an "Unable to set user specified style
names for built in styles!" exception. When I'm creating a new cell style, I
shouldn't be getting a built-in style, should I?

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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

Reply via email to