I am wondering if we can have multiple styles for the same cells. For
example, if I want to color alternate rows in the spreadsheet in
different colors, I can define 2 styles, evenRowStyle and oddRowStyle.
Then, also, depending on some data, say if a cell in a row (either even
or odd) has a number greater than 1000, then I also want the cell
contents to be bold. Is this possible that I could just set multiple
styles to a given cell e.g.
cell.setCellStyle(evenRowStyle);
cell.setCellStyle(boldStyle);
and all the styles will be implemented? Or will I have to create
separate styles which contain every possible permutation of a style and
just set the appropriate style according to my logic?
Thanks,
HC.