20#include <config_features.h>
42#include <drformsh.hxx>
80#include <inputwin.hxx>
105 auto pUniqueModule = std::make_unique<ScModule>(&ScDocShell::Factory());
106 ScModule* pMod = pUniqueModule.get();
109 ScDocShell::Factory().SetDocumentServiceName(
"com.sun.star.sheet.SpreadsheetDocument" );
120 ScModule ::RegisterInterface(pMod);
121 ScDocShell ::RegisterInterface(pMod);
122 ScTabViewShell ::RegisterInterface(pMod);
123 ScPreviewShell ::RegisterInterface(pMod);
124 ScDrawShell ::RegisterInterface(pMod);
125 ScDrawFormShell ::RegisterInterface(pMod);
126 ScDrawTextObjectBar ::RegisterInterface(pMod);
127 ScEditShell ::RegisterInterface(pMod);
128 ScPivotShell ::RegisterInterface(pMod);
129 sc::SparklineShell ::RegisterInterface(pMod);
130 ScAuditingShell ::RegisterInterface(pMod);
131 ScFormatShell ::RegisterInterface(pMod);
132 ScCellShell ::RegisterInterface(pMod);
133 ScOleObjectShell ::RegisterInterface(pMod);
134 ScChartShell ::RegisterInterface(pMod);
135 ScGraphicShell ::RegisterInterface(pMod);
136 ScMediaShell ::RegisterInterface(pMod);
137 ScPageBreakShell ::RegisterInterface(pMod);
140 ScZoomSliderControl ::RegisterControl(SID_PREVIEW_SCALINGFACTOR, pMod);
143 SvxTbxCtlDraw ::RegisterControl(SID_INSERT_DRAW, pMod);
144 SvxFillToolBoxControl ::RegisterControl(0, pMod);
145 SvxLineWidthToolBoxControl ::RegisterControl(0, pMod);
146 SvxClipBoardControl ::RegisterControl(SID_PASTE, pMod );
147 SvxClipBoardControl ::RegisterControl(SID_PASTE_UNFORMATTED, pMod );
148 svx::FormatPaintBrushToolBoxControl::RegisterControl(SID_FORMATPAINTBRUSH, pMod );
149 sc::ScNumberFormatControl ::RegisterControl(SID_NUMBER_TYPE_FORMAT, pMod );
151 SvxGrafModeToolBoxControl ::RegisterControl(SID_ATTR_GRAF_MODE, pMod);
152 SvxGrafRedToolBoxControl ::RegisterControl(SID_ATTR_GRAF_RED, pMod);
153 SvxGrafGreenToolBoxControl ::RegisterControl(SID_ATTR_GRAF_GREEN, pMod);
154 SvxGrafBlueToolBoxControl ::RegisterControl(SID_ATTR_GRAF_BLUE, pMod);
155 SvxGrafLuminanceToolBoxControl ::RegisterControl(SID_ATTR_GRAF_LUMINANCE, pMod);
156 SvxGrafContrastToolBoxControl ::RegisterControl(SID_ATTR_GRAF_CONTRAST, pMod);
157 SvxGrafGammaToolBoxControl ::RegisterControl(SID_ATTR_GRAF_GAMMA, pMod);
158 SvxGrafTransparenceToolBoxControl::RegisterControl(SID_ATTR_GRAF_TRANSPARENCE, pMod);
161#if HAVE_FEATURE_AVMEDIA
162 ::avmedia::MediaToolBoxControl::RegisterControl( SID_AVMEDIA_TOOLBOX, pMod );
170 SvxInsertStatusBarControl ::RegisterControl(SID_ATTR_INSERT, pMod);
171 SvxSelectionModeControl ::RegisterControl(SID_STATUS_SELMODE, pMod);
172 SvxZoomStatusBarControl ::RegisterControl(SID_ATTR_ZOOM, pMod);
173 SvxZoomSliderControl ::RegisterControl(SID_ATTR_ZOOMSLIDER, pMod);
174 SvxModifyControl ::RegisterControl(SID_DOC_MODIFIED, pMod);
175 XmlSecStatusBarControl ::RegisterControl( SID_SIGNATURE, pMod );
177 SvxPosSizeStatusBarControl ::RegisterControl(SID_ATTR_SIZE, pMod);
182 ScSolverDlgWrapper ::RegisterChildWindow(
false, pMod);
183 ScOptSolverDlgWrapper ::RegisterChildWindow(
false, pMod);
184 ScXMLSourceDlgWrapper ::RegisterChildWindow(
false, pMod);
185 ScNameDlgWrapper ::RegisterChildWindow(
false, pMod);
186 ScNameDefDlgWrapper ::RegisterChildWindow(
false, pMod);
187 ScPivotLayoutWrapper ::RegisterChildWindow(
false, pMod);
188 ScTabOpDlgWrapper ::RegisterChildWindow(
false, pMod);
189 ScFilterDlgWrapper ::RegisterChildWindow(
false, pMod);
190 ScSpecialFilterDlgWrapper ::RegisterChildWindow(
false, pMod);
191 ScDbNameDlgWrapper ::RegisterChildWindow(
false, pMod);
192 ScConsolidateDlgWrapper ::RegisterChildWindow(
false, pMod);
193 ScPrintAreasDlgWrapper ::RegisterChildWindow(
false, pMod);
194 ScColRowNameRangesDlgWrapper::RegisterChildWindow(
false, pMod);
195 ScFormulaDlgWrapper ::RegisterChildWindow(
false, pMod);
217 ScHighlightChgDlgWrapper ::RegisterChildWindow(
false, pMod);
219 SvxSearchDialogWrapper ::RegisterChildWindow(
false, pMod);
220 SvxHlinkDlgWrapper ::RegisterChildWindow(
false, pMod);
221 SvxFontWorkChildWindow ::RegisterChildWindow(
false, pMod);
222 SvxIMapDlgChildWindow ::RegisterChildWindow(
false, pMod);
223 ScSpellDialogChildWindow::RegisterChildWindow(
225 : SfxChildWindowFlags::NONE);
229 ScCondFormatDlgWrapper::RegisterChildWindow(
false, pMod);
244#ifndef DISABLE_DYNLOADING
246extern "C" SAL_DLLPUBLIC_EXPORT
static void RegisterChildWindow(bool bVisible=false, SfxModule *pModule=nullptr, SfxChildWindowFlags nFlags=SfxChildWindowFlags::NONE)
static SC_DLLPUBLIC ScAbstractDialogFactory * Create()
FieldUnit GetAppMetric() const
static SC_DLLPUBLIC void Init()
DLL-init/exit-code must be linked to the DLL only.
static SC_DLLPUBLIC void Init()
SC_DLLPUBLIC const ScAppOptions & GetAppOptions()
static void SetModule(SfxToolsModule nSharedLib, std::unique_ptr< SfxModule > pModule)
static SfxModule * GetModule(SfxToolsModule nSharedLib)
static void RegisterChildWindow(SfxModule *, const SfxChildWinFactory &)
void PutItem(const SfxPoolItem &rItem)
OUString nget(TranslateNId aContextSingularPlural, int n, const std::locale &loc)
OUString get(TranslateId sContextAndId, const std::locale &loc)
OUString ScResId(TranslateId aId)
SAL_DLLPUBLIC_EXPORT void lok_preload_hook()
constexpr auto SFX_INTERFACE_SFXDOCSH
constexpr auto SFX_INTERFACE_SFXAPP