diff options
-rw-r--r-- | include/sfx2/sidebar/EnumContext.hxx | 3 | ||||
-rw-r--r-- | officecfg/registry/data/org/openoffice/Office/UI/Sidebar.xcu | 101 | ||||
-rw-r--r-- | officecfg/registry/schema/org/openoffice/Office/UI/Sidebar.xcs | 6 | ||||
-rw-r--r-- | sfx2/source/sidebar/EnumContext.cxx | 3 |
4 files changed, 94 insertions, 19 deletions
diff --git a/include/sfx2/sidebar/EnumContext.hxx b/include/sfx2/sidebar/EnumContext.hxx index b77c977c4009..785e6eff2dae 100644 --- a/include/sfx2/sidebar/EnumContext.hxx +++ b/include/sfx2/sidebar/EnumContext.hxx @@ -74,6 +74,7 @@ public: Context_DrawPage, Context_DrawText, Context_EditCell, + Context_ErrorBar, Context_Form, Context_Frame, Context_Graphic, @@ -85,10 +86,12 @@ public: Context_OLE, Context_OutlineText, Context_Pivot, + Context_Series, Context_SlidesorterPage, Context_Table, Context_Text, Context_TextObject, + Context_Trendline, // Default context of an application. Do we need this? Context_Default, diff --git a/officecfg/registry/data/org/openoffice/Office/UI/Sidebar.xcu b/officecfg/registry/data/org/openoffice/Office/UI/Sidebar.xcu index a6ce71ccbb7c..da8c01fe0569 100644 --- a/officecfg/registry/data/org/openoffice/Office/UI/Sidebar.xcu +++ b/officecfg/registry/data/org/openoffice/Office/UI/Sidebar.xcu @@ -1162,69 +1162,69 @@ </prop> </node> - <node oor:name="ChartAreaPanel" oor:op="replace"> + <node oor:name="ChartSeriesPanel" oor:op="replace"> <prop oor:name="Title" oor:type="xs:string"> - <value xml:lang="en-US">Area</value> + <value xml:lang="en-US">Data Series</value> </prop> <prop oor:name="Id" oor:type="xs:string"> - <value>ChartAreaPanel</value> + <value>SeriesPanel</value> </prop> <prop oor:name="DeckId" oor:type="xs:string"> <value>ChartDeck</value> </prop> <prop oor:name="ContextList"> <value oor:separator=";"> - Chart, any, visible ; + Chart, Series, visible ; </value> </prop> <prop oor:name="ImplementationURL" oor:type="xs:string"> - <value>private:resource/toolpanel/ChartPanelFactory/AreaPanel</value> + <value>private:resource/toolpanel/ChartPanelFactory/SeriesPanel</value> </prop> <prop oor:name="OrderIndex" oor:type="xs:int"> <value>2</value> </prop> </node> - <node oor:name="ChartLinePanel" oor:op="replace"> + <node oor:name="ChartTrendlinePanel" oor:op="replace"> <prop oor:name="Title" oor:type="xs:string"> - <value xml:lang="en-US">Line</value> + <value xml:lang="en-US">Trnedline</value> </prop> <prop oor:name="Id" oor:type="xs:string"> - <value>ChartLinePanel</value> + <value>ChartTrendlinePanel</value> </prop> <prop oor:name="DeckId" oor:type="xs:string"> <value>ChartDeck</value> </prop> <prop oor:name="ContextList"> <value oor:separator=";"> - Chart, any, visible ; + Chart, Trendline, visible ; </value> </prop> <prop oor:name="ImplementationURL" oor:type="xs:string"> - <value>private:resource/toolpanel/ChartPanelFactory/LinePanel</value> + <value>private:resource/toolpanel/ChartPanelFactory/TrendlinePanel</value> </prop> <prop oor:name="OrderIndex" oor:type="xs:int"> <value>3</value> </prop> </node> - <node oor:name="ChartCharacterPanel" oor:op="replace"> + <node oor:name="ChartErrorBarPanel" oor:op="replace"> <prop oor:name="Title" oor:type="xs:string"> - <value xml:lang="en-US">Character</value> + <value xml:lang="en-US">Error Bar</value> </prop> <prop oor:name="Id" oor:type="xs:string"> - <value>ChartCharacterPanel</value> + <value>ChartErrorBarPanel</value> </prop> <prop oor:name="DeckId" oor:type="xs:string"> <value>ChartDeck</value> </prop> <prop oor:name="ContextList"> <value oor:separator=";"> - Chart, any, visible ; + Chart, ErrorBar, visible ; </value> </prop> <prop oor:name="ImplementationURL" oor:type="xs:string"> - <value>private:resource/toolpanel/ChartPanelFactory/CharacterPanel</value> + <value>private:resource/toolpanel/ChartPanelFactory/ErrorBarPanel</value> </prop> <prop oor:name="OrderIndex" oor:type="xs:int"> <value>4</value> @@ -1243,7 +1243,7 @@ </prop> <prop oor:name="ContextList"> <value oor:separator=";"> - Chart, any, visible ; + Chart, Axis, visible ; </value> </prop> <prop oor:name="ImplementationURL" oor:type="xs:string"> @@ -1254,6 +1254,75 @@ </prop> </node> + <node oor:name="ChartAreaPanel" oor:op="replace"> + <prop oor:name="Title" oor:type="xs:string"> + <value xml:lang="en-US">Area</value> + </prop> + <prop oor:name="Id" oor:type="xs:string"> + <value>ChartAreaPanel</value> + </prop> + <prop oor:name="DeckId" oor:type="xs:string"> + <value>ChartDeck</value> + </prop> + <prop oor:name="ContextList"> + <value oor:separator=";"> + Chart, any, visible ; + </value> + </prop> + <prop oor:name="ImplementationURL" oor:type="xs:string"> + <value>private:resource/toolpanel/ChartPanelFactory/AreaPanel</value> + </prop> + <prop oor:name="OrderIndex" oor:type="xs:int"> + <value>6</value> + </prop> + </node> + + <node oor:name="ChartLinePanel" oor:op="replace"> + <prop oor:name="Title" oor:type="xs:string"> + <value xml:lang="en-US">Line</value> + </prop> + <prop oor:name="Id" oor:type="xs:string"> + <value>ChartLinePanel</value> + </prop> + <prop oor:name="DeckId" oor:type="xs:string"> + <value>ChartDeck</value> + </prop> + <prop oor:name="ContextList"> + <value oor:separator=";"> + Chart, any, visible ; + </value> + </prop> + <prop oor:name="ImplementationURL" oor:type="xs:string"> + <value>private:resource/toolpanel/ChartPanelFactory/LinePanel</value> + </prop> + <prop oor:name="OrderIndex" oor:type="xs:int"> + <value>7</value> + </prop> + </node> + + <node oor:name="ChartCharacterPanel" oor:op="replace"> + <prop oor:name="Title" oor:type="xs:string"> + <value xml:lang="en-US">Character</value> + </prop> + <prop oor:name="Id" oor:type="xs:string"> + <value>ChartCharacterPanel</value> + </prop> + <prop oor:name="DeckId" oor:type="xs:string"> + <value>ChartDeck</value> + </prop> + <prop oor:name="ContextList"> + <value oor:separator=";"> + Chart, any, visible ; + </value> + </prop> + <prop oor:name="ImplementationURL" oor:type="xs:string"> + <value>private:resource/toolpanel/ChartPanelFactory/CharacterPanel</value> + </prop> + <prop oor:name="OrderIndex" oor:type="xs:int"> + <value>8</value> + </prop> + </node> + </node> </node> </oor:component-data> diff --git a/officecfg/registry/schema/org/openoffice/Office/UI/Sidebar.xcs b/officecfg/registry/schema/org/openoffice/Office/UI/Sidebar.xcs index 1e6234a4ebda..81772511b806 100644 --- a/officecfg/registry/schema/org/openoffice/Office/UI/Sidebar.xcs +++ b/officecfg/registry/schema/org/openoffice/Office/UI/Sidebar.xcs @@ -107,9 +107,9 @@ none 2 Context name - Know context names are 3DObject, Annotation, Auditing, Cell, Chart, Draw, DrawPage, DrawText, - EditCell, Form, Frame, Graphic, HandoutPage, MasterPage, Media, Multiobj, OLE, OutlineText, - Pivot, SlidesorterPage, Table, Text, TextObject, + 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 default Special values: diff --git a/sfx2/source/sidebar/EnumContext.cxx b/sfx2/source/sidebar/EnumContext.cxx index f7db2edd0e2c..e84ce1c629bc 100644 --- a/sfx2/source/sidebar/EnumContext.cxx +++ b/sfx2/source/sidebar/EnumContext.cxx @@ -184,6 +184,7 @@ void EnumContext::ProvideContextContainers() AddContext(DrawPage); AddContext(DrawText); AddContext(EditCell); + AddContext(ErrorBar); AddContext(Form); AddContext(Frame); AddContext(Graphic); @@ -195,10 +196,12 @@ void EnumContext::ProvideContextContainers() AddContext(OLE); AddContext(OutlineText); AddContext(Pivot); + AddContext(Series); AddContext(SlidesorterPage); AddContext(Table); AddContext(Text); AddContext(TextObject); + AddContext(Trendline); #undef AddContext } } |