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

#include <dataprovider.hxx>

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

Public Member Functions

 CSVDataProvider (ScDocument *pDoc, sc::ExternalDataSource &rDataSource)
 
virtual ~CSVDataProvider () override
 
virtual void Import () override
 
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 Member Functions

void Refresh ()
 

Private Attributes

rtl::Reference< CSVFetchThreadmxCSVFetchThread
 
ScDocumentmpDocument
 
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 90 of file dataprovider.hxx.

Constructor & Destructor Documentation

◆ CSVDataProvider()

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

Definition at line 119 of file csvdataprovider.cxx.

◆ ~CSVDataProvider()

sc::CSVDataProvider::~CSVDataProvider ( )
overridevirtual

Definition at line 125 of file csvdataprovider.cxx.

References mxCSVFetchThread.

Member Function Documentation

◆ GetURL()

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

◆ Import()

void sc::CSVDataProvider::Import ( )
overridevirtual

◆ ImportFinished()

void sc::CSVDataProvider::ImportFinished ( )

◆ Refresh()

void sc::CSVDataProvider::Refresh ( )
private

Member Data Documentation

◆ mpDoc

ScDocumentUniquePtr sc::CSVDataProvider::mpDoc
private

Definition at line 94 of file dataprovider.hxx.

Referenced by Import(), and ImportFinished().

◆ mpDocument

ScDocument* sc::CSVDataProvider::mpDocument
private

Definition at line 93 of file dataprovider.hxx.

Referenced by Import(), and Refresh().

◆ mxCSVFetchThread

rtl::Reference<CSVFetchThread> sc::CSVDataProvider::mxCSVFetchThread
private

Definition at line 92 of file dataprovider.hxx.

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


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