/** * set font scheme property * * @param scheme - FontScheme enum value * @see FontScheme */ public void SetScheme(FontScheme scheme) { NPOI.OpenXmlFormats.Spreadsheet.CT_FontScheme ctFontScheme = _ctFont.sizeOfSchemeArray() == 0 ? _ctFont.AddNewScheme() : _ctFont.GetSchemeArray(0); ST_FontScheme val = (ST_FontScheme)scheme.Value; ctFontScheme.val = val; }
public bool Equals(ST_FontScheme other) { if (other == null) { return(false); } return(_ooxmlEnumerationValue == other._ooxmlEnumerationValue); }
static ST_FontScheme() { none = new ST_FontScheme("none"); major = new ST_FontScheme("major"); minor = new ST_FontScheme("minor"); }
static ST_FontScheme() { ST_FontScheme.none = new ST_FontScheme("none"); ST_FontScheme.major = new ST_FontScheme("major"); ST_FontScheme.minor = new ST_FontScheme("minor"); }