1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
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/.
9 * This file incorporates work covered by the following license notice:
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 .
19 #ifndef INCLUDED_SC_SOURCE_UI_ATTRDLG_SCDLGFACT_HXX
20 #define INCLUDED_SC_SOURCE_UI_ATTRDLG_SCDLGFACT_HXX
22 #include "scabstdlg.hxx"
24 class ScImportAsciiDlg
;
25 class ScAutoFormatDlg
;
26 class ScColRowLabelDlg
;
27 class ScDataPilotDatabaseDlg
;
28 class ScDataPilotSourceTypeDlg
;
29 class ScDataPilotServiceDlg
;
30 class ScDeleteCellDlg
;
32 class ScDeleteContentsDlg
;
33 class ScFillSeriesDlg
;
35 class ScInsertCellDlg
;
36 class ScInsertContentsDlg
;
37 class ScInsertTableDlg
;
39 class ScLinkedAreaDlg
;
40 class ScMetricInputDlg
;
42 class ScNameCreateDlg
;
44 class ScPivotFilterDlg
;
45 class ScDPFunctionDlg
;
46 class ScDPSubtotalDlg
;
47 class ScDPNumGroupDlg
;
48 class ScDPDateGroupDlg
;
49 class ScDPShowDetailDlg
;
50 class ScSortWarningDlg
;
51 class ScNewScenarioDlg
;
53 class ScStringInputDlg
;
54 class ScTabBgColorDlg
;
55 class ScImportOptionsDlg
;
57 class ScTextImportOptionsDlg
;
58 class ScCondFormatManagerDlg
;
60 #define DECL_ABSTDLG_BASE(Class,DialogClass) \
63 Class( DialogClass* p) \
67 virtual short Execute() SAL_OVERRIDE ;
69 #define DECL_ABSTDLG2_BASE(Class,DialogClass) \
72 Class( DialogClass* p) \
76 virtual void StartExecuteModal( const Link& rEndDialogHdl ) SAL_OVERRIDE; \
77 long GetResult() SAL_OVERRIDE;
79 #define IMPL_ABSTDLG_BASE(Class) \
84 short Class::Execute() \
86 return pDlg->Execute(); \
89 #define IMPL_ABSTDLG2_BASE(Class) \
94 void Class::StartExecuteModal( const Link& rEndDialogHdl ) \
96 pDlg->StartExecuteModal( rEndDialogHdl ) ; \
98 long Class::GetResult() \
100 return pDlg->GetResult(); \
103 class ScVclAbstractDialog_Impl
: public VclAbstractDialog
105 DECL_ABSTDLG_BASE(ScVclAbstractDialog_Impl
,Dialog
)
108 class AbstractScImportAsciiDlg_Impl
: public AbstractScImportAsciiDlg
110 DECL_ABSTDLG_BASE(AbstractScImportAsciiDlg_Impl
, ScImportAsciiDlg
)
111 virtual void GetOptions( ScAsciiOptions
& rOpt
) SAL_OVERRIDE
;
112 virtual void SaveParameters() SAL_OVERRIDE
;
115 class AbstractScAutoFormatDlg_Impl
: public AbstractScAutoFormatDlg
117 DECL_ABSTDLG_BASE(AbstractScAutoFormatDlg_Impl
, ScAutoFormatDlg
)
118 virtual sal_uInt16
GetIndex() const SAL_OVERRIDE
;
119 virtual OUString
GetCurrFormatName() SAL_OVERRIDE
;
122 class AbstractScColRowLabelDlg_Impl
: public AbstractScColRowLabelDlg
124 DECL_ABSTDLG_BASE(AbstractScColRowLabelDlg_Impl
,ScColRowLabelDlg
)
125 virtual bool IsCol() SAL_OVERRIDE
;
126 virtual bool IsRow() SAL_OVERRIDE
;
129 class AbstractScCondFormatManagerDlg_Impl
: public AbstractScCondFormatManagerDlg
131 DECL_ABSTDLG_BASE(AbstractScCondFormatManagerDlg_Impl
, ScCondFormatManagerDlg
)
133 virtual ScConditionalFormatList
* GetConditionalFormatList() SAL_OVERRIDE
;
135 virtual bool CondFormatsChanged() SAL_OVERRIDE
;
138 class AbstractScDataPilotDatabaseDlg_Impl
:public AbstractScDataPilotDatabaseDlg
140 DECL_ABSTDLG_BASE(AbstractScDataPilotDatabaseDlg_Impl
, ScDataPilotDatabaseDlg
)
141 virtual void GetValues( ScImportSourceDesc
& rDesc
) SAL_OVERRIDE
;
144 class AbstractScDataPilotSourceTypeDlg_Impl
:public AbstractScDataPilotSourceTypeDlg
146 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
;
154 class AbstractScDataPilotServiceDlg_Impl
: public AbstractScDataPilotServiceDlg
156 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
;
164 class AbstractScDeleteCellDlg_Impl
: public AbstractScDeleteCellDlg
166 DECL_ABSTDLG_BASE(AbstractScDeleteCellDlg_Impl
,ScDeleteCellDlg
)
167 virtual DelCellCmd
GetDelCellCmd() const SAL_OVERRIDE
;
171 class AbstractScDataFormDlg_Impl
: public AbstractScDataFormDlg
173 DECL_ABSTDLG_BASE(AbstractScDataFormDlg_Impl
,ScDataFormDlg
);
176 class AbstractScDeleteContentsDlg_Impl
: public AbstractScDeleteContentsDlg
178 DECL_ABSTDLG_BASE( AbstractScDeleteContentsDlg_Impl
,ScDeleteContentsDlg
)
179 virtual void DisableObjects() SAL_OVERRIDE
;
180 virtual sal_uInt16
GetDelContentsCmdBits() const SAL_OVERRIDE
;
183 class AbstractScFillSeriesDlg_Impl
:public AbstractScFillSeriesDlg
185 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
;
196 class AbstractScGroupDlg_Impl
: public AbstractScGroupDlg
198 DECL_ABSTDLG_BASE( AbstractScGroupDlg_Impl
, ScGroupDlg
)
199 virtual bool GetColsChecked() const SAL_OVERRIDE
;
202 class AbstractScInsertCellDlg_Impl
: public AbstractScInsertCellDlg
204 DECL_ABSTDLG_BASE( AbstractScInsertCellDlg_Impl
, ScInsertCellDlg
)
205 virtual InsCellCmd
GetInsCellCmd() const SAL_OVERRIDE
;
208 class AbstractScInsertContentsDlg_Impl
: public AbstractScInsertContentsDlg
210 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
;
223 class AbstractScInsertTableDlg_Impl
: public AbstractScInsertTableDlg
225 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
;
236 class AbstractScSelEntryDlg_Impl
: public AbstractScSelEntryDlg
238 DECL_ABSTDLG_BASE( AbstractScSelEntryDlg_Impl
, ScSelEntryDlg
)
239 virtual OUString
GetSelectEntry() const SAL_OVERRIDE
;
242 class AbstractScLinkedAreaDlg_Impl
: public AbstractScLinkedAreaDlg
244 DECL_ABSTDLG2_BASE( AbstractScLinkedAreaDlg_Impl
, ScLinkedAreaDlg
)
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
256 class AbstractScMetricInputDlg_Impl
: public AbstractScMetricInputDlg
258 DECL_ABSTDLG_BASE( AbstractScMetricInputDlg_Impl
, ScMetricInputDlg
)
259 virtual long GetInputValue( FieldUnit eUnit
= FUNIT_TWIP
) const SAL_OVERRIDE
;
262 class AbstractScMoveTableDlg_Impl
: public AbstractScMoveTableDlg
264 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
;
275 class AbstractScNameCreateDlg_Impl
: public AbstractScNameCreateDlg
277 DECL_ABSTDLG_BASE( AbstractScNameCreateDlg_Impl
, ScNameCreateDlg
)
278 virtual sal_uInt16
GetFlags() const SAL_OVERRIDE
;
281 class AbstractScNamePasteDlg_Impl
: public AbstractScNamePasteDlg
283 DECL_ABSTDLG_BASE( AbstractScNamePasteDlg_Impl
, ScNamePasteDlg
)
284 virtual std::vector
<OUString
> GetSelectedNames() const SAL_OVERRIDE
;
285 virtual bool IsAllSelected() const SAL_OVERRIDE
;
288 class AbstractScPivotFilterDlg_Impl
: public AbstractScPivotFilterDlg
290 DECL_ABSTDLG_BASE( AbstractScPivotFilterDlg_Impl
, ScPivotFilterDlg
)
291 virtual const ScQueryItem
& GetOutputItem() SAL_OVERRIDE
;
294 class AbstractScDPFunctionDlg_Impl
: public AbstractScDPFunctionDlg
296 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
;
301 class AbstractScDPSubtotalDlg_Impl
: public AbstractScDPSubtotalDlg
303 DECL_ABSTDLG_BASE( AbstractScDPSubtotalDlg_Impl
, ScDPSubtotalDlg
)
304 virtual sal_uInt16
GetFuncMask() const SAL_OVERRIDE
;
305 virtual void FillLabelData( ScDPLabelData
& rLabelData
) const SAL_OVERRIDE
;
308 class AbstractScDPNumGroupDlg_Impl
: public AbstractScDPNumGroupDlg
310 DECL_ABSTDLG_BASE( AbstractScDPNumGroupDlg_Impl
, ScDPNumGroupDlg
)
311 virtual ScDPNumGroupInfo
GetGroupInfo() const SAL_OVERRIDE
;
314 class AbstractScDPDateGroupDlg_Impl
: public AbstractScDPDateGroupDlg
316 DECL_ABSTDLG_BASE( AbstractScDPDateGroupDlg_Impl
, ScDPDateGroupDlg
)
317 virtual ScDPNumGroupInfo
GetGroupInfo() const SAL_OVERRIDE
;
318 virtual sal_Int32
GetDatePart() const SAL_OVERRIDE
;
321 class AbstractScDPShowDetailDlg_Impl
: public AbstractScDPShowDetailDlg
323 DECL_ABSTDLG_BASE( AbstractScDPShowDetailDlg_Impl
, ScDPShowDetailDlg
)
324 virtual OUString
GetDimensionName() const SAL_OVERRIDE
;
327 class AbstractScNewScenarioDlg_Impl
: public AbstractScNewScenarioDlg
329 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
;
333 virtual void GetScenarioData( OUString
& rName
, OUString
& rComment
,
334 Color
& rColor
, sal_uInt16
& rFlags
) const SAL_OVERRIDE
;
337 class AbstractScShowTabDlg_Impl
: public AbstractScShowTabDlg
339 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
;
347 class AbstractScSortWarningDlg_Impl
: public AbstractScSortWarningDlg
349 DECL_ABSTDLG_BASE( AbstractScSortWarningDlg_Impl
, ScSortWarningDlg
)
352 class AbstractScStringInputDlg_Impl
: public AbstractScStringInputDlg
354 DECL_ABSTDLG_BASE( AbstractScStringInputDlg_Impl
, ScStringInputDlg
)
355 virtual OUString
GetInputString() const SAL_OVERRIDE
;
358 class AbstractScTabBgColorDlg_Impl
: public AbstractScTabBgColorDlg
360 DECL_ABSTDLG_BASE( AbstractScTabBgColorDlg_Impl
, ScTabBgColorDlg
)
361 virtual void GetSelectedColor( Color
& rColor
) const SAL_OVERRIDE
;
364 class AbstractScImportOptionsDlg_Impl
: public AbstractScImportOptionsDlg
366 DECL_ABSTDLG_BASE( AbstractScImportOptionsDlg_Impl
, ScImportOptionsDlg
)
367 virtual void GetImportOptions( ScImportOptions
& rOptions
) const SAL_OVERRIDE
;
370 class AbstractScTextImportOptionsDlg_Impl
: public AbstractScTextImportOptionsDlg
372 DECL_ABSTDLG_BASE( AbstractScTextImportOptionsDlg_Impl
, ScTextImportOptionsDlg
)
373 virtual LanguageType
GetLanguageType() const SAL_OVERRIDE
;
374 virtual bool IsDateConversionSet() const SAL_OVERRIDE
;
377 class ScAbstractTabDialog_Impl
: public SfxAbstractTabDialog
379 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
;
386 virtual void SetText( const OUString
& rStr
) SAL_OVERRIDE
;
387 virtual OUString
GetText() const SAL_OVERRIDE
;
391 //AbstractDialogFactory_Impl implementations
392 class ScAbstractDialogFactory_Impl
: public ScAbstractDialogFactory
396 virtual ~ScAbstractDialogFactory_Impl() {}
398 virtual AbstractScImportAsciiDlg
* CreateScImportAsciiDlg( Window
* pParent
, const OUString
& aDatName
,
400 ScImportAsciiCall eCall
) SAL_OVERRIDE
;
402 virtual AbstractScTextImportOptionsDlg
* CreateScTextImportOptionsDlg(Window
* pParent
) SAL_OVERRIDE
;
404 virtual AbstractScAutoFormatDlg
* CreateScAutoFormatDlg(Window
* pParent
,
405 ScAutoFormat
* pAutoFormat
,
406 const ScAutoFormatData
* pSelFormatData
,
407 ScViewData
*pViewData
) SAL_OVERRIDE
;
408 virtual AbstractScColRowLabelDlg
* CreateScColRowLabelDlg (Window
* pParent
,
410 bool bRow
= false) SAL_OVERRIDE
;
412 virtual AbstractScSortWarningDlg
* CreateScSortWarningDlg(Window
* pParent
, const OUString
& rExtendText
, const OUString
& rCurrentText
) SAL_OVERRIDE
;
414 virtual AbstractScCondFormatManagerDlg
* CreateScCondFormatMgrDlg(Window
* pParent
, ScDocument
* pDoc
, const ScConditionalFormatList
* pFormatList
,
415 const ScAddress
& rPos
, int nId
) SAL_OVERRIDE
;
417 virtual AbstractScDataPilotDatabaseDlg
* CreateScDataPilotDatabaseDlg(Window
* pParent
) SAL_OVERRIDE
;
419 virtual AbstractScDataPilotSourceTypeDlg
* CreateScDataPilotSourceTypeDlg(Window
* pParent
,
420 bool bEnableExternal
) SAL_OVERRIDE
;
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
;
428 virtual AbstractScDataFormDlg
* CreateScDataFormDlg(Window
* pParent
,
429 ScTabViewShell
* pTabViewShell
) SAL_OVERRIDE
;
431 virtual AbstractScDeleteContentsDlg
* CreateScDeleteContentsDlg(Window
* pParent
,
432 sal_uInt16 nCheckDefaults
= 0) SAL_OVERRIDE
;
434 virtual AbstractScFillSeriesDlg
* CreateScFillSeriesDlg( Window
* pParent
,
435 ScDocument
& rDocument
,
438 FillDateCmd eFillDateCmd
,
439 const OUString
& aStartStr
,
442 sal_uInt16 nPossDir
) SAL_OVERRIDE
;
443 virtual AbstractScGroupDlg
* CreateAbstractScGroupDlg( Window
* pParent
,
444 bool bUnGroup
= false,
445 bool bRows
= true) SAL_OVERRIDE
;
447 virtual AbstractScInsertCellDlg
* CreateScInsertCellDlg( Window
* pParent
,
449 bool bDisallowCellMove
= false ) SAL_OVERRIDE
;
451 virtual AbstractScInsertContentsDlg
* CreateScInsertContentsDlg( Window
* pParent
,
452 sal_uInt16 nCheckDefaults
= 0,
453 const OUString
* pStrTitle
= NULL
) SAL_OVERRIDE
;
455 virtual AbstractScInsertTableDlg
* CreateScInsertTableDlg(Window
* pParent
, ScViewData
& rViewData
,
456 SCTAB nTabCount
, bool bFromFile
) SAL_OVERRIDE
;
458 virtual AbstractScSelEntryDlg
* CreateScSelEntryDlg ( Window
* pParent
,
459 const std::vector
<OUString
> &rEntryList
) SAL_OVERRIDE
;
461 virtual AbstractScLinkedAreaDlg
* CreateScLinkedAreaDlg(Window
* pParent
) SAL_OVERRIDE
;
463 virtual AbstractScMetricInputDlg
* CreateScMetricInputDlg ( Window
* pParent
,
464 const OString
& sDialogName
,
467 FieldUnit eFUnit
= FUNIT_MM
,
468 sal_uInt16 nDecimals
= 2,
469 long nMaximum
= 1000,
472 long nLast
= 100 ) SAL_OVERRIDE
;
474 virtual AbstractScMoveTableDlg
* CreateScMoveTableDlg(Window
* pParent
,
475 const OUString
& rDefault
) SAL_OVERRIDE
;
477 virtual AbstractScNameCreateDlg
* CreateScNameCreateDlg(Window
* pParent
,
478 sal_uInt16 nFlags
) SAL_OVERRIDE
;
480 virtual AbstractScNamePasteDlg
* CreateScNamePasteDlg ( Window
* pParent
, ScDocShell
* pShell
, bool bInsList
=true ) SAL_OVERRIDE
;
482 virtual AbstractScPivotFilterDlg
* CreateScPivotFilterDlg(Window
* pParent
,
483 const SfxItemSet
& rArgSet
, sal_uInt16 nSourceTab
) SAL_OVERRIDE
;
485 virtual AbstractScDPFunctionDlg
* CreateScDPFunctionDlg( Window
* pParent
,
486 const ScDPLabelDataVector
& rLabelVec
,
487 const ScDPLabelData
& rLabelData
,
488 const ScPivotFuncData
& rFuncData
) SAL_OVERRIDE
;
490 virtual AbstractScDPSubtotalDlg
* CreateScDPSubtotalDlg( Window
* pParent
,
492 const ScDPLabelData
& rLabelData
,
493 const ScPivotFuncData
& rFuncData
,
494 const ScDPNameVec
& rDataFields
,
495 bool bEnableLayout
) SAL_OVERRIDE
;
497 virtual AbstractScDPNumGroupDlg
* CreateScDPNumGroupDlg( Window
* pParent
,
499 const ScDPNumGroupInfo
& rInfo
) SAL_OVERRIDE
;
501 virtual AbstractScDPDateGroupDlg
* CreateScDPDateGroupDlg( Window
* pParent
,
503 const ScDPNumGroupInfo
& rInfo
,
505 const Date
& rNullDate
) SAL_OVERRIDE
;
507 virtual AbstractScDPShowDetailDlg
* CreateScDPShowDetailDlg( Window
* pParent
, int nId
,
509 sal_uInt16 nOrient
) SAL_OVERRIDE
;
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
;
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
;
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
;
527 virtual AbstractScImportOptionsDlg
* CreateScImportOptionsDlg ( Window
* pParent
,
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
,
536 const SfxItemSet
* pCellAttrs
) SAL_OVERRIDE
;
538 virtual SfxAbstractTabDialog
* CreateScHFEditDlg( SfxViewFrame
* pFrame
,
540 const SfxItemSet
& rCoreSet
,
541 const OUString
& rPageStyle
,
542 sal_uInt16 nResId
= RID_SCDLG_HFEDIT
) SAL_OVERRIDE
;
544 virtual SfxAbstractTabDialog
* CreateScStyleDlg( Window
* pParent
,
545 SfxStyleSheetBase
& rStyleBase
,
547 int nId
) SAL_OVERRIDE
;
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
;
554 virtual SfxAbstractTabDialog
* CreateScParagraphDlg(Window
* pParent
,
555 const SfxItemSet
* pAttr
) SAL_OVERRIDE
;
557 virtual SfxAbstractTabDialog
* CreateScValidationDlg(Window
* pParent
,
558 const SfxItemSet
* pArgSet
, ScTabViewShell
*pTabVwSh
) SAL_OVERRIDE
;
560 virtual SfxAbstractTabDialog
* CreateScSortDlg(Window
* pParent
, const SfxItemSet
* pArgSet
) SAL_OVERRIDE
;
563 virtual CreateTabPage
GetTabPageCreatorFunc( sal_uInt16 nId
) SAL_OVERRIDE
;
565 virtual GetTabPageRanges
GetTabPageRangesFunc() SAL_OVERRIDE
;
571 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */