You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2013/08/08 04:07:45 UTC

[Bug 55386] New: when getBoldweight is normal,shouldn't be set the html to the font-weight: bold

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

            Bug ID: 55386
           Summary: when getBoldweight is normal,shouldn't be set the html
                    to the font-weight: bold
           Product: POI
           Version: 3.10-dev
          Hardware: PC
                OS: All
            Status: NEW
          Severity: critical
          Priority: P2
         Component: POI Overall
          Assignee: dev@poi.apache.org
          Reporter: fujian1115@gmail.com

org.apache.poi.ss.examples.html.ToHtml.fontStyle(CellStyle)


        if (font.getBoldweight() >= HSSFFont.BOLDWEIGHT_NORMAL)
            out.format("  font-weight: bold;%n");

when the bold-weight is normal, the font-weight should be set to normal to, not
be set to bold.

shoudle change the >= to >.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org