// existing cells constructor private Cell(XElementData data, Row row, SharedStrings sharedStrings) { this.row = row; this.Data = data; this.sharedStrings = sharedStrings; Name = data["r"]; }
public Workbook(string rootFolder, ContentTypes contentTypes, SharedStrings sharedStrings) { this.rootFolder = rootFolder; this.contentTypes = contentTypes; this.SharedStrings = sharedStrings; this.path = rootFolder + contentTypes.GetWorkbookPath(); this.xlFolder = Path.GetDirectoryName(path); ReadContents(); }
public static Cell FromExisting(XElementData data, Row row, SharedStrings sharedStrings) { return(new Cell(data, row, sharedStrings)); }
public static Cell New(XElementData data, Row row, string name, SharedStrings sharedStrings) { return(new Cell(data, row, name, sharedStrings)); }