diff options
author | Matúš Kukan <matus.kukan@gmail.com> | 2013-11-08 22:15:36 +0100 |
---|---|---|
committer | Matúš Kukan <matus.kukan@gmail.com> | 2013-11-13 10:33:19 +0100 |
commit | ac435437e5777ac34858c5f097840d4e87810650 (patch) | |
tree | a0bdf1e77eea06cb8ec8e7cc5d0105493ed9b642 /sc/source/ui/view/cellsh2.cxx | |
parent | 599cb77a3969feb9502b9427e3301c78e5be7af3 (diff) |
Implement data streams dialog that allows importing a stream of data
in CSV format.
It's possible to read directly from a URL
or to run a process and read its output.
Change-Id: I3266c3bb175b73f1023440cca40b2cfab5fcc201
Diffstat (limited to 'sc/source/ui/view/cellsh2.cxx')
-rw-r--r-- | sc/source/ui/view/cellsh2.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sc/source/ui/view/cellsh2.cxx b/sc/source/ui/view/cellsh2.cxx index 12a46a8c3e87..b5d4bf7a84c8 100644 --- a/sc/source/ui/view/cellsh2.cxx +++ b/sc/source/ui/view/cellsh2.cxx @@ -56,6 +56,7 @@ #include "scabstdlg.hxx" #include "impex.hxx" #include "asciiopt.hxx" +#include "datastreams.hxx" #include "queryentry.hxx" #include "markdata.hxx" @@ -733,6 +734,9 @@ void ScCellShell::ExecuteDB( SfxRequest& rReq ) } break; case SID_DATA_STREAMS: + if (!pImpl->m_pDataStreams) + pImpl->m_pDataStreams = new DataStreams(GetViewData()->GetDocShell()); + pImpl->m_pDataStreams->ShowDialog( pTabViewShell->GetDialogParent() ); break; case SID_MANAGE_XML_SOURCE: ExecuteXMLSourceDialog(); |