https://bz.apache.org/bugzilla/show_bug.cgi?id=48344
lsq27 <lushaoqian...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lushaoqian...@gmail.com --- Comment #17 from lsq27 <lushaoqian...@gmail.com> --- Created attachment 38460 --> https://bz.apache.org/bugzilla/attachment.cgi?id=38460&action=edit set cell style when cell is being created I meet this problem too. Only column style is taken account of when cell is being created. I make some changes as follows: * In the constructor of HSSFCell and SXSSFCell, row style and column style are checked in order. If no style exists, fallback to the default style. * In the constructor of XSSFCell, cell style, row style and column style are checked in order. If no style exists, fallback to the default style. * When HSSFRow.setRowStyle(null) is invoked, row is unformatted and row style is set to default. * When wrting SXSSFCell to file, cell style is always set.(When a cell has row style but not cell style, ms office render it default style but openoffice not, so explicitly setting cell style is necessary.) -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org For additional commands, e-mail: dev-h...@poi.apache.org