I am using OpenOffice uno api to iterate through all text in writer document. To iterate over text tables currently I am using XTextTable interface getCellNames() method. How I could detect merged and split cells. I want to export table to html, so I should calculate colspan and rowspan.
I would appreciate any suggestions… I am out of ideas 🙁
Finally I have the answer (actually colspan part of it). This code is ugly I know, but one day I’ll refactor it 😉
and here it is table parse method