public ExtendedPivotTableViewFieldsRecord(RecordInputStream in) {_grbit1 = in.readInt();_grbit2 = in.readUByte();_citmShow = in.readUByte();_isxdiSort = in.readUShort();_isxdiShow = in.readUShort();switch (in.remaining()) {case 0:_reserved1 = 0;_reserved2 = 0;_subtotalName = null;return;case 10:break;default:throw new RecordFormatException("Unexpected remaining size (" + in.remaining() + ")");}int cchSubName = in.readUShort();_reserved1 = in.readInt();_reserved2 = in.readInt();if (cchSubName != STRING_NOT_PRESENT_LEN) {_subtotalName = in.readUnicodeLEString(cchSubName);}}
public ExtendedPivotTableViewFieldsRecord(RecordInputStream in1){grbit1 = in1.ReadInt();grbit2 = in1.ReadUByte();citmShow = in1.ReadUByte();isxdiSort = in1.ReadUShort();isxdiShow = in1.ReadUShort();switch (in1.Remaining) {case 0:reserved1 = 0;reserved2 = 0;subName = null;return;case 10:break;default:throw new RecordFormatException("Unexpected remaining size (" + in1.Remaining + ")");}int cchSubName = in1.ReadUShort();reserved1 = in1.ReadInt();reserved2 = in1.ReadInt();if (cchSubName != STRING_NOT_PRESENT_LEN){subName = in1.ReadUnicodeLEString(cchSubName);}}