11. A non-transitory computer-readable storage media having instructions stored thereon, the instructions operable to cause a data processing apparatus to: receive a style, the style being a record-based style defined as a sequence of two or more contiguous style fields and based on one or more rules, each style field being defined so as to apply if a specified number of occurrences of a respective content unit structure are present, each rule based on formatting values or content values or structure values that are associated with a respective content unit structure of at least one of the style fields; receive a command applying the style to formatted text content; identify in response to the received command a result set of multiple logical records within the formatted text content, the logical records being non-overlapping, each logical record having a number of content fields that matches the specified number of occurrences of each style field's respective content unit structure, and each logical record matching formatting values or content values or structure values according to the rules for the style; and display a first logical record in the result set with a demarcation of boundaries between occurrences of the content fields in the first logical record.
11. A non-transitory computer-readable storage media having instructions stored thereon, the instructions operable to cause a data processing apparatus to: receive a style, the style being a record-based style defined as a sequence of two or more contiguous style fields and based on one or more rules, each style field being defined so as to apply if a specified number of occurrences of a respective content unit structure are present, each rule based on formatting values or content values or structure values that are associated with a respective content unit structure of at least one of the style fields; receive a command applying the style to formatted text content; identify in response to the received command a result set of multiple logical records within the formatted text content, the logical records being non-overlapping, each logical record having a number of content fields that matches the specified number of occurrences of each style field's respective content unit structure, and each logical record matching formatting values or content values or structure values according to the rules for the style; and display a first logical record in the result set with a demarcation of boundaries between occurrences of the content fields in the first logical record. 15. The non-transitory computer-readable storage media of claim 11 , wherein the instructions are further operable to cause the data processing apparatus to: display a structure of the style fields in the style matching the first logical record.