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 196 of file xicontent.hxx.

Member Enumeration Documentation

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 215 of file xicontent.hxx.

Constructor & Destructor Documentation

XclImpWebQuery::XclImpWebQuery ( const ScRange rDestRange)
explicit

Definition at line 946 of file xicontent.cxx.

References meMode.

Member Function Documentation

void XclImpWebQuery::Apply ( ScDocument rDoc,
const OUString &  rFilterName 
)
void XclImpWebQuery::ReadParamqry ( XclImpStream rStrm)
void XclImpWebQuery::ReadWqsettings ( XclImpStream rStrm)

Reads a WEBQRYSETTINGS record and sets refresh rate.

Definition at line 977 of file xicontent.cxx.

References EXC_WQSETT_SPECTABLES, get_flag(), XclImpStream::Ignore(), meMode, mnRefresh, XclImpStream::ReaduInt16(), xlWQAllTables, and xlWQSpecTables.

void XclImpWebQuery::ReadWqstring ( XclImpStream rStrm)

Reads a WQSTRING record and sets URL.

Definition at line 972 of file xicontent.cxx.

References maURL, and XclImpStream::ReadUniString().

void XclImpWebQuery::ReadWqtables ( XclImpStream rStrm)

Member Data Documentation

ScRange XclImpWebQuery::maDestRange
private

List of source range names.

Definition at line 225 of file xicontent.hxx.

Referenced by Apply().

OUString XclImpWebQuery::maTables
private

Source document URL.

Definition at line 224 of file xicontent.hxx.

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

OUString XclImpWebQuery::maURL
private

Definition at line 223 of file xicontent.hxx.

Referenced by Apply(), and ReadWqstring().

XclImpWebQueryMode XclImpWebQuery::meMode
private

Destination range.

Definition at line 226 of file xicontent.hxx.

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

sal_uInt16 XclImpWebQuery::mnRefresh
private

Current mode of the web query.

Definition at line 227 of file xicontent.hxx.

Referenced by Apply(), and ReadWqsettings().


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