示例#1
0
        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);
                }
            }
        }
示例#2
0
        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");
            }
        }
示例#3
0
        public void CopyRecords(PreservedRecords source, string recordName)
        {
            int num1 = XLSDescriptors.GetByName(recordName).Code;

            this.CopyRecords(source, num1);
        }
示例#4
0
 internal PreservedRecords(PreservedRecords source)
 {
     this.typeGroupedRecords = new Hashtable();
     this.typeGroupedRecords = (Hashtable)source.typeGroupedRecords.Clone();
 }