summaryrefslogtreecommitdiff
path: root/officecfg
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2022-04-15 00:55:54 +0900
committerTomaž Vajngerl <quikee@gmail.com>2022-04-15 02:49:00 +0200
commite1f3f2e00c37173e5f6f1cbb5235ab95b100bde7 (patch)
treeff1e6c3fb8805c7e2d9c642e0de3dcdbf46f9434 /officecfg
parentabe0080d66fe81013d92bbc3521980e049640f6d (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>
Diffstat (limited to 'officecfg')
-rw-r--r--officecfg/registry/data/org/openoffice/Office/UI/Sidebar.xcu5
-rw-r--r--officecfg/registry/schema/org/openoffice/Office/UI/Sidebar.xcs2
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 ad61ee9033d6..c64da92d8789 100644
--- a/officecfg/registry/data/org/openoffice/Office/UI/Sidebar.xcu
+++ b/officecfg/registry/data/org/openoffice/Office/UI/Sidebar.xcu
@@ -337,6 +337,7 @@
Calc, default, visible ;
Calc, EditCell, visible ;
Calc, Pivot, visible ;
+ Calc, Sparkline, visible ;
</value>
</prop>
<prop oor:name="ImplementationURL" oor:type="xs:string">
@@ -372,6 +373,7 @@
Calc, DrawLine, hidden ;
Calc, EditCell, visible ;
Calc, Pivot, visible, .uno:CellTextDlg ;
+ Calc, Sparkline, visible ;
DrawImpress, Draw, hidden ;
DrawImpress, DrawFontwork, hidden ;
DrawImpress, DrawText, visible ;
@@ -1205,6 +1207,7 @@
Calc, default, visible ;
Calc, EditCell, visible ;
Calc, Pivot, visible ;
+ Calc, Sparkline, visible ;
</value>
</prop>
<prop oor:name="ImplementationURL" oor:type="xs:string">
@@ -1238,6 +1241,7 @@
Calc, EditCell, visible ;
Calc, default, visible ;
Calc, Pivot, visible ;
+ Calc, Sparkline, visible ;
</value>
</prop>
<prop oor:name="ImplementationURL" oor:type="xs:string">
@@ -1271,6 +1275,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: