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:
Collaboration diagram for sc::HTMLFetchThread:

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

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 voidoperator new (std::size_t size)
static void operator delete (void *pointer)
- Static Public Member Functions inherited from salhelper::SimpleReferenceObject
static voidoperator new (std::size_t nSize)
static voidoperator 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
- 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

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.

Member Function Documentation

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

Definition at line 104 of file htmldataprovider.cxx.

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

Referenced by handleRow().

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

Definition at line 127 of file htmldataprovider.cxx.

References handleCell(), and toString().

Referenced by handleTable(), and skipHeadBody().

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

Definition at line 161 of file htmldataprovider.cxx.

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

Referenced by execute().

void sc::HTMLFetchThread::skipHeadBody ( xmlNodePtr  pSkip,

Definition at line 144 of file htmldataprovider.cxx.

References handleRow(), and toString().

Referenced by handleTable().

Member Data Documentation

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

Definition at line 31 of file htmldataprovider.cxx.

OUString sc::HTMLFetchThread::maID

Definition at line 30 of file htmldataprovider.cxx.

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

Definition at line 32 of file htmldataprovider.cxx.

Referenced by execute().

OUString sc::HTMLFetchThread::maURL

Definition at line 29 of file htmldataprovider.cxx.

ScDocument& sc::HTMLFetchThread::mrDocument

Definition at line 28 of file htmldataprovider.cxx.

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