Suppose I iterate over the rows (interface XTableRows, service TextTableRow):
Code: Select all
for row in table.getRows():
print("row " + str(row) + " cells " + str(row.getCount()))
Next I tried to iterate over all cells by their name (method getCellNames() of the XTextTable interface):
Code: Select all
for n in table.getCellNames():
cell = table.getCellByName(n)
Furthermore, looking and the cell names parameter to getCellByName() it seems that table cell names follow a naming convention: columns are enumerated with capital letters A ... Z, and rows with numbers. How does that scheme extend to larger tables, will columns then be named AA, AB, AC, ... , AZ, BA, BB, BC, ... and so forth?