LibreOffice Module comphelper (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
comphelper::OfficeInstallationDirectories Class Reference

#include <officeinstallationdirectories.hxx>

Inheritance diagram for comphelper::OfficeInstallationDirectories:
[legend]
Collaboration diagram for comphelper::OfficeInstallationDirectories:
[legend]

Public Member Functions

 OfficeInstallationDirectories (css::uno::Reference< css::uno::XComponentContext > xCtx)
 
virtual ~OfficeInstallationDirectories () override
 
virtual OUString SAL_CALL getOfficeInstallationDirectoryURL () override
 
virtual OUString SAL_CALL getOfficeUserDataDirectoryURL () override
 
virtual OUString SAL_CALL makeRelocatableURL (const OUString &URL) override
 
virtual OUString SAL_CALL makeAbsoluteURL (const OUString &URL) override
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &ServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 

Private Member Functions

void initDirs ()
 

Private Attributes

css::uno::Reference< css::uno::XComponentContext > m_xCtx
 
std::optional< OUString > m_xOfficeBrandDir
 
std::optional< OUString > m_xUserDir
 

Additional Inherited Members

- Protected Attributes inherited from cppu::BaseMutex
mutable::osl::Mutex m_aMutex
 

Detailed Description

Definition at line 40 of file officeinstallationdirectories.hxx.

Constructor & Destructor Documentation

◆ OfficeInstallationDirectories()

comphelper::OfficeInstallationDirectories::OfficeInstallationDirectories ( css::uno::Reference< css::uno::XComponentContext >  xCtx)
explicit

Definition at line 81 of file officeinstallationdirectories.cxx.

References m_xCtx.

◆ ~OfficeInstallationDirectories()

comphelper::OfficeInstallationDirectories::~OfficeInstallationDirectories ( )
overridevirtual

Definition at line 89 of file officeinstallationdirectories.cxx.

Member Function Documentation

◆ getImplementationName()

OUString SAL_CALL comphelper::OfficeInstallationDirectories::getImplementationName ( )
overridevirtual

Definition at line 190 of file officeinstallationdirectories.cxx.

◆ getOfficeInstallationDirectoryURL()

OUString SAL_CALL comphelper::OfficeInstallationDirectories::getOfficeInstallationDirectoryURL ( )
overridevirtual

Definition at line 99 of file officeinstallationdirectories.cxx.

References initDirs(), and m_xOfficeBrandDir.

◆ getOfficeUserDataDirectoryURL()

OUString SAL_CALL comphelper::OfficeInstallationDirectories::getOfficeUserDataDirectoryURL ( )
overridevirtual

Definition at line 108 of file officeinstallationdirectories.cxx.

References initDirs(), and m_xUserDir.

◆ getSupportedServiceNames()

uno::Sequence< OUString > SAL_CALL comphelper::OfficeInstallationDirectories::getSupportedServiceNames ( )
overridevirtual

Definition at line 204 of file officeinstallationdirectories.cxx.

◆ initDirs()

void comphelper::OfficeInstallationDirectories::initDirs ( )
private

◆ makeAbsoluteURL()

OUString SAL_CALL comphelper::OfficeInstallationDirectories::makeAbsoluteURL ( const OUString &  URL)
overridevirtual

◆ makeRelocatableURL()

OUString SAL_CALL comphelper::OfficeInstallationDirectories::makeRelocatableURL ( const OUString &  URL)
overridevirtual

◆ supportsService()

sal_Bool SAL_CALL comphelper::OfficeInstallationDirectories::supportsService ( const OUString &  ServiceName)
overridevirtual

Definition at line 197 of file officeinstallationdirectories.cxx.

References ServiceName, and cppu::supportsService().

Member Data Documentation

◆ m_xCtx

css::uno::Reference< css::uno::XComponentContext > comphelper::OfficeInstallationDirectories::m_xCtx
private

Definition at line 68 of file officeinstallationdirectories.hxx.

Referenced by initDirs().

◆ m_xOfficeBrandDir

std::optional<OUString> comphelper::OfficeInstallationDirectories::m_xOfficeBrandDir
private

◆ m_xUserDir

std::optional<OUString> comphelper::OfficeInstallationDirectories::m_xUserDir
private

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