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 (const 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
 
boost::optional< OUString > m_xOfficeBrandDir
 
boost::optional< OUString > m_xUserDir
 

Additional Inherited Members

- Public Attributes inherited from comphelper::mutex_holder
osl::Mutex m_aMutex
 

Detailed Description

Definition at line 46 of file officeinstallationdirectories.hxx.

Constructor & Destructor Documentation

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

Definition at line 81 of file officeinstallationdirectories.cxx.

comphelper::OfficeInstallationDirectories::~OfficeInstallationDirectories ( )
overridevirtual

Definition at line 89 of file officeinstallationdirectories.cxx.

Member Function Documentation

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

Definition at line 190 of file officeinstallationdirectories.cxx.

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

Definition at line 99 of file officeinstallationdirectories.cxx.

References initDirs(), and m_xOfficeBrandDir.

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

Definition at line 108 of file officeinstallationdirectories.cxx.

References initDirs(), and m_xUserDir.

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

Definition at line 204 of file officeinstallationdirectories.cxx.

void comphelper::OfficeInstallationDirectories::initDirs ( )
private
OUString SAL_CALL comphelper::OfficeInstallationDirectories::makeAbsoluteURL ( const OUString &  URL)
overridevirtual
OUString SAL_CALL comphelper::OfficeInstallationDirectories::makeRelocatableURL ( const OUString &  URL)
overridevirtual
sal_Bool SAL_CALL comphelper::OfficeInstallationDirectories::supportsService ( const OUString &  ServiceName)
overridevirtual

Definition at line 197 of file officeinstallationdirectories.cxx.

References cppu::supportsService().

Member Data Documentation

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

Definition at line 74 of file officeinstallationdirectories.hxx.

Referenced by initDirs().

boost::optional<OUString> comphelper::OfficeInstallationDirectories::m_xOfficeBrandDir
private
boost::optional<OUString> comphelper::OfficeInstallationDirectories::m_xUserDir
private

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