in a Writer table, using a BASIC macro how can I get how many columns a cell spans ? There is a property, called RowSpan, for reading the numbers of rows but I couldn't find one for the number of columns. Otherwise, is there a way to read the cell size or coordinates (in pixel, mm or inch) ?
My code is something like this:
Code: Select all
sub subTable(oTable)
mCellnames = oTable.getCellNames
for i = 0 to uBound(mCellNames)
sCellName = mCellNames(i)
oCell = oTable.getCellByName(sCellName)
...
next
end sub