DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12802>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12802

setting the color of the cell

           Summary: setting the color of the cell
           Product: POI
           Version: 2.0-dev
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Major
          Priority: Other
         Component: POI Overall
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Hi,

  I am using jakarta-poi-1.8.0-dev-20020910.jar . I want to set the cell color 
red. But if I am doing so I am getting the value(content) of the cell as red 
color but not the entire cell red color. I am doing so using following code :

        HSSFCellStyle    cs     = hssfworkbook.createCellStyle();
        HSSFFont         f      = hssfworkbook.createFont();
        f.setColor(f.COLOR_RED);
        cs.setFont(f);
        cell.setCellStyle(cs);

   Is it, that we can't set the cell color(not the content of the 
cell) as red color?

    Will be very happy with your sooner reply.

Rgds,
sm

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to