LibreOffice Module sc (master) 1
|
Provides importing hyperlinks and inserting them into a document. More...
#include <xicontent.hxx>
Public Member Functions | |
XclImpHyperlink (const XclImpHyperlink &)=delete | |
delete copy constructor More... | |
const XclImpHyperlink & | operator= (const XclImpHyperlink &)=delete |
delete copy-assignment operator More... | |
XclImpHyperlink ()=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 | ReadHlink (XclImpStream &rStrm) |
Reads a HLINK record and inserts it into the document. More... | |
static OUString | ReadEmbeddedData (XclImpStream &rStrm) |
Reads the (undocumented) embedded hyperlink data and returns the URL. More... | |
static void | InsertUrl (XclImpRoot &rRoot, const XclRange &rXclRange, const OUString &rUrl) |
Inserts the URL into a range of cells. More... | |
static void | ConvertToValidTabName (OUString &rName) |
Convert the sheet name with invalid character(s) in URL when the URL is to a location within the same document (e.g. More... | |
Provides importing hyperlinks and inserting them into a document.
Definition at line 75 of file xicontent.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 |
Convert the sheet name with invalid character(s) in URL when the URL is to a location within the same document (e.g.
#'Sheet&Name'.A1).
Definition at line 355 of file xicontent.cxx.
Referenced by InsertUrl().
|
static |
Inserts the URL into a range of cells.
Does not modify value or formula cells.
Definition at line 411 of file xicontent.cxx.
References XclImpAddressConverter::ConvertRange(), ConvertToValidTabName(), XclImpRoot::GetAddressConverter(), XclRoot::GetCurrScTab(), ScRange::GetVars(), utl::ConfigManager::IsFuzzing(), SAL_WARN, and ScAddress::UNINITIALIZED.
Referenced by XclImpXFRangeBuffer::Finalize().
|
delete |
delete copy-assignment operator
|
static |
Reads the (undocumented) embedded hyperlink data and returns the URL.
Definition at line 233 of file xicontent.cxx.
References formula::FormulaGrammar::CONV_XL_R1C1, EXC_BIFF8, EXC_HLINK_ABS, EXC_HLINK_BODY, EXC_HLINK_DESCR, EXC_HLINK_FRAME, EXC_HLINK_MARK, EXC_HLINK_UNC, get_flag(), XclRoot::GetBiff(), XclRoot::GetDoc(), XclRoot::GetDocShell(), getLength(), XclTools::maGuidFileMoniker, XclTools::maGuidStdLink, XclTools::maGuidUrlMoniker, OSL_ENSURE_BIFF, ScRange::ParseAny(), rStrm, VALID, and ZERO.
Referenced by ReadHlink(), and XclImpDffConverter::ReadHlinkProperty().
|
static |
Reads a HLINK record and inserts it into the document.
@descr Import stream must be located at start of a HLINK record.
Definition at line 221 of file xicontent.cxx.
References XclRange::maFirst, XclRange::maLast, XclAddress::mnCol, ReadEmbeddedData(), rStrm, and ScAddress::UNINITIALIZED.
Referenced by ImportExcel8::Read().