Re: [Libreoffice] Inconsistencies in GoDownSel and GoUpSel (cell selection in Calc)

2011-07-28 Thread Eike Rathke
Hi Olivier, On Wednesday, 2011-07-27 21:05:06 -0300, Olivier Hallot wrote: > I am not skilled in C++ (thanks for your patience), but scslots.hxx looks > different for GoUpSel and GoDownSel, if that matters, around the line that > starts with "73/*Offset*/" and "74/*Offset*/" The parameters are

Re: [Libreoffice] Inconsistencies in GoDownSel and GoUpSel (cell selection in Calc)

2011-07-28 Thread Caolán McNamara
On Wed, 2011-07-27 at 21:05 -0300, Olivier Hallot wrote: > 2) ... the code > > rem > -- > dim args2(0) as new com.sun.star.beans.PropertyValue > args2(0).Name = "By" > args2(0).Value = 10 > > dispatcher.executeDispatch(document,

Re: [Libreoffice] Inconsistencies in GoDownSel and GoUpSel (cell selection in Calc)

2011-07-27 Thread Olivier Hallot
Thans Eike for the enlighment. I am not skilled in C++ (thanks for your patience), but scslots.hxx looks different for GoUpSel and GoDownSel, if that matters, around the line that starts with "73/*Offset*/" and "74/*Offset*/" // Slot Nr. 145 : 26521 SFX_NEW_SLOT_ARG( ScCellShell,SID_CURSORD

Re: [Libreoffice] Inconsistencies in GoDownSel and GoUpSel (cell selection in Calc)

2011-07-27 Thread Eike Rathke
Hi Olivier, On Wednesday, 2011-07-27 14:50:33 -0300, Olivier Hallot wrote: > Investigating sc/sdi/cellsh.sdi > [...] > So it looks like GoDownSel has an argument "By", which seems to be "select > FN_PARAM_1 cells down", but GoUpSel (GoRightSel and GoLeftSel) does not have > this parameter. > > W

[Libreoffice] Inconsistencies in GoDownSel and GoUpSel (cell selection in Calc)

2011-07-27 Thread Olivier Hallot
Hi Investigating sc/sdi/cellsh.sdi I see the following code for the commands GoDown, GoDownSel, GoUp, GoUpSel (+ left and right movement and selection) //cursor down SfxVoidItem GoDown SID_CURSORDOWN ( SfxInt16Item By FN_PARAM_1, SfxBoolItem Sel FN_PARAM_2 ) [