private void Reset() { this.worksheets = new ExcelWorksheetCollection(this); this.cachedMsoDrawingGroupArguments = null; this.cellStyleCache = new CellStyleCachedCollection(QueueSizeFromAffectedCellsLimit(this.groupMethodsAffectedCellsLimit)); this.protectedMbr = false; this.summaryStream = null; this.documentSummaryStream = null; this.PreservedGlobalRecords = null; this.use1904DateSystem = false; }
public CellStyleData(CellStyleCachedCollection parentCollection, bool isDefault) : base(parentCollection, isDefault) { this.HorizontalAlignment = HorizontalAlignmentStyle.General; this.VerticalAlignment = VerticalAlignmentStyle.Bottom; this.PatternStyle = FillPatternStyle.None; this.PatternBackgroundColor = Color.White; this.PatternForegroundColor = Color.Black; this.Locked = true; this.NumberFormat = string.Empty; this.FontData = new ExcelFontData(); this.BorderColor = new Color[] { Color.Black, Color.Black, Color.Black, Color.Black, Color.Black }; this.BorderStyle = new LineStyle[5]; this.BordersUsed = MultipleBorders.None; }
internal CellStyle(CellStyleCachedCollection styleCollection) { this.UseFlags = CellStyleData.Properties.None; this.element = (CellStyleData)styleCollection.DefaultElement; }
private void Initialize() { SpreadsheetInfo.ValidateLicense(this); this.worksheets = new ExcelWorksheetCollection(this); this.cellStyleCache = new CellStyleCachedCollection(QueueSizeFromAffectedCellsLimit(this.groupMethodsAffectedCellsLimit)); }