https://bugs.documentfoundation.org/show_bug.cgi?id=92872
Bug ID: 92872
Summary: CALC cell selection fails
Product: LibreOffice
Version: 4.3.7.2 release
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: BASIC
Assignee: [email protected]
Reporter: [email protected]
When selecting a range with BASIC in CALC the selected range rows and columns
are highlighted in blue on the respective rulers on the left (rows) and top
(columns) but the actual cells are not highlighted in the grid.
As a result various uno: commands fail. In particular
dispatcher.executeDispatch(document, ".uno:Cut", "", 0, Array())
does not actually cut the selected cells, so a subsequent Paste fails.
At other times the Cut succeeds in removing the contents from the grid, but
Paste still does not deliver the cut data.
I am invoking the selection with
args0(0).Name = "By"
args0(0).Value = 1
dispatcher.executeDispatch(document, ".uno:GoDownSel", "", 0, args0())
(args0() has been properly declared previously). But I also tried
args1(0).Name = "By"
args1(0).Value = 1
args1(1).Name = "Sel"
args1(1).Value = true
dispatcher.executeDispatch(document, ".uno:GoDown", "", 0, args1())
and various other alternatives. In each case, the rulers on the left and top
show blue for the selected range, but the actual grid cells are white, not
surrounded with marching ants and colored in the grid.
I am invoking the macro with a control (button) and have ensured that
"Take focus on Click" is set to NO, but the button still keeps the focus
after execution. Ensuring that the cell (not the button) has the focus by
clicking in a cell before clicking the control (button) does not help.
I can send the entire macro code if you wish.
Thanks for all the good work.
C. Andrews (Andy) Lavarre
[email protected]
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs