Ejemplo n.º 1
0
        public override object Clone()
        {
            BOFRecord rec = new BOFRecord();

            rec.field_1_version  = field_1_version;
            rec.field_2_type     = field_2_type;
            rec.field_3_build    = field_3_build;
            rec.field_4_year     = field_4_year;
            rec.field_5_history  = field_5_history;
            rec.field_6_rversion = field_6_rversion;
            return(rec);
        }
Ejemplo n.º 2
0
 private BOFRecord CreateBOFRecord()
 {
     BOFRecord r = new BOFRecord();
     r.Version = ((short)600);
     r.Type = ((short)20);
     r.Build = ((short)0x1CFE);
     r.BuildYear = ((short)1997);
     r.HistoryBitMask = (0x40C9);
     r.RequiredVersion = (106);
     return r;
 }
Ejemplo n.º 3
0
 public override object Clone()
 {
     BOFRecord rec = new BOFRecord();
     rec.field_1_version = field_1_version;
     rec.field_2_type = field_2_type;
     rec.field_3_build = field_3_build;
     rec.field_4_year = field_4_year;
     rec.field_5_history = field_5_history;
     rec.field_6_rversion = field_6_rversion;
     return rec;
 }
Ejemplo n.º 4
0
        /// <summary>
        /// Creates the BOF record
        /// </summary>
        /// <returns>record containing a BOFRecord</returns>
        public static Record CreateBOF()
        {
            BOFRecord retval = new BOFRecord();

            retval.Version = ((short)0x600);
            retval.Type = ((short)0x010);

            retval.Build = ((short)0x0dbb);
            retval.BuildYear = ((short)1996);
            retval.HistoryBitMask = (0xc1);
            retval.RequiredVersion = (0x6);
            return retval;
        }
Ejemplo n.º 5
0
        /**
         * Creates the BOF record
         * @see org.apache.poi.hssf.record.BOFRecord
         * @see org.apache.poi.hssf.record.Record
         * @return record containing a BOFRecord
         */

        private static Record CreateBOF()
        {
            BOFRecord retval = new BOFRecord();

            retval.Version=(short)0x600;
            retval.Type=(short)5;
            retval.Build=(short)0x10d3;

            //        retval.Build=(short)0x0dbb;
            retval.BuildYear=(short)1996;
            retval.HistoryBitMask=0x41;   // was c1 before verify
            retval.RequiredVersion=0x6;
            return retval;
        }