Summary: | [PATCH] constants for HAIR and DOTTED border styles are swapped | ||
---|---|---|---|
Product: | POI | Reporter: | vladk <vladk.dev> |
Component: | POI Overall | Assignee: | POI Developers List <dev> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jim-apache |
Priority: | P2 | ||
Version: | 3.10-dev | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | All | ||
Attachments: |
Patch and unit tests
Excel file to be put into poi/test-data/spreadsheet |
Created attachment 30660 [details]
Excel file to be put into poi/test-data/spreadsheet
Setting cell border style to CellStyle.BORDER_DOTTED produces Excel style "hairline". Setting cell border style to CellStyle.BORDER_HAIR produces Excel style "dotted". The problem is also present when reading Excel files. The problem affects both XLS and XLSX files. *** Bug 54863 has been marked as a duplicate of this bug. *** Thanks for catching this, this is now fixed in latest trunk to be included in version 3.10. |
Created attachment 30659 [details] Patch and unit tests Values of constants CellStyle.BORDER_HAIR and CellStyle.BORDER_DOTTED are swapped. Patch and units tests will be attached.