Branch data Line data Source code
1 : : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 : : /*************************************************************************
3 : : *
4 : : * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 : : *
6 : : * Copyright 2000, 2010 Oracle and/or its affiliates.
7 : : *
8 : : * OpenOffice.org - a multi-platform office productivity suite
9 : : *
10 : : * This file is part of OpenOffice.org.
11 : : *
12 : : * OpenOffice.org is free software: you can redistribute it and/or modify
13 : : * it under the terms of the GNU Lesser General Public License version 3
14 : : * only, as published by the Free Software Foundation.
15 : : *
16 : : * OpenOffice.org is distributed in the hope that it will be useful,
17 : : * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 : : * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 : : * GNU Lesser General Public License version 3 for more details
20 : : * (a copy is included in the LICENSE file that accompanied this code).
21 : : *
22 : : * You should have received a copy of the GNU Lesser General Public License
23 : : * version 3 along with OpenOffice.org. If not, see
24 : : * <http://www.openoffice.org/license.html>
25 : : * for a copy of the LGPLv3 License.
26 : : *
27 : : ************************************************************************/
28 : : #ifndef _SW_DLGFACT_HXX
29 : : #define _SW_DLGFACT_HXX
30 : :
31 : : #include "swabstdlg.hxx"
32 : :
33 : : class SwInsertAbstractDlg;
34 : : class SfxSingleTabDialog;
35 : : class SwAsciiFilterDlg;
36 : : class Dialog;
37 : : class SwBreakDlg;
38 : : class SfxTabDialog;
39 : : class SwConvertTableDlg;
40 : : class SwInsertDBColAutoPilot;
41 : : class SwLabDlg;
42 : : class SwSelGlossaryDlg;
43 : : class SwAutoFormatDlg;
44 : : class SwFldDlg;
45 : : class SwRenameXNamedDlg;
46 : : class SwModalRedlineAcceptDlg;
47 : : class SwTOXMark;
48 : : class SwSplitTblDlg;
49 : :
50 : : #include "itabenum.hxx"
51 : :
52 : : namespace sw
53 : : {
54 : : class DropDownFieldDialog;
55 : : }
56 : :
57 : : #define DECL_ABSTDLG_BASE(Class,DialogClass) \
58 : : DialogClass* pDlg; \
59 : : public: \
60 : : Class( DialogClass* p) \
61 : : : pDlg(p) \
62 : : {} \
63 : : virtual ~Class(); \
64 : : virtual short Execute() ;
65 : : // virtual void Show( sal_Bool bVisible = sal_True, sal_uInt16 nFlags = 0 )
66 : :
67 : : #define IMPL_ABSTDLG_BASE(Class) \
68 : : Class::~Class() \
69 : : { \
70 : : delete pDlg; \
71 : : } \
72 : : short Class::Execute() \
73 : : { \
74 : : return pDlg->Execute(); \
75 : : }
76 : :
77 : : class SwWordCountFloatDlg;
78 : : class AbstractSwWordCountFloatDlg_Impl : public AbstractSwWordCountFloatDlg
79 : : {
80 : 0 : DECL_ABSTDLG_BASE(AbstractSwWordCountFloatDlg_Impl,SwWordCountFloatDlg)
81 : : virtual void UpdateCounts();
82 : : virtual Window * GetWindow(); //this method is added for return a Window type pointer
83 : : };
84 : :
85 : : //add for SwInsertAbstractDlg begin
86 : : class AbstractSwInsertAbstractDlg_Impl : public AbstractSwInsertAbstractDlg
87 : : {
88 : 0 : DECL_ABSTDLG_BASE(AbstractSwInsertAbstractDlg_Impl,SwInsertAbstractDlg)
89 : : virtual sal_uInt8 GetLevel() const ;
90 : : virtual sal_uInt8 GetPara() const ;
91 : : };
92 : :
93 : : //add for SwInsertAbstractDlg end
94 : :
95 : : // add for SwAddrDlg, SwDropCapsDlg, SwBackgroundDlg SwNumFmtDlg SwWrapDlg SwBorderDlg, SwFldEditDlg begin
96 : : class SfxSingleTabDialog;
97 : : class AbstractSfxDialog_Impl :public SfxAbstractDialog
98 : : {
99 : 0 : DECL_ABSTDLG_BASE(AbstractSfxDialog_Impl,SfxModalDialog)
100 : : virtual const SfxItemSet* GetOutputItemSet() const;
101 : : virtual void SetText( const XubString& rStr );
102 : : virtual String GetText() const;
103 : : };
104 : : // add for SwAddrDlg,SwDropCapsDlg , SwBackgroundDlg SwNumFmtDlg SwWrapDlg SwBorderDlg, SwFldEditDlg end
105 : :
106 : : // add for SwAsciiFilterDlg begin
107 : : class AbstractSwAsciiFilterDlg_Impl : public AbstractSwAsciiFilterDlg
108 : : {
109 : 0 : DECL_ABSTDLG_BASE( AbstractSwAsciiFilterDlg_Impl,SwAsciiFilterDlg )
110 : : virtual void FillOptions( SwAsciiOptions& rOptions );
111 : :
112 : : };
113 : : // add for SwAsciiFilterDlg end
114 : :
115 : : // add for SwInsertBookmarkDlg SwChangeDBDlg, SwTableHeightDlg, SwSplitTblDlg SwSortDlg SwTableWidthDlgbegin
116 : : class VclAbstractDialog_Impl : public VclAbstractDialog
117 : : {
118 : 0 : DECL_ABSTDLG_BASE(VclAbstractDialog_Impl,Dialog)
119 : : };
120 : : // add for SwInsertBookmarkDlg SwChangeDBDlg, SwTableHeightDlg SwSplitTblDlg SwSortDlg SwTableWidthDlg end
121 : :
122 : : // add for SwBreakDlg begin
123 : : class AbstractSwBreakDlg_Impl : public AbstractSwBreakDlg // add for SwBreakDlg
124 : : {
125 : 0 : DECL_ABSTDLG_BASE(AbstractSwBreakDlg_Impl,SwBreakDlg)
126 : : virtual String GetTemplateName();
127 : : virtual sal_uInt16 GetKind();
128 : : virtual sal_uInt16 GetPageNumber();
129 : :
130 : : };
131 : : class AbstractSplitTableDialog_Impl : public AbstractSplitTableDialog // add for
132 : : {
133 : 0 : DECL_ABSTDLG_BASE(AbstractSplitTableDialog_Impl, SwSplitTblDlg)
134 : : virtual sal_uInt16 GetSplitMode();
135 : : };
136 : :
137 : : // add for SwBreakDlg end
138 : :
139 : : //add for SwCharDlg , SwEnvDlg , SwFootNoteOptionDlg SwParaDlg SwTableTabDlg begin
140 : : class AbstractTabDialog_Impl : public SfxAbstractTabDialog
141 : : {
142 : 0 : DECL_ABSTDLG_BASE( AbstractTabDialog_Impl,SfxTabDialog )
143 : : virtual void SetCurPageId( sal_uInt16 nId );
144 : : virtual const SfxItemSet* GetOutputItemSet() const;
145 : : virtual const sal_uInt16* GetInputRanges( const SfxItemPool& pItem );
146 : : virtual void SetInputSet( const SfxItemSet* pInSet );
147 : : //From class Window.
148 : : virtual void SetText( const XubString& rStr );
149 : : virtual String GetText() const;
150 : : };
151 : : //add for SwCharDlg, SwEnvDlg ,SwFootNoteOptionDlg SwParaDlg SwTableTabDlg end
152 : :
153 : : //add for SwConvertTableDlg begin
154 : : class AbstractSwConvertTableDlg_Impl : public AbstractSwConvertTableDlg // add for SwConvertTableDlg
155 : : {
156 : 0 : DECL_ABSTDLG_BASE( AbstractSwConvertTableDlg_Impl,SwConvertTableDlg)
157 : : virtual void GetValues( sal_Unicode& rDelim,SwInsertTableOptions& rInsTblFlags,
158 : : SwTableAutoFmt const*& prTAFmt);
159 : : };
160 : : //add for SwConvertTableDlg end
161 : :
162 : : //add for SwInsertDBColAutoPilot begin
163 : : class AbstractSwInsertDBColAutoPilot_Impl : public AbstractSwInsertDBColAutoPilot // add for SwInsertDBColAutoPilot
164 : : {
165 : 0 : DECL_ABSTDLG_BASE( AbstractSwInsertDBColAutoPilot_Impl,SwInsertDBColAutoPilot)
166 : : virtual void DataToDoc( const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& rSelection,
167 : : ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XDataSource> rxSource,
168 : : ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection> xConnection,
169 : : ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet > xResultSet);
170 : : };
171 : : //add for SwInsertDBColAutoPilot end
172 : :
173 : : //add for DropDownFieldDialog begin
174 : : class AbstractDropDownFieldDialog_Impl : public AbstractDropDownFieldDialog //add for DropDownFieldDialog
175 : : {
176 : 0 : DECL_ABSTDLG_BASE(AbstractDropDownFieldDialog_Impl, sw::DropDownFieldDialog)
177 : : virtual rtl::OString GetWindowState( sal_uLong nMask = WINDOWSTATE_MASK_ALL ) const; //this method inherit from SystemWindow
178 : : virtual void SetWindowState( const rtl::OString& rStr );//this method inherit from SystemWindow
179 : : };
180 : : //add for DropDownFieldDialog end
181 : :
182 : :
183 : : class AbstractSwLabDlg_Impl : public AbstractSwLabDlg
184 : : {
185 : 0 : DECL_ABSTDLG_BASE(AbstractSwLabDlg_Impl,SwLabDlg)
186 : : virtual void SetCurPageId( sal_uInt16 nId );
187 : : virtual const SfxItemSet* GetOutputItemSet() const;
188 : : virtual const sal_uInt16* GetInputRanges( const SfxItemPool& pItem );
189 : : virtual void SetInputSet( const SfxItemSet* pInSet );
190 : : //From class Window.
191 : : virtual void SetText( const XubString& rStr );
192 : : virtual String GetText() const;
193 : : virtual const String& GetBusinessCardStr() const;
194 : : virtual Printer *GetPrt();
195 : : };
196 : : //add for SwLabDlg end
197 : :
198 : : //add for SwSelGlossaryDlg begin
199 : : class AbstractSwSelGlossaryDlg_Impl : public AbstractSwSelGlossaryDlg
200 : : {
201 : 0 : DECL_ABSTDLG_BASE(AbstractSwSelGlossaryDlg_Impl,SwSelGlossaryDlg)
202 : : virtual void InsertGlos(const String &rRegion, const String &rGlosName); // inline
203 : : virtual sal_uInt16 GetSelectedIdx() const; // inline
204 : : virtual void SelectEntryPos(sal_uInt16 nIdx); // inline
205 : : };
206 : : //add for SwSelGlossaryDlg end
207 : :
208 : : //add for SwAutoFormatDlg begin
209 : : class AbstractSwAutoFormatDlg_Impl : public AbstractSwAutoFormatDlg
210 : : {
211 : 0 : DECL_ABSTDLG_BASE(AbstractSwAutoFormatDlg_Impl,SwAutoFormatDlg )
212 : : virtual void FillAutoFmtOfIndex( SwTableAutoFmt*& rToFill ) const;
213 : : };
214 : : //add for SwAutoFormatDlg end
215 : :
216 : : //add for SwFldDlg begin
217 : :
218 : : class AbstractSwFldDlg_Impl : public AbstractSwFldDlg //add for SwFldDlg
219 : : {
220 : 0 : DECL_ABSTDLG_BASE(AbstractSwFldDlg_Impl,SwFldDlg )
221 : : virtual void SetCurPageId( sal_uInt16 nId );
222 : : virtual const SfxItemSet* GetOutputItemSet() const;
223 : : virtual const sal_uInt16* GetInputRanges( const SfxItemPool& pItem );
224 : : virtual void SetInputSet( const SfxItemSet* pInSet );
225 : : //From class Window.
226 : : virtual void SetText( const XubString& rStr );
227 : : virtual String GetText() const;
228 : : virtual void Start( sal_Bool bShow = sal_True ); //this method from SfxTabDialog
229 : : virtual void ShowPage( sal_uInt16 nId );// this method from SfxTabDialog
230 : : virtual void Initialize(SfxChildWinInfo *pInfo);
231 : : virtual void ReInitDlg();
232 : : virtual void ActivateDatabasePage();
233 : : virtual Window * GetWindow(); //this method is added for return a Window type pointer
234 : : };
235 : : //add for SwFldD end
236 : :
237 : : //add for SwRenameXNamedDlg begin
238 : : class AbstractSwRenameXNamedDlg_Impl : public AbstractSwRenameXNamedDlg
239 : : {
240 : 0 : DECL_ABSTDLG_BASE(AbstractSwRenameXNamedDlg_Impl,SwRenameXNamedDlg )
241 : : virtual void SetForbiddenChars( const String& rSet );
242 : : virtual void SetAlternativeAccess(
243 : : ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess > & xSecond,
244 : : ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess > & xThird );
245 : : };
246 : : //add for SwRenameXNamedDlg end
247 : : //add for SwModalRedlineAcceptDlg begin
248 : : class AbstractSwModalRedlineAcceptDlg_Impl : public AbstractSwModalRedlineAcceptDlg
249 : : {
250 : 0 : DECL_ABSTDLG_BASE(AbstractSwModalRedlineAcceptDlg_Impl,SwModalRedlineAcceptDlg )
251 : : virtual void AcceptAll( sal_Bool bAccept );
252 : : };
253 : : //add for SwModalRedlineAcceptDlg end
254 : :
255 : : //for SwGlossaryDlg begin
256 : : class SwGlossaryDlg;
257 : : class AbstractGlossaryDlg_Impl : public AbstractGlossaryDlg
258 : : {
259 : 0 : DECL_ABSTDLG_BASE(AbstractGlossaryDlg_Impl,SwGlossaryDlg)
260 : : virtual String GetCurrGrpName() const;
261 : : virtual String GetCurrShortName() const;
262 : : };
263 : : //for SwGlossaryDlg end
264 : :
265 : : //for SwFldInputDlg begin
266 : : class SwFldInputDlg;
267 : : class AbstractFldInputDlg_Impl : public AbstractFldInputDlg
268 : : {
269 : 0 : DECL_ABSTDLG_BASE(AbstractFldInputDlg_Impl,SwFldInputDlg)
270 : : //from class SalFrame
271 : : virtual void SetWindowState( const rtl::OString & rStr ) ;
272 : : virtual rtl::OString GetWindowState( sal_uLong nMask = WINDOWSTATE_MASK_ALL ) const ;
273 : : };
274 : : //for SwFldInputDlg end
275 : :
276 : : //for SwInsFootNoteDlg begin
277 : : class SwInsFootNoteDlg;
278 : : class AbstractInsFootNoteDlg_Impl : public AbstractInsFootNoteDlg
279 : : {
280 : 0 : DECL_ABSTDLG_BASE(AbstractInsFootNoteDlg_Impl,SwInsFootNoteDlg)
281 : : virtual String GetFontName();
282 : : virtual sal_Bool IsEndNote();
283 : : virtual String GetStr();
284 : : //from class Window
285 : : virtual void SetHelpId( const rtl::OString& sHelpId );
286 : : virtual void SetText( const XubString& rStr );
287 : : };
288 : : //for SwInsFootNoteDlg end
289 : :
290 : : //for SwInsertGrfRulerDlg begin
291 : : class SwInsertGrfRulerDlg;
292 : : class AbstractInsertGrfRulerDlg_Impl : public AbstractInsertGrfRulerDlg
293 : : {
294 : 0 : DECL_ABSTDLG_BASE(AbstractInsertGrfRulerDlg_Impl,SwInsertGrfRulerDlg)
295 : : virtual String GetGraphicName();
296 : : virtual sal_Bool IsSimpleLine();
297 : : virtual sal_Bool HasImages() const ;
298 : : };
299 : : //for SwInsertGrfRulerDlg end
300 : :
301 : : //for SwInsTableDlg begin
302 : : class SwInsTableDlg;
303 : : class AbstractInsTableDlg_Impl : public AbstractInsTableDlg
304 : : {
305 : 0 : DECL_ABSTDLG_BASE(AbstractInsTableDlg_Impl,SwInsTableDlg)
306 : : virtual void GetValues( String& rName, sal_uInt16& rRow, sal_uInt16& rCol,
307 : : SwInsertTableOptions& rInsTblFlags, String& rTableAutoFmtName,
308 : : SwTableAutoFmt *& prTAFmt );
309 : : };
310 : : //for SwInsTableDlg end
311 : :
312 : : //for SwJavaEditDialog begin
313 : : class SwJavaEditDialog;
314 : : class AbstractJavaEditDialog_Impl : public AbstractJavaEditDialog
315 : : {
316 : 0 : DECL_ABSTDLG_BASE(AbstractJavaEditDialog_Impl,SwJavaEditDialog)
317 : : virtual String GetText();
318 : : virtual String GetType();
319 : : virtual sal_Bool IsUrl();
320 : : virtual sal_Bool IsNew();
321 : : virtual sal_Bool IsUpdate();
322 : : };
323 : : //for SwJavaEditDialog end
324 : :
325 : : //for SwMailMergeDlg begin
326 : : class SwMailMergeDlg;
327 : : class AbstractMailMergeDlg_Impl : public AbstractMailMergeDlg
328 : : {
329 : 0 : DECL_ABSTDLG_BASE(AbstractMailMergeDlg_Impl,SwMailMergeDlg)
330 : : virtual sal_uInt16 GetMergeType() ;
331 : : virtual const ::rtl::OUString& GetSaveFilter() const;
332 : : virtual const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any > GetSelection() const ;
333 : : virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet> GetResultSet() const;
334 : : virtual bool IsSaveIndividualDocs() const;
335 : : virtual bool IsGenerateFromDataBase() const;
336 : : virtual String GetColumnName() const;
337 : : virtual String GetPath() const;
338 : : };
339 : : //for SwMailMergeDlg end
340 : : //for SwMailMergeCreateFromDlg begin
341 : : class SwMailMergeCreateFromDlg;
342 : : class AbstractMailMergeCreateFromDlg_Impl : public AbstractMailMergeCreateFromDlg
343 : : {
344 : 0 : DECL_ABSTDLG_BASE(AbstractMailMergeCreateFromDlg_Impl,SwMailMergeCreateFromDlg)
345 : : virtual sal_Bool IsThisDocument() const ;
346 : : };
347 : : //for SwMailMergeCreateFromDlg end
348 : : //for SwMailMergeFieldConnectionsDlg begin
349 : : class SwMailMergeFieldConnectionsDlg;
350 : : class AbstractMailMergeFieldConnectionsDlg_Impl : public AbstractMailMergeFieldConnectionsDlg
351 : : {
352 : 0 : DECL_ABSTDLG_BASE(AbstractMailMergeFieldConnectionsDlg_Impl,SwMailMergeFieldConnectionsDlg)
353 : : virtual sal_Bool IsUseExistingConnections() const ;
354 : : };
355 : : //for SwMailMergeFieldConnectionsDlg end
356 : :
357 : : //for SwMultiTOXTabDialog begin
358 : : class SwMultiTOXTabDialog;
359 : : class AbstractMultiTOXTabDialog_Impl : public AbstractMultiTOXTabDialog
360 : : {
361 : 0 : DECL_ABSTDLG_BASE(AbstractMultiTOXTabDialog_Impl,SwMultiTOXTabDialog)
362 : : virtual SwForm* GetForm(CurTOXType eType);
363 : : virtual CurTOXType GetCurrentTOXType() const ;
364 : : virtual SwTOXDescription& GetTOXDescription(CurTOXType eTOXTypes);
365 : : //from SfxTabDialog
366 : : virtual const SfxItemSet* GetOutputItemSet() const;
367 : : };
368 : : //for SwMultiTOXTabDialog end
369 : :
370 : : //for SwEditRegionDlg begin
371 : : class SwEditRegionDlg;
372 : : class AbstractEditRegionDlg_Impl : public AbstractEditRegionDlg
373 : : {
374 : 0 : DECL_ABSTDLG_BASE(AbstractEditRegionDlg_Impl,SwEditRegionDlg)
375 : : virtual void SelectSection(const String& rSectionName);
376 : : };
377 : : //for SwEditRegionDlg end
378 : : //for SwInsertSectionTabDialog begin
379 : : class SwInsertSectionTabDialog;
380 : : class AbstractInsertSectionTabDialog_Impl : public AbstractInsertSectionTabDialog
381 : : {
382 : 0 : DECL_ABSTDLG_BASE(AbstractInsertSectionTabDialog_Impl,SwInsertSectionTabDialog)
383 : : virtual void SetSectionData(SwSectionData const& rSect);
384 : : };
385 : : //for SwInsertSectionTabDialog end
386 : :
387 : : //for SwIndexMarkFloatDlg begin
388 : : class SwIndexMarkFloatDlg;
389 : : class AbstractIndexMarkFloatDlg_Impl : public AbstractMarkFloatDlg
390 : : {
391 : 0 : DECL_ABSTDLG_BASE(AbstractIndexMarkFloatDlg_Impl,SwIndexMarkFloatDlg)
392 : : virtual void ReInitDlg(SwWrtShell& rWrtShell);
393 : : virtual Window * GetWindow(); //this method is added for return a Window type pointer
394 : : };
395 : : //for SwIndexMarkFloatDlg end
396 : :
397 : : //for SwAuthMarkFloatDlg begin
398 : : class SwAuthMarkFloatDlg;
399 : : class AbstractAuthMarkFloatDlg_Impl : public AbstractMarkFloatDlg
400 : : {
401 : 0 : DECL_ABSTDLG_BASE(AbstractAuthMarkFloatDlg_Impl,SwAuthMarkFloatDlg)
402 : : virtual void ReInitDlg(SwWrtShell& rWrtShell);
403 : : virtual Window * GetWindow(); //this method is added for return a Window type pointer
404 : : };
405 : : //for SwAuthMarkFloatDlg end
406 : :
407 : : class SwMailMergeWizard;
408 : : class AbstractMailMergeWizard_Impl : public AbstractMailMergeWizard
409 : : {
410 : : SwMailMergeWizard* pDlg;
411 : : Link aEndDlgHdl;
412 : :
413 : : DECL_LINK( EndDialogHdl, SwMailMergeWizard* );
414 : : public:
415 : 0 : AbstractMailMergeWizard_Impl( SwMailMergeWizard* p )
416 : 0 : : pDlg(p)
417 : 0 : {}
418 : : virtual ~AbstractMailMergeWizard_Impl();
419 : : virtual void StartExecuteModal( const Link& rEndDialogHdl );
420 : : virtual long GetResult();
421 : :
422 : : virtual void SetReloadDocument(const String& rURL);
423 : : virtual const String& GetReloadDocument() const;
424 : : virtual sal_Bool ShowPage( sal_uInt16 nLevel );
425 : : virtual sal_uInt16 GetRestartPage() const;
426 : : };
427 : :
428 : : //------------------------------------------------------------------------
429 : : //AbstractDialogFactory_Impl implementations
430 : 0 : class SwAbstractDialogFactory_Impl : public SwAbstractDialogFactory
431 : : {
432 : :
433 : : public:
434 : 0 : virtual ~SwAbstractDialogFactory_Impl() {}
435 : :
436 : : virtual SfxAbstractDialog* CreateSfxDialog( Window* pParent, //add for SvxMeasureDialog & SvxConnectionDialog
437 : : const SfxItemSet& rAttr,
438 : : const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& _rxFrame,
439 : : sal_uInt32 nResId
440 : : );
441 : : virtual AbstractSwWordCountFloatDlg* CreateSwWordCountDialog(int nResId,
442 : : SfxBindings* pBindings,
443 : : SfxChildWindow* pChild,
444 : : Window *pParent,
445 : : SfxChildWinInfo* pInfo);
446 : : virtual AbstractSwInsertAbstractDlg * CreateSwInsertAbstractDlg( Window* pParent,int nResId );
447 : : virtual AbstractSwAsciiFilterDlg* CreateSwAsciiFilterDlg ( Window* pParent, SwDocShell& rDocSh,
448 : : SvStream* pStream, int nResId ); //add for SwAsciiFilterDlg
449 : : virtual VclAbstractDialog * CreateSwInsertBookmarkDlg( Window *pParent, SwWrtShell &rSh, SfxRequest& rReq, int nResId );//add for SwInsertBookmarkDlg
450 : : virtual AbstractSwBreakDlg * CreateSwBreakDlg ( Window *pParent, SwWrtShell &rSh,int nResId ); // add for SwBreakDlg
451 : : virtual VclAbstractDialog * CreateSwChangeDBDlg( SwView& rVw, int nResId ); //add for SwChangeDBDlg
452 : : virtual SfxAbstractTabDialog * CreateSwCharDlg( Window* pParent, SwView& pVw, const SfxItemSet& rCoreSet, int nResId, // add for SwCharDlg
453 : : const String* pFmtStr = 0, sal_Bool bIsDrwTxtDlg = sal_False);
454 : : virtual AbstractSwConvertTableDlg* CreateSwConvertTableDlg ( SwView& rView, int nResId, bool bToTable ); //add for SwConvertTableDlg
455 : : virtual VclAbstractDialog * CreateSwCaptionDialog ( Window *pParent, SwView &rV,int nResId); //add for SwCaptionDialog
456 : :
457 : : virtual AbstractSwInsertDBColAutoPilot* CreateSwInsertDBColAutoPilot( SwView& rView, // add for SwInsertDBColAutoPilot
458 : : ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XDataSource> rxSource,
459 : : com::sun::star::uno::Reference<com::sun::star::sdbcx::XColumnsSupplier> xColSupp,
460 : : const SwDBData& rData, int nResId);
461 : : virtual SfxAbstractTabDialog * CreateSwFootNoteOptionDlg( Window *pParent, SwWrtShell &rSh,int nResId);//add for SwFootNoteOptionDlg
462 : :
463 : : virtual AbstractDropDownFieldDialog * CreateDropDownFieldDialog ( Window *pParent, SwWrtShell &rSh, //add for DropDownFieldDialog
464 : : SwField* pField,int nResId, sal_Bool bNextButton = sal_False );
465 : : virtual SfxAbstractTabDialog* CreateSwEnvDlg ( Window* pParent, const SfxItemSet& rSet, SwWrtShell* pWrtSh, Printer* pPrt, sal_Bool bInsert,int nResId ); //add for SwEnvDlg
466 : : virtual AbstractSwLabDlg* CreateSwLabDlg ( Window* pParent, const SfxItemSet& rSet, //add for SwLabDlg
467 : : SwNewDBMgr* pNewDBMgr, sal_Bool bLabel,int nResId );
468 : :
469 : : virtual SwLabDlgMethod GetSwLabDlgStaticMethod (); //add for SwLabDlg
470 : : virtual SfxAbstractTabDialog* CreateSwParaDlg ( Window *pParent, //add for SwParaDlg
471 : : SwView& rVw,
472 : : const SfxItemSet& rCoreSet,
473 : : sal_uInt8 nDialogMode,
474 : : int nResId,
475 : : const String *pCollName = 0,
476 : : sal_Bool bDraw = sal_False,
477 : : sal_uInt16 nDefPage = 0);
478 : :
479 : : virtual AbstractSwSelGlossaryDlg * CreateSwSelGlossaryDlg ( Window * pParent, const String &rShortName, int nResId ); //add for SwSelGlossaryDlg
480 : : virtual VclAbstractDialog * CreateVclAbstractDialog ( Window * pParent, SwWrtShell &rSh, int nResId ); //add for SwTableHeightDlg SwSortDlg
481 : : virtual AbstractSplitTableDialog * CreateSplitTblDialog ( Window * pParent, SwWrtShell &rSh ); //add for SwSplitTblDlg
482 : :
483 : : virtual AbstractSwAutoFormatDlg * CreateSwAutoFormatDlg( Window* pParent, SwWrtShell* pShell, //add for SwAutoFormatDlg
484 : : int nResId,
485 : : sal_Bool bSetAutoFmt = sal_True,
486 : : const SwTableAutoFmt* pSelFmt = 0 );
487 : : virtual SfxAbstractDialog * CreateSwBorderDlg (Window* pParent, SfxItemSet& rSet, sal_uInt16 nType,int nResId );//add for SwBorderDlg
488 : :
489 : : virtual SfxAbstractDialog * CreateSwWrapDlg ( Window* pParent, SfxItemSet& rSet, SwWrtShell* pSh, sal_Bool bDrawMode, int nResId ); //add for SwWrapDlg
490 : : virtual VclAbstractDialog * CreateSwTableWidthDlg ( Window *pParent, SwTableFUNC &rFnc , int nResId ); //add for SwTableWidthDlg
491 : : virtual SfxAbstractTabDialog* CreateSwTableTabDlg( Window* pParent, SfxItemPool& Pool,
492 : : const SfxItemSet* pItemSet, SwWrtShell* pSh,int nResId ); //add for SwTableTabDlg
493 : : virtual AbstractSwFldDlg * CreateSwFldDlg ( SfxBindings* pB, SwChildWinWrapper* pCW, Window *pParent, int nResId ); //add for SwFldDlg
494 : : virtual SfxAbstractDialog* CreateSwFldEditDlg ( SwView& rVw, int nResId ); //add for SwFldEditDlg
495 : : virtual AbstractSwRenameXNamedDlg * CreateSwRenameXNamedDlg( Window* pParent, //add for SwRenameXNamedDlg
496 : : ::com::sun::star::uno::Reference< ::com::sun::star::container::XNamed > & xNamed,
497 : : ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess > & xNameAccess, int nResId );
498 : : virtual AbstractSwModalRedlineAcceptDlg * CreateSwModalRedlineAcceptDlg ( Window *pParent, int nResId ); //add for SwModalRedlineAcceptDlg
499 : :
500 : : virtual VclAbstractDialog* CreateSwVclDialog( int nResId,
501 : : Window* pParent, sal_Bool& rWithPrev ); //add for SwMergeTblDlg
502 : : virtual SfxAbstractTabDialog* CreateFrmTabDialog( int nResId,
503 : : SfxViewFrame *pFrame, Window *pParent,
504 : : const SfxItemSet& rCoreSet,
505 : : sal_Bool bNewFrm = sal_True,
506 : : sal_uInt16 nResType = DLG_FRM_STD,
507 : : sal_Bool bFmt = sal_False,
508 : : sal_uInt16 nDefPage = 0,
509 : : const String* pFmtStr = 0); //add for SwFrmDlg
510 : : virtual SfxAbstractTabDialog* CreateTemplateDialog( int nResId,
511 : : Window* pParent,
512 : : SfxStyleSheetBase& rBase,
513 : : sal_uInt16 nRegion,
514 : : sal_uInt16 nPageId = 0,
515 : : SwWrtShell* pActShell = 0,
516 : : sal_Bool bNew = sal_False ); //add for SwTemplateDlg
517 : : virtual AbstractGlossaryDlg* CreateGlossaryDlg( int nResId,
518 : : SfxViewFrame* pViewFrame,
519 : : SwGlossaryHdl* pGlosHdl,
520 : : SwWrtShell *pWrtShell); //add for SwGlossaryDlg
521 : : virtual AbstractFldInputDlg* CreateFldInputDlg( int nResId,
522 : : Window *pParent, SwWrtShell &rSh,
523 : : SwField* pField, sal_Bool bNextButton = sal_False ); //add for SwFldInputDlg
524 : : virtual AbstractInsFootNoteDlg* CreateInsFootNoteDlg( int nResId,
525 : : Window * pParent, SwWrtShell &rSh, sal_Bool bEd = sal_False); //add for SwInsFootNoteDlg
526 : : virtual VclAbstractDialog * CreateTitlePageDlg ( Window * pParent );
527 : : virtual VclAbstractDialog * CreateVclSwViewDialog( int nResId,
528 : : SwView& rView, sal_Bool bCol = sal_False ); //add for SwInsRowColDlg, SwLineNumberingDlg
529 : : virtual AbstractInsertGrfRulerDlg* CreateInsertGrfRulerDlg( int nResId,
530 : : Window * pParent ); //add for SwInsertGrfRulerDlg
531 : : virtual AbstractInsTableDlg* CreateInsTableDlg( int nResId,
532 : : SwView& rView ); //add for SwInsTableDlg
533 : : virtual AbstractJavaEditDialog* CreateJavaEditDialog( int nResId,
534 : : Window* pParent, SwWrtShell* pWrtSh ); //add for SwJavaEditDialog
535 : : virtual AbstractMailMergeDlg* CreateMailMergeDlg( int nResId,
536 : : Window* pParent, SwWrtShell& rSh,
537 : : const String& rSourceName,
538 : : const String& rTblName,
539 : : sal_Int32 nCommandType,
540 : : const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection>& xConnection,
541 : : ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >* pSelection = 0 ); //add for SwMailMergeDlg
542 : : virtual AbstractMailMergeCreateFromDlg* CreateMailMergeCreateFromDlg( int nResId,
543 : : Window* pParent ); //add for SwMailMergeCreateFromDlg
544 : : virtual AbstractMailMergeFieldConnectionsDlg* CreateMailMergeFieldConnectionsDlg( int nResId,
545 : : Window* pParent ); //add for SwMailMergeFieldConnectionsDlg
546 : : virtual VclAbstractDialog* CreateMultiTOXMarkDlg( int nResId,
547 : : Window* pParent, SwTOXMgr &rTOXMgr ); //add for SwMultiTOXMarkDlg
548 : : virtual SfxAbstractTabDialog* CreateSwTabDialog( int nResId,
549 : : Window* pParent,
550 : : const SfxItemSet* pSwItemSet,
551 : : SwWrtShell &); //add for SwSvxNumBulletTabDialog, SwOutlineTabDialog
552 : : virtual AbstractMultiTOXTabDialog* CreateMultiTOXTabDialog( int nResId,
553 : : Window* pParent, const SfxItemSet& rSet,
554 : : SwWrtShell &rShell,
555 : : SwTOXBase* pCurTOX, sal_uInt16 nToxType = USHRT_MAX,
556 : : sal_Bool bGlobal = sal_False); //add for SwMultiTOXTabDialog
557 : : virtual AbstractEditRegionDlg* CreateEditRegionDlg( int nResId,
558 : : Window* pParent, SwWrtShell& rWrtSh ); //add for SwEditRegionDlg
559 : : virtual AbstractInsertSectionTabDialog* CreateInsertSectionTabDialog( int nResId,
560 : : Window* pParent, const SfxItemSet& rSet, SwWrtShell& rSh); //add for SwInsertSectionTabDialog
561 : : virtual AbstractMarkFloatDlg* CreateIndexMarkFloatDlg( int nResId,
562 : : SfxBindings* pBindings,
563 : : SfxChildWindow* pChild,
564 : : Window *pParent,
565 : : SfxChildWinInfo* pInfo,
566 : : sal_Bool bNew=sal_True); //add for SwIndexMarkFloatDlg
567 : : virtual AbstractMarkFloatDlg* CreateAuthMarkFloatDlg( int nResId,
568 : : SfxBindings* pBindings,
569 : : SfxChildWindow* pChild,
570 : : Window *pParent,
571 : : SfxChildWinInfo* pInfo,
572 : : sal_Bool bNew=sal_True); //add for SwAuthMarkFloatDlg
573 : : virtual VclAbstractDialog * CreateIndexMarkModalDlg( int nResId,
574 : : Window *pParent, SwWrtShell& rSh, SwTOXMark* pCurTOXMark ); //add for SwIndexMarkModalDlg
575 : :
576 : : virtual AbstractMailMergeWizard* CreateMailMergeWizard(SwView& rView, SwMailMergeConfigItem& rConfigItem);
577 : :
578 : : //add for static func in SwGlossaryDlg
579 : : virtual GlossaryGetCurrGroup GetGlossaryCurrGroupFunc( sal_uInt16 nId );
580 : : virtual GlossarySetActGroup SetGlossaryActGroupFunc( sal_uInt16 nId );
581 : :
582 : : // For TabPage
583 : : virtual CreateTabPage GetTabPageCreatorFunc( sal_uInt16 nId );
584 : :
585 : : virtual GetTabPageRanges GetTabPageRangesFunc( sal_uInt16 nId );
586 : :
587 : : };
588 : :
589 : : #endif
590 : :
591 : : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|