Patent ID: 6892348

Claim:
A method for reformatting a previously formatted electronic document comprising a plurality of discrete portions of text using a computing device, the method comprising the steps of: receiving user-selections of a color set and a font set; determining a format set based on the user selections of the color set and the font set, the format set comprising a plurality of formats, each format comprising a format font name, a format font color and a format font size; and for each discrete portion of text in the electronic document: analyzing the discrete portion of text to determine a text font name, a text font color and a text font size, for each format in the format set: if the format font name matches the text font name, adding a first determined number to a match quality value associated with the format, if the format font color matches the text font color, adding a second determined number to the match quality value, if the format font size is greater than the text font size, multiplying the ratio of the text font size to the format font size by a third determined number to determine a first product and adding the first product to the match quality value, and if the format font size is not greater than the text font size, multiplying the ratio of the format font size to the text font size by the third determined number to determine a second product and adding the second product to the match quality value, and reformatting the discrete portion of text such that the format having the greatest associated match quality value is applied to the discrete portion of text.