[Libreoffice-bugs] [Bug 123496] New: Make .uno:GoToCell respect selection mode
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Sat Feb 16 09:48:54 UTC 2019
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: libreoffice-bugs at lists.freedesktop.org
Reporter: todventtu at suomi24.fi
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190216/4ff6ed68/attachment-0001.html>
More information about the Libreoffice-bugs
mailing list