Planning for the solution may be simplified if we observe that in the two large tables (both preceded by "Conversion for a certain paragraph or table cell:") the writing direction of the document (first column) is irrelevant, having no effect on the outcome case (last column). Thus, the first column and the entire last half of the tables can be omitted.
Likewise, the origin ("Inherited from style") of the direction attribute seems irrelevant, and need not be called out. This eliminates a couple of rows. --TJ (Talk | Contribs) 18:33, 27 July 2010 (UTC)