diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2022-04-15 00:55:54 +0900 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2022-04-19 01:49:18 +0200 |
commit | d8426e9928e104f51e0e761374a0fe2e1ba417c8 (patch) | |
tree | b783fe6d8b49ce11e327c15b71d0ee7c3628ead3 /officecfg | |
parent | 12bb012f94b591b5cd46fc7d5f210f9c2736a9b6 (diff) |
sc: introduce SparklineShell and Sparkline context
Having a separate sparkline context is very useful, so we can add
a custom UI when the user has the cursor over a sparkline. This
will allow a "Sparkline" tab for NotebookBar and its own deck in
Sidebar, activated only when the sparkline is present. Also the
pop-up menu can be customized specifically for the sparkline, but
this may be less useful.
For the sparkline context we need a custom shell - SparklineShell
where now all the UNO commands can be implemented (not done in
this commit).
Change-Id: Idca2ad946af3afdd1b494744b80c9c093eec602c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133022
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
(cherry picked from commit e1f3f2e00c37173e5f6f1cbb5235ab95b100bde7)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133062
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Diffstat (limited to 'officecfg')
-rw-r--r-- | officecfg/registry/data/org/openoffice/Office/UI/Sidebar.xcu | 5 | ||||
-rw-r--r-- | officecfg/registry/schema/org/openoffice/Office/UI/Sidebar.xcs | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/officecfg/registry/data/org/openoffice/Office/UI/Sidebar.xcu b/officecfg/registry/data/org/openoffice/Office/UI/Sidebar.xcu index 61b702749b19..bc134ef10486 100644 --- a/officecfg/registry/data/org/openoffice/Office/UI/Sidebar.xcu +++ b/officecfg/registry/data/org/openoffice/Office/UI/Sidebar.xcu @@ -340,6 +340,7 @@ Calc, default, visible ; Calc, EditCell, visible ; Calc, Pivot, visible ; + Calc, Sparkline, visible ; </value> </prop> <prop oor:name="ImplementationURL" oor:type="xs:string"> @@ -375,6 +376,7 @@ Calc, DrawLine, hidden ; Calc, EditCell, visible ; Calc, Pivot, visible, .uno:CellTextDlg ; + Calc, Sparkline, visible ; DrawImpress, Draw, hidden ; DrawImpress, DrawFontwork, hidden ; DrawImpress, DrawText, visible ; @@ -1179,6 +1181,7 @@ Calc, default, visible ; Calc, EditCell, visible ; Calc, Pivot, visible ; + Calc, Sparkline, visible ; </value> </prop> <prop oor:name="ImplementationURL" oor:type="xs:string"> @@ -1212,6 +1215,7 @@ Calc, EditCell, visible ; Calc, default, visible ; Calc, Pivot, visible ; + Calc, Sparkline, visible ; </value> </prop> <prop oor:name="ImplementationURL" oor:type="xs:string"> @@ -1245,6 +1249,7 @@ Calc, EditCell, visible ; Calc, default, visible ; Calc, Pivot, visible ; + Calc, Sparkline, visible ; </value> </prop> <prop oor:name="ImplementationURL" oor:type="xs:string"> diff --git a/officecfg/registry/schema/org/openoffice/Office/UI/Sidebar.xcs b/officecfg/registry/schema/org/openoffice/Office/UI/Sidebar.xcs index 53ad678e3574..1eb7007d3008 100644 --- a/officecfg/registry/schema/org/openoffice/Office/UI/Sidebar.xcs +++ b/officecfg/registry/schema/org/openoffice/Office/UI/Sidebar.xcs @@ -109,7 +109,7 @@ 2 Context name Know context names are 3DObject, Annotation, Auditing, Axis, Cell, Chart, Draw, DrawPage, DrawText, EditCell, ErrorBar, Form, Frame, Graphic, HandoutPage, MasterPage, Media, Multiobj, OLE, OutlineText, - Pivot, Series, SlidesorterPage, Table, Text, TextObject, Trendline + Pivot, Series, SlidesorterPage, Table, Text, TextObject, Trendline, Sparkline default Special values: |