32#include <com/sun/star/frame/Desktop.hpp>
62 SwDLLInstance& theSwDLLInstance()
64 static SwDLLInstance aInstance;
79 return theSwDLLInstance()->getFilters();
84 : m_pAutoCorrCfg(nullptr)
89 std::unique_ptr<SvtModuleOptions> xOpt;
94 if (!xOpt || xOpt->IsWriter())
96 pDocFact = &SwDocShell::Factory();
97 pGlobDocFact = &SwGlobalDocShell::Factory();
102 auto pUniqueModule = std::make_unique<SwModule>(pWDocFact, pDocFact, pGlobDocFact);
103 SwModule* pModule = pUniqueModule.get();
108 if (!xOpt || xOpt->IsWriter())
122 SAL_INFO(
"sw.ui",
"Init Core/UI/Filter" );
159 SW_MOD()->RemoveAttrPool();
174#ifndef DISABLE_DYNLOADING
176extern "C" SAL_DLLPUBLIC_EXPORT
static void InsertMakeObjectHdl(Link< SdrObjCreatorParams, rtl::Reference< SdrObject > > const &rLink)
static void RemoveMakeObjectHdl(Link< SdrObjCreatorParams, rtl::Reference< SdrObject > > const &rLink)
static void SetModule(SfxToolsModule nSharedLib, std::unique_ptr< SfxModule > pModule)
static SfxModule * GetModule(SfxToolsModule nSharedLib)
void SetDocumentServiceName(const OUString &rServiceName)
SvxAutoCorrect * GetAutoCorrect()
static SvxAutoCorrCfg & Get()
void SetAutoCorrect(SvxAutoCorrect *)
static SwAbstractDialogFactory * Create()
sw::Filters & getFilters()
SvxAutoCorrCfg * m_pAutoCorrCfg
static void RegisterFactories()
static void RegisterControls()
~SwDLL() COVERITY_NOEXCEPT_FALSE
static void RegisterInterfaces()
std::unique_ptr< sw::Filters > m_pFilters
SwObjectFactory aSwObjectFactory
#define LINK(Instance, Class, Member)
#define SAL_INFO(area, stream)
This class is a wrapper for a Load-On-Demand-DLL.
sw::Filters & getFilters()
Reference< XComponentContext > getProcessComponentContext()
css::uno::Reference< css::deployment::XPackageRegistry > create(css::uno::Reference< css::deployment::XPackageRegistry > const &xRootRegistry, OUString const &context, OUString const &cachePath, css::uno::Reference< css::uno::XComponentContext > const &xComponentContext)
SAL_DLLPUBLIC_EXPORT void lok_preload_hook()