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 INCLUDED_SC_SOURCE_UI_ATTRDLG_SCDLGFACT_HXX
20 : #define INCLUDED_SC_SOURCE_UI_ATTRDLG_SCDLGFACT_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 : ScopedVclPtr<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 : ScopedVclPtr<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 : } \
83 : short Class::Execute() \
84 : { \
85 : return pDlg->Execute(); \
86 : }
87 :
88 : #define IMPL_ABSTDLG2_BASE(Class) \
89 : Class::~Class() \
90 : { \
91 : } \
92 : void Class::StartExecuteModal( const Link<>& rEndDialogHdl ) \
93 : { \
94 : pDlg->StartExecuteModal( rEndDialogHdl ) ; \
95 : } \
96 : long Class::GetResult() \
97 : { \
98 : return pDlg->GetResult(); \
99 : }
100 :
101 : class ScVclAbstractDialog_Impl : public VclAbstractDialog
102 : {
103 : DECL_ABSTDLG_BASE(ScVclAbstractDialog_Impl,Dialog)
104 : };
105 :
106 : class AbstractScImportAsciiDlg_Impl : public AbstractScImportAsciiDlg
107 : {
108 0 : DECL_ABSTDLG_BASE(AbstractScImportAsciiDlg_Impl, ScImportAsciiDlg)
109 : virtual void GetOptions( ScAsciiOptions& rOpt ) SAL_OVERRIDE;
110 : virtual void SaveParameters() SAL_OVERRIDE;
111 : };
112 :
113 : class AbstractScAutoFormatDlg_Impl : public AbstractScAutoFormatDlg
114 : {
115 0 : DECL_ABSTDLG_BASE(AbstractScAutoFormatDlg_Impl, ScAutoFormatDlg)
116 : virtual sal_uInt16 GetIndex() const SAL_OVERRIDE;
117 : virtual OUString GetCurrFormatName() SAL_OVERRIDE;
118 : };
119 :
120 : class AbstractScColRowLabelDlg_Impl : public AbstractScColRowLabelDlg
121 : {
122 0 : DECL_ABSTDLG_BASE(AbstractScColRowLabelDlg_Impl,ScColRowLabelDlg)
123 : virtual bool IsCol() SAL_OVERRIDE;
124 : virtual bool IsRow() SAL_OVERRIDE;
125 : };
126 :
127 : class AbstractScCondFormatManagerDlg_Impl : public AbstractScCondFormatManagerDlg
128 : {
129 0 : DECL_ABSTDLG_BASE(AbstractScCondFormatManagerDlg_Impl, ScCondFormatManagerDlg)
130 :
131 : virtual ScConditionalFormatList* GetConditionalFormatList() SAL_OVERRIDE;
132 :
133 : virtual bool CondFormatsChanged() SAL_OVERRIDE;
134 :
135 : virtual ScConditionalFormat* GetCondFormatSelected() 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 InsertDeleteFlags 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 InsertDeleteFlags 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 : //AbstractDialogFactory_Impl implementations
391 0 : class ScAbstractDialogFactory_Impl : public ScAbstractDialogFactory
392 : {
393 :
394 : public:
395 0 : virtual ~ScAbstractDialogFactory_Impl() {}
396 :
397 : virtual AbstractScImportAsciiDlg * CreateScImportAsciiDlg( vcl::Window* pParent, const OUString& aDatName,
398 : SvStream* pInStream,
399 : ScImportAsciiCall eCall) SAL_OVERRIDE;
400 :
401 : virtual AbstractScTextImportOptionsDlg * CreateScTextImportOptionsDlg(vcl::Window* pParent) SAL_OVERRIDE;
402 :
403 : virtual AbstractScAutoFormatDlg * CreateScAutoFormatDlg(vcl::Window* pParent,
404 : ScAutoFormat* pAutoFormat,
405 : const ScAutoFormatData* pSelFormatData,
406 : ScViewData *pViewData) SAL_OVERRIDE;
407 : virtual AbstractScColRowLabelDlg * CreateScColRowLabelDlg (vcl::Window* pParent,
408 : bool bCol = false,
409 : bool bRow = false) SAL_OVERRIDE;
410 :
411 : virtual AbstractScSortWarningDlg * CreateScSortWarningDlg(vcl::Window* pParent, const OUString& rExtendText, const OUString& rCurrentText ) SAL_OVERRIDE;
412 :
413 : virtual AbstractScCondFormatManagerDlg* CreateScCondFormatMgrDlg(vcl::Window* pParent, ScDocument* pDoc, const ScConditionalFormatList* pFormatList,
414 : const ScAddress& rPos, int nId ) SAL_OVERRIDE;
415 :
416 : virtual AbstractScDataPilotDatabaseDlg * CreateScDataPilotDatabaseDlg(vcl::Window* pParent) SAL_OVERRIDE;
417 :
418 : virtual AbstractScDataPilotSourceTypeDlg* CreateScDataPilotSourceTypeDlg(vcl::Window* pParent,
419 : bool bEnableExternal) SAL_OVERRIDE;
420 :
421 : virtual AbstractScDataPilotServiceDlg * CreateScDataPilotServiceDlg( vcl::Window* pParent,
422 : const com::sun::star::uno::Sequence<OUString>& rServices,
423 : int nId ) SAL_OVERRIDE;
424 : virtual AbstractScDeleteCellDlg * CreateScDeleteCellDlg(vcl::Window* pParent, bool bDisallowCellMove = false ) SAL_OVERRIDE;
425 :
426 : //for dataform
427 : virtual AbstractScDataFormDlg* CreateScDataFormDlg(vcl::Window* pParent,
428 : ScTabViewShell* pTabViewShell) SAL_OVERRIDE;
429 :
430 : virtual AbstractScDeleteContentsDlg * CreateScDeleteContentsDlg(vcl::Window* pParent,
431 : InsertDeleteFlags nCheckDefaults = IDF_NONE) SAL_OVERRIDE;
432 :
433 : virtual AbstractScFillSeriesDlg * CreateScFillSeriesDlg( vcl::Window* pParent,
434 : ScDocument& rDocument,
435 : FillDir eFillDir,
436 : FillCmd eFillCmd,
437 : FillDateCmd eFillDateCmd,
438 : const OUString& aStartStr,
439 : double fStep,
440 : double fMax,
441 : sal_uInt16 nPossDir) SAL_OVERRIDE;
442 : virtual AbstractScGroupDlg * CreateAbstractScGroupDlg( vcl::Window* pParent,
443 : bool bUnGroup = false,
444 : bool bRows = true) SAL_OVERRIDE;
445 :
446 : virtual AbstractScInsertCellDlg * CreateScInsertCellDlg( vcl::Window* pParent,
447 : int nId,
448 : bool bDisallowCellMove = false ) SAL_OVERRIDE;
449 :
450 : virtual AbstractScInsertContentsDlg * CreateScInsertContentsDlg( vcl::Window* pParent,
451 : InsertDeleteFlags nCheckDefaults = IDF_NONE,
452 : const OUString* pStrTitle = NULL ) SAL_OVERRIDE;
453 :
454 : virtual AbstractScInsertTableDlg * CreateScInsertTableDlg(vcl::Window* pParent, ScViewData& rViewData,
455 : SCTAB nTabCount, bool bFromFile) SAL_OVERRIDE;
456 :
457 : virtual AbstractScSelEntryDlg * CreateScSelEntryDlg ( vcl::Window* pParent,
458 : const std::vector<OUString> &rEntryList ) SAL_OVERRIDE;
459 :
460 : virtual AbstractScLinkedAreaDlg * CreateScLinkedAreaDlg(vcl::Window* pParent) SAL_OVERRIDE;
461 :
462 : virtual AbstractScMetricInputDlg * CreateScMetricInputDlg ( vcl::Window* pParent,
463 : const OString& sDialogName,
464 : long nCurrent,
465 : long nDefault,
466 : FieldUnit eFUnit = FUNIT_MM,
467 : sal_uInt16 nDecimals = 2,
468 : long nMaximum = 1000,
469 : long nMinimum = 0,
470 : long nFirst = 1,
471 : long nLast = 100 ) SAL_OVERRIDE;
472 :
473 : virtual AbstractScMoveTableDlg * CreateScMoveTableDlg(vcl::Window * pParent,
474 : const OUString& rDefault) SAL_OVERRIDE;
475 :
476 : virtual AbstractScNameCreateDlg * CreateScNameCreateDlg(vcl::Window * pParent,
477 : sal_uInt16 nFlags) SAL_OVERRIDE;
478 :
479 : virtual AbstractScNamePasteDlg * CreateScNamePasteDlg ( vcl::Window * pParent, ScDocShell* pShell, bool bInsList=true ) SAL_OVERRIDE;
480 :
481 : virtual AbstractScPivotFilterDlg * CreateScPivotFilterDlg(vcl::Window* pParent,
482 : const SfxItemSet& rArgSet, sal_uInt16 nSourceTab) SAL_OVERRIDE;
483 :
484 : virtual AbstractScDPFunctionDlg * CreateScDPFunctionDlg( vcl::Window* pParent,
485 : const ScDPLabelDataVector& rLabelVec,
486 : const ScDPLabelData& rLabelData,
487 : const ScPivotFuncData& rFuncData ) SAL_OVERRIDE;
488 :
489 : virtual AbstractScDPSubtotalDlg * CreateScDPSubtotalDlg( vcl::Window* pParent,
490 : ScDPObject& rDPObj,
491 : const ScDPLabelData& rLabelData,
492 : const ScPivotFuncData& rFuncData,
493 : const ScDPNameVec& rDataFields,
494 : bool bEnableLayout ) SAL_OVERRIDE;
495 :
496 : virtual AbstractScDPNumGroupDlg * CreateScDPNumGroupDlg( vcl::Window* pParent,
497 : int nId,
498 : const ScDPNumGroupInfo& rInfo ) SAL_OVERRIDE;
499 :
500 : virtual AbstractScDPDateGroupDlg * CreateScDPDateGroupDlg( vcl::Window* pParent,
501 : int nId,
502 : const ScDPNumGroupInfo& rInfo,
503 : sal_Int32 nDatePart,
504 : const Date& rNullDate ) SAL_OVERRIDE;
505 :
506 : virtual AbstractScDPShowDetailDlg * CreateScDPShowDetailDlg( vcl::Window* pParent, int nId,
507 : ScDPObject& rDPObj,
508 : sal_uInt16 nOrient ) SAL_OVERRIDE;
509 :
510 : virtual AbstractScNewScenarioDlg * CreateScNewScenarioDlg ( vcl::Window* pParent, const OUString& rName,
511 : bool bEdit = false, bool bSheetProtected = false ) SAL_OVERRIDE;
512 : virtual AbstractScShowTabDlg * CreateScShowTabDlg(vcl::Window* pParent) SAL_OVERRIDE;
513 :
514 : virtual AbstractScStringInputDlg * CreateScStringInputDlg ( vcl::Window* pParent,
515 : const OUString& rTitle,
516 : const OUString& rEditTitle,
517 : const OUString& rDefault,
518 : const OString& sHelpId, const OString& sEditHelpId ) SAL_OVERRIDE;
519 :
520 : virtual AbstractScTabBgColorDlg * CreateScTabBgColorDlg ( vcl::Window* pParent,
521 : const OUString& rTitle, //Dialog Title
522 : const OUString& rTabBgColorNoColorText, //Label for no tab color
523 : const Color& rDefaultColor, //Currently selected Color
524 : const OString& sHelpId ) SAL_OVERRIDE;
525 :
526 : virtual AbstractScImportOptionsDlg * CreateScImportOptionsDlg ( vcl::Window* pParent,
527 : bool bAscii = true,
528 : const ScImportOptions* pOptions = NULL,
529 : const OUString* pStrTitle = NULL,
530 : bool bMultiByte = false,
531 : bool bOnlyDbtoolsEncodings = false,
532 : bool bImport = true ) SAL_OVERRIDE;
533 : virtual SfxAbstractTabDialog * CreateScAttrDlg( SfxViewFrame* pFrame,
534 : vcl::Window* pParent,
535 : const SfxItemSet* pCellAttrs ) SAL_OVERRIDE;
536 :
537 : virtual SfxAbstractTabDialog * CreateScHFEditDlg( SfxViewFrame* pFrame,
538 : vcl::Window* pParent,
539 : const SfxItemSet& rCoreSet,
540 : const OUString& rPageStyle,
541 : sal_uInt16 nResId = RID_SCDLG_HFEDIT ) SAL_OVERRIDE;
542 :
543 : virtual SfxAbstractTabDialog * CreateScStyleDlg( vcl::Window* pParent,
544 : SfxStyleSheetBase& rStyleBase,
545 : sal_uInt16 nRscId,
546 : int nId) SAL_OVERRIDE;
547 :
548 : virtual SfxAbstractTabDialog * CreateScSubTotalDlg( vcl::Window* pParent,
549 : const SfxItemSet* pArgSet ) SAL_OVERRIDE;
550 : virtual SfxAbstractTabDialog * CreateScCharDlg(vcl::Window* pParent,
551 : const SfxItemSet* pAttr, const SfxObjectShell* pDocShell) SAL_OVERRIDE;
552 :
553 : virtual SfxAbstractTabDialog * CreateScParagraphDlg(vcl::Window* pParent,
554 : const SfxItemSet* pAttr) SAL_OVERRIDE;
555 :
556 : virtual SfxAbstractTabDialog * CreateScValidationDlg(vcl::Window* pParent,
557 : const SfxItemSet* pArgSet, ScTabViewShell *pTabVwSh) SAL_OVERRIDE;
558 :
559 : virtual SfxAbstractTabDialog * CreateScSortDlg(vcl::Window* pParent, const SfxItemSet* pArgSet) SAL_OVERRIDE;
560 :
561 : // For TabPage
562 : virtual CreateTabPage GetTabPageCreatorFunc( sal_uInt16 nId ) SAL_OVERRIDE;
563 :
564 : virtual GetTabPageRanges GetTabPageRangesFunc() SAL_OVERRIDE;
565 :
566 : };
567 :
568 : #endif
569 :
570 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|