LibreOffice Module sfx2 (master) 1
|
#include <sfxurlrelocator.hxx>
Public Member Functions | |
void | initOfficeInstDirs () |
void | makeRelocatableURL (OUString &rURL) |
void | makeAbsoluteURL (OUString &rURL) |
SfxURLRelocator_Impl (css::uno::Reference< css::uno::XComponentContext > xContext) | |
~SfxURLRelocator_Impl () | |
Static Public Member Functions | |
static bool | propertyCanContainOfficeDir (std::u16string_view rPropName) |
Private Member Functions | |
void | implExpandURL (OUString &io_url) |
Private Attributes | |
std::mutex | maMutex |
css::uno::Reference< css::uno::XComponentContext > | mxContext |
css::uno::Reference< css::util::XOfficeInstallationDirectories > | mxOfficeInstDirs |
css::uno::Reference< css::util::XMacroExpander > | mxMacroExpander |
Definition at line 30 of file sfxurlrelocator.hxx.
SfxURLRelocator_Impl::SfxURLRelocator_Impl | ( | css::uno::Reference< css::uno::XComponentContext > | xContext | ) |
Definition at line 2550 of file doctemplates.cxx.
References mxContext.
SfxURLRelocator_Impl::~SfxURLRelocator_Impl | ( | ) |
Definition at line 2556 of file doctemplates.cxx.
|
private |
Definition at line 2576 of file doctemplates.cxx.
References DBG_UNHANDLED_EXCEPTION, Exception, INetURLObject::GetProtocol(), INetURLObject::GetURLPath(), mxContext, mxMacroExpander, and INetURLObject::WithCharset.
Referenced by makeAbsoluteURL(), and makeRelocatableURL().
void SfxURLRelocator_Impl::initOfficeInstDirs | ( | ) |
Definition at line 2561 of file doctemplates.cxx.
References maMutex, mxContext, and mxOfficeInstDirs.
Referenced by makeAbsoluteURL(), and makeRelocatableURL().
void SfxURLRelocator_Impl::makeAbsoluteURL | ( | OUString & | rURL | ) |
Definition at line 2609 of file doctemplates.cxx.
References implExpandURL(), initOfficeInstDirs(), and mxOfficeInstDirs.
Referenced by getTextProperty_Impl(), and TemplateLocalView::IsInternalTemplate().
void SfxURLRelocator_Impl::makeRelocatableURL | ( | OUString & | rURL | ) |
Definition at line 2598 of file doctemplates.cxx.
References implExpandURL(), initOfficeInstDirs(), and mxOfficeInstDirs.
Referenced by TemplateLocalView::IsInternalTemplate().
|
static |
Definition at line 2539 of file doctemplates.cxx.
References PROPERTY_DIRLIST, and TARGET_DIR_URL.
Referenced by getTextProperty_Impl().
|
private |
Definition at line 32 of file sfxurlrelocator.hxx.
Referenced by initOfficeInstDirs().
|
private |
Definition at line 33 of file sfxurlrelocator.hxx.
Referenced by implExpandURL(), and initOfficeInstDirs().
|
private |
Definition at line 35 of file sfxurlrelocator.hxx.
Referenced by implExpandURL().
|
private |
Definition at line 34 of file sfxurlrelocator.hxx.
Referenced by initOfficeInstDirs(), makeAbsoluteURL(), and makeRelocatableURL().