fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git] / sc / source / ui / attrdlg / scdlgfact.hxx
blob99b9d83472684eaeecdbd7c2e132426292546f2c
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
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"
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;
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 ;
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;
79 #define IMPL_ABSTDLG_BASE(Class) \
80 Class::~Class() \
81 { \
82 } \
83 short Class::Execute() \
84 { \
85 return pDlg->Execute(); \
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(); \
101 class ScVclAbstractDialog_Impl : public VclAbstractDialog
103 DECL_ABSTDLG_BASE(ScVclAbstractDialog_Impl,Dialog)
106 class AbstractScImportAsciiDlg_Impl : public AbstractScImportAsciiDlg
108 DECL_ABSTDLG_BASE(AbstractScImportAsciiDlg_Impl, ScImportAsciiDlg)
109 virtual void GetOptions( ScAsciiOptions& rOpt ) SAL_OVERRIDE;
110 virtual void SaveParameters() SAL_OVERRIDE;
113 class AbstractScAutoFormatDlg_Impl : public AbstractScAutoFormatDlg
115 DECL_ABSTDLG_BASE(AbstractScAutoFormatDlg_Impl, ScAutoFormatDlg)
116 virtual sal_uInt16 GetIndex() const SAL_OVERRIDE;
117 virtual OUString GetCurrFormatName() SAL_OVERRIDE;
120 class AbstractScColRowLabelDlg_Impl : public AbstractScColRowLabelDlg
122 DECL_ABSTDLG_BASE(AbstractScColRowLabelDlg_Impl,ScColRowLabelDlg)
123 virtual bool IsCol() SAL_OVERRIDE;
124 virtual bool IsRow() SAL_OVERRIDE;
127 class AbstractScCondFormatManagerDlg_Impl : public AbstractScCondFormatManagerDlg
129 DECL_ABSTDLG_BASE(AbstractScCondFormatManagerDlg_Impl, ScCondFormatManagerDlg)
131 virtual ScConditionalFormatList* GetConditionalFormatList() SAL_OVERRIDE;
133 virtual bool CondFormatsChanged() SAL_OVERRIDE;
135 virtual ScConditionalFormat* GetCondFormatSelected() 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;
170 //for dataform
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 InsertDeleteFlags 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 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;
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;
385 //From class Window.
386 virtual void SetText( const OUString& rStr ) SAL_OVERRIDE;
387 virtual OUString GetText() const SAL_OVERRIDE;
390 //AbstractDialogFactory_Impl implementations
391 class ScAbstractDialogFactory_Impl : public ScAbstractDialogFactory
394 public:
395 virtual ~ScAbstractDialogFactory_Impl() {}
397 virtual AbstractScImportAsciiDlg * CreateScImportAsciiDlg( vcl::Window* pParent, const OUString& aDatName,
398 SvStream* pInStream,
399 ScImportAsciiCall eCall) SAL_OVERRIDE;
401 virtual AbstractScTextImportOptionsDlg * CreateScTextImportOptionsDlg(vcl::Window* pParent) SAL_OVERRIDE;
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;
411 virtual AbstractScSortWarningDlg * CreateScSortWarningDlg(vcl::Window* pParent, const OUString& rExtendText, const OUString& rCurrentText ) SAL_OVERRIDE;
413 virtual AbstractScCondFormatManagerDlg* CreateScCondFormatMgrDlg(vcl::Window* pParent, ScDocument* pDoc, const ScConditionalFormatList* pFormatList,
414 const ScAddress& rPos, int nId ) SAL_OVERRIDE;
416 virtual AbstractScDataPilotDatabaseDlg * CreateScDataPilotDatabaseDlg(vcl::Window* pParent) SAL_OVERRIDE;
418 virtual AbstractScDataPilotSourceTypeDlg* CreateScDataPilotSourceTypeDlg(vcl::Window* pParent,
419 bool bEnableExternal) SAL_OVERRIDE;
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;
426 //for dataform
427 virtual AbstractScDataFormDlg* CreateScDataFormDlg(vcl::Window* pParent,
428 ScTabViewShell* pTabViewShell) SAL_OVERRIDE;
430 virtual AbstractScDeleteContentsDlg * CreateScDeleteContentsDlg(vcl::Window* pParent,
431 InsertDeleteFlags nCheckDefaults = IDF_NONE) SAL_OVERRIDE;
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;
446 virtual AbstractScInsertCellDlg * CreateScInsertCellDlg( vcl::Window* pParent,
447 int nId,
448 bool bDisallowCellMove = false ) SAL_OVERRIDE;
450 virtual AbstractScInsertContentsDlg * CreateScInsertContentsDlg( vcl::Window* pParent,
451 InsertDeleteFlags nCheckDefaults = IDF_NONE,
452 const OUString* pStrTitle = NULL ) SAL_OVERRIDE;
454 virtual AbstractScInsertTableDlg * CreateScInsertTableDlg(vcl::Window* pParent, ScViewData& rViewData,
455 SCTAB nTabCount, bool bFromFile) SAL_OVERRIDE;
457 virtual AbstractScSelEntryDlg * CreateScSelEntryDlg ( vcl::Window* pParent,
458 const std::vector<OUString> &rEntryList ) SAL_OVERRIDE;
460 virtual AbstractScLinkedAreaDlg * CreateScLinkedAreaDlg(vcl::Window* pParent) SAL_OVERRIDE;
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;
473 virtual AbstractScMoveTableDlg * CreateScMoveTableDlg(vcl::Window * pParent,
474 const OUString& rDefault) SAL_OVERRIDE;
476 virtual AbstractScNameCreateDlg * CreateScNameCreateDlg(vcl::Window * pParent,
477 sal_uInt16 nFlags) SAL_OVERRIDE;
479 virtual AbstractScNamePasteDlg * CreateScNamePasteDlg ( vcl::Window * pParent, ScDocShell* pShell, bool bInsList=true ) SAL_OVERRIDE;
481 virtual AbstractScPivotFilterDlg * CreateScPivotFilterDlg(vcl::Window* pParent,
482 const SfxItemSet& rArgSet, sal_uInt16 nSourceTab) SAL_OVERRIDE;
484 virtual AbstractScDPFunctionDlg * CreateScDPFunctionDlg( vcl::Window* pParent,
485 const ScDPLabelDataVector& rLabelVec,
486 const ScDPLabelData& rLabelData,
487 const ScPivotFuncData& rFuncData ) SAL_OVERRIDE;
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;
496 virtual AbstractScDPNumGroupDlg * CreateScDPNumGroupDlg( vcl::Window* pParent,
497 int nId,
498 const ScDPNumGroupInfo& rInfo ) SAL_OVERRIDE;
500 virtual AbstractScDPDateGroupDlg * CreateScDPDateGroupDlg( vcl::Window* pParent,
501 int nId,
502 const ScDPNumGroupInfo& rInfo,
503 sal_Int32 nDatePart,
504 const Date& rNullDate ) SAL_OVERRIDE;
506 virtual AbstractScDPShowDetailDlg * CreateScDPShowDetailDlg( vcl::Window* pParent, int nId,
507 ScDPObject& rDPObj,
508 sal_uInt16 nOrient ) SAL_OVERRIDE;
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;
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;
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;
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;
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;
543 virtual SfxAbstractTabDialog * CreateScStyleDlg( vcl::Window* pParent,
544 SfxStyleSheetBase& rStyleBase,
545 sal_uInt16 nRscId,
546 int nId) SAL_OVERRIDE;
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;
553 virtual SfxAbstractTabDialog * CreateScParagraphDlg(vcl::Window* pParent,
554 const SfxItemSet* pAttr) SAL_OVERRIDE;
556 virtual SfxAbstractTabDialog * CreateScValidationDlg(vcl::Window* pParent,
557 const SfxItemSet* pArgSet, ScTabViewShell *pTabVwSh) SAL_OVERRIDE;
559 virtual SfxAbstractTabDialog * CreateScSortDlg(vcl::Window* pParent, const SfxItemSet* pArgSet) SAL_OVERRIDE;
561 // For TabPage
562 virtual CreateTabPage GetTabPageCreatorFunc( sal_uInt16 nId ) SAL_OVERRIDE;
564 virtual GetTabPageRanges GetTabPageRangesFunc() SAL_OVERRIDE;
568 #endif
570 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */