示例#1
0
        public new object Clone()
        {
            RKRecord rec = new RKRecord();

            CopyBaseFields(rec);
            rec.field_4_rk_number = field_4_rk_number;
            return(rec);
        }
示例#2
0
        /// <summary>
        /// RK record is a slightly smaller alternative to NumberRecord
        /// POI likes NumberRecord better
        /// </summary>
        /// <param name="rk">The rk.</param>
        /// <returns></returns>
        public static NumberRecord ConvertToNumberRecord(RKRecord rk)
        {
            NumberRecord num = new NumberRecord();

            num.Column  = (rk.Column);
            num.Row     = (rk.Row);
            num.XFIndex = (rk.XFIndex);
            num.Value   = (rk.RKNumber);
            return(num);
        }