| US 7,350,142 B2 | ||
| Method and system for creating a table version of a document | ||
| Tara M. Kraft, Seattle, Wash. (US); Uladzislau Sudzilouski, Sammamish, Wash. (US); and Jacqui J. Salerno, Tacoma, Wash. (US) | ||
| Assigned to Microsoft Corporation, Redmond, Wash. (US) | ||
| Filed on Jun. 01, 2005, as Appl. No. 11/142,596. | ||
| Prior Publication US 2005/0210372 A1, Sep. 22, 2005 | ||
| This patent is subject to a terminal disclaimer. | ||
| Int. Cl. G06F 15/00 (2006.01); G06F 17/00 (2006.01) | ||
| U.S. Cl. 715—517 [715/502; 715/503; 715/513; 715/520; 715/521; 715/523; 715/529; 715/539; 715/540] | 20 Claims |

| 1. A computer-implemented method for creating a table version of a document, the table version of the document comprising
a plurality of cells, the method comprising:
determining a position of a text object in a document, wherein the text object includes a first boundary that encompasses
a plurality of lines of text, the position being determined according to corresponding horizontal and vertical edge positions
for each line of text in the text object;
generating a second boundary for the text object, wherein the second boundary includes the outermost horizontal and vertical
edge positions of the lines of text in the text object;
determining whether an object in the document overlaps the second boundary of the text object;
setting a property in a corresponding cell of the table version of the document to a value corresponding to a background image
when the overlapping object includes a background image that overlaps the second boundary, wherein the cell is included in
the plurality of cells that correspond to the text object in the table version of the document;
setting the property in a corresponding cell of the table version of the document to a value corresponding to hypertext when
the overlapping object includes hypertext that overlaps the second boundary, wherein the cell is included in the plurality
of cells that correspond to the text object in the table version of the document;
setting the property in a corresponding cell of the table version of the document to a value corresponding to an inline object
when the overlapping object includes an inline object that overlaps the second boundary, wherein the cell is included in the
plurality of cells that correspond to the text object in the table version of the document;
setting the property in a corresponding cell of the table version of the document to a value corresponding to a picture object
when the overlapping object does not include a background image, hypertext or an inline object that overlaps the second boundary,
wherein the cell is included in the plurality of cells that correspond to the text object in the table version of the document;
creating the table version of the document based on the text object, the overlapping object and the corresponding set properties;
and
storing the created table version of the document.
|