Line data Source code
1 : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 : /*
3 : * This file is part of the LibreOffice project.
4 : *
5 : * This Source Code Form is subject to the terms of the Mozilla Public
6 : * License, v. 2.0. If a copy of the MPL was not distributed with this
7 : * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 : *
9 : * This file incorporates work covered by the following license notice:
10 : *
11 : * Licensed to the Apache Software Foundation (ASF) under one or more
12 : * contributor license agreements. See the NOTICE file distributed
13 : * with this work for additional information regarding copyright
14 : * ownership. The ASF licenses this file to you under the Apache
15 : * License, Version 2.0 (the "License"); you may not use this file
16 : * except in compliance with the License. You may obtain a copy of
17 : * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 : */
19 : #ifndef _SC_DLGFACT_HXX
20 : #define _SC_DLGFACT_HXX
21 :
22 : #include "scabstdlg.hxx"
23 : class Dialog;
24 : class ScImportAsciiDlg;
25 : class ScAutoFormatDlg;
26 : class ScColRowLabelDlg;
27 : class ScDataPilotDatabaseDlg;
28 : class ScDataPilotSourceTypeDlg;
29 : class ScDataPilotServiceDlg;
30 : class ScDeleteCellDlg;
31 : class ScDataFormDlg;
32 : class ScDeleteContentsDlg;
33 : class ScFillSeriesDlg;
34 : class ScGroupDlg;
35 : class ScInsertCellDlg;
36 : class ScInsertContentsDlg;
37 : class ScInsertTableDlg;
38 : class ScSelEntryDlg;
39 : class ScLinkedAreaDlg;
40 : class ScMetricInputDlg;
41 : class ScMoveTableDlg;
42 : class ScNameCreateDlg;
43 : class ScNamePasteDlg;
44 : class ScPivotFilterDlg;
45 : class ScDPFunctionDlg;
46 : class ScDPSubtotalDlg;
47 : class ScDPNumGroupDlg;
48 : class ScDPDateGroupDlg;
49 : class ScDPShowDetailDlg;
50 : class ScSortWarningDlg;
51 : class ScNewScenarioDlg;
52 : class ScShowTabDlg;
53 : class ScStringInputDlg;
54 : class ScTabBgColorDlg;
55 : class ScImportOptionsDlg;
56 : class SfxTabDialog;
57 : class ScTextImportOptionsDlg;
58 : class ScCondFormatManagerDlg;
59 :
60 : #define DECL_ABSTDLG_BASE(Class,DialogClass) \
61 : DialogClass* pDlg; \
62 : public: \
63 : Class( DialogClass* p) \
64 : : pDlg(p) \
65 : {} \
66 : virtual ~Class(); \
67 : virtual short Execute() SAL_OVERRIDE ;
68 :
69 : #define DECL_ABSTDLG2_BASE(Class,DialogClass) \
70 : DialogClass* pDlg; \
71 : public: \
72 : Class( DialogClass* p) \
73 : : pDlg(p) \
74 : {} \
75 : virtual ~Class(); \
76 : virtual void StartExecuteModal( const Link& rEndDialogHdl ) SAL_OVERRIDE; \
77 : long GetResult() SAL_OVERRIDE;
78 :
79 : #define IMPL_ABSTDLG_BASE(Class) \
80 : Class::~Class() \
81 : { \
82 : delete pDlg; \
83 : } \
84 : short Class::Execute() \
85 : { \
86 : return pDlg->Execute(); \
87 : }
88 :
89 : #define IMPL_ABSTDLG2_BASE(Class) \
90 : Class::~Class() \
91 : { \
92 : delete pDlg; \
93 : } \
94 : void Class::StartExecuteModal( const Link& rEndDialogHdl ) \
95 : { \
96 : pDlg->StartExecuteModal( rEndDialogHdl ) ; \
97 : } \
98 : long Class::GetResult() \
99 : { \
100 : return pDlg->GetResult(); \
101 : }
102 :
103 : class ScVclAbstractDialog_Impl : public VclAbstractDialog
104 : {
105 : DECL_ABSTDLG_BASE(ScVclAbstractDialog_Impl,Dialog)
106 : };
107 :
108 : class AbstractScImportAsciiDlg_Impl : public AbstractScImportAsciiDlg
109 : {
110 0 : DECL_ABSTDLG_BASE(AbstractScImportAsciiDlg_Impl, ScImportAsciiDlg)
111 : virtual void GetOptions( ScAsciiOptions& rOpt ) SAL_OVERRIDE;
112 : virtual void SaveParameters() SAL_OVERRIDE;
113 : };
114 :
115 : class AbstractScAutoFormatDlg_Impl : public AbstractScAutoFormatDlg
116 : {
117 0 : DECL_ABSTDLG_BASE(AbstractScAutoFormatDlg_Impl, ScAutoFormatDlg)
118 : virtual sal_uInt16 GetIndex() const SAL_OVERRIDE;
119 : virtual OUString GetCurrFormatName() SAL_OVERRIDE;
120 : };
121 :
122 : class AbstractScColRowLabelDlg_Impl : public AbstractScColRowLabelDlg
123 : {
124 0 : DECL_ABSTDLG_BASE(AbstractScColRowLabelDlg_Impl,ScColRowLabelDlg)
125 : virtual bool IsCol() SAL_OVERRIDE;
126 : virtual bool IsRow() SAL_OVERRIDE;
127 : };
128 :
129 : class AbstractScCondFormatManagerDlg_Impl : public AbstractScCondFormatManagerDlg
130 : {
131 0 : DECL_ABSTDLG_BASE(AbstractScCondFormatManagerDlg_Impl, ScCondFormatManagerDlg)
132 :
133 : virtual ScConditionalFormatList* GetConditionalFormatList() SAL_OVERRIDE;
134 :
135 : virtual bool CondFormatsChanged() SAL_OVERRIDE;
136 : };
137 :
138 : class AbstractScDataPilotDatabaseDlg_Impl :public AbstractScDataPilotDatabaseDlg
139 : {
140 0 : DECL_ABSTDLG_BASE(AbstractScDataPilotDatabaseDlg_Impl, ScDataPilotDatabaseDlg)
141 : virtual void GetValues( ScImportSourceDesc& rDesc ) SAL_OVERRIDE;
142 : };
143 :
144 : class AbstractScDataPilotSourceTypeDlg_Impl :public AbstractScDataPilotSourceTypeDlg
145 : {
146 0 : DECL_ABSTDLG_BASE(AbstractScDataPilotSourceTypeDlg_Impl, ScDataPilotSourceTypeDlg)
147 : virtual bool IsDatabase() const SAL_OVERRIDE;
148 : virtual bool IsExternal() const SAL_OVERRIDE;
149 : virtual bool IsNamedRange() const SAL_OVERRIDE;
150 : virtual OUString GetSelectedNamedRange() const SAL_OVERRIDE;
151 : virtual void AppendNamedRange(const OUString& rName) SAL_OVERRIDE;
152 : };
153 :
154 : class AbstractScDataPilotServiceDlg_Impl : public AbstractScDataPilotServiceDlg
155 : {
156 0 : DECL_ABSTDLG_BASE(AbstractScDataPilotServiceDlg_Impl, ScDataPilotServiceDlg)
157 : virtual OUString GetServiceName() const SAL_OVERRIDE;
158 : virtual OUString GetParSource() const SAL_OVERRIDE;
159 : virtual OUString GetParName() const SAL_OVERRIDE;
160 : virtual OUString GetParUser() const SAL_OVERRIDE;
161 : virtual OUString GetParPass() const SAL_OVERRIDE;
162 : };
163 :
164 : class AbstractScDeleteCellDlg_Impl : public AbstractScDeleteCellDlg
165 : {
166 0 : DECL_ABSTDLG_BASE(AbstractScDeleteCellDlg_Impl,ScDeleteCellDlg)
167 : virtual DelCellCmd GetDelCellCmd() const SAL_OVERRIDE;
168 : };
169 :
170 : //for dataform
171 : class AbstractScDataFormDlg_Impl : public AbstractScDataFormDlg
172 : {
173 0 : DECL_ABSTDLG_BASE(AbstractScDataFormDlg_Impl,ScDataFormDlg);
174 : };
175 :
176 : class AbstractScDeleteContentsDlg_Impl : public AbstractScDeleteContentsDlg
177 : {
178 0 : DECL_ABSTDLG_BASE( AbstractScDeleteContentsDlg_Impl,ScDeleteContentsDlg)
179 : virtual void DisableObjects() SAL_OVERRIDE;
180 : virtual sal_uInt16 GetDelContentsCmdBits() const SAL_OVERRIDE;
181 : };
182 :
183 : class AbstractScFillSeriesDlg_Impl:public AbstractScFillSeriesDlg
184 : {
185 0 : DECL_ABSTDLG_BASE(AbstractScFillSeriesDlg_Impl, ScFillSeriesDlg)
186 : virtual FillDir GetFillDir() const SAL_OVERRIDE;
187 : virtual FillCmd GetFillCmd() const SAL_OVERRIDE;
188 : virtual FillDateCmd GetFillDateCmd() const SAL_OVERRIDE;
189 : virtual double GetStart() const SAL_OVERRIDE;
190 : virtual double GetStep() const SAL_OVERRIDE;
191 : virtual double GetMax() const SAL_OVERRIDE;
192 : virtual OUString GetStartStr() const SAL_OVERRIDE;
193 : virtual void SetEdStartValEnabled(bool bFlag=false) SAL_OVERRIDE;
194 : };
195 :
196 : class AbstractScGroupDlg_Impl : public AbstractScGroupDlg
197 : {
198 0 : DECL_ABSTDLG_BASE( AbstractScGroupDlg_Impl, ScGroupDlg)
199 : virtual bool GetColsChecked() const SAL_OVERRIDE;
200 : };
201 :
202 : class AbstractScInsertCellDlg_Impl : public AbstractScInsertCellDlg
203 : {
204 0 : DECL_ABSTDLG_BASE( AbstractScInsertCellDlg_Impl, ScInsertCellDlg)
205 : virtual InsCellCmd GetInsCellCmd() const SAL_OVERRIDE ;
206 : };
207 :
208 : class AbstractScInsertContentsDlg_Impl : public AbstractScInsertContentsDlg
209 : {
210 0 : DECL_ABSTDLG_BASE(AbstractScInsertContentsDlg_Impl, ScInsertContentsDlg)
211 : virtual sal_uInt16 GetInsContentsCmdBits() const SAL_OVERRIDE;
212 : virtual sal_uInt16 GetFormulaCmdBits() const SAL_OVERRIDE;
213 : virtual bool IsSkipEmptyCells() const SAL_OVERRIDE;
214 : virtual bool IsLink() const SAL_OVERRIDE;
215 : virtual void SetFillMode( bool bSet ) SAL_OVERRIDE;
216 : virtual void SetOtherDoc( bool bSet ) SAL_OVERRIDE;
217 : virtual bool IsTranspose() const SAL_OVERRIDE;
218 : virtual void SetChangeTrack( bool bSet ) SAL_OVERRIDE;
219 : virtual void SetCellShiftDisabled( int nDisable ) SAL_OVERRIDE;
220 : virtual InsCellCmd GetMoveMode() SAL_OVERRIDE;
221 : };
222 :
223 : class AbstractScInsertTableDlg_Impl : public AbstractScInsertTableDlg
224 : {
225 0 : DECL_ABSTDLG_BASE( AbstractScInsertTableDlg_Impl, ScInsertTableDlg)
226 : virtual bool GetTablesFromFile() SAL_OVERRIDE;
227 : virtual bool GetTablesAsLink() SAL_OVERRIDE;
228 : virtual const OUString* GetFirstTable( sal_uInt16* pN = NULL ) SAL_OVERRIDE;
229 : virtual ScDocShell* GetDocShellTables() SAL_OVERRIDE;
230 : virtual bool IsTableBefore() SAL_OVERRIDE;
231 : virtual sal_uInt16 GetTableCount() SAL_OVERRIDE;
232 : virtual const OUString* GetNextTable( sal_uInt16* pN = NULL ) SAL_OVERRIDE;
233 :
234 : };
235 :
236 : class AbstractScSelEntryDlg_Impl : public AbstractScSelEntryDlg
237 : {
238 0 : DECL_ABSTDLG_BASE( AbstractScSelEntryDlg_Impl, ScSelEntryDlg )
239 : virtual OUString GetSelectEntry() const SAL_OVERRIDE;
240 : };
241 :
242 : class AbstractScLinkedAreaDlg_Impl : public AbstractScLinkedAreaDlg
243 : {
244 0 : DECL_ABSTDLG2_BASE( AbstractScLinkedAreaDlg_Impl, ScLinkedAreaDlg)
245 :
246 : virtual void InitFromOldLink( const OUString& rFile, const OUString& rFilter,
247 : const OUString& rOptions, const OUString& rSource,
248 : sal_uLong nRefresh ) SAL_OVERRIDE;
249 : virtual OUString GetURL() SAL_OVERRIDE;
250 : virtual OUString GetFilter() SAL_OVERRIDE; // may be empty
251 : virtual OUString GetOptions() SAL_OVERRIDE; // filter options
252 : virtual OUString GetSource() SAL_OVERRIDE; // separated by ";"
253 : virtual sal_uLong GetRefresh() SAL_OVERRIDE; // 0 if disabled
254 : };
255 :
256 : class AbstractScMetricInputDlg_Impl : public AbstractScMetricInputDlg
257 : {
258 0 : DECL_ABSTDLG_BASE( AbstractScMetricInputDlg_Impl, ScMetricInputDlg)
259 : virtual long GetInputValue( FieldUnit eUnit = FUNIT_TWIP ) const SAL_OVERRIDE;
260 : };
261 :
262 : class AbstractScMoveTableDlg_Impl : public AbstractScMoveTableDlg
263 : {
264 0 : DECL_ABSTDLG_BASE( AbstractScMoveTableDlg_Impl, ScMoveTableDlg)
265 : virtual sal_uInt16 GetSelectedDocument () const SAL_OVERRIDE;
266 : virtual sal_uInt16 GetSelectedTable () const SAL_OVERRIDE;
267 : virtual bool GetCopyTable () const SAL_OVERRIDE;
268 : virtual bool GetRenameTable () const SAL_OVERRIDE;
269 : virtual void GetTabNameString( OUString& rString ) const SAL_OVERRIDE;
270 : virtual void SetForceCopyTable () SAL_OVERRIDE;
271 : virtual void EnableCopyTable (bool bFlag=true) SAL_OVERRIDE;
272 : virtual void EnableRenameTable (bool bFlag=true) SAL_OVERRIDE;
273 : };
274 :
275 : class AbstractScNameCreateDlg_Impl : public AbstractScNameCreateDlg
276 : {
277 0 : DECL_ABSTDLG_BASE( AbstractScNameCreateDlg_Impl, ScNameCreateDlg)
278 : virtual sal_uInt16 GetFlags() const SAL_OVERRIDE;
279 : };
280 :
281 : class AbstractScNamePasteDlg_Impl : public AbstractScNamePasteDlg
282 : {
283 0 : DECL_ABSTDLG_BASE( AbstractScNamePasteDlg_Impl, ScNamePasteDlg )
284 : virtual std::vector<OUString> GetSelectedNames() const SAL_OVERRIDE;
285 : virtual bool IsAllSelected() const SAL_OVERRIDE;
286 : };
287 :
288 : class AbstractScPivotFilterDlg_Impl : public AbstractScPivotFilterDlg
289 : {
290 0 : DECL_ABSTDLG_BASE( AbstractScPivotFilterDlg_Impl, ScPivotFilterDlg)
291 : virtual const ScQueryItem& GetOutputItem() SAL_OVERRIDE;
292 : };
293 :
294 : class AbstractScDPFunctionDlg_Impl : public AbstractScDPFunctionDlg
295 : {
296 0 : DECL_ABSTDLG_BASE( AbstractScDPFunctionDlg_Impl, ScDPFunctionDlg)
297 : virtual sal_uInt16 GetFuncMask() const SAL_OVERRIDE;
298 : virtual ::com::sun::star::sheet::DataPilotFieldReference GetFieldRef() const SAL_OVERRIDE;
299 : };
300 :
301 : class AbstractScDPSubtotalDlg_Impl : public AbstractScDPSubtotalDlg
302 : {
303 0 : DECL_ABSTDLG_BASE( AbstractScDPSubtotalDlg_Impl, ScDPSubtotalDlg)
304 : virtual sal_uInt16 GetFuncMask() const SAL_OVERRIDE;
305 : virtual void FillLabelData( ScDPLabelData& rLabelData ) const SAL_OVERRIDE;
306 : };
307 :
308 : class AbstractScDPNumGroupDlg_Impl : public AbstractScDPNumGroupDlg
309 : {
310 0 : DECL_ABSTDLG_BASE( AbstractScDPNumGroupDlg_Impl, ScDPNumGroupDlg )
311 : virtual ScDPNumGroupInfo GetGroupInfo() const SAL_OVERRIDE;
312 : };
313 :
314 : class AbstractScDPDateGroupDlg_Impl : public AbstractScDPDateGroupDlg
315 : {
316 0 : DECL_ABSTDLG_BASE( AbstractScDPDateGroupDlg_Impl, ScDPDateGroupDlg )
317 : virtual ScDPNumGroupInfo GetGroupInfo() const SAL_OVERRIDE;
318 : virtual sal_Int32 GetDatePart() const SAL_OVERRIDE;
319 : };
320 :
321 : class AbstractScDPShowDetailDlg_Impl : public AbstractScDPShowDetailDlg
322 : {
323 0 : DECL_ABSTDLG_BASE( AbstractScDPShowDetailDlg_Impl, ScDPShowDetailDlg)
324 : virtual OUString GetDimensionName() const SAL_OVERRIDE;
325 : };
326 :
327 : class AbstractScNewScenarioDlg_Impl : public AbstractScNewScenarioDlg
328 : {
329 0 : DECL_ABSTDLG_BASE( AbstractScNewScenarioDlg_Impl, ScNewScenarioDlg )
330 : virtual void SetScenarioData( const OUString& rName, const OUString& rComment,
331 : const Color& rColor, sal_uInt16 nFlags ) SAL_OVERRIDE;
332 :
333 : virtual void GetScenarioData( OUString& rName, OUString& rComment,
334 : Color& rColor, sal_uInt16& rFlags ) const SAL_OVERRIDE;
335 : };
336 :
337 : class AbstractScShowTabDlg_Impl : public AbstractScShowTabDlg
338 : {
339 0 : DECL_ABSTDLG_BASE(AbstractScShowTabDlg_Impl,ScShowTabDlg)
340 : virtual void Insert( const OUString& rString, bool bSelected ) SAL_OVERRIDE;
341 : virtual sal_Int32 GetSelectEntryCount() const SAL_OVERRIDE;
342 : virtual void SetDescription(const OUString& rTitle, const OUString& rFixedText, const OString& sDlgHelpId, const OString& sLbHelpId ) SAL_OVERRIDE;
343 : virtual OUString GetSelectEntry(sal_Int32 nPos) const SAL_OVERRIDE;
344 : virtual sal_Int32 GetSelectEntryPos(sal_Int32 nPos) const SAL_OVERRIDE;
345 : };
346 :
347 : class AbstractScSortWarningDlg_Impl : public AbstractScSortWarningDlg
348 : {
349 0 : DECL_ABSTDLG_BASE( AbstractScSortWarningDlg_Impl, ScSortWarningDlg )
350 : };
351 :
352 : class AbstractScStringInputDlg_Impl : public AbstractScStringInputDlg
353 : {
354 0 : DECL_ABSTDLG_BASE( AbstractScStringInputDlg_Impl, ScStringInputDlg )
355 : virtual OUString GetInputString() const SAL_OVERRIDE;
356 : };
357 :
358 : class AbstractScTabBgColorDlg_Impl : public AbstractScTabBgColorDlg
359 : {
360 0 : DECL_ABSTDLG_BASE( AbstractScTabBgColorDlg_Impl, ScTabBgColorDlg )
361 : virtual void GetSelectedColor( Color& rColor ) const SAL_OVERRIDE;
362 : };
363 :
364 : class AbstractScImportOptionsDlg_Impl : public AbstractScImportOptionsDlg
365 : {
366 0 : DECL_ABSTDLG_BASE( AbstractScImportOptionsDlg_Impl, ScImportOptionsDlg)
367 : virtual void GetImportOptions( ScImportOptions& rOptions ) const SAL_OVERRIDE;
368 : };
369 :
370 : class AbstractScTextImportOptionsDlg_Impl : public AbstractScTextImportOptionsDlg
371 : {
372 0 : DECL_ABSTDLG_BASE( AbstractScTextImportOptionsDlg_Impl, ScTextImportOptionsDlg)
373 : virtual LanguageType GetLanguageType() const SAL_OVERRIDE;
374 : virtual bool IsDateConversionSet() const SAL_OVERRIDE;
375 : };
376 :
377 : class ScAbstractTabDialog_Impl : public SfxAbstractTabDialog
378 : {
379 0 : DECL_ABSTDLG_BASE( ScAbstractTabDialog_Impl,SfxTabDialog )
380 : virtual void SetCurPageId( sal_uInt16 nId ) SAL_OVERRIDE;
381 : virtual void SetCurPageId( const OString &rName ) SAL_OVERRIDE;
382 : virtual const SfxItemSet* GetOutputItemSet() const SAL_OVERRIDE;
383 : virtual const sal_uInt16* GetInputRanges( const SfxItemPool& pItem ) SAL_OVERRIDE;
384 : virtual void SetInputSet( const SfxItemSet* pInSet ) SAL_OVERRIDE;
385 : //From class Window.
386 : virtual void SetText( const OUString& rStr ) SAL_OVERRIDE;
387 : virtual OUString GetText() const SAL_OVERRIDE;
388 : };
389 :
390 :
391 : //AbstractDialogFactory_Impl implementations
392 0 : class ScAbstractDialogFactory_Impl : public ScAbstractDialogFactory
393 : {
394 :
395 : public:
396 0 : virtual ~ScAbstractDialogFactory_Impl() {}
397 :
398 : virtual AbstractScImportAsciiDlg * CreateScImportAsciiDlg( Window* pParent, const OUString& aDatName,
399 : SvStream* pInStream,
400 : ScImportAsciiCall eCall) SAL_OVERRIDE;
401 :
402 : virtual AbstractScTextImportOptionsDlg * CreateScTextImportOptionsDlg(Window* pParent) SAL_OVERRIDE;
403 :
404 : virtual AbstractScAutoFormatDlg * CreateScAutoFormatDlg(Window* pParent,
405 : ScAutoFormat* pAutoFormat,
406 : const ScAutoFormatData* pSelFormatData,
407 : ScViewData *pViewData) SAL_OVERRIDE;
408 : virtual AbstractScColRowLabelDlg * CreateScColRowLabelDlg (Window* pParent,
409 : bool bCol = false,
410 : bool bRow = false) SAL_OVERRIDE;
411 :
412 : virtual AbstractScSortWarningDlg * CreateScSortWarningDlg(Window* pParent, const OUString& rExtendText, const OUString& rCurrentText ) SAL_OVERRIDE;
413 :
414 : virtual AbstractScCondFormatManagerDlg* CreateScCondFormatMgrDlg(Window* pParent, ScDocument* pDoc, const ScConditionalFormatList* pFormatList,
415 : const ScAddress& rPos, int nId ) SAL_OVERRIDE;
416 :
417 : virtual AbstractScDataPilotDatabaseDlg * CreateScDataPilotDatabaseDlg(Window* pParent) SAL_OVERRIDE;
418 :
419 : virtual AbstractScDataPilotSourceTypeDlg* CreateScDataPilotSourceTypeDlg(Window* pParent,
420 : bool bEnableExternal) SAL_OVERRIDE;
421 :
422 : virtual AbstractScDataPilotServiceDlg * CreateScDataPilotServiceDlg( Window* pParent,
423 : const com::sun::star::uno::Sequence<OUString>& rServices,
424 : int nId ) SAL_OVERRIDE;
425 : virtual AbstractScDeleteCellDlg * CreateScDeleteCellDlg(Window* pParent, bool bDisallowCellMove = false ) SAL_OVERRIDE;
426 :
427 : //for dataform
428 : virtual AbstractScDataFormDlg* CreateScDataFormDlg(Window* pParent,
429 : ScTabViewShell* pTabViewShell) SAL_OVERRIDE;
430 :
431 : virtual AbstractScDeleteContentsDlg * CreateScDeleteContentsDlg(Window* pParent,
432 : sal_uInt16 nCheckDefaults = 0) SAL_OVERRIDE;
433 :
434 : virtual AbstractScFillSeriesDlg * CreateScFillSeriesDlg( Window* pParent,
435 : ScDocument& rDocument,
436 : FillDir eFillDir,
437 : FillCmd eFillCmd,
438 : FillDateCmd eFillDateCmd,
439 : const OUString& aStartStr,
440 : double fStep,
441 : double fMax,
442 : sal_uInt16 nPossDir) SAL_OVERRIDE;
443 : virtual AbstractScGroupDlg * CreateAbstractScGroupDlg( Window* pParent,
444 : bool bUnGroup = false,
445 : bool bRows = true) SAL_OVERRIDE;
446 :
447 : virtual AbstractScInsertCellDlg * CreateScInsertCellDlg( Window* pParent,
448 : int nId,
449 : bool bDisallowCellMove = false ) SAL_OVERRIDE;
450 :
451 : virtual AbstractScInsertContentsDlg * CreateScInsertContentsDlg( Window* pParent,
452 : sal_uInt16 nCheckDefaults = 0,
453 : const OUString* pStrTitle = NULL ) SAL_OVERRIDE;
454 :
455 : virtual AbstractScInsertTableDlg * CreateScInsertTableDlg(Window* pParent, ScViewData& rViewData,
456 : SCTAB nTabCount, bool bFromFile) SAL_OVERRIDE;
457 :
458 : virtual AbstractScSelEntryDlg * CreateScSelEntryDlg ( Window* pParent,
459 : const std::vector<OUString> &rEntryList ) SAL_OVERRIDE;
460 :
461 : virtual AbstractScLinkedAreaDlg * CreateScLinkedAreaDlg(Window* pParent) SAL_OVERRIDE;
462 :
463 : virtual AbstractScMetricInputDlg * CreateScMetricInputDlg ( Window* pParent,
464 : const OString& sDialogName,
465 : long nCurrent,
466 : long nDefault,
467 : FieldUnit eFUnit = FUNIT_MM,
468 : sal_uInt16 nDecimals = 2,
469 : long nMaximum = 1000,
470 : long nMinimum = 0,
471 : long nFirst = 1,
472 : long nLast = 100 ) SAL_OVERRIDE;
473 :
474 : virtual AbstractScMoveTableDlg * CreateScMoveTableDlg(Window * pParent,
475 : const OUString& rDefault) SAL_OVERRIDE;
476 :
477 : virtual AbstractScNameCreateDlg * CreateScNameCreateDlg(Window * pParent,
478 : sal_uInt16 nFlags) SAL_OVERRIDE;
479 :
480 : virtual AbstractScNamePasteDlg * CreateScNamePasteDlg ( Window * pParent, ScDocShell* pShell, bool bInsList=true ) SAL_OVERRIDE;
481 :
482 : virtual AbstractScPivotFilterDlg * CreateScPivotFilterDlg(Window* pParent,
483 : const SfxItemSet& rArgSet, sal_uInt16 nSourceTab) SAL_OVERRIDE;
484 :
485 : virtual AbstractScDPFunctionDlg * CreateScDPFunctionDlg( Window* pParent,
486 : const ScDPLabelDataVector& rLabelVec,
487 : const ScDPLabelData& rLabelData,
488 : const ScPivotFuncData& rFuncData ) SAL_OVERRIDE;
489 :
490 : virtual AbstractScDPSubtotalDlg * CreateScDPSubtotalDlg( Window* pParent,
491 : ScDPObject& rDPObj,
492 : const ScDPLabelData& rLabelData,
493 : const ScPivotFuncData& rFuncData,
494 : const ScDPNameVec& rDataFields,
495 : bool bEnableLayout ) SAL_OVERRIDE;
496 :
497 : virtual AbstractScDPNumGroupDlg * CreateScDPNumGroupDlg( Window* pParent,
498 : int nId,
499 : const ScDPNumGroupInfo& rInfo ) SAL_OVERRIDE;
500 :
501 : virtual AbstractScDPDateGroupDlg * CreateScDPDateGroupDlg( Window* pParent,
502 : int nId,
503 : const ScDPNumGroupInfo& rInfo,
504 : sal_Int32 nDatePart,
505 : const Date& rNullDate ) SAL_OVERRIDE;
506 :
507 : virtual AbstractScDPShowDetailDlg * CreateScDPShowDetailDlg( Window* pParent, int nId,
508 : ScDPObject& rDPObj,
509 : sal_uInt16 nOrient ) SAL_OVERRIDE;
510 :
511 : virtual AbstractScNewScenarioDlg * CreateScNewScenarioDlg ( Window* pParent, const OUString& rName,
512 : bool bEdit = false, bool bSheetProtected = false ) SAL_OVERRIDE;
513 : virtual AbstractScShowTabDlg * CreateScShowTabDlg(Window* pParent) SAL_OVERRIDE;
514 :
515 : virtual AbstractScStringInputDlg * CreateScStringInputDlg ( Window* pParent,
516 : const OUString& rTitle,
517 : const OUString& rEditTitle,
518 : const OUString& rDefault,
519 : const OString& sHelpId, const OString& sEditHelpId ) SAL_OVERRIDE;
520 :
521 : virtual AbstractScTabBgColorDlg * CreateScTabBgColorDlg ( Window* pParent,
522 : const OUString& rTitle, //Dialog Title
523 : const OUString& rTabBgColorNoColorText, //Label for no tab color
524 : const Color& rDefaultColor, //Currently selected Color
525 : const OString& sHelpId ) SAL_OVERRIDE;
526 :
527 : virtual AbstractScImportOptionsDlg * CreateScImportOptionsDlg ( Window* pParent,
528 : bool bAscii = true,
529 : const ScImportOptions* pOptions = NULL,
530 : const OUString* pStrTitle = NULL,
531 : bool bMultiByte = false,
532 : bool bOnlyDbtoolsEncodings = false,
533 : bool bImport = true ) SAL_OVERRIDE;
534 : virtual SfxAbstractTabDialog * CreateScAttrDlg( SfxViewFrame* pFrame,
535 : Window* pParent,
536 : const SfxItemSet* pCellAttrs ) SAL_OVERRIDE;
537 :
538 : virtual SfxAbstractTabDialog * CreateScHFEditDlg( SfxViewFrame* pFrame,
539 : Window* pParent,
540 : const SfxItemSet& rCoreSet,
541 : const OUString& rPageStyle,
542 : sal_uInt16 nResId = RID_SCDLG_HFEDIT ) SAL_OVERRIDE;
543 :
544 : virtual SfxAbstractTabDialog * CreateScStyleDlg( Window* pParent,
545 : SfxStyleSheetBase& rStyleBase,
546 : sal_uInt16 nRscId,
547 : int nId) SAL_OVERRIDE;
548 :
549 : virtual SfxAbstractTabDialog * CreateScSubTotalDlg( Window* pParent,
550 : const SfxItemSet* pArgSet ) SAL_OVERRIDE;
551 : virtual SfxAbstractTabDialog * CreateScCharDlg(Window* pParent,
552 : const SfxItemSet* pAttr, const SfxObjectShell* pDocShell) SAL_OVERRIDE;
553 :
554 : virtual SfxAbstractTabDialog * CreateScParagraphDlg(Window* pParent,
555 : const SfxItemSet* pAttr) SAL_OVERRIDE;
556 :
557 : virtual SfxAbstractTabDialog * CreateScValidationDlg(Window* pParent,
558 : const SfxItemSet* pArgSet, ScTabViewShell *pTabVwSh) SAL_OVERRIDE;
559 :
560 : virtual SfxAbstractTabDialog * CreateScSortDlg(Window* pParent, const SfxItemSet* pArgSet) SAL_OVERRIDE;
561 :
562 : // For TabPage
563 : virtual CreateTabPage GetTabPageCreatorFunc( sal_uInt16 nId ) SAL_OVERRIDE;
564 :
565 : virtual GetTabPageRanges GetTabPageRangesFunc() SAL_OVERRIDE;
566 :
567 : };
568 :
569 : #endif
570 :
571 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|