LibreOffice Module sc (master) 1
|
Abstract class for all data provider. More...
#include <dataprovider.hxx>
Public Member Functions | |
DataProvider (sc::ExternalDataSource &rDataSource) | |
virtual | ~DataProvider () |
virtual void | Import ()=0 |
virtual const OUString & | GetURL () const =0 |
void | setDeterministic () |
Static Public Member Functions | |
static std::unique_ptr< SvStream > | FetchStreamFromURL (const OUString &, OStringBuffer &rBuffer) |
Protected Attributes | |
bool | mbDeterministic |
If true make the threaded import deterministic for the tests. More... | |
sc::ExternalDataSource & | mrDataSource |
Abstract class for all data provider.
Definition at line 67 of file dataprovider.hxx.
sc::DataProvider::DataProvider | ( | sc::ExternalDataSource & | rDataSource | ) |
Definition at line 206 of file dataprovider.cxx.
|
virtual |
Definition at line 217 of file dataprovider.cxx.
|
static |
Definition at line 33 of file dataprovider.cxx.
References comphelper::getProcessComponentContext(), and xStream.
Referenced by sc::HTMLFetchThread::execute(), and sc::CSVFetchThread::execute().
|
pure virtual |
Implemented in sc::HTMLDataProvider, sc::SQLDataProvider, sc::XMLDataProvider, and sc::CSVDataProvider.
|
pure virtual |
Implemented in sc::HTMLDataProvider, sc::SQLDataProvider, sc::XMLDataProvider, and sc::CSVDataProvider.
void sc::DataProvider::setDeterministic | ( | ) |
Definition at line 212 of file dataprovider.cxx.
References mbDeterministic.
|
protected |
If true make the threaded import deterministic for the tests.
Definition at line 73 of file dataprovider.hxx.
Referenced by sc::HTMLDataProvider::Import(), sc::SQLDataProvider::Import(), sc::XMLDataProvider::Import(), sc::CSVDataProvider::Import(), and setDeterministic().
|
protected |
Definition at line 74 of file dataprovider.hxx.
Referenced by sc::HTMLDataProvider::GetURL(), sc::SQLDataProvider::GetURL(), sc::XMLDataProvider::GetURL(), sc::CSVDataProvider::GetURL(), sc::HTMLDataProvider::Import(), sc::SQLDataProvider::Import(), sc::XMLDataProvider::Import(), sc::CSVDataProvider::Import(), sc::HTMLDataProvider::ImportFinished(), sc::SQLDataProvider::ImportFinished(), sc::XMLDataProvider::ImportFinished(), and sc::CSVDataProvider::ImportFinished().