LibreOffice Module sc (master) 1
|
#include <xmldataprovider.hxx>
Public Member Functions | |
XMLDataProvider (ScDocument *pDoc, sc::ExternalDataSource &rDataSource) | |
virtual | ~XMLDataProvider () 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< XMLFetchThread > | mxXMLFetchThread |
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 xmldataprovider.hxx.
sc::XMLDataProvider::XMLDataProvider | ( | ScDocument * | pDoc, |
sc::ExternalDataSource & | rDataSource | ||
) |
Definition at line 85 of file xmldataprovider.cxx.
|
overridevirtual |
Definition at line 91 of file xmldataprovider.cxx.
References mxXMLFetchThread.
|
overridevirtual |
Implements sc::DataProvider.
Definition at line 123 of file xmldataprovider.cxx.
References sc::ExternalDataSource::getURL(), and sc::DataProvider::mrDataSource.
|
overridevirtual |
Implements sc::DataProvider.
Definition at line 100 of file xmldataprovider.cxx.
References sc::ExternalDataSource::getDataTransformation(), sc::ExternalDataSource::getID(), sc::ExternalDataSource::getURL(), sc::ExternalDataSource::getXMLImportParam(), ImportFinished(), sc::DataProvider::mbDeterministic, mpDoc, mpDocument, sc::DataProvider::mrDataSource, mxXMLFetchThread, and SCDOCMODE_CLIP.
void sc::XMLDataProvider::ImportFinished | ( | ) |
Definition at line 121 of file xmldataprovider.cxx.
References sc::ExternalDataSource::getDBManager(), mpDoc, sc::DataProvider::mrDataSource, and sc::ScDBDataManager::WriteToDoc().
Referenced by Import().
|
private |
Definition at line 23 of file xmldataprovider.hxx.
Referenced by Import(), and ImportFinished().
|
private |
Definition at line 21 of file xmldataprovider.hxx.
Referenced by Import().
|
private |
Definition at line 22 of file xmldataprovider.hxx.
Referenced by Import(), and ~XMLDataProvider().