LibreOffice Module sc (master) 1
|
#include <htmldataprovider.hxx>
Public Member Functions | |
HTMLDataProvider (ScDocument *pDoc, sc::ExternalDataSource &rDataSource) | |
virtual | ~HTMLDataProvider () 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< HTMLFetchThread > | mxHTMLFetchThread |
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 htmldataprovider.hxx.
sc::HTMLDataProvider::HTMLDataProvider | ( | ScDocument * | pDoc, |
sc::ExternalDataSource & | rDataSource | ||
) |
Definition at line 234 of file htmldataprovider.cxx.
|
overridevirtual |
Definition at line 240 of file htmldataprovider.cxx.
References mxHTMLFetchThread.
|
overridevirtual |
Implements sc::DataProvider.
Definition at line 273 of file htmldataprovider.cxx.
References sc::ExternalDataSource::getURL(), and sc::DataProvider::mrDataSource.
|
overridevirtual |
Implements sc::DataProvider.
Definition at line 249 of file htmldataprovider.cxx.
References sc::ExternalDataSource::getDataTransformation(), sc::ExternalDataSource::getID(), sc::ExternalDataSource::getURL(), ImportFinished(), sc::DataProvider::mbDeterministic, mpDoc, mpDocument, sc::DataProvider::mrDataSource, mxHTMLFetchThread, and SCDOCMODE_CLIP.
void sc::HTMLDataProvider::ImportFinished | ( | ) |
Definition at line 268 of file htmldataprovider.cxx.
References sc::ExternalDataSource::getDBManager(), mpDoc, sc::DataProvider::mrDataSource, and sc::ScDBDataManager::WriteToDoc().
Referenced by Import().
|
private |
Definition at line 24 of file htmldataprovider.hxx.
Referenced by Import(), and ImportFinished().
|
private |
Definition at line 21 of file htmldataprovider.hxx.
Referenced by Import().
|
private |
Definition at line 22 of file htmldataprovider.hxx.
Referenced by Import(), and ~HTMLDataProvider().