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