23#include <com/sun/star/lang/XServiceInfo.hpp>
24#include <com/sun/star/task/XJob.hpp>
25#include <com/sun/star/lang/XInitialization.hpp>
26#include <com/sun/star/xml/dom/XDocumentBuilder.hpp>
27#include <com/sun/star/ucb/XSimpleFileAccess3.hpp>
28#include <com/sun/star/ucb/XCommandEnvironment.hpp>
29#include <com/sun/star/ucb/XProgressHandler.hpp>
31#include <osl/mutex.hxx>
42 typedef ::cppu::WeakImplHelper<
43 css::lang::XServiceInfo,
44 css::lang::XInitialization,
50 css::uno::Reference< css::uno::XComponentContext >
m_ctx;
72 css::uno::XComponentContext >
const & ctx);
81 virtual void SAL_CALL
initialize(
const css::uno::Sequence< css::uno::Any >& aArguments )
override;
84 virtual css::uno::Any SAL_CALL
execute(
85 const css::uno::Sequence< css::beans::NamedValue >& Arguments )
override;
89 :
public ::cppu::WeakImplHelper< css::ucb::XCommandEnvironment,
90 css::task::XInteractionHandler,
91 css::ucb::XProgressHandler >
98 virtual css::uno::Reference< css::task::XInteractionHandler > SAL_CALL
100 virtual css::uno::Reference< css::ucb::XProgressHandler >
105 css::uno::Reference< css::task::XInteractionRequest >
const & xRequest )
override;
108 virtual void SAL_CALL
push( css::uno::Any
const &
Status )
override;
110 virtual void SAL_CALL
pop()
override;
css::uno::Reference< css::uno::XComponentContext > m_ctx
virtual sal_Bool SAL_CALL supportsService(const OUString &rServiceName) override
css::uno::Reference< css::ucb::XSimpleFileAccess3 > m_xSimpleFileAccess
virtual ~OO3ExtensionMigration() override
void migrateExtension(const OUString &sSourceDir)
ScanResult scanExtensionFolder(const OUString &sExtFolder)
css::uno::Reference< css::xml::dom::XDocumentBuilder > m_xDocBuilder
virtual OUString SAL_CALL getImplementationName() override
void scanUserExtensions(const OUString &sSourceDir, TStringVector &aMigrateExtensions)
TStringVector m_aDenyList
OO3ExtensionMigration(css::uno::Reference< css::uno::XComponentContext > const &ctx)
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
bool scanDescriptionXml(const OUString &sDescriptionXmlFilePath)
@ SCANRESULT_DONTMIGRATE_EXTENSION
@ SCANRESULT_MIGRATE_EXTENSION
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
virtual css::uno::Reference< css::task::XInteractionHandler > SAL_CALL getInteractionHandler() override
TmpRepositoryCommandEnv()
virtual void SAL_CALL push(css::uno::Any const &Status) override
virtual void SAL_CALL pop() override
virtual void SAL_CALL handle(css::uno::Reference< css::task::XInteractionRequest > const &xRequest) override
virtual ~TmpRepositoryCommandEnv() override
virtual void SAL_CALL update(css::uno::Any const &Status) override
virtual css::uno::Reference< css::ucb::XProgressHandler > SAL_CALL getProgressHandler() override
std::vector< OUString > TStringVector
::cppu::WeakImplHelper< css::lang::XServiceInfo, css::lang::XInitialization, css::task::XJob > ExtensionMigration_BASE