diff options
author | Matúš Kukan <matus.kukan@gmail.com> | 2013-11-07 15:51:31 +0100 |
---|---|---|
committer | Matúš Kukan <matus.kukan@gmail.com> | 2013-11-13 10:33:18 +0100 |
commit | f2b3cedc01d66eb42d7ad94d158f3c7ea3c96c41 (patch) | |
tree | b49b46a68a648f641c365d98f31b6e7f43714b19 | |
parent | f7d01def98cf542172e0f1dcebb9f35964c5c1ee (diff) |
add menu item for data streams dialog
Change-Id: I2f27afbaf91b31be2711fcb581bfd86bc103f1cb
-rw-r--r-- | officecfg/registry/data/org/openoffice/Office/UI/CalcCommands.xcu | 5 | ||||
-rw-r--r-- | sc/inc/sc.hrc | 2 | ||||
-rw-r--r-- | sc/sdi/cellsh.sdi | 1 | ||||
-rw-r--r-- | sc/sdi/scalc.sdi | 24 | ||||
-rw-r--r-- | sc/source/ui/view/cellsh2.cxx | 3 | ||||
-rw-r--r-- | sc/uiconfig/scalc/menubar/menubar.xml | 1 |
6 files changed, 35 insertions, 1 deletions
diff --git a/officecfg/registry/data/org/openoffice/Office/UI/CalcCommands.xcu b/officecfg/registry/data/org/openoffice/Office/UI/CalcCommands.xcu index 9a32ed6a9ff6..9b0387362246 100644 --- a/officecfg/registry/data/org/openoffice/Office/UI/CalcCommands.xcu +++ b/officecfg/registry/data/org/openoffice/Office/UI/CalcCommands.xcu @@ -1288,6 +1288,11 @@ <value xml:lang="en-US">Select ~Range...</value> </prop> </node> + <node oor:name=".uno:DataStreams" oor:op="replace"> + <prop oor:name="Label" oor:type="xs:string"> + <value xml:lang="en-US">Strea~ms...</value> + </prop> + </node> <node oor:name=".uno:ManageXMLSource" oor:op="replace"> <prop oor:name="Label" oor:type="xs:string"> <value xml:lang="en-US">~XML Source...</value> diff --git a/sc/inc/sc.hrc b/sc/inc/sc.hrc index d90108355b1d..021bbd285eaf 100644 --- a/sc/inc/sc.hrc +++ b/sc/inc/sc.hrc @@ -91,6 +91,8 @@ #define SID_SCFORMULAOPTIONS (SC_VIEW_START + 20) #define SID_SCDEFAULTSOPTIONS (SC_VIEW_START + 21) +#define SID_DATA_STREAMS (SC_VIEW_START + 35) + // slot-IDs for attributes #define SID_SCATTR_PROTECTION (SC_VIEW_START + 36) // protection-page diff --git a/sc/sdi/cellsh.sdi b/sc/sdi/cellsh.sdi index 6fe3b249b911..298e28c6c4d3 100644 --- a/sc/sdi/cellsh.sdi +++ b/sc/sdi/cellsh.sdi @@ -51,6 +51,7 @@ interface CellSelection SID_REFRESH_DBAREA [ ExecMethod = ExecuteDB; StateMethod = GetDBState; ] SID_SBA_BRW_INSERT [ ExecMethod = ExecuteDB; StateMethod = GetDBState; ] SID_SELECT_DB [ ExecMethod = ExecuteDB; StateMethod = GetDBState; ] + SID_DATA_STREAMS [ ExecMethod = ExecuteDB; ] SID_MANAGE_XML_SOURCE [ ExecMethod = ExecuteDB; StateMethod = GetDBState; ] SID_SORT [ ExecMethod = ExecuteDB; StateMethod = GetDBState; ] SID_DATA_FORM [ ExecMethod = ExecuteDB; StateMethod = GetDBState; ] diff --git a/sc/sdi/scalc.sdi b/sc/sdi/scalc.sdi index e89202330c4e..e78ef95125e5 100644 --- a/sc/sdi/scalc.sdi +++ b/sc/sdi/scalc.sdi @@ -6124,6 +6124,30 @@ SfxVoidItem SelectDB SID_SELECT_DB GroupId = GID_DATA; ] +SfxVoidItem DataStreams SID_DATA_STREAMS +() +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = TRUE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = FALSE, + RecordAbsolute = FALSE, + RecordPerSet; + Synchron; + + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = FALSE, + GroupId = GID_DATA; +] + SfxVoidItem ManageXMLSource SID_MANAGE_XML_SOURCE (SfxStringItem DbName SID_MANAGE_XML_SOURCE) [ diff --git a/sc/source/ui/view/cellsh2.cxx b/sc/source/ui/view/cellsh2.cxx index c373d2d96cc4..12a46a8c3e87 100644 --- a/sc/source/ui/view/cellsh2.cxx +++ b/sc/source/ui/view/cellsh2.cxx @@ -732,7 +732,8 @@ void ScCellShell::ExecuteDB( SfxRequest& rReq ) } } break; - + case SID_DATA_STREAMS: + break; case SID_MANAGE_XML_SOURCE: ExecuteXMLSourceDialog(); break; diff --git a/sc/uiconfig/scalc/menubar/menubar.xml b/sc/uiconfig/scalc/menubar/menubar.xml index 04b059d618f8..9bbc711634fe 100644 --- a/sc/uiconfig/scalc/menubar/menubar.xml +++ b/sc/uiconfig/scalc/menubar/menubar.xml @@ -443,6 +443,7 @@ <menu:menuitem menu:id=".uno:SelectDB"/> <menu:menuitem menu:id=".uno:DataAreaRefresh"/> <menu:menuseparator/> + <menu:menuitem menu:id=".uno:DataStreams"/> <menu:menuitem menu:id=".uno:ManageXMLSource"/> <menu:menuseparator/> <menu:menuitem menu:id=".uno:DataSort"/> |