https://bugs.documentfoundation.org/show_bug.cgi?id=123496
Bug ID: 123496
Summary: Make .uno:GoToCell respect selection mode
Product: LibreOffice
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: enhancement
Priority: medium
Component: sdk
Assignee: [email protected]
Reporter: [email protected]
Blocks: 109139
Would be nice, if .uno:GoToCell behaved like moving with arrow keys in Extended
or Adding selection modes.
In Extended, it would extend the selection.
In Adding, it would not lose the existing selection (and only move the focus
rectangle to the target cell).
With this functionality, a perfect workaround macro for bug 123490 could be
created.
Example of a simple GoToCell macro:
sub GoingToCell
dim document as object
dim dispatcher as object
document = ThisComponent.CurrentController.Frame
dispatcher = createUnoService("com.sun.star.frame.DispatchHelper")
dim args1(0) as new com.sun.star.beans.PropertyValue
args1(0).Name = "ToPoint"
args1(0).Value = "$F$17"
dispatcher.executeDispatch(document, ".uno:GoToCell", "", 0, args1())
end sub
Referenced Bugs:
https://bugs.documentfoundation.org/show_bug.cgi?id=109139
[Bug 109139] [META] Cell selection bugs and enhancements
--
You are receiving this mail because:
You are the assignee for the bug._______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs