LibreOffice Module sc (master)  1
Public Member Functions | Static Public Member Functions | List of all members
XclExpUrlHelper Class Reference

This class contains static methods to encode a file URL. More...

#include <xehelper.hxx>

Public Member Functions

 XclExpUrlHelper (const XclExpUrlHelper &)=delete
 delete copy constructor More...
 
const XclExpUrlHelperoperator= (const XclExpUrlHelper &)=delete
 delete copy-assignment operator More...
 
 XclExpUrlHelper ()=delete
 We don't want anybody to instantiate this class, since it is just a collection of static methods. More...
 

Static Public Member Functions

static OUString EncodeUrl (const XclExpRoot &rRoot, const OUString &rAbsUrl, const OUString *pTableName=nullptr)
 Encodes and returns the URL passed in rAbsUrl to an Excel like URL. More...
 
static OUString EncodeDde (const OUString &rApplic, const OUString &rTopic)
 Encodes and returns the passed DDE link to an Excel like DDE link. More...
 

Detailed Description

This class contains static methods to encode a file URL.

Excel stores URLs in a format that contains special control characters, i.e. for directory separators or volume names.

Definition at line 397 of file xehelper.hxx.

Constructor & Destructor Documentation

XclExpUrlHelper::XclExpUrlHelper ( const XclExpUrlHelper )
delete

delete copy constructor

XclExpUrlHelper::XclExpUrlHelper ( )
delete

We don't want anybody to instantiate this class, since it is just a collection of static methods.

Member Function Documentation

OUString XclExpUrlHelper::EncodeDde ( const OUString &  rApplic,
const OUString &  rTopic 
)
static

Encodes and returns the passed DDE link to an Excel like DDE link.

Definition at line 983 of file xehelper.cxx.

References EXC_DDE_DELIM.

OUString XclExpUrlHelper::EncodeUrl ( const XclExpRoot rRoot,
const OUString &  rAbsUrl,
const OUString *  pTableName = nullptr 
)
static

Encodes and returns the URL passed in rAbsUrl to an Excel like URL.

Parameters
pTableNameOptional pointer to a table name to be encoded in this URL.

Definition at line 976 of file xehelper.cxx.

References XclRoot::GetBasePath(), XclRoot::GetBiff(), and INetURLObject::getFSysPath().

Referenced by XclExpPivotCache::WriteDconref().

const XclExpUrlHelper& XclExpUrlHelper::operator= ( const XclExpUrlHelper )
delete

delete copy-assignment operator


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