@Override public XSSFColor getFillForegroundColorColor() { return getFillForegroundXSSFColor(); }
/** * Get the foreground fill color. * <p> * Many cells are filled with this, instead of a * background color ({@link #getFillBackgroundColor()}) * </p> * @see IndexedColors * @return fill color, default value is {@link org.apache.poi.ss.usermodel.IndexedColors#AUTOMATIC} */ @Override public short getFillForegroundColor() { XSSFColor clr = getFillForegroundXSSFColor(); return clr == null ? IndexedColors.AUTOMATIC.getIndex() : clr.getIndexed(); }
@Override public XSSFColor getFillForegroundColorColor() { return getFillForegroundXSSFColor(); }
public XSSFColor getFillForegroundColorColor() { return getFillForegroundXSSFColor(); }
private static XSSFColor getCellColor(XSSFCell cell) { return cell.getCellStyle().getFillForegroundXSSFColor(); }
/** * Get the foreground fill color. * <p> * Many cells are filled with this, instead of a * background color ({@link #getFillBackgroundColor()}) * </p> * @see IndexedColors * @return fill color, default value is {@link org.apache.poi.ss.usermodel.IndexedColors#AUTOMATIC} */ @Override public short getFillForegroundColor() { XSSFColor clr = getFillForegroundXSSFColor(); return clr == null ? IndexedColors.AUTOMATIC.getIndex() : clr.getIndexed(); }
/** * Get the foreground fill color. * <p> * Many cells are filled with this, instead of a * background color ({@link #getFillBackgroundColor()}) * </p> * @see IndexedColors * @return fill color, default value is {@link org.apache.poi.ss.usermodel.IndexedColors#AUTOMATIC} */ public short getFillForegroundColor() { XSSFColor clr = getFillForegroundXSSFColor(); return clr == null ? IndexedColors.AUTOMATIC.getIndex() : clr.getIndexed(); }
@Override public void colorStyles(CellStyle style, Formatter out) { XSSFCellStyle cs = (XSSFCellStyle) style; styleColor(out, "background-color", cs.getFillForegroundXSSFColor()); styleColor(out, "color", cs.getFont().getXSSFColor()); }
public void colorStyles(CellStyle style, Formatter out) { XSSFCellStyle cs = (XSSFCellStyle) style; styleColor(out, "background-color", cs.getFillForegroundXSSFColor()); styleColor(out, "color", cs.getFont().getXSSFColor()); }
@Override public void colorStyles(CellStyle style, Formatter out) { XSSFCellStyle cs = (XSSFCellStyle) style; styleColor(out, "background-color", cs.getFillForegroundXSSFColor()); styleColor(out, "text-color", cs.getFont().getXSSFColor()); }
public void colorStyles(CellStyle style, Formatter out) { XSSFCellStyle cs = (XSSFCellStyle) style; styleColor(out, "background-color", cs.getFillForegroundXSSFColor()); styleColor(out, "color", cs.getFont().getXSSFColor()); }
public void colorStyles(CellStyle style, Formatter out) { XSSFCellStyle cs = (XSSFCellStyle) style; styleColor(out, "background-color", cs.getFillForegroundXSSFColor()); styleColor(out, "color", cs.getFont().getXSSFColor()); }
final XSSFColor fillForegroundXSSFColor = style.getFillForegroundXSSFColor(); final String argb = fillForegroundXSSFColor.getARGBHex(); if (argb != null) {
final XSSFColor fillForegroundXSSFColor = style.getFillForegroundXSSFColor(); final String argb = fillForegroundXSSFColor.getARGBHex(); if (argb != null) {
.getFillForegroundXSSFColor(); String argb = fillForegroundXSSFColor.getARGBHex(); if (argb != null) {
xssToStyle.setFillForegroundColor(xssFromStyle.getFillForegroundXSSFColor());