LibreOffice Module desktop (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
migration::WordbookMigration Class Reference

#include <wordbookmigration.hxx>

Inheritance diagram for migration::WordbookMigration:
[legend]
Collaboration diagram for migration::WordbookMigration:
[legend]

Public Member Functions

 WordbookMigration ()
 
virtual ~WordbookMigration () override
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &rServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
virtual void SAL_CALL initialize (const css::uno::Sequence< css::uno::Any > &aArguments) override
 
virtual css::uno::Any SAL_CALL execute (const css::uno::Sequence< css::beans::NamedValue > &Arguments) override
 

Private Member Functions

TStringVectorPtr getFiles (const OUString &rBaseURL) const
 
void checkAndCreateDirectory (INetURLObject const &rDirURL)
 
void copyFiles ()
 

Private Attributes

::osl::Mutex m_aMutex
 
OUString m_sSourceDir
 

Detailed Description

Definition at line 41 of file wordbookmigration.hxx.

Constructor & Destructor Documentation

◆ WordbookMigration()

migration::WordbookMigration::WordbookMigration ( )

Definition at line 35 of file wordbookmigration.cxx.

◆ ~WordbookMigration()

migration::WordbookMigration::~WordbookMigration ( )
overridevirtual

Definition at line 40 of file wordbookmigration.cxx.

Member Function Documentation

◆ checkAndCreateDirectory()

void migration::WordbookMigration::checkAndCreateDirectory ( INetURLObject const &  rDirURL)
private

◆ copyFiles()

void migration::WordbookMigration::copyFiles ( )
private

◆ execute()

Any migration::WordbookMigration::execute ( const css::uno::Sequence< css::beans::NamedValue > &  Arguments)
overridevirtual

Definition at line 212 of file wordbookmigration.cxx.

References Any, copyFiles(), and m_aMutex.

◆ getFiles()

TStringVectorPtr migration::WordbookMigration::getFiles ( const OUString &  rBaseURL) const
private

Definition at line 45 of file wordbookmigration.cxx.

References getFiles().

Referenced by copyFiles(), and getFiles().

◆ getImplementationName()

OUString migration::WordbookMigration::getImplementationName ( )
overridevirtual

Definition at line 165 of file wordbookmigration.cxx.

◆ getSupportedServiceNames()

Sequence< OUString > migration::WordbookMigration::getSupportedServiceNames ( )
overridevirtual

Definition at line 177 of file wordbookmigration.cxx.

◆ initialize()

void migration::WordbookMigration::initialize ( const css::uno::Sequence< css::uno::Any > &  aArguments)
overridevirtual

Definition at line 186 of file wordbookmigration.cxx.

References aArguments, Any, m_aMutex, and m_sSourceDir.

◆ supportsService()

sal_Bool migration::WordbookMigration::supportsService ( const OUString &  rServiceName)
overridevirtual

Definition at line 171 of file wordbookmigration.cxx.

References ServiceName, and cppu::supportsService().

Member Data Documentation

◆ m_aMutex

::osl::Mutex migration::WordbookMigration::m_aMutex
private

Definition at line 44 of file wordbookmigration.hxx.

Referenced by execute(), and initialize().

◆ m_sSourceDir

OUString migration::WordbookMigration::m_sSourceDir
private

Definition at line 45 of file wordbookmigration.hxx.

Referenced by copyFiles(), and initialize().


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