From a08f9ed2341bc60faae6b86538661fea40417ace Mon Sep 17 00:00:00 2001 From: Tomaž Vajngerl Date: Sat, 9 Apr 2022 14:30:22 +0900 Subject: sc: add UI, undo/redo and test to change sparkline data range MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This adds a "edit sparkline" action to the context menu and a dialog to change the data range of a sparkline. To change a sparkline using undo/redo, a new class UndoEditSparkline was added, which allows to change the attributes of a sparkline and revert back the old attributes when undoing. This is then used in the Dialog when setting the changed data range of a sparkline. To make sure that undo/redo works correctly, a simple unit tests was added. Change-Id: I08af1813fa288278bc0d33b0540660b325b17235 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132748 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl --- officecfg/registry/data/org/openoffice/Office/UI/CalcCommands.xcu | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'officecfg/registry/data') diff --git a/officecfg/registry/data/org/openoffice/Office/UI/CalcCommands.xcu b/officecfg/registry/data/org/openoffice/Office/UI/CalcCommands.xcu index 2bd6210666e3..5c608969da64 100644 --- a/officecfg/registry/data/org/openoffice/Office/UI/CalcCommands.xcu +++ b/officecfg/registry/data/org/openoffice/Office/UI/CalcCommands.xcu @@ -1122,6 +1122,14 @@ 1 + + + Edit Sparkline... + + + 1 + + Edit Sparkline Group... -- cgit v1.2.3