示例#1
0
文件: BlankRecord.cs 项目: zhgl7688/-
        public override Object Clone()
        {
            BlankRecord rec = new BlankRecord();

            rec.field_1_row = field_1_row;
            rec.field_2_col = field_2_col;
            rec.field_3_xf  = field_3_xf;
            return(rec);
        }
示例#2
0
        /**
         * Converts a {@link MulBlankRecord} into an equivalent array of {@link BlankRecord}s
         */
        public static BlankRecord[] ConvertBlankRecords(MulBlankRecord mbk)
        {
            BlankRecord[] mulRecs = new BlankRecord[mbk.NumColumns];
            for (int k = 0; k < mbk.NumColumns; k++)
            {
                BlankRecord br = new BlankRecord();

                br.Column  = k + mbk.FirstColumn;
                br.Row     = mbk.Row;
                br.XFIndex = mbk.GetXFAt(k);
                mulRecs[k] = br;
            }
            return(mulRecs);
        }