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 :
20 : #ifndef _SC_ABSTDLG_HXX
21 : #define _SC_ABSTDLG_HXX
22 :
23 : #include <tools/solar.h>
24 : #include <tools/string.hxx>
25 : #include <sfx2/sfxdlg.hxx>
26 : #include <vcl/syswin.hxx>
27 : #include <com/sun/star/uno/Sequence.hxx>
28 : #include <vcl/field.hxx>
29 : #include "sc.hrc"
30 : #include "global.hxx"
31 : #include "pivot.hxx"
32 : #include "i18nlangtag/lang.h"
33 : #include "asciiopt.hxx"
34 :
35 : #include <tabvwsh.hxx>
36 :
37 : class ScAsciiOptions;
38 : class ScAutoFormat;
39 : class ScAutoFormatData;
40 : class ScDocument;
41 : struct ScImportSourceDesc;
42 : class ScViewData;
43 : class ScQueryItem;
44 : class ScImportOptions;
45 : class SfxStyleSheetBase;
46 : class ScDPObject;
47 : struct ScPivotFuncData;
48 : struct ScDPNumGroupInfo;
49 : class ScSortWarningDlg;
50 : class ScTabViewShell;
51 : class ScConditionalFormat;
52 : class ScConditionalFormatList;
53 :
54 : namespace com { namespace sun { namespace star { namespace sheet {
55 : struct DataPilotFieldReference;
56 : } } } }
57 :
58 0 : class AbstractScImportAsciiDlg : public VclAbstractDialog //add for ScImportAsciiDlg
59 : {
60 : public:
61 : virtual void GetOptions( ScAsciiOptions& rOpt ) = 0;
62 : virtual void SaveParameters() = 0;
63 : };
64 :
65 :
66 0 : class AbstractScAutoFormatDlg : public VclAbstractDialog //add for ScAutoFormatDlg
67 : {
68 : public:
69 : virtual sal_uInt16 GetIndex() const = 0 ;
70 : virtual String GetCurrFormatName() = 0;
71 : };
72 :
73 0 : class AbstractScColRowLabelDlg : public VclAbstractDialog //add for ScColRowLabelDlg
74 : {
75 : public:
76 : virtual sal_Bool IsCol() = 0;
77 : virtual sal_Bool IsRow() = 0;
78 : };
79 :
80 0 : class AbstractScCondFormatManagerDlg : public VclAbstractDialog
81 : {
82 : public:
83 : virtual ScConditionalFormatList* GetConditionalFormatList() = 0;
84 :
85 : virtual bool CondFormatsChanged() = 0;
86 : };
87 :
88 0 : class AbstractScDataPilotDatabaseDlg :public VclAbstractDialog //add for ScDataPilotDatabaseDlg
89 : {
90 : public:
91 : virtual void GetValues( ScImportSourceDesc& rDesc ) = 0;
92 : };
93 :
94 0 : class AbstractScDataPilotSourceTypeDlg : public VclAbstractDialog //add for ScDataPilotSourceTypeDlg
95 : {
96 : public:
97 : virtual bool IsDatabase() const = 0;
98 : virtual bool IsExternal() const = 0;
99 : virtual bool IsNamedRange() const = 0;
100 : virtual OUString GetSelectedNamedRange() const = 0;
101 : virtual void AppendNamedRange(const OUString& rName) = 0;
102 : };
103 :
104 0 : class AbstractScDataPilotServiceDlg : public VclAbstractDialog //add for ScDataPilotServiceDlg
105 : {
106 : public:
107 : virtual String GetServiceName() const = 0;
108 : virtual String GetParSource() const = 0 ;
109 : virtual String GetParName() const = 0 ;
110 : virtual String GetParUser() const = 0;
111 : virtual String GetParPass() const = 0;
112 : };
113 :
114 0 : class AbstractScDeleteCellDlg : public VclAbstractDialog //add for ScDeleteCellDlg
115 : {
116 : public:
117 : virtual DelCellCmd GetDelCellCmd() const = 0;
118 : };
119 :
120 : //for dataform
121 0 : class AbstractScDataFormDlg : public VclAbstractDialog //add for ScDeleteCellDlg
122 : {
123 :
124 : };
125 :
126 0 : class AbstractScDeleteContentsDlg: public VclAbstractDialog //add for ScDeleteContentsDlg
127 : {
128 : public:
129 : virtual void DisableObjects() = 0 ;
130 : virtual sal_uInt16 GetDelContentsCmdBits() const = 0;
131 : };
132 :
133 0 : class AbstractScFillSeriesDlg: public VclAbstractDialog //add for ScFillSeriesDlg
134 : {
135 : public:
136 : virtual FillDir GetFillDir() const = 0;
137 : virtual FillCmd GetFillCmd() const = 0;
138 : virtual FillDateCmd GetFillDateCmd() const = 0;
139 : virtual double GetStart() const = 0;
140 : virtual double GetStep() const = 0;
141 : virtual double GetMax() const = 0;
142 : virtual String GetStartStr() const = 0;
143 : virtual void SetEdStartValEnabled(sal_Bool bFlag=false) = 0;
144 : };
145 :
146 0 : class AbstractScGroupDlg : public VclAbstractDialog //add for ScGroupDlg
147 : {
148 : public:
149 : virtual sal_Bool GetColsChecked() const = 0;
150 : };
151 :
152 0 : class AbstractScInsertCellDlg : public VclAbstractDialog //add for ScInsertCellDlg
153 : {
154 : public:
155 : virtual InsCellCmd GetInsCellCmd() const = 0;
156 : };
157 :
158 0 : class AbstractScInsertContentsDlg : public VclAbstractDialog //add for ScInsertContentsDlg
159 : {
160 : public:
161 : virtual sal_uInt16 GetInsContentsCmdBits() const = 0;
162 : virtual sal_uInt16 GetFormulaCmdBits() const = 0 ;
163 : virtual sal_Bool IsSkipEmptyCells() const = 0;
164 : virtual sal_Bool IsLink() const = 0;
165 : virtual void SetFillMode( sal_Bool bSet ) = 0;
166 : virtual void SetOtherDoc( sal_Bool bSet ) = 0;
167 : virtual sal_Bool IsTranspose() const = 0;
168 : virtual void SetChangeTrack( sal_Bool bSet ) = 0;
169 : virtual void SetCellShiftDisabled( int nDisable ) = 0;
170 : virtual InsCellCmd GetMoveMode() = 0;
171 : };
172 :
173 0 : class AbstractScInsertTableDlg : public VclAbstractDialog //add for ScInsertTableDlg
174 : {
175 : public:
176 : virtual sal_Bool GetTablesFromFile() = 0;
177 : virtual sal_Bool GetTablesAsLink() = 0;
178 : virtual const String* GetFirstTable( sal_uInt16* pN = NULL ) = 0;
179 : virtual ScDocShell* GetDocShellTables() = 0;
180 : virtual sal_Bool IsTableBefore() = 0;
181 : virtual sal_uInt16 GetTableCount() = 0;
182 : virtual const String* GetNextTable( sal_uInt16* pN = NULL ) = 0;
183 :
184 : };
185 :
186 0 : class AbstractScSelEntryDlg : public VclAbstractDialog //add for ScSelEntryDlg
187 : {
188 : public:
189 : virtual String GetSelectEntry() const = 0;
190 : };
191 :
192 0 : class AbstractScLinkedAreaDlg : public VclAbstractDialog2 //add for ScLinkedAreaDlg
193 : {
194 : public:
195 : virtual void InitFromOldLink( const String& rFile, const String& rFilter,
196 : const String& rOptions, const String& rSource,
197 : sal_uLong nRefresh ) = 0;
198 : virtual String GetURL() = 0;
199 : virtual String GetFilter() = 0; // may be empty
200 : virtual String GetOptions() = 0; // filter options
201 : virtual String GetSource() = 0; // separated by ";"
202 : virtual sal_uLong GetRefresh() = 0; // 0 if disabled
203 : };
204 :
205 0 : class AbstractScMetricInputDlg : public VclAbstractDialog //add for ScMetricInputDlg
206 : {
207 : public:
208 : virtual long GetInputValue( FieldUnit eUnit = FUNIT_TWIP ) const = 0;
209 : };
210 :
211 0 : class AbstractScMoveTableDlg : public VclAbstractDialog //add for ScMoveTableDlg
212 : {
213 : public:
214 : virtual sal_uInt16 GetSelectedDocument () const = 0;
215 : virtual sal_uInt16 GetSelectedTable () const = 0;
216 : virtual bool GetCopyTable () const = 0;
217 : virtual bool GetRenameTable () const = 0;
218 : virtual void GetTabNameString( OUString& rString ) const = 0;
219 : virtual void SetForceCopyTable () = 0;
220 : virtual void EnableCopyTable (sal_Bool bFlag=true) = 0;
221 : virtual void EnableRenameTable (sal_Bool bFlag=true) = 0;
222 : };
223 :
224 0 : class AbstractScNameCreateDlg : public VclAbstractDialog // Manage Name Dialog
225 : {
226 : public:
227 : virtual sal_uInt16 GetFlags() const = 0;
228 : };
229 :
230 0 : class AbstractScNamePasteDlg : public VclAbstractDialog //add for ScNamePasteDlg
231 : {
232 : public:
233 : virtual std::vector<OUString> GetSelectedNames() const = 0;
234 : virtual bool IsAllSelected() const = 0;
235 : };
236 :
237 0 : class AbstractScPivotFilterDlg : public VclAbstractDialog //add for ScPivotFilterDlg
238 : {
239 : public:
240 : virtual const ScQueryItem& GetOutputItem() = 0;
241 : };
242 :
243 0 : class AbstractScDPFunctionDlg : public VclAbstractDialog //add for ScDPFunctionDlg
244 : {
245 : public:
246 : virtual sal_uInt16 GetFuncMask() const = 0;
247 : virtual ::com::sun::star::sheet::DataPilotFieldReference GetFieldRef() const = 0;
248 : };
249 :
250 0 : class AbstractScDPSubtotalDlg : public VclAbstractDialog //add for ScDPSubtotalDlg
251 : {
252 : public:
253 : virtual sal_uInt16 GetFuncMask() const = 0;
254 : virtual void FillLabelData( ScDPLabelData& rLabelData ) const = 0;
255 : };
256 :
257 0 : class AbstractScDPNumGroupDlg : public VclAbstractDialog
258 : {
259 : public:
260 : virtual ScDPNumGroupInfo GetGroupInfo() const = 0;
261 : };
262 :
263 0 : class AbstractScDPDateGroupDlg : public VclAbstractDialog
264 : {
265 : public:
266 : virtual ScDPNumGroupInfo GetGroupInfo() const = 0;
267 : virtual sal_Int32 GetDatePart() const = 0;
268 : };
269 :
270 0 : class AbstractScDPShowDetailDlg : public VclAbstractDialog //add for ScDPShowDetailDlg
271 : {
272 : public:
273 : virtual String GetDimensionName() const = 0;
274 : };
275 :
276 0 : class AbstractScNewScenarioDlg : public VclAbstractDialog //add for ScNewScenarioDlg
277 : {
278 : public:
279 :
280 : virtual void SetScenarioData( const OUString& rName, const OUString& rComment,
281 : const Color& rColor, sal_uInt16 nFlags ) = 0;
282 :
283 : virtual void GetScenarioData( OUString& rName, OUString& rComment,
284 : Color& rColor, sal_uInt16& rFlags ) const = 0;
285 : };
286 :
287 0 : class AbstractScShowTabDlg : public VclAbstractDialog //add for ScShowTabDlg
288 : {
289 : public:
290 : virtual void Insert( const String& rString, sal_Bool bSelected ) = 0;
291 : virtual sal_uInt16 GetSelectEntryCount() const = 0;
292 : virtual void SetDescription(const String& rTitle, const String& rFixedText, const OString& nDlgHelpId, const OString& nLbHelpId ) = 0;
293 : virtual String GetSelectEntry(sal_uInt16 nPos) const = 0;
294 : virtual sal_uInt16 GetSelectEntryPos(sal_uInt16 nPos) const = 0;
295 : };
296 :
297 0 : class AbstractScSortWarningDlg : public VclAbstractDialog //add for ScSortWarningDlg
298 : {
299 : };
300 :
301 0 : class AbstractScStringInputDlg : public VclAbstractDialog //add for ScStringInputDlg
302 : {
303 : public:
304 : virtual void GetInputString( OUString& rString ) const = 0;
305 : };
306 :
307 0 : class AbstractScTabBgColorDlg : public VclAbstractDialog //add for ScTabBgColorDlg
308 : {
309 : public:
310 : virtual void GetSelectedColor( Color& rColor ) const = 0;
311 : };
312 :
313 0 : class AbstractScImportOptionsDlg : public VclAbstractDialog //add for ScImportOptionsDlg
314 : {
315 : public:
316 : virtual void GetImportOptions( ScImportOptions& rOptions ) const = 0;
317 : };
318 :
319 0 : class AbstractScTextImportOptionsDlg : public VclAbstractDialog //add for ScLangChooserDlg
320 : {
321 : public:
322 : virtual LanguageType GetLanguageType() const = 0;
323 : virtual bool IsDateConversionSet() const = 0;
324 : };
325 :
326 : //-------Scabstract fractory ---------------------------
327 0 : class ScAbstractDialogFactory
328 : {
329 : public:
330 : SC_DLLPUBLIC static ScAbstractDialogFactory* Create();
331 :
332 : virtual AbstractScImportAsciiDlg * CreateScImportAsciiDlg( Window* pParent, String aDatName, //add for ScImportAsciiDlg
333 : SvStream* pInStream,
334 : ScImportAsciiCall eCall) = 0;
335 :
336 : virtual AbstractScTextImportOptionsDlg * CreateScTextImportOptionsDlg(Window* pParent) = 0;
337 :
338 : virtual AbstractScAutoFormatDlg * CreateScAutoFormatDlg( Window* pParent, //add for ScAutoFormatDlg
339 : ScAutoFormat* pAutoFormat,
340 : const ScAutoFormatData* pSelFormatData,
341 : ScDocument* pDoc,
342 : int nId) = 0;
343 : virtual AbstractScColRowLabelDlg * CreateScColRowLabelDlg (Window* pParent, //add for ScColRowLabelDlg
344 : int nId,
345 : sal_Bool bCol = false,
346 : sal_Bool bRow = false) = 0;
347 :
348 : virtual VclAbstractDialog * CreateScColOrRowDlg( Window* pParent, //add for ScColOrRowDlg
349 : const String& rStrTitle,
350 : const String& rStrLabel,
351 : int nId,
352 : sal_Bool bColDefault = sal_True ) = 0;
353 :
354 : virtual AbstractScSortWarningDlg * CreateScSortWarningDlg(Window* pParent, const String& rExtendText, const String& rCurrentText ) = 0; //add for ScSortWarningDlg
355 :
356 : virtual AbstractScCondFormatManagerDlg* CreateScCondFormatMgrDlg(Window* pParent, ScDocument* pDoc, const ScConditionalFormatList* pFormatList,
357 : const ScAddress& rPos, int nId ) = 0;
358 :
359 : virtual AbstractScDataPilotDatabaseDlg * CreateScDataPilotDatabaseDlg (Window* pParent ,int nId ) = 0; //add for ScDataPilotDatabaseDlg
360 :
361 : virtual AbstractScDataPilotSourceTypeDlg * CreateScDataPilotSourceTypeDlg(Window* pParent,
362 : bool bEnableExternal) = 0;
363 :
364 : virtual AbstractScDataPilotServiceDlg * CreateScDataPilotServiceDlg( Window* pParent, //add for ScDataPilotServiceDlg
365 : const com::sun::star::uno::Sequence<OUString>& rServices,
366 : int nId ) = 0;
367 :
368 : virtual AbstractScDeleteCellDlg * CreateScDeleteCellDlg(Window* pParent, bool bDisallowCellMove = false) = 0 ; //add for ScDeleteCellDlg
369 :
370 : //for dataform
371 : virtual AbstractScDataFormDlg * CreateScDataFormDlg(Window* pParent,
372 : ScTabViewShell* pTabViewShell) = 0;
373 :
374 : virtual AbstractScDeleteContentsDlg * CreateScDeleteContentsDlg(Window* pParent, //add for ScDeleteContentsDlg
375 : sal_uInt16 nCheckDefaults = 0) = 0;
376 : virtual AbstractScFillSeriesDlg * CreateScFillSeriesDlg( Window* pParent, //add for ScFillSeriesDlg
377 : ScDocument& rDocument,
378 : FillDir eFillDir,
379 : FillCmd eFillCmd,
380 : FillDateCmd eFillDateCmd,
381 : String aStartStr,
382 : double fStep,
383 : double fMax,
384 : sal_uInt16 nPossDir,
385 : int nId) = 0;
386 :
387 : virtual AbstractScGroupDlg * CreateAbstractScGroupDlg( Window* pParent, //add for ScGroupDlg
388 : bool bUnGroup = false,
389 : bool bRows = true ) = 0;
390 :
391 : virtual AbstractScInsertCellDlg * CreateScInsertCellDlg( Window* pParent, //add for ScInsertCellDlg
392 : int nId,
393 : sal_Bool bDisallowCellMove = false ) = 0;
394 :
395 : virtual AbstractScInsertContentsDlg * CreateScInsertContentsDlg( Window* pParent, //add for ScInsertContentsDlg
396 : int nId,
397 : sal_uInt16 nCheckDefaults = 0,
398 : const OUString* pStrTitle = NULL ) = 0;
399 :
400 : virtual AbstractScInsertTableDlg * CreateScInsertTableDlg(Window* pParent, ScViewData& rViewData,
401 : SCTAB nTabCount, bool bFromFile) = 0;
402 :
403 : virtual AbstractScSelEntryDlg * CreateScSelEntryDlg ( Window* pParent, // add for ScSelEntryDlg
404 : const std::vector<String> &rEntryList ) = 0;
405 : virtual AbstractScLinkedAreaDlg * CreateScLinkedAreaDlg(Window* pParent) = 0; //add for ScLinkedAreaDlg
406 :
407 : virtual AbstractScMetricInputDlg * CreateScMetricInputDlg ( Window* pParent, //add for ScMetricInputDlg
408 : sal_uInt16 nResId, // derivative for every dialog!
409 : long nCurrent,
410 : long nDefault,
411 : int nId ,
412 : FieldUnit eFUnit = FUNIT_MM,
413 : sal_uInt16 nDecimals = 2,
414 : long nMaximum = 1000,
415 : long nMinimum = 0,
416 : long nFirst = 1,
417 : long nLast = 100 ) = 0;
418 :
419 : virtual AbstractScMoveTableDlg * CreateScMoveTableDlg( Window* pParent, //add for ScMoveTableDlg
420 : const String& rDefault,
421 : int nId ) = 0;
422 :
423 : virtual AbstractScNameCreateDlg * CreateScNameCreateDlg(Window * pParent,
424 : sal_uInt16 nFlags) = 0;
425 :
426 : virtual AbstractScNamePasteDlg * CreateScNamePasteDlg ( Window * pParent, ScDocShell* pShell, bool bInsList=true ) = 0; // add for ScNamePasteDlg
427 :
428 : virtual AbstractScPivotFilterDlg * CreateScPivotFilterDlg ( Window* pParent, //add for ScPivotFilterDlg
429 : const SfxItemSet& rArgSet, sal_uInt16 nSourceTab , int nId ) = 0;
430 :
431 : virtual AbstractScDPFunctionDlg * CreateScDPFunctionDlg( Window* pParent, int nId,
432 : const ScDPLabelDataVector& rLabelVec,
433 : const ScDPLabelData& rLabelData,
434 : const ScPivotFuncData& rFuncData ) = 0;
435 :
436 : virtual AbstractScDPSubtotalDlg * CreateScDPSubtotalDlg( Window* pParent, int nId,
437 : ScDPObject& rDPObj,
438 : const ScDPLabelData& rLabelData,
439 : const ScPivotFuncData& rFuncData,
440 : const ScDPNameVec& rDataFields,
441 : bool bEnableLayout ) = 0;
442 :
443 : virtual AbstractScDPNumGroupDlg * CreateScDPNumGroupDlg( Window* pParent,
444 : int nId,
445 : const ScDPNumGroupInfo& rInfo ) = 0;
446 :
447 : virtual AbstractScDPDateGroupDlg * CreateScDPDateGroupDlg( Window* pParent,
448 : int nId,
449 : const ScDPNumGroupInfo& rInfo,
450 : sal_Int32 nDatePart,
451 : const Date& rNullDate ) = 0;
452 :
453 : virtual AbstractScDPShowDetailDlg * CreateScDPShowDetailDlg( Window* pParent, int nId,
454 : ScDPObject& rDPObj,
455 : sal_uInt16 nOrient ) = 0;
456 :
457 : virtual AbstractScNewScenarioDlg * CreateScNewScenarioDlg ( Window* pParent, const String& rName, //add for ScNewScenarioDlg
458 : int nId,
459 : sal_Bool bEdit = false, sal_Bool bSheetProtected = false ) = 0;
460 : virtual AbstractScShowTabDlg * CreateScShowTabDlg ( Window* pParent, int nId ) = 0; //add for ScShowTabDlg
461 :
462 : virtual AbstractScStringInputDlg * CreateScStringInputDlg ( Window* pParent, //add for ScStringInputDlg
463 : const String& rTitle,
464 : const String& rEditTitle,
465 : const String& rDefault,
466 : const OString& sHelpId, const OString& sEditHelpId,
467 : int nId ) = 0;
468 :
469 : virtual AbstractScTabBgColorDlg * CreateScTabBgColorDlg ( Window* pParent, //add for ScTabBgColorDlg
470 : const String& rTitle, //Dialog Title
471 : const String& rTabBgColorNoColorText, //Label for no tab color
472 : const Color& rDefaultColor, //Currently selected Color
473 : const OString& ,
474 : int nId ) = 0;
475 :
476 : virtual AbstractScImportOptionsDlg * CreateScImportOptionsDlg ( Window* pParent, //add for ScImportOptionsDlg
477 : int nId,
478 : sal_Bool bAscii = sal_True,
479 : const ScImportOptions* pOptions = NULL,
480 : const String* pStrTitle = NULL,
481 : sal_Bool bMultiByte = false,
482 : sal_Bool bOnlyDbtoolsEncodings = false,
483 : sal_Bool bImport = sal_True ) = 0;
484 :
485 : virtual SfxAbstractTabDialog * CreateScAttrDlg( SfxViewFrame* pFrame, //add for ScAttrDlg
486 : Window* pParent,
487 : const SfxItemSet* pCellAttrs ) = 0;
488 :
489 : virtual SfxAbstractTabDialog * CreateScHFEditDlg( SfxViewFrame* pFrame, //add for ScHFEditDlg
490 : Window* pParent,
491 : const SfxItemSet& rCoreSet,
492 : const OUString& rPageStyle,
493 : sal_uInt16 nResId = RID_SCDLG_HFEDIT ) = 0;
494 :
495 : virtual SfxAbstractTabDialog * CreateScStyleDlg( Window* pParent,//add for ScStyleDlg
496 : SfxStyleSheetBase& rStyleBase,
497 : sal_uInt16 nRscId,
498 : int nId) = 0;
499 :
500 : virtual SfxAbstractTabDialog * CreateScSubTotalDlg( Window* pParent, //add for ScSubTotalDlg
501 : const SfxItemSet* pArgSet,
502 : int nId) = 0;
503 :
504 : virtual SfxAbstractTabDialog * CreateScCharDlg( Window* pParent, const SfxItemSet* pAttr,//add for ScCharDlg
505 : const SfxObjectShell* pDocShell, int nId ) = 0;
506 :
507 : virtual SfxAbstractTabDialog * CreateScParagraphDlg( Window* pParent, const SfxItemSet* pAttr ,//add for ScParagraphDlg
508 : int nId ) = 0;
509 :
510 : virtual SfxAbstractTabDialog * CreateScValidationDlg( Window* pParent, //add for ScValidationDlg
511 : const SfxItemSet* pArgSet,int nId, ScTabViewShell *pTabVwSh ) = 0;
512 : virtual SfxAbstractTabDialog * CreateScSortDlg( Window* pParent, //add for ScSortDlg
513 : const SfxItemSet* pArgSet,int nId ) = 0;
514 :
515 : // for tabpage
516 : virtual CreateTabPage GetTabPageCreatorFunc( sal_uInt16 nId ) = 0;
517 : virtual GetTabPageRanges GetTabPageRangesFunc( sal_uInt16 nId ) = 0;
518 :
519 : protected:
520 0 : ~ScAbstractDialogFactory() {}
521 : };
522 : #endif
523 :
524 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|