Patent ID: 7533332

Claim:
A computer-readable storage medium comprising computer executable instructions which, when executed on a computer, will cause the computer to perform a method of determining a table style for a table, the table style capable of being applied to another table, the method comprising: determining an optimal uniform body pattern for the table from among a plurality of different uniform body assumptions, the plurality of uniform body assumptions comprising a table having a uniform body pattern without any rows or columns made up of cells with different table style properties than a majority cell style, wherein the optimal uniform body pattern is determined by determining a majority cell style from among a plurality of different cell styles, the majority cell style composed of the most prevalent cell properties in the table, wherein if two or more of the plurality of different cell styles are composed of the most prevalent cell properties in the table, then selecting any one of the two or more cell styles as the majority cell style; determining an optimal row banding body pattern for the table; determining an optimal column banding body pattern for the table; and determining an overall optimal body pattern for the table wherein the overall optimal body pattern comprises the table style capable of being applied to another table.