Georg Baum wrote: > I don't think so. In general the tabular code is far too close to LaTeX > IMHO, and this is just one case where it shows.
i am glad you say so, it is exactly the feeling i have after staring at the code for some time now... > Another one is the "single > cell multicolumn" problem: The fact that you need \multicolumn if you want > to change the alignment or border of just one cell is a LaTeX > implementation issue, and the user should not need to know that. LyX should > create multicolumn cells automatically if needed. and what about tricks like setting multicolumn on single cells to circumvene decimal alignment by dcolumn? > I believe that you can simplify the tabular code a lot if you go away from > the LaTeX-centric view and implement a more general table model. All the > special LaTeX stuff would then be concentrated in the LaTeX export methods. ok (but perhaps some latex "tricks" are then no longer feasible?) > Of course it should still be possible to easily set/unset borders of whole > rows/columns, but that is orthogonal to the way how the lines are stored. yes, we should make it easy to select complete rows/columns after whcih we can apply our methods on the cell range...