public void CopyRecords(PreservedRecords source, int recordCode) { ArrayList list1 = (ArrayList)source.typeGroupedRecords[recordCode]; if (list1 != null) { foreach (XLSRecord record1 in list1) { this.Add(record1, recordCode); } } }
internal void CopyDrawings(ExcelFile source) { PreservedRecords records1 = source.PreservedGlobalRecords; if (records1 != null) { if (this.PreservedGlobalRecords == null) { this.PreservedGlobalRecords = new PreservedRecords(); } this.PreservedGlobalRecords.CopyRecords(records1, "MSODRAWINGGROUP"); } }
public void CopyRecords(PreservedRecords source, string recordName) { int num1 = XLSDescriptors.GetByName(recordName).Code; this.CopyRecords(source, num1); }
internal PreservedRecords(PreservedRecords source) { this.typeGroupedRecords = new Hashtable(); this.typeGroupedRecords = (Hashtable)source.typeGroupedRecords.Clone(); }