[api-dev] Some remarks about cursors

2010-07-07 Thread Patrick Bernard
Hi OOo (version 3.2.1 on Ubuntu 9.10 64 bit) behaves in a strange way. Here are a few examples. 1) The String property of the view cursor doesn't seem to work when text is selected in a table cell. The following macro displays the selected text. When the selected text is inside a table

Re: [api-dev] Some remarks about cursors

2010-07-07 Thread Fernand Vanrie
Patrick, you need here a Tablecursor or use viewcursor.cell.string ' Get The view cursor oViewCursor = thisComponent.getCurrentController().getViewCursor() ' Get Table and the Cell where the View cursor is oTable = oViewCursor.TextTable oCurrentCell = oViewCursor.Cell ' create a