LibreOffice Module sc (master) 1
Public Member Functions | Private Attributes | List of all members
sc::XMLDataProvider Class Reference

#include <xmldataprovider.hxx>

Inheritance diagram for sc::XMLDataProvider:
[legend]
Collaboration diagram for sc::XMLDataProvider:
[legend]

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

ScDocumentmpDocument
 
rtl::Reference< XMLFetchThreadmxXMLFetchThread
 
ScDocumentUniquePtr mpDoc
 

Additional Inherited Members

- Static Public Member Functions inherited from sc::DataProvider
static std::unique_ptr< SvStreamFetchStreamFromURL (const OUString &, OStringBuffer &rBuffer)
 
- Protected Attributes inherited from sc::DataProvider
bool mbDeterministic
 If true make the threaded import deterministic for the tests. More...
 
sc::ExternalDataSourcemrDataSource
 

Detailed Description

Definition at line 18 of file xmldataprovider.hxx.

Constructor & Destructor Documentation

◆ XMLDataProvider()

sc::XMLDataProvider::XMLDataProvider ( ScDocument pDoc,
sc::ExternalDataSource rDataSource 
)

Definition at line 85 of file xmldataprovider.cxx.

◆ ~XMLDataProvider()

sc::XMLDataProvider::~XMLDataProvider ( )
overridevirtual

Definition at line 91 of file xmldataprovider.cxx.

References mxXMLFetchThread.

Member Function Documentation

◆ GetURL()

const OUString & sc::XMLDataProvider::GetURL ( ) const
overridevirtual

◆ Import()

void sc::XMLDataProvider::Import ( )
overridevirtual

◆ ImportFinished()

void sc::XMLDataProvider::ImportFinished ( )

Member Data Documentation

◆ mpDoc

ScDocumentUniquePtr sc::XMLDataProvider::mpDoc
private

Definition at line 23 of file xmldataprovider.hxx.

Referenced by Import(), and ImportFinished().

◆ mpDocument

ScDocument* sc::XMLDataProvider::mpDocument
private

Definition at line 21 of file xmldataprovider.hxx.

Referenced by Import().

◆ mxXMLFetchThread

rtl::Reference<XMLFetchThread> sc::XMLDataProvider::mxXMLFetchThread
private

Definition at line 22 of file xmldataprovider.hxx.

Referenced by Import(), and ~XMLDataProvider().


The documentation for this class was generated from the following files: