Example #1
0
 // existing cells constructor
 private Cell(XElementData data, Row row, SharedStrings sharedStrings)
 {
     this.row           = row;
     this.Data          = data;
     this.sharedStrings = sharedStrings;
     Name = data["r"];
 }
Example #2
0
 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();
 }
Example #3
0
 public static Cell FromExisting(XElementData data, Row row, SharedStrings sharedStrings)
 {
     return(new Cell(data, row, sharedStrings));
 }
Example #4
0
 public static Cell New(XElementData data, Row row, string name, SharedStrings sharedStrings)
 {
     return(new Cell(data, row, name, sharedStrings));
 }