diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2017-10-08 17:50:39 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2017-10-12 02:26:45 +0200 |
commit | 0448c3c9de5a5fe9f6bd7caa9b8502a276744df4 (patch) | |
tree | 85b514a0e779701553cc3010afd804482f9330a4 /sc/inc | |
parent | 2dd1645d7cd12e8f5d8e950af3d156f8df2fa417 (diff) |
adapt dataprovider to the requirements of the new UI
Change-Id: If10a68a27591f3195ef85c21ea98324903819b36
Reviewed-on: https://gerrit.libreoffice.org/43256
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'sc/inc')
-rw-r--r-- | sc/inc/datamapper.hxx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sc/inc/datamapper.hxx b/sc/inc/datamapper.hxx index f872f50143b8..b935e2ac36cc 100644 --- a/sc/inc/datamapper.hxx +++ b/sc/inc/datamapper.hxx @@ -25,6 +25,7 @@ namespace sc { class ScDBDataManager; class DataProvider; class ScDBDataManager; +class DataTransformation; class SC_DLLPUBLIC ExternalDataSource { @@ -67,6 +68,8 @@ private: std::shared_ptr<DataProvider> mpDataProvider; std::shared_ptr<ScDBDataManager> mpDBDataManager; + std::vector<std::shared_ptr<sc::DataTransformation>> maDataTransformations; + ScDocument* mpDoc; public: @@ -79,6 +82,8 @@ public: void setUpdateFrequency(double nUpdateFrequency); void setID(const OUString& rID); + void setURL(const OUString& rURL); + void setProvider(const OUString& rProvider); const OUString& getURL() const; const OUString& getProvider() const; @@ -86,8 +91,12 @@ public: double getUpdateFrequency() const; OUString getDBName() const; void setDBData(const ScDBData* pDBData); + ScDBDataManager* getDBManager(); void refresh(ScDocument* pDoc, bool bDeterministic = false); + + void AddDataTransformation(std::shared_ptr<sc::DataTransformation> mpDataTransformation); + const std::vector<std::shared_ptr<sc::DataTransformation>>& getDataTransformation() const; }; class SC_DLLPUBLIC ExternalDataMapper |