yes, this is to get all the cells.  Sorry, i misunderstood, i don't think
i can help you.




> Anh-Tuan Le schrieb:
>> 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 Anh-Tuan,
>
> isn't this the way to get all of the cells? But I'm looking for a way to
> get the selected cells only.
>
> I've tested around a bit with the TextTableCursor. Thought I could mimic
> the way selecting is done, i.e. down, right, ... But the result is
> different! I'm just at the beginning of my tests, but it seems to me
> that I can't be sure to get all of the selected cells.
>
> So my question: What is the underlying rule for selecting cells in
> complicated text tables? Or is it completely useless to ask this
> question in respect of my goal?
>
> Volker
>
> ---------------------------------------------------------------------
> 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