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 _SC_DLGFACT_HXX
20 #define _SC_DLGFACT_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 ScNewScenarioDlg
;
52 class ScStringInputDlg
;
53 class ScTabBgColorDlg
;
54 class ScImportOptionsDlg
;
56 class ScTextImportOptionsDlg
;
57 class ScCondFormatManagerDlg
;
59 #define DECL_ABSTDLG_BASE(Class,DialogClass) \
62 Class( DialogClass* p) \
66 virtual short Execute() ;
68 #define DECL_ABSTDLG2_BASE(Class,DialogClass) \
71 Class( DialogClass* p) \
75 virtual void StartExecuteModal( const Link& rEndDialogHdl ); \
78 #define IMPL_ABSTDLG_BASE(Class) \
83 short Class::Execute() \
85 return pDlg->Execute(); \
88 #define IMPL_ABSTDLG2_BASE(Class) \
93 void Class::StartExecuteModal( const Link& rEndDialogHdl ) \
95 pDlg->StartExecuteModal( rEndDialogHdl ) ; \
97 long Class::GetResult() \
99 return pDlg->GetResult(); \
102 class ScVclAbstractDialog_Impl
: public VclAbstractDialog
//add for ScColOrRowDlg
104 DECL_ABSTDLG_BASE(ScVclAbstractDialog_Impl
,Dialog
)
107 class AbstractScImportAsciiDlg_Impl
: public AbstractScImportAsciiDlg
//add for ScImportAsciiDlg
109 DECL_ABSTDLG_BASE(AbstractScImportAsciiDlg_Impl
, ScImportAsciiDlg
)
110 virtual void GetOptions( ScAsciiOptions
& rOpt
);
111 virtual void SaveParameters();
114 class AbstractScAutoFormatDlg_Impl
: public AbstractScAutoFormatDlg
//add for ScAutoFormatDlg
116 DECL_ABSTDLG_BASE(AbstractScAutoFormatDlg_Impl
, ScAutoFormatDlg
)
117 virtual sal_uInt16
GetIndex() const;
118 virtual String
GetCurrFormatName();
121 class AbstractScColRowLabelDlg_Impl
: public AbstractScColRowLabelDlg
//add for ScColRowLabelDlg
123 DECL_ABSTDLG_BASE(AbstractScColRowLabelDlg_Impl
,ScColRowLabelDlg
)
124 virtual sal_Bool
IsCol();
125 virtual sal_Bool
IsRow();
128 class AbstractScCondFormatManagerDlg_Impl
: public AbstractScCondFormatManagerDlg
130 DECL_ABSTDLG_BASE(AbstractScCondFormatManagerDlg_Impl
, ScCondFormatManagerDlg
)
132 virtual ScConditionalFormatList
* GetConditionalFormatList();
134 virtual bool CondFormatsChanged();
137 class AbstractScDataPilotDatabaseDlg_Impl
:public AbstractScDataPilotDatabaseDlg
//add for ScDataPilotDatabaseDlg
139 DECL_ABSTDLG_BASE(AbstractScDataPilotDatabaseDlg_Impl
, ScDataPilotDatabaseDlg
)
140 virtual void GetValues( ScImportSourceDesc
& rDesc
);
143 class AbstractScDataPilotSourceTypeDlg_Impl
:public AbstractScDataPilotSourceTypeDlg
//add for ScDataPilotSourceTypeDlg
145 DECL_ABSTDLG_BASE(AbstractScDataPilotSourceTypeDlg_Impl
, ScDataPilotSourceTypeDlg
)
146 virtual bool IsDatabase() const;
147 virtual bool IsExternal() const;
148 virtual bool IsNamedRange() const;
149 virtual rtl::OUString
GetSelectedNamedRange() const;
150 virtual void AppendNamedRange(const ::rtl::OUString
& rName
);
153 class AbstractScDataPilotServiceDlg_Impl
: public AbstractScDataPilotServiceDlg
//add for ScDataPilotServiceDlg
155 DECL_ABSTDLG_BASE(AbstractScDataPilotServiceDlg_Impl
, ScDataPilotServiceDlg
)
156 virtual String
GetServiceName() const;
157 virtual String
GetParSource() const;
158 virtual String
GetParName() const;
159 virtual String
GetParUser() const;
160 virtual String
GetParPass() const;
163 class AbstractScDeleteCellDlg_Impl
: public AbstractScDeleteCellDlg
//add for ScDeleteCellDlg
165 DECL_ABSTDLG_BASE(AbstractScDeleteCellDlg_Impl
,ScDeleteCellDlg
)
166 virtual DelCellCmd
GetDelCellCmd() const;
170 class AbstractScDataFormDlg_Impl
: public AbstractScDataFormDlg
//add for ScDataFormDlg
172 DECL_ABSTDLG_BASE(AbstractScDataFormDlg_Impl
,ScDataFormDlg
);
175 class AbstractScDeleteContentsDlg_Impl
: public AbstractScDeleteContentsDlg
//add for ScDeleteContentsDlg
177 DECL_ABSTDLG_BASE( AbstractScDeleteContentsDlg_Impl
,ScDeleteContentsDlg
)
178 virtual void DisableObjects();
179 virtual sal_uInt16
GetDelContentsCmdBits() const;
182 class AbstractScFillSeriesDlg_Impl
:public AbstractScFillSeriesDlg
//add for ScFillSeriesDlg
184 DECL_ABSTDLG_BASE(AbstractScFillSeriesDlg_Impl
, ScFillSeriesDlg
)
185 virtual FillDir
GetFillDir() const;
186 virtual FillCmd
GetFillCmd() const;
187 virtual FillDateCmd
GetFillDateCmd() const;
188 virtual double GetStart() const;
189 virtual double GetStep() const;
190 virtual double GetMax() const;
191 virtual String
GetStartStr() const;
192 virtual void SetEdStartValEnabled(sal_Bool bFlag
=false);
195 class AbstractScGroupDlg_Impl
: public AbstractScGroupDlg
//add for ScGroupDlg
197 DECL_ABSTDLG_BASE( AbstractScGroupDlg_Impl
, ScGroupDlg
)
198 virtual sal_Bool
GetColsChecked() const;
201 class AbstractScInsertCellDlg_Impl
: public AbstractScInsertCellDlg
//add for ScInsertCellDlg
203 DECL_ABSTDLG_BASE( AbstractScInsertCellDlg_Impl
, ScInsertCellDlg
)
204 virtual InsCellCmd
GetInsCellCmd() const ;
207 class AbstractScInsertContentsDlg_Impl
: public AbstractScInsertContentsDlg
//add for ScInsertContentsDlg
209 DECL_ABSTDLG_BASE(AbstractScInsertContentsDlg_Impl
, ScInsertContentsDlg
)
210 virtual sal_uInt16
GetInsContentsCmdBits() const;
211 virtual sal_uInt16
GetFormulaCmdBits() const;
212 virtual sal_Bool
IsSkipEmptyCells() const;
213 virtual sal_Bool
IsLink() const;
214 virtual void SetFillMode( sal_Bool bSet
);
215 virtual void SetOtherDoc( sal_Bool bSet
);
216 virtual sal_Bool
IsTranspose() const;
217 virtual void SetChangeTrack( sal_Bool bSet
);
218 virtual void SetCellShiftDisabled( int nDisable
);
219 virtual InsCellCmd
GetMoveMode();
222 class AbstractScInsertTableDlg_Impl
: public AbstractScInsertTableDlg
//add for ScInsertTableDlg
224 DECL_ABSTDLG_BASE( AbstractScInsertTableDlg_Impl
, ScInsertTableDlg
)
225 virtual sal_Bool
GetTablesFromFile();
226 virtual sal_Bool
GetTablesAsLink();
227 virtual const String
* GetFirstTable( sal_uInt16
* pN
= NULL
);
228 virtual ScDocShell
* GetDocShellTables();
229 virtual sal_Bool
IsTableBefore();
230 virtual sal_uInt16
GetTableCount();
231 virtual const String
* GetNextTable( sal_uInt16
* pN
= NULL
);
235 class AbstractScSelEntryDlg_Impl
: public AbstractScSelEntryDlg
//add for ScSelEntryDlg
237 DECL_ABSTDLG_BASE( AbstractScSelEntryDlg_Impl
, ScSelEntryDlg
)
238 virtual String
GetSelectEntry() const;
241 class AbstractScLinkedAreaDlg_Impl
: public AbstractScLinkedAreaDlg
//add for ScLinkedAreaDlg
243 DECL_ABSTDLG2_BASE( AbstractScLinkedAreaDlg_Impl
, ScLinkedAreaDlg
)
245 virtual void InitFromOldLink( const String
& rFile
, const String
& rFilter
,
246 const String
& rOptions
, const String
& rSource
,
247 sal_uLong nRefresh
);
248 virtual String
GetURL();
249 virtual String
GetFilter(); // may be empty
250 virtual String
GetOptions(); // filter options
251 virtual String
GetSource(); // separated by ";"
252 virtual sal_uLong
GetRefresh(); // 0 if disabled
255 class AbstractScMetricInputDlg_Impl
: public AbstractScMetricInputDlg
//add for ScMetricInputDlg
257 DECL_ABSTDLG_BASE( AbstractScMetricInputDlg_Impl
, ScMetricInputDlg
)
258 virtual long GetInputValue( FieldUnit eUnit
= FUNIT_TWIP
) const;
261 class AbstractScMoveTableDlg_Impl
: public AbstractScMoveTableDlg
//add for ScMoveTableDlg
263 DECL_ABSTDLG_BASE( AbstractScMoveTableDlg_Impl
, ScMoveTableDlg
)
264 virtual sal_uInt16
GetSelectedDocument () const;
265 virtual sal_uInt16
GetSelectedTable () const;
266 virtual bool GetCopyTable () const;
267 virtual bool GetRenameTable () const;
268 virtual void GetTabNameString( rtl::OUString
& rString
) const;
269 virtual void SetForceCopyTable ();
270 virtual void EnableCopyTable (sal_Bool bFlag
=true);
271 virtual void EnableRenameTable (sal_Bool bFlag
=true);
274 class AbstractScNameCreateDlg_Impl
: public AbstractScNameCreateDlg
//add for ScNameCreateDlg
276 DECL_ABSTDLG_BASE( AbstractScNameCreateDlg_Impl
, ScNameCreateDlg
)
277 virtual sal_uInt16
GetFlags() const;
280 class AbstractScNamePasteDlg_Impl
: public AbstractScNamePasteDlg
//add for ScNamePasteDlg
282 DECL_ABSTDLG_BASE( AbstractScNamePasteDlg_Impl
, ScNamePasteDlg
)
283 virtual std::vector
<rtl::OUString
> GetSelectedNames() const;
284 virtual bool IsAllSelected() const;
287 class AbstractScPivotFilterDlg_Impl
: public AbstractScPivotFilterDlg
//add for ScPivotFilterDlg
289 DECL_ABSTDLG_BASE( AbstractScPivotFilterDlg_Impl
, ScPivotFilterDlg
)
290 virtual const ScQueryItem
& GetOutputItem();
293 class AbstractScDPFunctionDlg_Impl
: public AbstractScDPFunctionDlg
//add for ScDPFunctionDlg
295 DECL_ABSTDLG_BASE( AbstractScDPFunctionDlg_Impl
, ScDPFunctionDlg
)
296 virtual sal_uInt16
GetFuncMask() const;
297 virtual ::com::sun::star::sheet::DataPilotFieldReference
GetFieldRef() const;
300 class AbstractScDPSubtotalDlg_Impl
: public AbstractScDPSubtotalDlg
//add for ScDPSubtotalDlg
302 DECL_ABSTDLG_BASE( AbstractScDPSubtotalDlg_Impl
, ScDPSubtotalDlg
)
303 virtual sal_uInt16
GetFuncMask() const;
304 virtual void FillLabelData( ScDPLabelData
& rLabelData
) const;
307 class AbstractScDPNumGroupDlg_Impl
: public AbstractScDPNumGroupDlg
309 DECL_ABSTDLG_BASE( AbstractScDPNumGroupDlg_Impl
, ScDPNumGroupDlg
)
310 virtual ScDPNumGroupInfo
GetGroupInfo() const;
313 class AbstractScDPDateGroupDlg_Impl
: public AbstractScDPDateGroupDlg
315 DECL_ABSTDLG_BASE( AbstractScDPDateGroupDlg_Impl
, ScDPDateGroupDlg
)
316 virtual ScDPNumGroupInfo
GetGroupInfo() const;
317 virtual sal_Int32
GetDatePart() const;
320 class AbstractScDPShowDetailDlg_Impl
: public AbstractScDPShowDetailDlg
322 DECL_ABSTDLG_BASE( AbstractScDPShowDetailDlg_Impl
, ScDPShowDetailDlg
)
323 virtual String
GetDimensionName() const;
326 class AbstractScNewScenarioDlg_Impl
: public AbstractScNewScenarioDlg
//add for ScNewScenarioDlg
328 DECL_ABSTDLG_BASE( AbstractScNewScenarioDlg_Impl
, ScNewScenarioDlg
)
329 virtual void SetScenarioData( const rtl::OUString
& rName
, const rtl::OUString
& rComment
,
330 const Color
& rColor
, sal_uInt16 nFlags
);
332 virtual void GetScenarioData( rtl::OUString
& rName
, rtl::OUString
& rComment
,
333 Color
& rColor
, sal_uInt16
& rFlags
) const;
336 class AbstractScShowTabDlg_Impl
: public AbstractScShowTabDlg
//add for ScShowTabDlg
338 DECL_ABSTDLG_BASE(AbstractScShowTabDlg_Impl
,ScShowTabDlg
)
339 virtual void Insert( const String
& rString
, sal_Bool bSelected
);
340 virtual sal_uInt16
GetSelectEntryCount() const;
341 virtual void SetDescription(const String
& rTitle
, const String
& rFixedText
, const rtl::OString
& sDlgHelpId
, const rtl::OString
& sLbHelpId
);
342 virtual String
GetSelectEntry(sal_uInt16 nPos
) const;
343 virtual sal_uInt16
GetSelectEntryPos(sal_uInt16 nPos
) const;
346 class AbstractScStringInputDlg_Impl
: public AbstractScStringInputDlg
//add for ScStringInputDlg
348 DECL_ABSTDLG_BASE( AbstractScStringInputDlg_Impl
, ScStringInputDlg
)
349 virtual void GetInputString( rtl::OUString
& rString
) const;
352 class AbstractScTabBgColorDlg_Impl
: public AbstractScTabBgColorDlg
//add for ScTabBgColorDlg
354 DECL_ABSTDLG_BASE( AbstractScTabBgColorDlg_Impl
, ScTabBgColorDlg
)
355 virtual void GetSelectedColor( Color
& rColor
) const;
358 class AbstractScImportOptionsDlg_Impl
: public AbstractScImportOptionsDlg
//add for ScImportOptionsDlg
360 DECL_ABSTDLG_BASE( AbstractScImportOptionsDlg_Impl
, ScImportOptionsDlg
)
361 virtual void GetImportOptions( ScImportOptions
& rOptions
) const;
364 class AbstractScTextImportOptionsDlg_Impl
: public AbstractScTextImportOptionsDlg
366 DECL_ABSTDLG_BASE( AbstractScTextImportOptionsDlg_Impl
, ScTextImportOptionsDlg
)
367 virtual LanguageType
GetLanguageType() const;
368 virtual bool IsDateConversionSet() const;
371 //add for ScAttrDlg , ScHFEditDlg, ScStyleDlg, ScSubTotalDlg, ScCharDlg, ScParagraphDlg, ScValidationDlg, ScSortDlg
372 class ScAbstractTabDialog_Impl
: public SfxAbstractTabDialog
374 DECL_ABSTDLG_BASE( ScAbstractTabDialog_Impl
,SfxTabDialog
)
375 virtual void SetCurPageId( sal_uInt16 nId
);
376 virtual const SfxItemSet
* GetOutputItemSet() const;
377 virtual const sal_uInt16
* GetInputRanges( const SfxItemPool
& pItem
);
378 virtual void SetInputSet( const SfxItemSet
* pInSet
);
380 virtual void SetText( const XubString
& rStr
);
381 virtual String
GetText() const;
384 //------------------------------------------------------------------------
385 //AbstractDialogFactory_Impl implementations
386 class ScAbstractDialogFactory_Impl
: public ScAbstractDialogFactory
390 virtual ~ScAbstractDialogFactory_Impl() {}
392 virtual AbstractScImportAsciiDlg
* CreateScImportAsciiDlg( Window
* pParent
, String aDatName
, //add for ScImportAsciiDlg
393 SvStream
* pInStream
, int nId
,
394 ScImportAsciiCall eCall
);
396 virtual AbstractScTextImportOptionsDlg
* CreateScTextImportOptionsDlg(Window
* pParent
);
398 virtual AbstractScAutoFormatDlg
* CreateScAutoFormatDlg( Window
* pParent
, //add for ScAutoFormatDlg
399 ScAutoFormat
* pAutoFormat
,
400 const ScAutoFormatData
* pSelFormatData
,
403 virtual AbstractScColRowLabelDlg
* CreateScColRowLabelDlg (Window
* pParent
, //add for ScColRowLabelDlg
405 sal_Bool bCol
= false,
406 sal_Bool bRow
= false);
408 virtual VclAbstractDialog
* CreateScColOrRowDlg( Window
* pParent
, //add for ScColOrRowDlg
409 const String
& rStrTitle
,
410 const String
& rStrLabel
,
412 sal_Bool bColDefault
= sal_True
);
414 virtual VclAbstractDialog
* CreateScSortWarningDlg( Window
* pParent
, const String
& rExtendText
, const String
& rCurrentText
, int nId
);
416 virtual AbstractScCondFormatManagerDlg
* CreateScCondFormatMgrDlg(Window
* pParent
, ScDocument
* pDoc
, const ScConditionalFormatList
* pFormatList
,
417 const ScAddress
& rPos
, int nId
);
419 virtual AbstractScDataPilotDatabaseDlg
* CreateScDataPilotDatabaseDlg (Window
* pParent
,int nId
); //add for ScDataPilotDatabaseDlg
421 virtual AbstractScDataPilotSourceTypeDlg
* CreateScDataPilotSourceTypeDlg ( Window
* pParent
, sal_Bool bEnableExternal
, int nId
) ; //add for ScDataPilotSourceTypeDlg
423 virtual AbstractScDataPilotServiceDlg
* CreateScDataPilotServiceDlg( Window
* pParent
, //add for ScDataPilotServiceDlg
424 const com::sun::star::uno::Sequence
<rtl::OUString
>& rServices
,
426 virtual AbstractScDeleteCellDlg
* CreateScDeleteCellDlg( Window
* pParent
, int nId
,
427 sal_Bool bDisallowCellMove
= false ); //add for ScDeleteCellDlg
430 virtual AbstractScDataFormDlg
* CreateScDataFormDlg( Window
* pParent
, int nId
, ScTabViewShell
* pTabViewShell
); //add for ScDeleteCellDlg
432 virtual AbstractScDeleteContentsDlg
* CreateScDeleteContentsDlg(Window
* pParent
,int nId
, //add for ScDeleteContentsDlg
433 sal_uInt16 nCheckDefaults
= 0 );
435 virtual AbstractScFillSeriesDlg
* CreateScFillSeriesDlg( Window
* pParent
, //add for ScFillSeriesDlg
436 ScDocument
& rDocument
,
439 FillDateCmd eFillDateCmd
,
445 virtual AbstractScGroupDlg
* CreateAbstractScGroupDlg( Window
* pParent
, //add for ScGroupDlg
448 sal_Bool bUnGroup
= false,
449 sal_Bool bRows
= sal_True
);
451 virtual AbstractScInsertCellDlg
* CreateScInsertCellDlg( Window
* pParent
, //add for ScInsertCellDlg
453 sal_Bool bDisallowCellMove
= false );
455 virtual AbstractScInsertContentsDlg
* CreateScInsertContentsDlg( Window
* pParent
, //add for ScInsertContentsDlg
457 sal_uInt16 nCheckDefaults
= 0,
458 const String
* pStrTitle
= NULL
);
460 virtual AbstractScInsertTableDlg
* CreateScInsertTableDlg ( Window
* pParent
, ScViewData
& rViewData
, //add for ScInsertTableDlg
461 SCTAB nTabCount
, bool bFromFile
, int nId
);
463 virtual AbstractScSelEntryDlg
* CreateScSelEntryDlg ( Window
* pParent
, // add for ScSelEntryDlg
465 const String
& aTitle
,
466 const String
& aLbTitle
,
467 const std::vector
<String
> &rEntryList
,
470 virtual AbstractScLinkedAreaDlg
* CreateScLinkedAreaDlg ( Window
* pParent
, //add for ScLinkedAreaDlg
473 virtual AbstractScMetricInputDlg
* CreateScMetricInputDlg ( Window
* pParent
, //add for ScMetricInputDlg
474 sal_uInt16 nResId
, // Ableitung fuer jeden Dialog!
478 FieldUnit eFUnit
= FUNIT_MM
,
479 sal_uInt16 nDecimals
= 2,
480 long nMaximum
= 1000,
485 virtual AbstractScMoveTableDlg
* CreateScMoveTableDlg( Window
* pParent
, //add for ScMoveTableDlg
486 const String
& rDefault
,
489 virtual AbstractScNameCreateDlg
* CreateScNameCreateDlg ( Window
* pParent
, sal_uInt16 nFlags
, int nId
); //add for ScNameCreateDlg
491 virtual AbstractScNamePasteDlg
* CreateScNamePasteDlg ( Window
* pParent
, ScDocShell
* pShell
, int nId
, bool bInsList
=true ); //add for ScNamePasteDlg
493 virtual AbstractScPivotFilterDlg
* CreateScPivotFilterDlg ( Window
* pParent
, //add for ScPivotFilterDlg
494 const SfxItemSet
& rArgSet
, sal_uInt16 nSourceTab
, int nId
);
496 virtual AbstractScDPFunctionDlg
* CreateScDPFunctionDlg( Window
* pParent
, int nId
,
497 const ScDPLabelDataVector
& rLabelVec
,
498 const ScDPLabelData
& rLabelData
,
499 const ScPivotFuncData
& rFuncData
);
501 virtual AbstractScDPSubtotalDlg
* CreateScDPSubtotalDlg( Window
* pParent
, int nId
,
503 const ScDPLabelData
& rLabelData
,
504 const ScPivotFuncData
& rFuncData
,
505 const ScDPNameVec
& rDataFields
,
506 bool bEnableLayout
);
508 virtual AbstractScDPNumGroupDlg
* CreateScDPNumGroupDlg( Window
* pParent
,
510 const ScDPNumGroupInfo
& rInfo
);
512 virtual AbstractScDPDateGroupDlg
* CreateScDPDateGroupDlg( Window
* pParent
,
514 const ScDPNumGroupInfo
& rInfo
,
516 const Date
& rNullDate
);
518 virtual AbstractScDPShowDetailDlg
* CreateScDPShowDetailDlg( Window
* pParent
, int nId
,
520 sal_uInt16 nOrient
);
522 virtual AbstractScNewScenarioDlg
* CreateScNewScenarioDlg ( Window
* pParent
, const String
& rName
, //add for ScNewScenarioDlg
524 sal_Bool bEdit
= false, sal_Bool bSheetProtected
= false );
525 virtual AbstractScShowTabDlg
* CreateScShowTabDlg ( Window
* pParent
, int nId
); //add for ScShowTabDlg
527 virtual AbstractScStringInputDlg
* CreateScStringInputDlg ( Window
* pParent
, //add for ScStringInputDlg
528 const String
& rTitle
,
529 const String
& rEditTitle
,
530 const String
& rDefault
,
531 const rtl::OString
& sHelpId
, const rtl::OString
& sEditHelpId
,
534 virtual AbstractScTabBgColorDlg
* CreateScTabBgColorDlg ( Window
* pParent
, //add for ScStringInputDlg
535 const String
& rTitle
, //Dialog Title
536 const String
& rTabBgColorNoColorText
, //Label for no tab color
537 const Color
& rDefaultColor
, //Currently selected Color
538 const rtl::OString
& sHelpId
,
541 virtual AbstractScImportOptionsDlg
* CreateScImportOptionsDlg ( Window
* pParent
, //add for ScImportOptionsDlg
543 sal_Bool bAscii
= sal_True
,
544 const ScImportOptions
* pOptions
= NULL
,
545 const String
* pStrTitle
= NULL
,
546 sal_Bool bMultiByte
= false,
547 sal_Bool bOnlyDbtoolsEncodings
= false,
548 sal_Bool bImport
= sal_True
);
549 virtual SfxAbstractTabDialog
* CreateScAttrDlg( SfxViewFrame
* pFrame
, //add for ScAttrDlg
551 const SfxItemSet
* pCellAttrs
,
554 virtual SfxAbstractTabDialog
* CreateScHFEditDlg( SfxViewFrame
* pFrame
, //add for ScHFEditDlg
556 const SfxItemSet
& rCoreSet
,
557 const String
& rPageStyle
,
559 sal_uInt16 nResId
= RID_SCDLG_HFEDIT
);
561 virtual SfxAbstractTabDialog
* CreateScStyleDlg( Window
* pParent
,//add for ScStyleDlg
562 SfxStyleSheetBase
& rStyleBase
,
566 virtual SfxAbstractTabDialog
* CreateScSubTotalDlg( Window
* pParent
, //add for ScSubTotalDlg
567 const SfxItemSet
* pArgSet
,
569 virtual SfxAbstractTabDialog
* CreateScCharDlg( Window
* pParent
, const SfxItemSet
* pAttr
,//add for ScCharDlg
570 const SfxObjectShell
* pDocShell
, int nId
);
572 virtual SfxAbstractTabDialog
* CreateScParagraphDlg( Window
* pParent
, const SfxItemSet
* pAttr
,//add for ScParagraphDlg
575 virtual SfxAbstractTabDialog
* CreateScValidationDlg( Window
* pParent
, //add for ScValidationDlg
576 const SfxItemSet
* pArgSet
,int nId
, ScTabViewShell
*pTabVwSh
);
578 virtual SfxAbstractTabDialog
* CreateScSortDlg( Window
* pParent
, //add for ScSortDlg
579 const SfxItemSet
* pArgSet
,int nId
);
582 virtual CreateTabPage
GetTabPageCreatorFunc( sal_uInt16 nId
);
584 virtual GetTabPageRanges
GetTabPageRangesFunc( sal_uInt16 nId
);
591 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */