public CFRuleRecord(RecordInputStream in) {setConditionType(in.readByte());setComparisonOperation(in.readByte());int field_3_formula1_len = in.readUShort();int field_4_formula2_len = in.readUShort();readFormatOptions(in);setFormula1(Formula.read(field_3_formula1_len, in));setFormula2(Formula.read(field_4_formula2_len, in));}

public CFRuleRecord(RecordInputStream in1){field_1_condition_type = (byte)in1.ReadByte();field_2_comparison_operator = (byte)in1.ReadByte();int field_3_formula1_len = in1.ReadUShort();int field_4_formula2_len = in1.ReadUShort();field_5_options = in1.ReadInt();field_6_not_used = in1.ReadShort();if (ContainsFontFormattingBlock){_fontFormatting = new FontFormatting(in1);}if (ContainsBorderFormattingBlock){_borderFormatting = new BorderFormatting(in1);}if (ContainsPatternFormattingBlock){_patternFormatting = new PatternFormatting(in1);}field_17_formula1 = FR.Formula.Read(field_3_formula1_len, in1);field_18_formula2 = FR.Formula.Read(field_4_formula2_len, in1);}
