LibreOffice Module sc (master) 1
|
Contains all records for a web query (linked tables in an HTML document). More...
#include <xecontent.hxx>
Public Member Functions | |
XclExpWebQuery (const OUString &rRangeName, const OUString &rUrl, std::u16string_view rSource, sal_Int32 nRefrSecs) | |
Constructs a web query record container with settings from Calc. More... | |
virtual | ~XclExpWebQuery () override |
virtual void | Save (XclExpStream &rStrm) override |
Writes all needed records for this web query. More... | |
Public Member Functions inherited from XclExpRecordBase | |
XclExpRecordBase () | |
XclExpRecordBase (XclExpRecordBase const &) | |
XclExpRecordBase (XclExpRecordBase &&) | |
XclExpRecordBase & | operator= (XclExpRecordBase const &) |
XclExpRecordBase & | operator= (XclExpRecordBase &&) noexcept |
virtual | ~XclExpRecordBase () |
virtual void | Save (XclExpStream &rStrm) |
Overwrite this method to do any operation while saving the record. More... | |
virtual void | SaveXml (XclExpXmlStream &rStrm) |
Public Member Functions inherited from salhelper::SimpleReferenceObject | |
SimpleReferenceObject () | |
void | acquire () |
void | release () |
Private Attributes | |
XclExpString | maDestRange |
XclExpString | maUrl |
Destination range. More... | |
XclExpStringRef | mxQryTables |
Source document URL. More... | |
sal_Int16 | mnRefresh |
List of source range names. More... | |
bool | mbEntireDoc |
Refresh time in minutes. More... | |
Additional Inherited Members | |
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::SimpleReferenceObject | |
virtual | ~SimpleReferenceObject () COVERITY_NOEXCEPT_FALSE |
Protected Attributes inherited from salhelper::SimpleReferenceObject | |
oslInterlockedCount | m_nCount |
Contains all records for a web query (linked tables in an HTML document).
@descr mode 1 (entire document): mpQryTables==0, mbEntireDoc==true; mode 2 (all tables): mpQryTables==0, mbEntireDoc==false; mode 3 (custom range list): mpQryTables!=0, mbEntireDoc==false.
Definition at line 387 of file xecontent.hxx.
|
explicit |
Constructs a web query record container with settings from Calc.
Definition at line 2033 of file xecontent.cxx.
References ScGlobal::addToken(), ScfTools::GetHTMLNameFromName(), o3tl::getToken(), ScfTools::IsHTMLDocName(), ScfTools::IsHTMLTablesName(), maUrl, mbEntireDoc, and mxQryTables.
|
overridevirtual |
Definition at line 2071 of file xecontent.cxx.
|
overridevirtual |
Writes all needed records for this web query.
Reimplemented from XclExpRecordBase.
Definition at line 2075 of file xecontent.cxx.
References EXC_ID_0802, EXC_ID_PQRY, EXC_ID_QSI, EXC_ID_WQSETT, EXC_ID_WQSTRING, EXC_ID_WQTABLES, EXC_PQRY_TABLES, EXC_PQRY_WEBQUERY, EXC_PQRYTYPE_WEBQUERY, EXC_QSI_DEFAULTFLAGS, EXC_WQSETT_ALL, EXC_WQSETT_DEFAULTFLAGS, EXC_WQSETT_FORMATFULL, EXC_WQSETT_SPECTABLES, XclExpString::GetSize(), insert_value(), maDestRange, maUrl, mbEntireDoc, mnRefresh, mxQryTables, rStrm, and set_flag().
|
private |
Definition at line 402 of file xecontent.hxx.
Referenced by Save().
|
private |
|
private |
Refresh time in minutes.
Definition at line 406 of file xecontent.hxx.
Referenced by Save(), and XclExpWebQuery().
|
private |
|
private |
Source document URL.
Definition at line 404 of file xecontent.hxx.
Referenced by Save(), and XclExpWebQuery().