I got your back brother glen!
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352204 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a84cd0a5f0
commit
14940151f7
@ -87,7 +87,7 @@ public class FrillsAndFills
|
|||||||
// Orange "foreground", foreground being the fill foreground not the font color.
|
// Orange "foreground", foreground being the fill foreground not the font color.
|
||||||
style = wb.createCellStyle();
|
style = wb.createCellStyle();
|
||||||
style.setFillForegroundColor(HSSFColor.ORANGE.index);
|
style.setFillForegroundColor(HSSFColor.ORANGE.index);
|
||||||
style.setFillPattern(HSSFCellStyle.SOLID_FILL);
|
style.setFillPattern(HSSFCellStyle.SOLID_FOREGROUND);
|
||||||
cell = row.createCell((short) 2);
|
cell = row.createCell((short) 2);
|
||||||
cell.setCellValue("X");
|
cell.setCellValue("X");
|
||||||
cell.setCellStyle(style);
|
cell.setCellStyle(style);
|
||||||
|
Loading…
Reference in New Issue
Block a user