LibreOffice Module sc (master)
1
|
This class contains static methods to decode a URL stored in an Excel file. More...
#include <xihelper.hxx>
Public Member Functions | |
XclImpUrlHelper (const XclImpUrlHelper &)=delete | |
delete copy constructor More... | |
const XclImpUrlHelper & | operator= (const XclImpUrlHelper &)=delete |
delete copy-assignment operator More... | |
XclImpUrlHelper ()=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 void | DecodeUrl (OUString &rUrl, OUString &rTabName, bool &rbSameWb, const XclImpRoot &rRoot, const OUString &rEncodedUrl) |
Decodes an encoded external document URL with optional sheet name. More... | |
static void | DecodeUrl (OUString &rUrl, bool &rbSameWb, const XclImpRoot &rRoot, const OUString &rEncodedUrl) |
Decodes an encoded external document URL without sheet name. More... | |
static bool | DecodeLink (OUString &rApplic, OUString &rTopic, const OUString &rEncUrl) |
Decodes the passed URL to OLE or DDE link components. More... | |
This class contains static methods to decode a URL stored in an Excel file.
Excel URLs can contain a sheet name, for instance: path[test.xls]Sheet1 This sheet name will be extracted automatically.
Definition at line 252 of file xihelper.hxx.
|
delete |
delete copy constructor
|
delete |
We don't want anybody to instantiate this class, since it is just a collection of static methods.
|
static |
Decodes the passed URL to OLE or DDE link components.
For DDE links: Decodes to application name and topic. For OLE object links: Decodes to class name and document URL.
Definition at line 757 of file xihelper.cxx.
References EXC_DDE_DELIM, and nPos.
Referenced by XclImpSupbook::GetLinkData().
|
static |
Decodes an encoded external document URL with optional sheet name.
rUrl | Returns the decoded file name incl. path. |
rTabName | Returns the decoded sheet name. |
rbSameWb | Returns true, if the URL is a reference to the own workbook. |
rEncodedUrl | An encoded URL from Excel. |
Initial state, read string mode character.
Read URL path.
Read file name.
Read sheet name.
Raw mode. No control characters will occur.
Definition at line 603 of file xihelper.cxx.
References EXC_DDE_DELIM, EXC_URL_DOSDRIVE, EXC_URL_DRIVEROOT, EXC_URL_PARENTDIR, EXC_URL_RAW, EXC_URL_SUBDIR, EXC_URLSTART_ENCODED, EXC_URLSTART_SELF, EXC_URLSTART_SELFENCODED, XclRoot::GetBasePath(), and pChar.
Referenced by DecodeUrl(), ImportExcel::Externsheet(), XclImpChangeTrack::Read3DTabRefInfo(), XclImpPivotCache::ReadDconref(), and XclImpSupbook::XclImpSupbook().
|
static |
Decodes an encoded external document URL without sheet name.
rUrl | Returns the decoded file name incl. path. |
rbSameWb | Returns true, if the URL is a reference to the own workbook. |
rEncodedUrl | An encoded URL from Excel. |
Definition at line 747 of file xihelper.cxx.
References DecodeUrl().
|
delete |
delete copy-assignment operator