Patent Document ID: 7779351
Application ID: 11490650

Base Claim:
1. A method, comprising: coloring a generated document by replacing the original colors of a paragraph of a source document with colors used to identify the paragraph and with colors to mark original color boundaries, wherein the colors used to identify the paragraph and the colors used to mark color boundaries include a pair of colors including a first replacement color and a second replacement color; storing values identifying the original colors of the paragraph, including by storing a list of colors corresponding to the original colors of the paragraph; coloring a first character of the paragraph with the first replacement color; coloring a second character of the paragraph with the second replacement color if the original color of the second character is the same as the original color of the first character; coloring the second character of the paragraph with the first replacement color if the original color of the second character is different from the original color of the first character; and using a processor to restore the colors of the source document to the generated document, including by using the first replacement color as an index into the stored list of colors and coloring a first character of a paragraph of the generated document with an indicated color from the stored list of colors.

---

Claim 2:
2. The method of claim 1 , wherein restoring the original colors from the source document to the generated document further includes using the colors used to identify the paragraph and using the colors to mark original color boundaries to retrieve the stored color values.