Re: XSSF cell background solid?

2017-05-31 Thread asookazian
I'm trying to achieve the same result: highlight specific rows (all cells in the row) with yellow and solid (no patterns, just a full fill for the background of the text). With version 3.16 of POI, highlighting an entire row only works on empty cells in that row. But highlighting specific cells w

Re: XSSF cell background solid?

2017-05-31 Thread asookazian
This will reproduce by setting rowStyle (works ok if you set cellStyle): import java.io.FileOutputStream; import org.apache.poi.ss.usermodel.Cell; import org.apache.poi.ss.usermodel.CellStyle; import org.apache.poi.ss.usermodel.IndexedColors; import org.apache.poi.ss.usermodel.Row; import org.apa