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, const OUString &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 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 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::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).

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 388 of file xecontent.hxx.

Constructor & Destructor Documentation

XclExpWebQuery::XclExpWebQuery ( const OUString &  rRangeName,
const OUString &  rUrl,
const OUString &  rSource,
sal_Int32  nRefrSecs 
)
explicit

Constructs a web query record container with settings from Calc.

Definition at line 2023 of file xecontent.cxx.

References ScGlobal::addToken(), ScfTools::GetHTMLNameFromName(), ScfTools::IsHTMLDocName(), ScfTools::IsHTMLTablesName(), maUrl, mbEntireDoc, and mxQryTables.

XclExpWebQuery::~XclExpWebQuery ( )
overridevirtual

Definition at line 2061 of file xecontent.cxx.

Member Function Documentation

void XclExpWebQuery::Save ( XclExpStream rStrm)
overridevirtual

Member Data Documentation

XclExpString XclExpWebQuery::maDestRange
private

Definition at line 403 of file xecontent.hxx.

Referenced by Save().

XclExpString XclExpWebQuery::maUrl
private

Destination range.

Definition at line 404 of file xecontent.hxx.

Referenced by Save().

bool XclExpWebQuery::mbEntireDoc
private

Refresh time in minutes.

Definition at line 407 of file xecontent.hxx.

Referenced by Save(), and XclExpWebQuery().

sal_Int16 XclExpWebQuery::mnRefresh
private

List of source range names.

Definition at line 406 of file xecontent.hxx.

Referenced by Save().

XclExpStringRef XclExpWebQuery::mxQryTables
private

Source document URL.

Definition at line 405 of file xecontent.hxx.

Referenced by Save(), and XclExpWebQuery().


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