public ExternalNameRecord(RecordInputStream in) {field_1_option_flag = in.readShort();field_2_ixals       = in.readShort();field_3_not_used    = in.readShort();int numChars = in.readUByte();field_4_name = StringUtil.readUnicodeString(in, numChars);if(!isOLELink() && !isStdDocumentNameIdentifier()){if(isAutomaticLink()){if(in.available() > 0) {int nColumns = in.readUByte() + 1;int nRows = in.readShort() + 1;int totalCount = nRows * nColumns;_ddeValues = ConstantValueParser.parse(in, totalCount);_nColumns = nColumns;_nRows = nRows;}} else {int formulaLen = in.readUShort();field_5_name_definition = Formula.read(formulaLen, in);}}}

public ExternalNameRecord ( RecordInputStream in ) { field_1_option_flag = in . readShort ( ) ; field_2_ixals = in . readShort ( ) ; field_3_not_used = in . readShort ( ) ; int numChars = in . readUByte ( ) ; field_4_name = StringUtil . readUnicodeString ( in , numChars ) ; if ( ! isOLELink ( ) && ! isStdDocumentNameIdentifier ( ) ) { if ( isAutomaticLink ( ) ) { if ( in . available ( ) > 0 ) { int nColumns = in . readUByte ( ) + 1 ; int nRows = in . readShort ( ) + 1 ; int totalCount = nRows * nColumns ; _ddeValues = ConstantValueParser . parse ( in , totalCount ) ; _nColumns = nColumns ; _nRows = nRows ; } } else { int formulaLen = in . readUShort ( ) ; field_5_name_definition = Formula . read ( formulaLen , in ) ; } } }
public ExternalNameRecord(RecordInputStream in1){field_1_option_flag = in1.ReadShort();field_2_ixals = in1.ReadShort();field_3_not_used = in1.ReadShort();int numChars = in1.ReadUByte();field_4_name = StringUtil.ReadUnicodeString(in1, numChars);if (!IsOLELink && !IsStdDocumentNameIdentifier){if (IsAutomaticLink){if (in1.Available() > 0){int nColumns = in1.ReadUByte() + 1;int nRows = in1.ReadShort() + 1;int totalCount = nRows * nColumns;_ddeValues = ConstantValueParser.Parse(in1, totalCount);_nColumns = nColumns;_nRows = nRows;}}else{int formulaLen = in1.ReadUShort();field_5_name_definition = Formula.Read(formulaLen, in1);}}}
