Created attachment 22670 [details] patch Introduced enum classes to use for manage border style and pattern fill. Fixed use of set/getCellBorder and set/getFillPatternType with this new enum classes inside XSSFCellStyle. This patch involve these classes: XSSFCellBorder XSSFCellStyle TextXSSFCellStyle TestXSSFCellBorder BorderStyle(added) PatternFillType (added) XSSFCellFill TestXSSFCellFill
Applied in r701797. Thanks, Yegor