Hallo, I tried to consult my work with the Developer's Guide (Text tables section), but I'm not 100 % sure that everything is clear to me. Imagine that I have a special extension with JTable component, which is capable to merge, split cells too. I want to load selected text table into this JTable component => I have to reconstruct text table structure. Are the following premises correct?
o Vertical cell merging I assume that if there are cells A1, A2, A3 and A5 (A4 is missing) that the cell A3 is merged (A3:A4 in a simple table). o Horizontal cell merging It's more complicated. If I have cells in a first row A1, ..., D1 and cells in a second row A2, ..., C2, there is merged cell in a second row. The problem is how to decide which cells are merged (A2:B2, B2:C2, C2:D2 in a simple table)? Should I use TableColumnSeparators? It means, get TableColumnSeparators[] from TextTable, get TableColumnSeparators[] from TextTableRow and compare where they are placed? Or they are same for all rows but IsVisible property is used for merged cells? o Nested cells I assume that the upper premises are valid for nested cells, ie. cells like A1.1.1, A1.1.2, ... Or should I use completely different approach? Regards, -- Robert Vojta --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
