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