Patent ID: 8595615

Claim:
A system for applying named styles to a plurality of documents, the system comprising: a processor configured to perform the steps comprising: scanning each one of a plurality of documents in its entirety at the single character level, each document comprising a plurality of characters; an identification module identifying all style attributes associated with each individual character in each scanned document; identifying within each one of the plurality of documents one or more style regions, each style region comprising groupings of individual characters having uniform style attributes; identifying one or more of the style attributes associated with each identified style region; creating an attribute vector for each identified style region, each attribute vector comprising a type and a value for all identified style attributes for the associated identified style region; and using the attribute vectors to group the identified regions from all documents together into one or more style groups having similar style attributes, the style groups comprising: style groups comprising style regions derived from a single document; and style groups comprising style regions derived from two or more documents; averaging the style attributes associated with the style regions contained in each style group to generate a named style sheet for each style group; and modifying style attributes associated with each style region within each style group to be identical to the style attributes of the named style generated from each style group.