text: public HeaderLineParser(string[] header): base(header){posToF = new FieldName[header.Length];for (int i = 0; i < header.Length; i++){String f = header[i];if (DocMaker.NAME_FIELD.Equals(f, StringComparison.Ordinal)){posToF[i] = FieldName.NAME;}else if (DocMaker.TITLE_FIELD.Equals(f, StringComparison.Ordinal)){posToF[i] = FieldName.TITLE;}else if (DocMaker.DATE_FIELD.Equals(f, StringComparison.Ordinal)){posToF[i] = FieldName.DATE;}else if (DocMaker.BODY_FIELD.Equals(f, StringComparison.Ordinal)){posToF[i] = FieldName.BODY;}else{posToF[i] = FieldName.PROP;}}}