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

Stores the data of one web query. More...

#include <xicontent.hxx>

Collaboration diagram for XclImpWebQuery:
[legend]

Public Member Functions

 XclImpWebQuery (const ScRange &rDestRange)
 
void ReadParamqry (XclImpStream &rStrm)
 Reads a PARAMQRY record and sets data to the web query. More...
 
void ReadWqstring (XclImpStream &rStrm)
 Reads a WQSTRING record and sets URL. More...
 
void ReadWqsettings (XclImpStream &rStrm)
 Reads a WEBQRYSETTINGS record and sets refresh rate. More...
 
void ReadWqtables (XclImpStream &rStrm)
 Reads a WEBQRYTABLES record and sets source range list. More...
 
void Apply (ScDocument &rDoc, const OUString &rFilterName)
 Inserts the web query into the document. More...
 

Private Types

enum  XclImpWebQueryMode {
  xlWQUnknown ,
  xlWQDocument ,
  xlWQAllTables ,
  xlWQSpecTables
}
 Specifies the type of the web query (which ranges are imported). More...
 

Private Attributes

OUString maURL
 
OUString maTables
 Source document URL. More...
 
ScRange maDestRange
 List of source range names. More...
 
XclImpWebQueryMode meMode
 Destination range. More...
 
sal_uInt16 mnRefresh
 Current mode of the web query. More...
 

Detailed Description

Stores the data of one web query.

Definition at line 194 of file xicontent.hxx.

Member Enumeration Documentation

◆ XclImpWebQueryMode

Specifies the type of the web query (which ranges are imported).

Enumerator
xlWQUnknown 
xlWQDocument 

Not specified.

xlWQAllTables 

Entire document.

xlWQSpecTables 

All tables.

Specific tables.

Definition at line 213 of file xicontent.hxx.

Constructor & Destructor Documentation

◆ XclImpWebQuery()

XclImpWebQuery::XclImpWebQuery ( const ScRange rDestRange)
explicit

Definition at line 965 of file xicontent.cxx.

References meMode.

Member Function Documentation

◆ Apply()

void XclImpWebQuery::Apply ( ScDocument rDoc,
const OUString &  rFilterName 
)

◆ ReadParamqry()

void XclImpWebQuery::ReadParamqry ( XclImpStream rStrm)

Reads a PARAMQRY record and sets data to the web query.

Definition at line 972 of file xicontent.cxx.

References EXC_PQRY_TABLES, EXC_PQRY_WEBQUERY, EXC_PQRYTYPE_WEBQUERY, get_flag(), ScfTools::GetHTMLDocName(), ScfTools::GetHTMLTablesName(), maTables, meMode, nType, rStrm, xlWQAllTables, and xlWQDocument.

◆ ReadWqsettings()

void XclImpWebQuery::ReadWqsettings ( XclImpStream rStrm)

Reads a WEBQRYSETTINGS record and sets refresh rate.

Definition at line 996 of file xicontent.cxx.

References EXC_WQSETT_SPECTABLES, get_flag(), meMode, mnRefresh, rStrm, xlWQAllTables, and xlWQSpecTables.

◆ ReadWqstring()

void XclImpWebQuery::ReadWqstring ( XclImpStream rStrm)

Reads a WQSTRING record and sets URL.

Definition at line 991 of file xicontent.cxx.

References maURL, and rStrm.

◆ ReadWqtables()

void XclImpWebQuery::ReadWqtables ( XclImpStream rStrm)

Member Data Documentation

◆ maDestRange

ScRange XclImpWebQuery::maDestRange
private

List of source range names.

Definition at line 223 of file xicontent.hxx.

Referenced by Apply().

◆ maTables

OUString XclImpWebQuery::maTables
private

Source document URL.

Definition at line 222 of file xicontent.hxx.

Referenced by Apply(), ReadParamqry(), and ReadWqtables().

◆ maURL

OUString XclImpWebQuery::maURL
private

Definition at line 221 of file xicontent.hxx.

Referenced by Apply(), and ReadWqstring().

◆ meMode

XclImpWebQueryMode XclImpWebQuery::meMode
private

Destination range.

Definition at line 224 of file xicontent.hxx.

Referenced by Apply(), ReadParamqry(), ReadWqsettings(), and ReadWqtables().

◆ mnRefresh

sal_uInt16 XclImpWebQuery::mnRefresh
private

Current mode of the web query.

Definition at line 225 of file xicontent.hxx.

Referenced by Apply(), and ReadWqsettings().


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