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 : #ifndef _SW_ABSTDLG_HXX
20 : #define _SW_ABSTDLG_HXX
21 :
22 :
23 : #include <tools/solar.h>
24 : #include <tools/string.hxx>
25 : #include <sfx2/sfxdlg.hxx>
26 : #include <svx/svxdlg.hxx>
27 : #include <vcl/syswin.hxx>
28 : #include <globals.hrc>
29 : #include <com/sun/star/uno/Reference.h>
30 : #include <com/sun/star/uno/Sequence.h>
31 : #include <com/sun/star/frame/XModel.hpp>
32 : #include <com/sun/star/frame/XController.hpp>
33 : #include <com/sun/star/text/XTextCursor.hpp>
34 : #include <com/sun/star/container/XNameAccess.hpp>
35 : #include <com/sun/star/awt/XControl.hpp>
36 : #include <com/sun/star/container/XNamed.hpp>
37 : #include "itabenum.hxx"
38 :
39 : class SfxViewFrame;
40 : class SfxBindings;
41 : class SfxItemSet;
42 : class ResId;
43 : class Window;
44 : class String;
45 : class SfxItemPool;
46 : class SfxStyleSheetBase;
47 : class SwGlossaryHdl;
48 : class SwField;
49 :
50 : class SwLabFmtPage;
51 : class SwLabRec;
52 : class SwAsciiOptions;
53 : class SwDocShell;
54 : class SvStream;
55 : class SwWrtShell;
56 : class SfxRequest;
57 : class SwView;
58 : class SwTableAutoFmt;
59 : class SwTOXMgr;
60 : class SwForm;
61 : struct CurTOXType;
62 : class SwTOXDescription;
63 : class SwTOXBase;
64 : class SwSectionData;
65 : struct SwDBData;
66 : class SwField;
67 : class Printer;
68 : class SwLabItem;
69 : class SwNewDBMgr;
70 : class SwTableFUNC;
71 : class SwChildWinWrapper;
72 : struct SfxChildWinInfo;
73 : class SwTOXMark;
74 : struct SwDocStat;
75 : #include <cnttab.hxx> //add for struct CurTOXType
76 :
77 : namespace com{namespace sun{namespace star{
78 : namespace frame{
79 : class XFrame;
80 : }
81 : namespace sdbcx{
82 : class XColumnsSupplier;
83 : }
84 : namespace sdbc{
85 : class XDataSource;
86 : class XConnection;
87 : class XResultSet;
88 : }
89 : }}}
90 :
91 : typedef void (*SwLabDlgMethod) (::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel>& xModel, const SwLabItem& rItem);
92 :
93 : typedef String (*GlossaryGetCurrGroup)();
94 : typedef void (*GlossarySetActGroup)(const String& rNewGroup);
95 :
96 0 : class AbstractGlossaryDlg : public VclAbstractDialog //add for SwGlossaryDlg
97 : {
98 : public:
99 : virtual String GetCurrGrpName() const = 0;
100 : virtual String GetCurrShortName() const = 0;
101 : };
102 :
103 0 : class AbstractFldInputDlg : public VclAbstractDialog //add for SwFldInputDlg
104 : {
105 : public:
106 : //from class SalFrame
107 : virtual void SetWindowState( const OString & rStr ) = 0;
108 : virtual OString GetWindowState( sal_uLong nMask = WINDOWSTATE_MASK_ALL ) const = 0;
109 : };
110 :
111 0 : class AbstractInsFootNoteDlg : public VclAbstractDialog //add for SwInsFootNoteDlg
112 : {
113 : public:
114 : virtual String GetFontName() = 0;
115 : virtual sal_Bool IsEndNote() = 0;
116 : virtual String GetStr() = 0;
117 : //from class Window
118 : virtual void SetHelpId( const OString& sHelpId ) = 0;
119 : virtual void SetText( const OUString& rStr ) = 0;
120 : };
121 :
122 0 : class AbstractInsTableDlg : public VclAbstractDialog //add for SwInsTableDlg
123 : {
124 : public:
125 : virtual void GetValues( String& rName, sal_uInt16& rRow, sal_uInt16& rCol,
126 : SwInsertTableOptions& rInsTblFlags, String& rTableAutoFmtName,
127 : SwTableAutoFmt *& prTAFmt ) = 0;
128 : };
129 :
130 0 : class AbstractJavaEditDialog : public VclAbstractDialog //add for SwJavaEditDialog
131 : {
132 : public:
133 : virtual OUString GetText() = 0;
134 : virtual String GetType() = 0;
135 : virtual sal_Bool IsUrl() = 0;
136 : virtual sal_Bool IsNew() = 0;
137 : virtual bool IsUpdate() = 0;
138 : };
139 :
140 0 : class AbstractMailMergeDlg : public VclAbstractDialog //add for SwMailMergeDlg
141 : {
142 : public:
143 : virtual sal_uInt16 GetMergeType() = 0;
144 : virtual const OUString& GetSaveFilter() const = 0;
145 : virtual const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any > GetSelection() const = 0;
146 : virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet> GetResultSet() const = 0;
147 : virtual bool IsSaveIndividualDocs() const = 0;
148 : virtual bool IsGenerateFromDataBase() const = 0;
149 : virtual String GetColumnName() const = 0;
150 : virtual String GetPath() const = 0;
151 :
152 : };
153 0 : class AbstractMailMergeCreateFromDlg : public VclAbstractDialog //add for SwMailMergeCreateFromDlg
154 : {
155 : public:
156 : virtual sal_Bool IsThisDocument() const = 0;
157 : };
158 0 : class AbstractMailMergeFieldConnectionsDlg : public VclAbstractDialog //add for SwMailMergeFieldConnectionsDlg
159 : {
160 : public:
161 : virtual sal_Bool IsUseExistingConnections() const = 0;
162 : };
163 :
164 0 : class AbstractMultiTOXTabDialog : public VclAbstractDialog //add for SwMultiTOXTabDialog
165 : {
166 : public:
167 : virtual SwForm* GetForm(CurTOXType eType) = 0;
168 : virtual CurTOXType GetCurrentTOXType() const = 0;
169 : virtual SwTOXDescription& GetTOXDescription(CurTOXType eTOXTypes) = 0;
170 : //from SfxTabDialog
171 : virtual const SfxItemSet* GetOutputItemSet() const = 0;
172 : };
173 :
174 0 : class AbstractEditRegionDlg : public VclAbstractDialog //add for SwEditRegionDlg
175 : {
176 : public:
177 : virtual void SelectSection(const String& rSectionName) = 0;
178 : };
179 0 : class AbstractInsertSectionTabDialog : public VclAbstractDialog //add for SwInsertSectionTabDialog
180 : {
181 : public:
182 : virtual void SetSectionData(SwSectionData const& rSect) = 0;
183 : };
184 :
185 0 : class AbstractSwWordCountFloatDlg : public VclAbstractDialog
186 : {
187 : public:
188 : virtual void UpdateCounts() = 0;
189 : virtual void SetCounts(const SwDocStat &rCurrCnt, const SwDocStat &rDocStat) = 0;
190 : virtual Window * GetWindow() = 0; //this method is added for return a Window type pointer
191 : };
192 :
193 0 : class AbstractSwInsertAbstractDlg : public VclAbstractDialog // add for SwInsertAbstractDlg
194 : {
195 : public:
196 : virtual sal_uInt8 GetLevel() const = 0;
197 : virtual sal_uInt8 GetPara() const = 0;
198 : };
199 :
200 0 : class AbstractSwAsciiFilterDlg : public VclAbstractDialog // add for SwAsciiFilterDlg
201 : {
202 : public:
203 : virtual void FillOptions( SwAsciiOptions& rOptions ) = 0;
204 :
205 : };
206 :
207 0 : class AbstractSwBreakDlg : public VclAbstractDialog // add for SwBreakDlg
208 : {
209 : public:
210 : virtual String GetTemplateName() = 0;
211 : virtual sal_uInt16 GetKind() = 0;
212 : virtual sal_uInt16 GetPageNumber() = 0;
213 :
214 : };
215 :
216 0 : class AbstractSplitTableDialog : public VclAbstractDialog // add for
217 : {
218 : public:
219 : virtual sal_uInt16 GetSplitMode() = 0;
220 : };
221 :
222 0 : class AbstractSwConvertTableDlg : public VclAbstractDialog // add for SwConvertTableDlg
223 : {
224 : public:
225 : virtual void GetValues( sal_Unicode& rDelim,
226 : SwInsertTableOptions& rInsTblFlags,
227 : SwTableAutoFmt const*& prTAFmt ) = 0;
228 : };
229 :
230 0 : class AbstractSwInsertDBColAutoPilot : public VclAbstractDialog // add for SwInsertDBColAutoPilot
231 : {
232 : public:
233 :
234 : virtual void DataToDoc( const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& rSelection,
235 : ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XDataSource> rxSource,
236 : ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection> xConnection,
237 : ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet > xResultSet) = 0;
238 : };
239 :
240 0 : class AbstractDropDownFieldDialog : public VclAbstractDialog //add for DropDownFieldDialog
241 : {
242 : public:
243 : virtual OString GetWindowState( sal_uLong nMask = WINDOWSTATE_MASK_ALL ) const = 0; //this method inherit from SystemWindow
244 : virtual void SetWindowState( const OString & rStr ) =0;//this method inherit from SystemWindow
245 : };
246 :
247 0 : class AbstractSwLabDlg : public SfxAbstractTabDialog //add for SwLabDlg
248 : {
249 : public:
250 : virtual const String& GetBusinessCardStr() const = 0;
251 : virtual Printer *GetPrt() =0;
252 : };
253 :
254 0 : class AbstractSwSelGlossaryDlg : public VclAbstractDialog //add for SwSelGlossaryDlg
255 : {
256 : public:
257 : virtual void InsertGlos(const String &rRegion, const String &rGlosName) = 0; // inline
258 : virtual sal_uInt16 GetSelectedIdx() const = 0; // inline
259 : virtual void SelectEntryPos(sal_uInt16 nIdx) = 0; // inline
260 : };
261 :
262 0 : class AbstractSwAutoFormatDlg : public VclAbstractDialog //add for SwAutoFormatDlg
263 : {
264 : public:
265 : virtual void FillAutoFmtOfIndex( SwTableAutoFmt*& rToFill ) const = 0;
266 : };
267 :
268 0 : class AbstractSwFldDlg : public SfxAbstractTabDialog //add for SwFldDlg
269 : {
270 : public:
271 : virtual void Start( sal_Bool bShow = sal_True ) = 0; //this method from sfxtabdialog
272 : virtual void Initialize(SfxChildWinInfo *pInfo) = 0;
273 : virtual void ReInitDlg() = 0;
274 : virtual void ActivateDatabasePage() = 0;
275 : virtual void ShowPage( sal_uInt16 nId ) = 0;// this method from SfxTabDialog
276 : virtual Window * GetWindow() = 0; //this method is added for return a Window type pointer
277 : };
278 :
279 0 : class AbstractSwRenameXNamedDlg : public VclAbstractDialog //add for SwRenameXNamedDlg
280 : {
281 : public:
282 : virtual void SetForbiddenChars( const String& rSet ) = 0;
283 : virtual void SetAlternativeAccess(
284 : ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess > & xSecond,
285 : ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess > & xThird ) = 0;
286 : };
287 :
288 0 : class AbstractSwModalRedlineAcceptDlg : public VclAbstractDialog //add for SwModalRedlineAcceptDlg
289 : {
290 : public:
291 : virtual void AcceptAll( sal_Bool bAccept ) = 0;
292 : };
293 :
294 0 : class AbstractMarkFloatDlg : public VclAbstractDialog //add for SwIndexMarkFloatDlg & SwAuthMarkFloatDlg
295 : {
296 : public:
297 : virtual void ReInitDlg(SwWrtShell& rWrtShell) = 0;
298 : virtual Window * GetWindow() = 0; //this method is added for return a Window type pointer
299 : };
300 :
301 : #define RET_LOAD_DOC 100
302 : #define RET_EDIT_DOC 101
303 : #define RET_EDIT_RESULT_DOC 102
304 : #define RET_TARGET_CREATED 103
305 : #define RET_REMOVE_TARGET 104
306 : #define RET_APPLY_TEMPLATE 105
307 :
308 : class SwView;
309 : class SwMailMergeConfigItem;
310 :
311 0 : class AbstractMailMergeWizard : public VclAbstractDialog2
312 : {
313 : public:
314 : virtual void SetReloadDocument(const String& rURL) = 0;
315 : virtual const String& GetReloadDocument() const = 0;
316 : virtual sal_Bool ShowPage( sal_uInt16 nLevel ) = 0;
317 : virtual sal_uInt16 GetRestartPage() const = 0;
318 : };
319 :
320 :
321 : // Swabstract fractory
322 0 : class SwAbstractDialogFactory
323 : {
324 : public:
325 : static SwAbstractDialogFactory* Create();
326 :
327 : virtual SfxAbstractDialog* CreateSfxDialog( Window* pParent, //add for SvxMeasureDialog & SvxConnectionDialog
328 : const SfxItemSet& rAttr,
329 : const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& _rxFrame,
330 : sal_uInt32 nResId
331 : ) = 0;
332 : virtual AbstractSwWordCountFloatDlg* CreateSwWordCountDialog(SfxBindings* pBindings,
333 : SfxChildWindow* pChild, Window *pParent, SfxChildWinInfo* pInfo) = 0;
334 :
335 : virtual AbstractSwInsertAbstractDlg * CreateSwInsertAbstractDlg(Window* pParent) = 0; // add for SwInsertAbstractDlg
336 : virtual AbstractSwAsciiFilterDlg* CreateSwAsciiFilterDlg ( Window* pParent, SwDocShell& rDocSh,
337 : SvStream* pStream ) = 0;// add for SwAsciiFilterDlg
338 : virtual VclAbstractDialog * CreateSwInsertBookmarkDlg( Window *pParent, SwWrtShell &rSh, SfxRequest& rReq, int nResId ) = 0;// add for SwInsertBookmarkDlg
339 :
340 : virtual AbstractSwBreakDlg * CreateSwBreakDlg(Window *pParent, SwWrtShell &rSh) = 0; // add for SwBreakDlg
341 : virtual VclAbstractDialog * CreateSwChangeDBDlg(SwView& rVw) = 0; //add for SwChangeDBDlg
342 : virtual SfxAbstractTabDialog * CreateSwCharDlg(Window* pParent, SwView& pVw, const SfxItemSet& rCoreSet,
343 : const String* pFmtStr = 0, sal_Bool bIsDrwTxtDlg = sal_False) = 0; // add for SwCharDlg
344 : virtual AbstractSwConvertTableDlg* CreateSwConvertTableDlg(SwView& rView, bool bToTable) = 0; //add for SwConvertTableDlg
345 : virtual VclAbstractDialog * CreateSwCaptionDialog ( Window *pParent, SwView &rV,int nResId) = 0; //add for SwCaptionDialog
346 :
347 : virtual AbstractSwInsertDBColAutoPilot* CreateSwInsertDBColAutoPilot( SwView& rView, // add for SwInsertDBColAutoPilot
348 : ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XDataSource> rxSource,
349 : com::sun::star::uno::Reference<com::sun::star::sdbcx::XColumnsSupplier> xColSupp,
350 : const SwDBData& rData, int nResId) = 0;
351 : virtual SfxAbstractTabDialog * CreateSwFootNoteOptionDlg(Window *pParent, SwWrtShell &rSh) = 0;//add for SwFootNoteOptionDlg
352 :
353 : //add for DropDownFieldDialog
354 : virtual AbstractDropDownFieldDialog * CreateDropDownFieldDialog(Window *pParent, SwWrtShell &rSh,
355 : SwField* pField, sal_Bool bNextButton = sal_False) = 0;
356 : virtual SfxAbstractTabDialog* CreateSwEnvDlg ( Window* pParent, const SfxItemSet& rSet, SwWrtShell* pWrtSh, Printer* pPrt, sal_Bool bInsert,int nResId ) = 0; //add for SwEnvDlg
357 :
358 :
359 : virtual AbstractSwLabDlg* CreateSwLabDlg ( Window* pParent, const SfxItemSet& rSet, //add for SwLabDlg
360 : SwNewDBMgr* pNewDBMgr, sal_Bool bLabel,int nResId ) = 0;
361 :
362 : virtual SwLabDlgMethod GetSwLabDlgStaticMethod () =0;//add for SwLabDlg
363 :
364 : virtual SfxAbstractTabDialog* CreateSwParaDlg ( Window *pParent, //add for SwParaDlg
365 : SwView& rVw,
366 : const SfxItemSet& rCoreSet,
367 : sal_uInt8 nDialogMode,
368 : int nResId,
369 : const String *pCollName = 0,
370 : sal_Bool bDraw = sal_False,
371 : sal_uInt16 nDefPage = 0) = 0;
372 :
373 : virtual AbstractSwSelGlossaryDlg * CreateSwSelGlossaryDlg ( Window * pParent, const String &rShortName, int nResId ) = 0; //add for SwSelGlossaryDlg
374 :
375 : virtual VclAbstractDialog * CreateVclAbstractDialog ( Window * pParent, SwWrtShell &rSh, int nResId ) = 0; //add for SwTableHeightDlg SwSortDlg
376 : virtual AbstractSplitTableDialog * CreateSplitTblDialog ( Window * pParent, SwWrtShell &rSh ) = 0; //add for SwSplitTblDlg
377 :
378 : virtual AbstractSwAutoFormatDlg * CreateSwAutoFormatDlg( Window* pParent, SwWrtShell* pShell, //add for SwAutoFormatDlg
379 : sal_Bool bSetAutoFmt = sal_True,
380 : const SwTableAutoFmt* pSelFmt = 0 ) = 0;
381 : virtual SfxAbstractDialog * CreateSwBorderDlg ( Window* pParent, SfxItemSet& rSet, sal_uInt16 nType, int nResId ) = 0;//add for SwBorderDlg
382 : virtual SfxAbstractDialog * CreateSwWrapDlg ( Window* pParent, SfxItemSet& rSet, SwWrtShell* pSh, sal_Bool bDrawMode, int nResId ) = 0; //add for SwWrapDlg
383 :
384 : virtual VclAbstractDialog * CreateSwTableWidthDlg(Window *pParent, SwTableFUNC &rFnc) = 0; //add for SwTableWidthDlg
385 : virtual SfxAbstractTabDialog* CreateSwTableTabDlg(Window* pParent, SfxItemPool& Pool,
386 : const SfxItemSet* pItemSet, SwWrtShell* pSh) = 0; //add for SwTableTabDlg
387 :
388 : virtual AbstractSwFldDlg * CreateSwFldDlg ( SfxBindings* pB, SwChildWinWrapper* pCW, Window *pParent, int nResId ) = 0; //add for SwFldDlg
389 : virtual SfxAbstractDialog* CreateSwFldEditDlg ( SwView& rVw, int nResId ) = 0; //add for SwFldEditDlg
390 : virtual AbstractSwRenameXNamedDlg * CreateSwRenameXNamedDlg(Window* pParent, //add for SwRenameXNamedDlg
391 : ::com::sun::star::uno::Reference< ::com::sun::star::container::XNamed > & xNamed,
392 : ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess > & xNameAccess) = 0;
393 : virtual AbstractSwModalRedlineAcceptDlg * CreateSwModalRedlineAcceptDlg(Window *pParent) = 0;
394 :
395 : virtual VclAbstractDialog* CreateTblMergeDialog( Window* pParent, sal_Bool& rWithPrev ) = 0; //add for SwMergeTblDlg
396 : virtual SfxAbstractTabDialog* CreateFrmTabDialog( int nResId,
397 : SfxViewFrame *pFrame, Window *pParent,
398 : const SfxItemSet& rCoreSet,
399 : sal_Bool bNewFrm = sal_True,
400 : sal_uInt16 nResType = DLG_FRM_STD,
401 : sal_Bool bFmt = sal_False,
402 : sal_uInt16 nDefPage = 0,
403 : const String* pFmtStr = 0) = 0; //add for SwFrmDlg
404 : // @param nSlot
405 : // Identifies optional Slot by which the creation of the Template (Style) dialog is triggered.
406 : // Currently used, if nRegion == SFX_STYLE_FAMILY_PAGE in order to activate certain dialog pane
407 : virtual SfxAbstractApplyTabDialog* CreateTemplateDialog(
408 : Window* pParent,
409 : SfxStyleSheetBase& rBase,
410 : sal_uInt16 nRegion,
411 : const sal_uInt16 nSlot = 0,
412 : SwWrtShell* pActShell = 0,
413 : sal_Bool bNew = sal_False ) = 0; //add for SwTemplateDlg
414 : virtual AbstractGlossaryDlg* CreateGlossaryDlg(SfxViewFrame* pViewFrame,
415 : SwGlossaryHdl* pGlosHdl,
416 : SwWrtShell *pWrtShell) = 0; //add for SwGlossaryDlg
417 : virtual AbstractFldInputDlg* CreateFldInputDlg(Window *pParent,
418 : SwWrtShell &rSh, SwField* pField, bool bNextButton = false) = 0; //add for SwFldInputDlg
419 : virtual AbstractInsFootNoteDlg* CreateInsFootNoteDlg(Window * pParent,
420 : SwWrtShell &rSh, sal_Bool bEd = sal_False) = 0; //add for SwInsFootNoteDlg
421 : virtual VclAbstractDialog* CreateTitlePageDlg ( Window * pParent ) = 0;
422 : virtual VclAbstractDialog * CreateVclSwViewDialog(SwView& rView) = 0; //add for SwInsRowColDlg, SwLineNumberingDlg
423 : virtual AbstractInsTableDlg* CreateInsTableDlg(SwView& rView) = 0; //add for SwInsTableDlg
424 : virtual AbstractJavaEditDialog* CreateJavaEditDialog(Window* pParent,
425 : SwWrtShell* pWrtSh) = 0; //add for SwJavaEditDialog
426 : virtual AbstractMailMergeDlg* CreateMailMergeDlg( int nResId,
427 : Window* pParent, SwWrtShell& rSh,
428 : const String& rSourceName,
429 : const String& rTblName,
430 : sal_Int32 nCommandType,
431 : const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection>& xConnection,
432 : ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >* pSelection = 0 ) = 0; //add for SwMailMergeDlg
433 : virtual AbstractMailMergeCreateFromDlg* CreateMailMergeCreateFromDlg(Window* pParent) = 0;
434 : virtual AbstractMailMergeFieldConnectionsDlg* CreateMailMergeFieldConnectionsDlg( int nResId,
435 : Window* pParent ) = 0; //add for SwMailMergeFieldConnectionsDlg
436 : virtual VclAbstractDialog* CreateMultiTOXMarkDlg( int nResId,
437 : Window* pParent, SwTOXMgr &rTOXMgr ) = 0; //add for SwMultiTOXMarkDlg
438 : virtual SfxAbstractTabDialog* CreateSwTabDialog( int nResId,
439 : Window* pParent,
440 : const SfxItemSet* pSwItemSet,
441 : SwWrtShell &) = 0; //add for SwSvxNumBulletTabDialog, SwOutlineTabDialog
442 : virtual AbstractMultiTOXTabDialog* CreateMultiTOXTabDialog( int nResId,
443 : Window* pParent, const SfxItemSet& rSet,
444 : SwWrtShell &rShell,
445 : SwTOXBase* pCurTOX, sal_uInt16 nToxType = USHRT_MAX,
446 : sal_Bool bGlobal = sal_False) = 0; //add for SwMultiTOXTabDialog
447 : virtual AbstractEditRegionDlg* CreateEditRegionDlg(Window* pParent, SwWrtShell& rWrtSh) = 0; //add for SwEditRegionDlg
448 : virtual AbstractInsertSectionTabDialog* CreateInsertSectionTabDialog( int nResId,
449 : Window* pParent, const SfxItemSet& rSet, SwWrtShell& rSh ) = 0; //add for SwInsertSectionTabDialog
450 : virtual AbstractMarkFloatDlg* CreateIndexMarkFloatDlg(
451 : SfxBindings* pBindings,
452 : SfxChildWindow* pChild,
453 : Window *pParent,
454 : SfxChildWinInfo* pInfo,
455 : sal_Bool bNew=sal_True) = 0; //add for SwIndexMarkFloatDlg
456 : virtual AbstractMarkFloatDlg* CreateAuthMarkFloatDlg(
457 : SfxBindings* pBindings,
458 : SfxChildWindow* pChild,
459 : Window *pParent,
460 : SfxChildWinInfo* pInfo,
461 : sal_Bool bNew=sal_True) = 0; //add for SwAuthMarkFloatDlg
462 : virtual VclAbstractDialog * CreateIndexMarkModalDlg(
463 : Window *pParent, SwWrtShell& rSh, SwTOXMark* pCurTOXMark) = 0; //add for SwIndexMarkModalDlg
464 :
465 : virtual AbstractMailMergeWizard* CreateMailMergeWizard(SwView& rView, SwMailMergeConfigItem& rConfigItem) = 0;
466 :
467 : //add for static func in SwGlossaryDlg
468 : virtual GlossaryGetCurrGroup GetGlossaryCurrGroupFunc() = 0;
469 : virtual GlossarySetActGroup SetGlossaryActGroupFunc() = 0;
470 :
471 : // for tabpage
472 : virtual CreateTabPage GetTabPageCreatorFunc( sal_uInt16 nId ) = 0;
473 : virtual GetTabPageRanges GetTabPageRangesFunc( sal_uInt16 nId ) = 0;
474 :
475 : protected:
476 0 : ~SwAbstractDialogFactory() {}
477 : };
478 :
479 : #endif
480 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|