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

            Bug ID: 54863
           Summary: Mismatched value returned by style.getBorder*()
           Product: POI
           Version: 3.9
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSSF
          Assignee: [email protected]
          Reporter: [email protected]
    Classification: Unclassified

In POI 3.8 a cell with a dotted border returns CellStyle.BORDER_DOTTED from
cell.getCellStyle().getBorderBottom() when using either HSSF or XSSF.

In POI 3.9 the XSSF version returns CellSTyle.BORDER_HAIR, but the HSSF version
continues to return CellStyle.BORDER_DOTTED.

The comments in CellStyle.class indicate that there is some confusion about
these constants:
    /**
     * dot border
     */

    public final static short BORDER_HAIR = 0x4;

    /**
     * hair-line border
     */

    public final static short BORDER_DOTTED = 0x7;

-- 
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