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 ()
 
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

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

Definition at line 122 of file csvdataprovider.cxx.

sc::CSVDataProvider::~CSVDataProvider ( )
overridevirtual

Definition at line 128 of file csvdataprovider.cxx.

References mxCSVFetchThread.

Member Function Documentation

const OUString & sc::CSVDataProvider::GetURL ( ) const
overridevirtual
void sc::CSVDataProvider::Import ( )
overridevirtual
void sc::CSVDataProvider::ImportFinished ( )
void sc::CSVDataProvider::Refresh ( )
private

Member Data Documentation

ScDocumentUniquePtr sc::CSVDataProvider::mpDoc
private

Definition at line 94 of file dataprovider.hxx.

ScDocument* sc::CSVDataProvider::mpDocument
private

Definition at line 93 of file dataprovider.hxx.

Referenced by Import(), and Refresh().

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: