LibreOffice Module sc (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
sc::HTMLFetchThread Class Reference
Inheritance diagram for sc::HTMLFetchThread:
[legend]
Collaboration diagram for sc::HTMLFetchThread:
[legend]

Public Member Functions

 HTMLFetchThread (ScDocument &rDoc, const OUString &, const OUString &rID, std::function< void()> aImportFinishedHdl, std::vector< std::shared_ptr< sc::DataTransformation > > &&rTransformations)
 
virtual void execute () override
 
- Public Member Functions inherited from salhelper::Thread
 Thread (char const *name)
 
void launch ()
 
- Public Member Functions inherited from salhelper::SimpleReferenceObject
 SimpleReferenceObject ()
 
void acquire ()
 
void release ()
 

Private Member Functions

void handleTable (xmlNodePtr pTable)
 
void handleRow (xmlNodePtr pRow, SCROW nRow)
 
void skipHeadBody (xmlNodePtr pSkip, SCROW &rRow)
 
void handleCell (xmlNodePtr pCell, SCROW nRow, SCCOL nCol)
 

Private Attributes

ScDocumentmrDocument
 
OUString maURL
 
OUString maID
 
const std::vector< std::shared_ptr< sc::DataTransformation > > maDataTransformations
 
std::function< void()> maImportFinishedHdl
 

Additional Inherited Members

- Static Public Member Functions inherited from salhelper::Thread
static void * operator new (std::size_t size)
 
static void operator delete (void *pointer)
 
- Static Public Member Functions inherited from salhelper::SimpleReferenceObject
static void * operator new (std::size_t nSize)
 
static void * operator new (std::size_t nSize, std::nothrow_t const &rNothrow)
 
static void operator delete (void *pPtr)
 
static void operator delete (void *pPtr, std::nothrow_t const &rNothrow)
 
- Protected Member Functions inherited from salhelper::Thread
virtual ~Thread () SAL_OVERRIDE
 
virtual void execute ()=0
 
- Protected Member Functions inherited from salhelper::SimpleReferenceObject
virtual ~SimpleReferenceObject () COVERITY_NOEXCEPT_FALSE
 
- Protected Attributes inherited from salhelper::SimpleReferenceObject
oslInterlockedCount m_nCount
 

Detailed Description

Definition at line 26 of file htmldataprovider.cxx.

Constructor & Destructor Documentation

◆ HTMLFetchThread()

sc::HTMLFetchThread::HTMLFetchThread ( ScDocument rDoc,
const OUString &  rURL,
const OUString &  rID,
std::function< void()>  aImportFinishedHdl,
std::vector< std::shared_ptr< sc::DataTransformation > > &&  rTransformations 
)

Definition at line 46 of file htmldataprovider.cxx.

References maURL.

Member Function Documentation

◆ execute()

void sc::HTMLFetchThread::execute ( )
overridevirtual

◆ handleCell()

void sc::HTMLFetchThread::handleCell ( xmlNodePtr  pCell,
SCROW  nRow,
SCCOL  nCol 
)
private

Definition at line 104 of file htmldataprovider.cxx.

References aStr, mrDocument, ScDocument::SetString(), and toString().

Referenced by handleRow().

◆ handleRow()

void sc::HTMLFetchThread::handleRow ( xmlNodePtr  pRow,
SCROW  nRow 
)
private

Definition at line 127 of file htmldataprovider.cxx.

References handleCell(), and toString().

Referenced by handleTable(), and skipHeadBody().

◆ handleTable()

void sc::HTMLFetchThread::handleTable ( xmlNodePtr  pTable)
private

Definition at line 161 of file htmldataprovider.cxx.

References handleRow(), skipHeadBody(), and toString().

Referenced by execute().

◆ skipHeadBody()

void sc::HTMLFetchThread::skipHeadBody ( xmlNodePtr  pSkip,
SCROW rRow 
)
private

Definition at line 144 of file htmldataprovider.cxx.

References handleRow(), and toString().

Referenced by handleTable().

Member Data Documentation

◆ maDataTransformations

const std::vector<std::shared_ptr<sc::DataTransformation> > sc::HTMLFetchThread::maDataTransformations
private

Definition at line 31 of file htmldataprovider.cxx.

Referenced by execute().

◆ maID

OUString sc::HTMLFetchThread::maID
private

Definition at line 30 of file htmldataprovider.cxx.

Referenced by execute().

◆ maImportFinishedHdl

std::function<void()> sc::HTMLFetchThread::maImportFinishedHdl
private

Definition at line 32 of file htmldataprovider.cxx.

Referenced by execute().

◆ maURL

OUString sc::HTMLFetchThread::maURL
private

Definition at line 29 of file htmldataprovider.cxx.

Referenced by execute().

◆ mrDocument

ScDocument& sc::HTMLFetchThread::mrDocument
private

Definition at line 28 of file htmldataprovider.cxx.

Referenced by execute(), and handleCell().


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