hi Volker, shouldn't you just be able to do this each time to get each
cellname?

for (int i = 0; i < xTables.getCount(); i++) {
     XTextTable xTable =
(XTextTable)UnoRuntime.queryInterface(XTextTable.class,
                    xTables.getByIndex(i));

      String[] cellNames = xTable.getCellNames();

      for (int j=0; j<cellNames.length; j++) {
        System.out.println("cell id: " + cellNames[j]);
      }
}

Anh-Tuan

> Hi,
>
> how can I iterate over the cells of a text table range selection. Sure I
> know the range name, i.e. the starting and the ending cell name. But I
> cannot find a way to get to the ones in between. Cells may be split or
> merged.
>
> I find some unanswered questions of the same kind over the last years.
> Has anything changed recently?
>
> Alternatively, is there anyone up to tell me which way or other cell
> renaming is conceived after merging or splitting? And cell selecting as
> well? I don't give up hope for a workaround.
>
> Volker
>
> --
> Volker Lenhardt
> Am Spinnweg 19, 45894 Gelsenkirchen
> Tel.: 0209/30213
> E-Mail: [EMAIL PROTECTED]
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to