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/04/18 19:55:51 UTC

[Bug 54863] New: Mismatched value returned by style.getBorder*()

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


[Bug 54863] Mismatched value returned by style.getBorder*()

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54863

Dominik Stadler <do...@gmx.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #1 from Dominik Stadler <do...@gmx.at> ---
Marking this Bug as duplicate of Bug 55341 which has a patch to test and fix
this.

*** This bug has been marked as a duplicate of bug 55341 ***

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


[Bug 54863] Mismatched value returned by style.getBorder*()

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54863

Dominik Stadler <do...@gmx.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dominik.stadler@gmx.at

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