LibreOffice Module sc (master) 1
Public Member Functions | Private Attributes | List of all members
XclExpWebQuery Class Reference

Contains all records for a web query (linked tables in an HTML document). More...

#include <xecontent.hxx>

Inheritance diagram for XclExpWebQuery:
[legend]
Collaboration diagram for XclExpWebQuery:
[legend]

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 &&)
 
XclExpRecordBaseoperator= (XclExpRecordBase const &)
 
XclExpRecordBaseoperator= (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
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ XclExpWebQuery()

XclExpWebQuery::XclExpWebQuery ( const OUString &  rRangeName,
const OUString &  rUrl,
std::u16string_view  rSource,
sal_Int32  nRefrSecs 
)
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.

◆ ~XclExpWebQuery()

XclExpWebQuery::~XclExpWebQuery ( )
overridevirtual

Definition at line 2071 of file xecontent.cxx.

Member Function Documentation

◆ Save()

void XclExpWebQuery::Save ( XclExpStream rStrm)
overridevirtual

Member Data Documentation

◆ maDestRange

XclExpString XclExpWebQuery::maDestRange
private

Definition at line 402 of file xecontent.hxx.

Referenced by Save().

◆ maUrl

XclExpString XclExpWebQuery::maUrl
private

Destination range.

Definition at line 403 of file xecontent.hxx.

Referenced by Save().

◆ mbEntireDoc

bool XclExpWebQuery::mbEntireDoc
private

Refresh time in minutes.

Definition at line 406 of file xecontent.hxx.

Referenced by Save(), and XclExpWebQuery().

◆ mnRefresh

sal_Int16 XclExpWebQuery::mnRefresh
private

List of source range names.

Definition at line 405 of file xecontent.hxx.

Referenced by Save().

◆ mxQryTables

XclExpStringRef XclExpWebQuery::mxQryTables
private

Source document URL.

Definition at line 404 of file xecontent.hxx.

Referenced by Save(), and XclExpWebQuery().


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