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