LibreOffice Module sc (master) 1
|
#include <sqldataprovider.hxx>
Public Member Functions | |
SQLDataProvider (ScDocument *pDoc, sc::ExternalDataSource &rDataSource) | |
virtual | ~SQLDataProvider () override |
virtual void | Import () override |
virtual const OUString & | GetURL () const override |
void | ImportFinished () |
Public Member Functions inherited from sc::DataProvider | |
DataProvider (sc::ExternalDataSource &rDataSource) | |
virtual | ~DataProvider () |
virtual void | Import ()=0 |
virtual const OUString & | GetURL () const =0 |
void | setDeterministic () |
Private Attributes | |
ScDocument * | mpDocument |
rtl::Reference< SQLFetchThread > | mxSQLFetchThread |
ScDocumentUniquePtr | mpDoc |
Additional Inherited Members | |
Static Public Member Functions inherited from sc::DataProvider | |
static std::unique_ptr< SvStream > | FetchStreamFromURL (const OUString &, OStringBuffer &rBuffer) |
Protected Attributes inherited from sc::DataProvider | |
bool | mbDeterministic |
If true make the threaded import deterministic for the tests. More... | |
sc::ExternalDataSource & | mrDataSource |
Definition at line 18 of file sqldataprovider.hxx.
sc::SQLDataProvider::SQLDataProvider | ( | ScDocument * | pDoc, |
sc::ExternalDataSource & | rDataSource | ||
) |
Definition at line 125 of file sqldataprovider.cxx.
|
overridevirtual |
Definition at line 131 of file sqldataprovider.cxx.
References mxSQLFetchThread.
|
overridevirtual |
Implements sc::DataProvider.
Definition at line 167 of file sqldataprovider.cxx.
References sc::ExternalDataSource::getURL(), and sc::DataProvider::mrDataSource.
|
overridevirtual |
Implements sc::DataProvider.
Definition at line 140 of file sqldataprovider.cxx.
References sc::ExternalDataSource::getDataTransformation(), sc::ExternalDataSource::getID(), ImportFinished(), sc::DataProvider::mbDeterministic, mpDoc, mpDocument, sc::DataProvider::mrDataSource, mxSQLFetchThread, and SCDOCMODE_CLIP.
void sc::SQLDataProvider::ImportFinished | ( | ) |
Definition at line 160 of file sqldataprovider.cxx.
References sc::ExternalDataSource::getDBManager(), mpDoc, sc::DataProvider::mrDataSource, mxSQLFetchThread, and sc::ScDBDataManager::WriteToDoc().
Referenced by Import().
|
private |
Definition at line 24 of file sqldataprovider.hxx.
Referenced by Import(), and ImportFinished().
|
private |
Definition at line 21 of file sqldataprovider.hxx.
Referenced by Import().
|
private |
Definition at line 22 of file sqldataprovider.hxx.
Referenced by Import(), ImportFinished(), and ~SQLDataProvider().