1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef _SC_DLGFACT_HXX
#define _SC_DLGFACT_HXX
#include "scabstdlg.hxx"
class Dialog;
class ScImportAsciiDlg;
class ScAutoFormatDlg;
class ScColRowLabelDlg;
class ScDataPilotDatabaseDlg;
class ScDataPilotSourceTypeDlg;
class ScDataPilotServiceDlg;
class ScDeleteCellDlg;
class ScDataFormDlg;
class ScDeleteContentsDlg;
class ScFillSeriesDlg;
class ScGroupDlg;
class ScInsertCellDlg;
class ScInsertContentsDlg;
class ScInsertTableDlg;
class ScSelEntryDlg;
class ScLinkedAreaDlg;
class ScMetricInputDlg;
class ScMoveTableDlg;
class ScNameCreateDlg;
class ScNamePasteDlg;
class ScPivotFilterDlg;
class ScDPFunctionDlg;
class ScDPSubtotalDlg;
class ScDPNumGroupDlg;
class ScDPDateGroupDlg;
class ScDPShowDetailDlg;
class ScSortWarningDlg;
class ScNewScenarioDlg;
class ScShowTabDlg;
class ScStringInputDlg;
class ScTabBgColorDlg;
class ScImportOptionsDlg;
class SfxTabDialog;
class ScTextImportOptionsDlg;
class ScCondFormatManagerDlg;
#define DECL_ABSTDLG_BASE(Class,DialogClass) \
DialogClass* pDlg; \
public: \
Class( DialogClass* p) \
: pDlg(p) \
{} \
virtual ~Class(); \
virtual short Execute() ;
#define DECL_ABSTDLG2_BASE(Class,DialogClass) \
DialogClass* pDlg; \
public: \
Class( DialogClass* p) \
: pDlg(p) \
{} \
virtual ~Class(); \
virtual void StartExecuteModal( const Link& rEndDialogHdl ); \
long GetResult();
#define IMPL_ABSTDLG_BASE(Class) \
Class::~Class() \
{ \
delete pDlg; \
} \
short Class::Execute() \
{ \
return pDlg->Execute(); \
}
#define IMPL_ABSTDLG2_BASE(Class) \
Class::~Class() \
{ \
delete pDlg; \
} \
void Class::StartExecuteModal( const Link& rEndDialogHdl ) \
{ \
pDlg->StartExecuteModal( rEndDialogHdl ) ; \
} \
long Class::GetResult() \
{ \
return pDlg->GetResult(); \
}
class ScVclAbstractDialog_Impl : public VclAbstractDialog
{
DECL_ABSTDLG_BASE(ScVclAbstractDialog_Impl,Dialog)
};
class AbstractScImportAsciiDlg_Impl : public AbstractScImportAsciiDlg
{
DECL_ABSTDLG_BASE(AbstractScImportAsciiDlg_Impl, ScImportAsciiDlg)
virtual void GetOptions( ScAsciiOptions& rOpt );
virtual void SaveParameters();
};
class AbstractScAutoFormatDlg_Impl : public AbstractScAutoFormatDlg
{
DECL_ABSTDLG_BASE(AbstractScAutoFormatDlg_Impl, ScAutoFormatDlg)
virtual sal_uInt16 GetIndex() const;
virtual OUString GetCurrFormatName();
};
class AbstractScColRowLabelDlg_Impl : public AbstractScColRowLabelDlg
{
DECL_ABSTDLG_BASE(AbstractScColRowLabelDlg_Impl,ScColRowLabelDlg)
virtual bool IsCol();
virtual bool IsRow();
};
class AbstractScCondFormatManagerDlg_Impl : public AbstractScCondFormatManagerDlg
{
DECL_ABSTDLG_BASE(AbstractScCondFormatManagerDlg_Impl, ScCondFormatManagerDlg)
virtual ScConditionalFormatList* GetConditionalFormatList();
virtual bool CondFormatsChanged();
};
class AbstractScDataPilotDatabaseDlg_Impl :public AbstractScDataPilotDatabaseDlg
{
DECL_ABSTDLG_BASE(AbstractScDataPilotDatabaseDlg_Impl, ScDataPilotDatabaseDlg)
virtual void GetValues( ScImportSourceDesc& rDesc );
};
class AbstractScDataPilotSourceTypeDlg_Impl :public AbstractScDataPilotSourceTypeDlg
{
DECL_ABSTDLG_BASE(AbstractScDataPilotSourceTypeDlg_Impl, ScDataPilotSourceTypeDlg)
virtual bool IsDatabase() const;
virtual bool IsExternal() const;
virtual bool IsNamedRange() const;
virtual OUString GetSelectedNamedRange() const;
virtual void AppendNamedRange(const OUString& rName);
};
class AbstractScDataPilotServiceDlg_Impl : public AbstractScDataPilotServiceDlg
{
DECL_ABSTDLG_BASE(AbstractScDataPilotServiceDlg_Impl, ScDataPilotServiceDlg)
virtual OUString GetServiceName() const;
virtual OUString GetParSource() const;
virtual OUString GetParName() const;
virtual OUString GetParUser() const;
virtual OUString GetParPass() const;
};
class AbstractScDeleteCellDlg_Impl : public AbstractScDeleteCellDlg
{
DECL_ABSTDLG_BASE(AbstractScDeleteCellDlg_Impl,ScDeleteCellDlg)
virtual DelCellCmd GetDelCellCmd() const;
};
//for dataform
class AbstractScDataFormDlg_Impl : public AbstractScDataFormDlg
{
DECL_ABSTDLG_BASE(AbstractScDataFormDlg_Impl,ScDataFormDlg);
};
class AbstractScDeleteContentsDlg_Impl : public AbstractScDeleteContentsDlg
{
DECL_ABSTDLG_BASE( AbstractScDeleteContentsDlg_Impl,ScDeleteContentsDlg)
virtual void DisableObjects();
virtual sal_uInt16 GetDelContentsCmdBits() const;
};
class AbstractScFillSeriesDlg_Impl:public AbstractScFillSeriesDlg
{
DECL_ABSTDLG_BASE(AbstractScFillSeriesDlg_Impl, ScFillSeriesDlg)
virtual FillDir GetFillDir() const;
virtual FillCmd GetFillCmd() const;
virtual FillDateCmd GetFillDateCmd() const;
virtual double GetStart() const;
virtual double GetStep() const;
virtual double GetMax() const;
virtual OUString GetStartStr() const;
virtual void SetEdStartValEnabled(bool bFlag=false);
};
class AbstractScGroupDlg_Impl : public AbstractScGroupDlg
{
DECL_ABSTDLG_BASE( AbstractScGroupDlg_Impl, ScGroupDlg)
virtual bool GetColsChecked() const;
};
class AbstractScInsertCellDlg_Impl : public AbstractScInsertCellDlg
{
DECL_ABSTDLG_BASE( AbstractScInsertCellDlg_Impl, ScInsertCellDlg)
virtual InsCellCmd GetInsCellCmd() const ;
};
class AbstractScInsertContentsDlg_Impl : public AbstractScInsertContentsDlg
{
DECL_ABSTDLG_BASE(AbstractScInsertContentsDlg_Impl, ScInsertContentsDlg)
virtual sal_uInt16 GetInsContentsCmdBits() const;
virtual sal_uInt16 GetFormulaCmdBits() const;
virtual bool IsSkipEmptyCells() const;
virtual bool IsLink() const;
virtual void SetFillMode( bool bSet );
virtual void SetOtherDoc( bool bSet );
virtual bool IsTranspose() const;
virtual void SetChangeTrack( bool bSet );
virtual void SetCellShiftDisabled( int nDisable );
virtual InsCellCmd GetMoveMode();
};
class AbstractScInsertTableDlg_Impl : public AbstractScInsertTableDlg
{
DECL_ABSTDLG_BASE( AbstractScInsertTableDlg_Impl, ScInsertTableDlg)
virtual bool GetTablesFromFile();
virtual bool GetTablesAsLink();
virtual const OUString* GetFirstTable( sal_uInt16* pN = NULL );
virtual ScDocShell* GetDocShellTables();
virtual bool IsTableBefore();
virtual sal_uInt16 GetTableCount();
virtual const OUString* GetNextTable( sal_uInt16* pN = NULL );
};
class AbstractScSelEntryDlg_Impl : public AbstractScSelEntryDlg
{
DECL_ABSTDLG_BASE( AbstractScSelEntryDlg_Impl, ScSelEntryDlg )
virtual OUString GetSelectEntry() const;
};
class AbstractScLinkedAreaDlg_Impl : public AbstractScLinkedAreaDlg
{
DECL_ABSTDLG2_BASE( AbstractScLinkedAreaDlg_Impl, ScLinkedAreaDlg)
virtual void InitFromOldLink( const OUString& rFile, const OUString& rFilter,
const OUString& rOptions, const OUString& rSource,
sal_uLong nRefresh );
virtual OUString GetURL();
virtual OUString GetFilter(); // may be empty
virtual OUString GetOptions(); // filter options
virtual OUString GetSource(); // separated by ";"
virtual sal_uLong GetRefresh(); // 0 if disabled
};
class AbstractScMetricInputDlg_Impl : public AbstractScMetricInputDlg
{
DECL_ABSTDLG_BASE( AbstractScMetricInputDlg_Impl, ScMetricInputDlg)
virtual long GetInputValue( FieldUnit eUnit = FUNIT_TWIP ) const;
};
class AbstractScMoveTableDlg_Impl : public AbstractScMoveTableDlg
{
DECL_ABSTDLG_BASE( AbstractScMoveTableDlg_Impl, ScMoveTableDlg)
virtual sal_uInt16 GetSelectedDocument () const;
virtual sal_uInt16 GetSelectedTable () const;
virtual bool GetCopyTable () const;
virtual bool GetRenameTable () const;
virtual void GetTabNameString( OUString& rString ) const;
virtual void SetForceCopyTable ();
virtual void EnableCopyTable (bool bFlag=true);
virtual void EnableRenameTable (bool bFlag=true);
};
class AbstractScNameCreateDlg_Impl : public AbstractScNameCreateDlg
{
DECL_ABSTDLG_BASE( AbstractScNameCreateDlg_Impl, ScNameCreateDlg)
virtual sal_uInt16 GetFlags() const;
};
class AbstractScNamePasteDlg_Impl : public AbstractScNamePasteDlg
{
DECL_ABSTDLG_BASE( AbstractScNamePasteDlg_Impl, ScNamePasteDlg )
virtual std::vector<OUString> GetSelectedNames() const;
virtual bool IsAllSelected() const;
};
class AbstractScPivotFilterDlg_Impl : public AbstractScPivotFilterDlg
{
DECL_ABSTDLG_BASE( AbstractScPivotFilterDlg_Impl, ScPivotFilterDlg)
virtual const ScQueryItem& GetOutputItem();
};
class AbstractScDPFunctionDlg_Impl : public AbstractScDPFunctionDlg
{
DECL_ABSTDLG_BASE( AbstractScDPFunctionDlg_Impl, ScDPFunctionDlg)
virtual sal_uInt16 GetFuncMask() const;
virtual ::com::sun::star::sheet::DataPilotFieldReference GetFieldRef() const;
};
class AbstractScDPSubtotalDlg_Impl : public AbstractScDPSubtotalDlg
{
DECL_ABSTDLG_BASE( AbstractScDPSubtotalDlg_Impl, ScDPSubtotalDlg)
virtual sal_uInt16 GetFuncMask() const;
virtual void FillLabelData( ScDPLabelData& rLabelData ) const;
};
class AbstractScDPNumGroupDlg_Impl : public AbstractScDPNumGroupDlg
{
DECL_ABSTDLG_BASE( AbstractScDPNumGroupDlg_Impl, ScDPNumGroupDlg )
virtual ScDPNumGroupInfo GetGroupInfo() const;
};
class AbstractScDPDateGroupDlg_Impl : public AbstractScDPDateGroupDlg
{
DECL_ABSTDLG_BASE( AbstractScDPDateGroupDlg_Impl, ScDPDateGroupDlg )
virtual ScDPNumGroupInfo GetGroupInfo() const;
virtual sal_Int32 GetDatePart() const;
};
class AbstractScDPShowDetailDlg_Impl : public AbstractScDPShowDetailDlg
{
DECL_ABSTDLG_BASE( AbstractScDPShowDetailDlg_Impl, ScDPShowDetailDlg)
virtual OUString GetDimensionName() const;
};
class AbstractScNewScenarioDlg_Impl : public AbstractScNewScenarioDlg
{
DECL_ABSTDLG_BASE( AbstractScNewScenarioDlg_Impl, ScNewScenarioDlg )
virtual void SetScenarioData( const OUString& rName, const OUString& rComment,
const Color& rColor, sal_uInt16 nFlags );
virtual void GetScenarioData( OUString& rName, OUString& rComment,
Color& rColor, sal_uInt16& rFlags ) const;
};
class AbstractScShowTabDlg_Impl : public AbstractScShowTabDlg
{
DECL_ABSTDLG_BASE(AbstractScShowTabDlg_Impl,ScShowTabDlg)
virtual void Insert( const OUString& rString, bool bSelected );
virtual sal_uInt16 GetSelectEntryCount() const;
virtual void SetDescription(const OUString& rTitle, const OUString& rFixedText, const OString& sDlgHelpId, const OString& sLbHelpId );
virtual OUString GetSelectEntry(sal_uInt16 nPos) const;
virtual sal_uInt16 GetSelectEntryPos(sal_uInt16 nPos) const;
};
class AbstractScSortWarningDlg_Impl : public AbstractScSortWarningDlg
{
DECL_ABSTDLG_BASE( AbstractScSortWarningDlg_Impl, ScSortWarningDlg )
};
class AbstractScStringInputDlg_Impl : public AbstractScStringInputDlg
{
DECL_ABSTDLG_BASE( AbstractScStringInputDlg_Impl, ScStringInputDlg )
virtual OUString GetInputString() const;
};
class AbstractScTabBgColorDlg_Impl : public AbstractScTabBgColorDlg
{
DECL_ABSTDLG_BASE( AbstractScTabBgColorDlg_Impl, ScTabBgColorDlg )
virtual void GetSelectedColor( Color& rColor ) const;
};
class AbstractScImportOptionsDlg_Impl : public AbstractScImportOptionsDlg
{
DECL_ABSTDLG_BASE( AbstractScImportOptionsDlg_Impl, ScImportOptionsDlg)
virtual void GetImportOptions( ScImportOptions& rOptions ) const;
};
class AbstractScTextImportOptionsDlg_Impl : public AbstractScTextImportOptionsDlg
{
DECL_ABSTDLG_BASE( AbstractScTextImportOptionsDlg_Impl, ScTextImportOptionsDlg)
virtual LanguageType GetLanguageType() const;
virtual bool IsDateConversionSet() const;
};
class ScAbstractTabDialog_Impl : public SfxAbstractTabDialog
{
DECL_ABSTDLG_BASE( ScAbstractTabDialog_Impl,SfxTabDialog )
virtual void SetCurPageId( sal_uInt16 nId );
virtual void SetCurPageId( const OString &rName );
virtual const SfxItemSet* GetOutputItemSet() const;
virtual const sal_uInt16* GetInputRanges( const SfxItemPool& pItem );
virtual void SetInputSet( const SfxItemSet* pInSet );
//From class Window.
virtual void SetText( const OUString& rStr );
virtual OUString GetText() const;
};
//AbstractDialogFactory_Impl implementations
class ScAbstractDialogFactory_Impl : public ScAbstractDialogFactory
{
public:
virtual ~ScAbstractDialogFactory_Impl() {}
virtual AbstractScImportAsciiDlg * CreateScImportAsciiDlg( Window* pParent, OUString aDatName,
SvStream* pInStream,
ScImportAsciiCall eCall);
virtual AbstractScTextImportOptionsDlg * CreateScTextImportOptionsDlg(Window* pParent);
virtual AbstractScAutoFormatDlg * CreateScAutoFormatDlg(Window* pParent,
ScAutoFormat* pAutoFormat,
const ScAutoFormatData* pSelFormatData,
ScViewData *pViewData);
virtual AbstractScColRowLabelDlg * CreateScColRowLabelDlg (Window* pParent,
bool bCol = false,
bool bRow = false);
virtual AbstractScSortWarningDlg * CreateScSortWarningDlg(Window* pParent, const OUString& rExtendText, const OUString& rCurrentText );
virtual AbstractScCondFormatManagerDlg* CreateScCondFormatMgrDlg(Window* pParent, ScDocument* pDoc, const ScConditionalFormatList* pFormatList,
const ScAddress& rPos, int nId );
virtual AbstractScDataPilotDatabaseDlg * CreateScDataPilotDatabaseDlg(Window* pParent);
virtual AbstractScDataPilotSourceTypeDlg* CreateScDataPilotSourceTypeDlg(Window* pParent,
bool bEnableExternal);
virtual AbstractScDataPilotServiceDlg * CreateScDataPilotServiceDlg( Window* pParent,
const com::sun::star::uno::Sequence<OUString>& rServices,
int nId );
virtual AbstractScDeleteCellDlg * CreateScDeleteCellDlg(Window* pParent, bool bDisallowCellMove = false );
//for dataform
virtual AbstractScDataFormDlg* CreateScDataFormDlg(Window* pParent,
ScTabViewShell* pTabViewShell);
virtual AbstractScDeleteContentsDlg * CreateScDeleteContentsDlg(Window* pParent,
sal_uInt16 nCheckDefaults = 0);
virtual AbstractScFillSeriesDlg * CreateScFillSeriesDlg( Window* pParent,
ScDocument& rDocument,
FillDir eFillDir,
FillCmd eFillCmd,
FillDateCmd eFillDateCmd,
OUString aStartStr,
double fStep,
double fMax,
sal_uInt16 nPossDir);
virtual AbstractScGroupDlg * CreateAbstractScGroupDlg( Window* pParent,
bool bUnGroup = false,
bool bRows = true);
virtual AbstractScInsertCellDlg * CreateScInsertCellDlg( Window* pParent,
int nId,
bool bDisallowCellMove = false );
virtual AbstractScInsertContentsDlg * CreateScInsertContentsDlg( Window* pParent,
sal_uInt16 nCheckDefaults = 0,
const OUString* pStrTitle = NULL );
virtual AbstractScInsertTableDlg * CreateScInsertTableDlg(Window* pParent, ScViewData& rViewData,
SCTAB nTabCount, bool bFromFile);
virtual AbstractScSelEntryDlg * CreateScSelEntryDlg ( Window* pParent,
const std::vector<OUString> &rEntryList );
virtual AbstractScLinkedAreaDlg * CreateScLinkedAreaDlg(Window* pParent);
virtual AbstractScMetricInputDlg * CreateScMetricInputDlg ( Window* pParent,
OString sDialogName,
long nCurrent,
long nDefault,
FieldUnit eFUnit = FUNIT_MM,
sal_uInt16 nDecimals = 2,
long nMaximum = 1000,
long nMinimum = 0,
long nFirst = 1,
long nLast = 100 );
virtual AbstractScMoveTableDlg * CreateScMoveTableDlg(Window * pParent,
const OUString& rDefault);
virtual AbstractScNameCreateDlg * CreateScNameCreateDlg(Window * pParent,
sal_uInt16 nFlags);
virtual AbstractScNamePasteDlg * CreateScNamePasteDlg ( Window * pParent, ScDocShell* pShell, bool bInsList=true );
virtual AbstractScPivotFilterDlg * CreateScPivotFilterDlg(Window* pParent,
const SfxItemSet& rArgSet, sal_uInt16 nSourceTab);
virtual AbstractScDPFunctionDlg * CreateScDPFunctionDlg( Window* pParent,
const ScDPLabelDataVector& rLabelVec,
const ScDPLabelData& rLabelData,
const ScPivotFuncData& rFuncData );
virtual AbstractScDPSubtotalDlg * CreateScDPSubtotalDlg( Window* pParent,
ScDPObject& rDPObj,
const ScDPLabelData& rLabelData,
const ScPivotFuncData& rFuncData,
const ScDPNameVec& rDataFields,
bool bEnableLayout );
virtual AbstractScDPNumGroupDlg * CreateScDPNumGroupDlg( Window* pParent,
int nId,
const ScDPNumGroupInfo& rInfo );
virtual AbstractScDPDateGroupDlg * CreateScDPDateGroupDlg( Window* pParent,
int nId,
const ScDPNumGroupInfo& rInfo,
sal_Int32 nDatePart,
const Date& rNullDate );
virtual AbstractScDPShowDetailDlg * CreateScDPShowDetailDlg( Window* pParent, int nId,
ScDPObject& rDPObj,
sal_uInt16 nOrient );
virtual AbstractScNewScenarioDlg * CreateScNewScenarioDlg ( Window* pParent, const OUString& rName,
bool bEdit = false, bool bSheetProtected = false );
virtual AbstractScShowTabDlg * CreateScShowTabDlg(Window* pParent);
virtual AbstractScStringInputDlg * CreateScStringInputDlg ( Window* pParent,
const OUString& rTitle,
const OUString& rEditTitle,
const OUString& rDefault,
const OString& sHelpId, const OString& sEditHelpId );
virtual AbstractScTabBgColorDlg * CreateScTabBgColorDlg ( Window* pParent,
const OUString& rTitle, //Dialog Title
const OUString& rTabBgColorNoColorText, //Label for no tab color
const Color& rDefaultColor, //Currently selected Color
const OString& sHelpId );
virtual AbstractScImportOptionsDlg * CreateScImportOptionsDlg ( Window* pParent,
bool bAscii = true,
const ScImportOptions* pOptions = NULL,
const OUString* pStrTitle = NULL,
bool bMultiByte = false,
bool bOnlyDbtoolsEncodings = false,
bool bImport = true );
virtual SfxAbstractTabDialog * CreateScAttrDlg( SfxViewFrame* pFrame,
Window* pParent,
const SfxItemSet* pCellAttrs );
virtual SfxAbstractTabDialog * CreateScHFEditDlg( SfxViewFrame* pFrame,
Window* pParent,
const SfxItemSet& rCoreSet,
const OUString& rPageStyle,
sal_uInt16 nResId = RID_SCDLG_HFEDIT );
virtual SfxAbstractTabDialog * CreateScStyleDlg( Window* pParent,
SfxStyleSheetBase& rStyleBase,
sal_uInt16 nRscId,
int nId);
virtual SfxAbstractTabDialog * CreateScSubTotalDlg( Window* pParent,
const SfxItemSet* pArgSet );
virtual SfxAbstractTabDialog * CreateScCharDlg(Window* pParent,
const SfxItemSet* pAttr, const SfxObjectShell* pDocShell);
virtual SfxAbstractTabDialog * CreateScParagraphDlg(Window* pParent,
const SfxItemSet* pAttr);
virtual SfxAbstractTabDialog * CreateScValidationDlg(Window* pParent,
const SfxItemSet* pArgSet, ScTabViewShell *pTabVwSh);
virtual SfxAbstractTabDialog * CreateScSortDlg(Window* pParent, const SfxItemSet* pArgSet);
// For TabPage
virtual CreateTabPage GetTabPageCreatorFunc( sal_uInt16 nId );
virtual GetTabPageRanges GetTabPageRangesFunc( sal_uInt16 nId );
};
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|