public CellStyle Apply(CellStyle style) { if (style.alignment != null) { alignment = style.alignment; } if (style.border != null) { border = style.border; } if (style.fill != null) { fill = style.fill; } if (style.font != null) { font = style.font; } if (style.format != null) { format = style.format; } return(this); }
public CellStyle Apply(CellStyle style) { if (style.alignment != null) alignment = style.alignment; if (style.border != null) border = style.border; if (style.fill != null) fill = style.fill; if (style.font != null) font = style.font; if (style.format != null) format = style.format; return this; }
public Workbook() { Sheets = new SheetCollection(); DefaultFont = new CellFont(); DefinedNames = new DefinedNameCollection(); }