if (fmts.get((Integer.valueOf(fmtId)))!=null) // map it
fmtId= ((Integer)(fmts.get((Integer.valueOf(fmtId))))).intValue();
xf.setFormat((short) fmtId);
}
if (borderId>-1) { // BORDER
Border b= (Border) borders.get(borderId);
xf.setAllBorderLineStyles(b.getBorderStyles()); //bs);
xf.setAllBorderColors(b.getBorderColorInts());
}
if (fillId>0) { // FILL 0 is default
xf.setFill((Fill) fills.get(fillId));
}
// is xf 15 the default? (will happen if converted from xls) ******* very important to avoid unnecessary blank creation *******