LibreOffice Module sc (master) 1
|
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 | |
ScDocument & | mrDocument |
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 |
Definition at line 26 of file htmldataprovider.cxx.
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.
|
overridevirtual |
Implements salhelper::Thread.
Definition at line 182 of file htmldataprovider.cxx.
References aBuffer, sc::DataProvider::FetchStreamFromURL(), handleTable(), maDataTransformations, maID, maImportFinishedHdl, maURL, mrDocument, and OUStringToOString().
Definition at line 104 of file htmldataprovider.cxx.
References aStr, mrDocument, ScDocument::SetString(), and toString().
Referenced by handleRow().
|
private |
Definition at line 127 of file htmldataprovider.cxx.
References handleCell(), and toString().
Referenced by handleTable(), and skipHeadBody().
|
private |
Definition at line 161 of file htmldataprovider.cxx.
References handleRow(), skipHeadBody(), and toString().
Referenced by execute().
|
private |
Definition at line 144 of file htmldataprovider.cxx.
References handleRow(), and toString().
Referenced by handleTable().
|
private |
Definition at line 31 of file htmldataprovider.cxx.
Referenced by execute().
|
private |
Definition at line 30 of file htmldataprovider.cxx.
Referenced by execute().
|
private |
Definition at line 32 of file htmldataprovider.cxx.
Referenced by execute().
|
private |
Definition at line 29 of file htmldataprovider.cxx.
Referenced by execute().
|
private |
Definition at line 28 of file htmldataprovider.cxx.
Referenced by execute(), and handleCell().