示例#1
0
 public Record(Record record)
 {
     Type = record.Type;
     Size = record.Size;
     Data = record.Data;
     ContinuedRecords = record.ContinuedRecords;
 }
示例#2
0
 public EOF(Record record)
     : base(record)
 {
 }
示例#3
0
 public CALCCOUNT(Record record)
     : base(record)
 {
 }
示例#4
0
 public CALCCOUNT(Record record) : base(record)
 {
 }
 public DEFCOLWIDTH(Record record)
     : base(record)
 {
 }
示例#6
0
 public ROW(Record record)
     : base(record)
 {
 }
 public BOUNDSHEET(Record record)
     : base(record)
 {
 }
示例#8
0
 public CALCMODE(Record record) : base(record)
 {
 }
示例#9
0
 public STRING(Record record)
     : base(record)
 {
 }
示例#10
0
 public CellValue(Record record)
     : base(record)
 {
 }
示例#11
0
 public CALCMODE(Record record)
     : base(record)
 {
 }
示例#12
0
 public MULRK(Record record)
     : base(record)
 {
 }
示例#13
0
 public static Record ReadBase(Stream stream)
 {
     BinaryReader reader = new BinaryReader(stream);
     Record record = new Record();
     record.Type = reader.ReadUInt16();
     record.Size = reader.ReadUInt16();
     record.Data = reader.ReadBytes(record.Size);
     return record;
 }
 public MSODRAWINGGROUP(Record record)
     : base(record)
 {
 }
示例#15
0
        public static Record Read(Stream stream)
        {
            Record record = Record.ReadBase(stream);

            switch (record.Type)
            {
            case RecordType.BOF:
                return(new BOF(record));

            case RecordType.ARRAY:
                return(new ARRAY(record));

            case RecordType.BACKUP:
                return(new BACKUP(record));

            case RecordType.BLANK:
                return(new BLANK(record));

            case RecordType.BOOKBOOL:
                return(new BOOKBOOL(record));

            case RecordType.BOTTOMMARGIN:
                return(new BOTTOMMARGIN(record));

            case RecordType.BOUNDSHEET:
                return(new BOUNDSHEET(record));

            case RecordType.CALCCOUNT:
                return(new CALCCOUNT(record));

            case RecordType.CALCMODE:
                return(new CALCMODE(record));

            case RecordType.CODEPAGE:
                return(new CODEPAGE(record));

            case RecordType.DIMENSIONS:
                return(new DIMENSIONS(record));

            case RecordType.MULBLANK:
                return(new MULBLANK(record));

            case RecordType.MULRK:
                return(new MULRK(record));

            case RecordType.ROW:
                return(new ROW(record));

            case RecordType.RSTRING:
                return(new RSTRING(record));

            case RecordType.SST:
                return(new SST(record));

            case RecordType.CONTINUE:
                return(new CONTINUE(record));

            case RecordType.FORMULA:
                return(new FORMULA(record));

            case RecordType.XF:
                return(new XF(record));

            case RecordType.BITMAP:
                return(new BITMAP(record));

            case RecordType.OBJ:
                return(new OBJ(record));

            case RecordType.DATEMODE:
                return(new DATEMODE(record));

            case RecordType.MSODRAWINGGROUP:
                return(new MSODRAWINGGROUP(record));

            case RecordType.MSODRAWING:
                return(new MSODRAWING(record));

            case RecordType.MSODRAWINGSELECTION:
                return(new MSODRAWINGSELECTION(record));

            case RecordType.STRING:
                return(new STRING(record));

            case RecordType.EOF:
                return(new EOF(record));

            case RecordType.BOOLERR:
                return(new BOOLERR(record));

            case RecordType.LABELSST:
                return(new LABELSST(record));

            case RecordType.NUMBER:
                return(new NUMBER(record));

            case RecordType.RK:
                return(new RK(record));

            case RecordType.DBCELL:
                return(new DBCELL(record));

            case RecordType.EXTSST:
                return(new EXTSST(record));

            case RecordType.WINDOW1:
                return(new WINDOW1(record));

            case RecordType.FORMAT:
                return(new FORMAT(record));

            case RecordType.FONT:
                return(new FONT(record));

            case RecordType.COLINFO:
                return(new COLINFO(record));

            case RecordType.PALETTE:
                return(new PALETTE(record));

            case RecordType.STANDARDWIDTH:
                return(new STANDARDWIDTH(record));

            case RecordType.DEFCOLWIDTH:
                return(new DEFCOLWIDTH(record));

            default:
                return(record);
            }
        }
示例#16
0
 public DIMENSIONS(Record record)
     : base(record)
 {
 }
 public MSOCONTAINER(Record record)
     : base(record)
 {
 }
 public BOTTOMMARGIN(Record record)
     : base(record)
 {
 }
示例#19
0
 public OBJ(Record record)
     : base(record)
 {
 }
示例#20
0
 public MSODRAWING(Record record)
     : base(record)
 {
 }
示例#21
0
 public CONTINUE(Record record)
     : base(record)
 {
 }
示例#22
0
 public CellValue(Record record) : base(record)
 {
 }
示例#23
0
 public BOOLERR(Record record)
     : base(record)
 {
 }
示例#24
0
 public COLINFO(Record record)
     : base(record)
 {
 }
示例#25
0
 public BOOKBOOL(Record record)
     : base(record)
 {
 }
示例#26
0
 public NUMBER(Record record)
     : base(record)
 {
 }
示例#27
0
 public MULBLANK(Record record)
     : base(record)
 {
 }
 public StringDecoder(Record record, BinaryReader reader)
 {
     this.record = record;
     this.reader = reader;
 }
示例#29
0
 public DATEMODE(Record record)
     : base(record)
 {
 }
示例#30
0
 public BACKUP(Record record)
     : base(record)
 {
 }
示例#31
0
 public FORMULA(Record record)
     : base(record)
 {
 }
示例#32
0
 public DBCELL(Record record)
     : base(record)
 {
 }
示例#33
0
 public WINDOW1(Record record)
     : base(record)
 {
 }
示例#34
0
 public CODEPAGE(Record record)
     : base(record)
 {
 }
示例#35
0
 public BOUNDSHEET(Record record) : base(record)
 {
 }