private int method_8(OpenOfficePropertyId A_0) { this.binaryWriter_0.Write((short)A_0); int position = (int)this.binaryWriter_0.BaseStream.Position; this.binaryWriter_0.Write((short)0); return(position); }
private void method_3() { OpenOfficePropertyId id = (OpenOfficePropertyId)this.binaryReader_0.ReadInt16(); int num = this.binaryReader_0.ReadInt16(); if (num == -1) { num = this.binaryReader_0.ReadInt32(); } long position = this.binaryReader_0.BaseStream.Position; Class1035 class2 = this.class460_0.method_29(); switch (id) { case OpenOfficePropertyId.Udl: class2.method_12(this.method_8(num)); return; case OpenOfficePropertyId.TableName: class2.method_8(this.method_8(num)); return; case OpenOfficePropertyId.DataSource: class2.method_6(this.method_8(num)); return; case OpenOfficePropertyId.DataSourceType: class2.method_10((OdsoDataSourceType)this.binaryReader_0.ReadInt32()); return; case OpenOfficePropertyId.ColumnDelimeter: class2.method_2((char)((ushort)this.binaryReader_0.ReadInt16())); return; case OpenOfficePropertyId.FirstRowContainsColumnNames: class2.method_4(this.binaryReader_0.ReadInt32() != 0); return; case OpenOfficePropertyId.RecipientInfo: this.method_4(num); return; case OpenOfficePropertyId.FieldMapInfo: this.method_6(num); return; } this.binaryReader_0.ReadBytes(num); }