poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 54863] New: Mismatched value returned by style.getBorder*()
Date Thu, 18 Apr 2013 17:55:51 GMT

            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: dev@poi.apache.org
          Reporter: jim-apache@spudsoft.co.uk
    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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org

View raw message