20#include <config_features.h>
51#include <SpellDialogChildWindow.hxx>
56#include <tmplctrl.hxx>
59#include <svx/svxids.hrc>
92 ::sd::ImpressViewShellBase::RegisterFactory (
96 ::sd::ImpressViewShellBase::RegisterFactory (
98 ::sd::ImpressViewShellBase::RegisterFactory (
100 ::sd::ImpressViewShellBase::RegisterFactory (
105 ::sd::SlideSorterViewShellBase::RegisterFactory (
107 ::sd::OutlineViewShellBase::RegisterFactory (
109 ::sd::PresentationViewShellBase::RegisterFactory (
124 SdModule::RegisterInterface(pMod);
127 ::sd::ViewShellBase::RegisterInterface(pMod);
130 ::sd::DrawDocShell::RegisterInterface(pMod);
131 ::sd::GraphicDocShell::RegisterInterface(pMod);
134 ::sd::DrawViewShell::RegisterInterface(pMod);
135 ::sd::OutlineViewShell::RegisterInterface(pMod);
136 ::sd::PresentationViewShell::RegisterInterface(pMod);
139 ::sd::GraphicViewShell::RegisterInterface(pMod);
142 ::sd::BezierObjectBar::RegisterInterface(pMod);
143 ::sd::TextObjectBar::RegisterInterface(pMod);
144 ::sd::GraphicObjectBar::RegisterInterface(pMod);
147 ::sd::MediaObjectBar::RegisterInterface(pMod);
153 ::sd::slidesorter::SlideSorterViewShell::RegisterInterface (pMod);
160 SdTbxCtlDiaPages::RegisterControl( SID_PAGES_PER_ROW, pMod );
161 SdTbxCtlGlueEscDir::RegisterControl( SID_GLUE_ESCDIR, pMod );
165 Svx3DChildWindow::RegisterChildWindow(
false, pMod);
166 SvxFontWorkChildWindow::RegisterChildWindow(
false, pMod);
167 SvxColorChildWindow::RegisterChildWindow(
false, pMod, SfxChildWindowFlags::TASK);
168 SvxSearchDialogWrapper::RegisterChildWindow(
false, pMod);
169 SvxBmpMaskChildWindow::RegisterChildWindow(
false, pMod);
170 SvxIMapDlgChildWindow::RegisterChildWindow(
false, pMod);
171 SvxHlinkDlgWrapper::RegisterChildWindow(
false, pMod);
172 ::sd::SpellDialogChildWindow::RegisterChildWindow(
174 : SfxChildWindowFlags::NONE);
175#if HAVE_FEATURE_AVMEDIA
176 ::avmedia::MediaPlayer::RegisterChildWindow(
false, pMod);
185 SvxFillToolBoxControl::RegisterControl(0, pMod);
186 SvxLineWidthToolBoxControl::RegisterControl(0, pMod);
188 SvxGrafModeToolBoxControl::RegisterControl( SID_ATTR_GRAF_MODE, pMod );
189 SvxGrafRedToolBoxControl::RegisterControl( SID_ATTR_GRAF_RED, pMod );
190 SvxGrafGreenToolBoxControl::RegisterControl( SID_ATTR_GRAF_GREEN, pMod );
191 SvxGrafBlueToolBoxControl::RegisterControl( SID_ATTR_GRAF_BLUE, pMod );
192 SvxGrafLuminanceToolBoxControl::RegisterControl( SID_ATTR_GRAF_LUMINANCE, pMod );
193 SvxGrafContrastToolBoxControl::RegisterControl( SID_ATTR_GRAF_CONTRAST, pMod );
194 SvxGrafGammaToolBoxControl::RegisterControl( SID_ATTR_GRAF_GAMMA, pMod );
195 SvxGrafTransparenceToolBoxControl::RegisterControl( SID_ATTR_GRAF_TRANSPARENCE, pMod );
198 SvxZoomPageStatusBarControl::RegisterControl( SID_ZOOM_ENTIRE_PAGE, pMod );
199 SvxZoomStatusBarControl::RegisterControl( SID_ATTR_ZOOM, pMod );
200 SvxPosSizeStatusBarControl::RegisterControl( SID_ATTR_SIZE, pMod );
201 SvxModifyControl::RegisterControl( SID_DOC_MODIFIED, pMod );
202 SvxZoomSliderControl::RegisterControl( SID_ATTR_ZOOMSLIDER, pMod );
204 svx::FormatPaintBrushToolBoxControl::RegisterControl(SID_FORMATPAINTBRUSH, pMod );
206 SvxClipBoardControl::RegisterControl( SID_PASTE, pMod );
207 SvxClipBoardControl::RegisterControl( SID_PASTE_UNFORMATTED, pMod );
209#if HAVE_FEATURE_AVMEDIA
210 ::avmedia::MediaToolBoxControl::RegisterControl( SID_AVMEDIA_TOOLBOX, pMod );
212 XmlSecStatusBarControl::RegisterControl( SID_SIGNATURE, pMod );
213 SdTemplateControl::RegisterControl( SID_STATUS_LAYOUT, pMod );
214 SdScaleControl::RegisterControl( SID_SCALE, pMod );
215 SvxTbxCtlDraw::RegisterControl(SID_INSERT_DRAW, pMod );
227 pImpressFact = &::sd::DrawDocShell::Factory();
230 pDrawFact = &::sd::GraphicDocShell::Factory();
232 auto pUniqueModule = std::make_unique<SdModule>(pImpressFact, pDrawFact);
233 SdModule* pModule = pUniqueModule.get();
240 ::sd::DrawDocShell::Factory().SetDocumentServiceName(
"com.sun.star.presentation.PresentationDocument" );
245 ::sd::GraphicDocShell::Factory().SetDocumentServiceName(
"com.sun.star.drawing.DrawingDocument" );
264#ifdef ENABLE_SDREMOTE
270#ifndef DISABLE_DYNLOADING
272extern "C" SAL_DLLPUBLIC_EXPORT
static bool IsHeadlessModeEnabled()
static SD_DLLPUBLIC SdAbstractDialogFactory * Create()
static void RegisterInterfaces(const SdModule *pMod)
static void RegisterFactorys()
static void RegisterControllers(SdModule *pMod)
static void SetModule(SfxToolsModule nSharedLib, std::unique_ptr< SfxModule > pModule)
static SfxModule * GetModule(SfxToolsModule nSharedLib)
static void RegisterChildWindow(SfxModule *, const SfxChildWinFactory &)
void RegisterImpressShapeTypes()
Register the SD presentation shape types with the ShapeTypeHandler singleton.
void RegisterInterfaces(const SfxModule *pMod)
registers the interfaces from the table ui
constexpr auto SLIDE_SORTER_FACTORY_ID
constexpr auto DRAW_FACTORY_ID
constexpr auto OUTLINE_FACTORY_ID
constexpr auto IMPRESS_FACTORY_ID
This are ids used by SfxTopFrame::Create() or CreateViewFrame() to select a factory to create an inst...
constexpr auto PRESENTATION_FACTORY_ID
SAL_DLLPUBLIC_EXPORT void lok_preload_hook()