public String toString() {StringBuilder sb = new StringBuilder();sb.append("[STYLE]\n");sb.append("    .xf_index_raw =").append(HexDump.shortToHex(field_1_xf_index)).append("\n");sb.append("        .type     =").append(isBuiltin() ? "built-in" : "user-defined").append("\n");sb.append("        .xf_index =").append(HexDump.shortToHex(getXFIndex())).append("\n");if (isBuiltin()){sb.append("    .builtin_style=").append(HexDump.byteToHex(field_2_builtin_style)).append("\n");sb.append("    .outline_level=").append(HexDump.byteToHex(field_3_outline_style_level)).append("\n");} else {sb.append("    .name        =").append(getName()).append("\n");}sb.append("[/STYLE]\n");return sb.toString();}

public override String ToString(){StringBuilder buffer = new StringBuilder();buffer.Append("[STYLE]\n");buffer.Append("    .xf_index_raw    = ").Append(HexDump.ShortToHex(field_1_xf_index)).Append("\n");buffer.Append("        .type        = ").Append(IsBuiltin?"built-in":"user-defined").Append("\n");buffer.Append("        .xf_index    = ").Append(HexDump.ShortToHex(XFIndex)).Append("\n");if (IsBuiltin){buffer.Append("    .builtin_style   = ").Append(HexDump.ByteToHex(field_2_builtin_style)).Append("\n");buffer.Append("    .outline_level   = ").Append(HexDump.ByteToHex(field_3_outline_style_level)).Append("\n");}else{buffer.Append("    .name            = ").Append(Name).Append("\n");}buffer.Append("[/STYLE]\n");return buffer.ToString();}
