LibreOffice Module sw (master) 1
swdlgfact.cxx
Go to the documentation of this file.
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
20#include <config_features.h>
21#include <config_fuzzers.h>
22#include <config_wasm_strip.h>
23
24#include "swdlgfact.hxx"
25#include <svl/style.hxx>
26#include <globals.hrc>
27
28#include <wordcountdialog.hxx>
29#include <abstract.hxx>
30#include <addrdlg.hxx>
31#include <ascfldlg.hxx>
32#include <bookmark.hxx>
33#include <break.hxx>
34#include <changedb.hxx>
35#include <chrdlg.hxx>
36#include <colwd.hxx>
37#include <contentcontroldlg.hxx>
39#include <pagenumberdlg.hxx>
40#include <convert.hxx>
41#include <cption.hxx>
42#include <dbinsdlg.hxx>
43#include <docfnote.hxx>
44#include <docstdlg.hxx>
48#include <envlop.hxx>
49#include <label.hxx>
50#include <drpcps.hxx>
51#include <swuipardlg.hxx>
52#include <pattern.hxx>
53#include <pardlg.hxx>
54#include <rowht.hxx>
55#include <selglos.hxx>
56#include <splittbl.hxx>
57#include <srtdlg.hxx>
58#include <tautofmt.hxx>
59#include <tblnumfm.hxx>
60#include <wrap.hxx>
61#include <tabledlg.hxx>
62#include <fldtdlg.hxx>
63#include <fldedt.hxx>
64#include <swrenamexnameddlg.hxx>
66#include <frmdlg.hxx>
67#include <tmpdlg.hxx>
68#include <glossary.hxx>
69#include <inpdlg.hxx>
70#include <insfnote.hxx>
71#include <instable.hxx>
72#include <javaedit.hxx>
73#include <linenum.hxx>
74#include <titlepage.hxx>
75#include <mailmrge.hxx>
76#include <mergetbl.hxx>
77#include <multmrk.hxx>
78#include <num.hxx>
79#include <outline.hxx>
80#include <column.hxx>
81#include <cnttab.hxx>
82#include <swuicnttab.hxx>
83#include <regionsw.hxx>
84#include <optcomp.hxx>
85#include <optload.hxx>
86#include <optpage.hxx>
87#include <swuiidxmrk.hxx>
88#include <svx/dialogs.hrc>
89#include <mailmergewizard.hxx>
90#include <mailconfigpage.hxx>
91#include <uiborder.hxx>
92#include <mmresultdialogs.hxx>
93#include <formatlinebreak.hxx>
95
96using namespace ::com::sun::star;
97using namespace css::frame;
98using namespace css::uno;
99
101{
102 return m_xDlg->run();
103}
104
106{
107 return m_xDlg->run();
108}
109
111{
112 return m_xDlg->run();
113}
114
116{
117 return m_xDlg->run();
118}
119
121{
122 return SfxSingleTabDialogController::runAsync(m_xDlg, rCtx.maEndDialogFn);
123}
124
126{
127 return m_xDlg->run();
128}
129
131{
132 return m_xDlg->run();
133}
134
136{
137 return weld::GenericDialogController::runAsync(m_xDlg, rCtx.maEndDialogFn);
138}
139
141{
142 return m_xDlg->run();
143}
144
146{
147 return m_xDlg->run();
148}
149
151{
152 return m_xDlg->run();
153}
154
156{
157 return m_xDlg->run();
158}
159
161{
162 return weld::GenericDialogController::runAsync(m_xDlg, rCtx.maEndDialogFn);
163}
164
166{
167 return m_xDlg->run();
168}
169
171{
172 return weld::GenericDialogController::runAsync(m_xDlg, rCtx.maEndDialogFn);
173}
174
176{
177 return m_xDlg->run();
178}
179
181{
182 return m_xDlg->run();
183}
184
186{
187 return m_xDlg->run();
188}
189
191{
192 return m_xDlg->run();
193}
194
196{
197 return m_xDlg->run();
198}
199
201{
202 return m_xDlg->run();
203}
204
206{
207 return m_xDlg->run();
208}
209
211{
212 return m_xDlg->run();
213}
214
216{
217 return m_xDlg->run();
218}
219
221{
222 return m_xDlg->run();
223}
224
226{
227 return m_xDlg->run();
228}
229
231{
232 return m_xDlg->run();
233}
234
236{
237 return m_xDlg->run();
238}
239
241{
243}
244
246{
247 return m_xDlg->run();
248}
249
251{
252 return m_xDlg->run();
253}
254
256{
257 return m_xDlg->run();
258}
259
261{
262 return m_xDlg->run();
263}
264
266{
267 return m_xDlg->run();
268}
269
271{
272 return m_xDlg->run();
273}
274
276{
277 return m_xDlg->run();
278}
279
281{
282 return m_xDlg->run();
283}
284
286{
287 return m_xDlg->run();
288}
289
291{
292 return m_xDlg->run();
293}
294
296{
297 return SfxTabDialogController::runAsync(m_xDlg, rCtx.maEndDialogFn);
298}
299
301{
302 return m_xDlg->run();
303}
304
306{
307 return m_xDlg->run();
308}
309
311{
312 return SfxTabDialogController::runAsync(m_xDlg, rCtx.maEndDialogFn);
313}
314
316{
317 return m_xDlg->run();
318}
319
321{
322 return m_xDlg->run();
323}
324
326{
327 m_xDlg->SetCurPageId( rName );
328}
329
331{
332 return m_xDlg->GetOutputItemSet();
333}
334
336{
337 return m_xDlg->GetInputRanges( pItem );
338}
339
341{
342 m_xDlg->SetInputSet( pInSet );
343}
344
346{
347 return SfxTabDialogController::runAsync(m_xDlg, rCtx.maEndDialogFn);
348}
349
350//From class Window.
351void AbstractTabController_Impl::SetText( const OUString& rStr )
352{
353 m_xDlg->set_title(rStr);
354}
355
357{
358 if (m_xDlg->Apply())
359 {
360 m_aHandler.Call(nullptr);
361 m_xDlg->Applied();
362 }
363}
364
366{
367 m_aHandler = rLink;
368 m_xDlg->SetApplyHandler(LINK(this, AbstractApplyTabController_Impl, ApplyHdl));
369}
370
372{
373 return m_xDlg->GetLevel();
374}
375
377{
378 return m_xDlg->GetPara();
379}
380
382{
383 return m_xDlg->GetOutputItemSet();
384}
385
387{
388 return m_xDlg->GetOutputItemSet();
389}
390
392{
393 m_xDlg->set_title(rStr);
394}
395
396void AbstractNumFormatDlg_Impl::SetText(const OUString& rStr)
397{
398 m_xDlg->set_title(rStr);
399}
400
402{
403 m_xDlg->FillOptions(rOptions);
404}
405
407{
408 return m_xDlg->GetSplitMode();
409}
410
412{
413 SwBreakDlg* pDlg = dynamic_cast<SwBreakDlg*>(m_xDlg.get());
414 if (pDlg)
415 return pDlg->GetTemplateName();
416
417 return "";
418}
419
421{
422 SwBreakDlg* pDlg = dynamic_cast<SwBreakDlg*>(m_xDlg.get());
423 if (pDlg)
424 return pDlg->GetKind();
425
426 return 0;
427}
428
429::std::optional<sal_uInt16> AbstractSwBreakDlg_Impl:: GetPageNumber()
430{
431 SwBreakDlg* pDlg = dynamic_cast<SwBreakDlg*>(m_xDlg.get());
432 if (pDlg)
433 return pDlg->GetPageNumber();
434
435 return 0;
436}
437
438std::optional<SwLineBreakClear> AbstractSwBreakDlg_Impl::GetClear()
439{
440 SwBreakDlg* pDlg = dynamic_cast<SwBreakDlg*>(m_xDlg.get());
441 if (pDlg)
442 return pDlg->GetClear();
443
445}
446
448 SwTableAutoFormat const*& prTAFormat)
449{
450 m_xDlg->GetValues(rDelim,rInsTableFlags, prTAFormat);
451}
452
453void AbstractSwInsertDBColAutoPilot_Impl::DataToDoc( const uno::Sequence< uno::Any >& rSelection,
454 uno::Reference< sdbc::XDataSource> rxSource,
455 uno::Reference< sdbc::XConnection> xConnection,
456 uno::Reference< sdbc::XResultSet > xResultSet)
457{
458#if HAVE_FEATURE_DBCONNECTIVITY && !ENABLE_FUZZERS
459 m_xDlg->DataToDoc(rSelection, rxSource, xConnection, xResultSet);
460#else
461 (void) rSelection;
462 (void) rxSource;
463 (void) xConnection;
464 (void) xResultSet;
465#endif
466}
467
469{
470 return m_xDlg->PrevButtonPressed();
471}
472
474{
475 return m_xDlg->NextButtonPressed();
476}
477
478void AbstractSwLabDlg_Impl::SetCurPageId( const OString &rName )
479{
480 m_xDlg->SetCurPageId( rName );
481}
482
484{
485 return m_xDlg->GetOutputItemSet();
486}
487
489{
490 return m_xDlg->GetInputRanges( pItem );
491}
492
494{
495 m_xDlg->SetInputSet( pInSet );
496}
497
498void AbstractSwLabDlg_Impl::SetText( const OUString& rStr )
499{
500 m_xDlg->set_title(rStr);
501}
502
504{
505 return m_xDlg->GetBusinessCardStr();
506}
507
509{
510 return m_xDlg->GetPrt();
511}
512
513void AbstractSwSelGlossaryDlg_Impl::InsertGlos(const OUString &rRegion, const OUString &rGlosName)
514{
515 m_xDlg->InsertGlos( rRegion, rGlosName );
516}
517
519{
520 return m_xDlg->GetSelectedIdx();
521}
522
524{
525 m_xDlg->SelectEntryPos( nIdx );
526}
527
528std::unique_ptr<SwTableAutoFormat> AbstractSwAutoFormatDlg_Impl::FillAutoFormatOfIndex() const
529{
530 return m_xDlg->FillAutoFormatOfIndex();
531}
532
533void AbstractSwFieldDlg_Impl::SetCurPageId( const OString &rName )
534{
535 m_xDlg->SetCurPageId( rName );
536}
537
539{
540 return m_xDlg->GetOutputItemSet();
541}
542
544{
545 return m_xDlg->GetInputRanges( pItem );
546}
547
549{
550 m_xDlg->SetInputSet( pInSet );
551}
552
553void AbstractSwFieldDlg_Impl::SetText( const OUString& rStr )
554{
555 m_xDlg->set_title(rStr);
556}
557
559{
560 auto xDlg = m_xDlg;
561 return SfxTabDialogController::runAsync(m_xDlg, [=](sal_Int32 nResult){
562 xDlg->Close();
563 if (rCtx.isSet())
564 rCtx.maEndDialogFn(nResult);
565 });
566}
567
569{
570 m_xDlg->Initialize( pInfo );
571}
572
574{
575 m_xDlg->ReInitDlg();
576}
577
579{
580 m_xDlg->ActivateDatabasePage();
581}
582
584{
585 m_xDlg->ShowReferencePage();
586}
587
588std::shared_ptr<SfxDialogController> AbstractSwFieldDlg_Impl::GetController()
589{
590 return m_xDlg;
591}
592
594{
595 m_xDlg->SetForbiddenChars( rSet );
596}
597
599 css::uno::Reference< css::container::XNameAccess > & xSecond,
600 css::uno::Reference< css::container::XNameAccess > & xThird )
601{
602 m_xDlg->SetAlternativeAccess( xSecond, xThird);
603}
604
606{
607 return m_xDlg->GetCurrGrpName();
608}
609
611{
612 return m_xDlg->GetCurrShortName();
613}
614
616{
617 m_xDlg->response(n);
618}
619
621{
622 return m_xDlg->PrevButtonPressed();
623}
624
626{
627 return m_xDlg->NextButtonPressed();
628}
629
631{
632 return m_xDlg->GetFontName();
633}
634
636{
637 return m_xDlg->GetPageNumberPosition();
638}
639
641{
642 return m_xDlg->GetPageNumberAlignment();
643}
644
646{
647 return m_xDlg->IsEndNote();
648}
649
651{
652 return m_xDlg->GetStr();
653}
654
655void AbstractInsFootNoteDlg_Impl::SetHelpId(const OString& rHelpId)
656{
657 m_xDlg->set_help_id(rHelpId);
658}
659
660void AbstractInsFootNoteDlg_Impl::SetText( const OUString& rStr )
661{
662 m_xDlg->set_title(rStr);
663}
664
665void AbstractInsTableDlg_Impl::GetValues( OUString& rName, sal_uInt16& rRow, sal_uInt16& rCol,
666 SwInsertTableOptions& rInsTableFlags, OUString& rTableAutoFormatName,
667 std::unique_ptr<SwTableAutoFormat>& prTAFormat )
668{
669 SwInsTableDlg* pDlg = dynamic_cast<SwInsTableDlg*>(m_xDlg.get());
670 if (pDlg)
671 pDlg->GetValues(rName, rRow, rCol, rInsTableFlags, rTableAutoFormatName, prTAFormat);
672}
673
675{
676 return m_xDlg->GetScriptText();
677}
678
680{
681 return m_xDlg->GetScriptType();
682}
683
685{
686 return m_xDlg->IsUrl();
687}
688
690{
691 return m_xDlg->IsNew();
692}
693
695{
696 return m_xDlg->IsUpdate();
697}
698
700{
701 return m_xDlg->GetMergeType();
702}
703
705{
706 return m_xDlg->GetSaveFilter();
707}
708
709css::uno::Sequence< css::uno::Any > AbstractMailMergeDlg_Impl::GetSelection() const
710{
711 return m_xDlg->GetSelection();
712}
713
714uno::Reference< sdbc::XResultSet> AbstractMailMergeDlg_Impl::GetResultSet() const
715{
716 return m_xDlg->GetResultSet();
717}
718
720{
721 return m_xDlg->IsSaveSingleDoc();
722}
723
725{
726 return m_xDlg->IsGenerateFromDataBase();
727}
728
730{
731 return m_xDlg->IsFileEncryptedFromDataBase();
732}
733
735{
736 return m_xDlg->GetColumnName();
737}
738
740{
741 return m_xDlg->GetPasswordColumnName();
742}
743
745{
746 return m_xDlg->GetTargetURL();
747}
748
750{
751 return m_xDlg->IsThisDocument();
752}
753
755{
756 return m_xDlg->IsUseExistingConnections();
757}
758
760{
761 return m_xDlg->GetCurrentTOXType();
762}
763
765{
766 return m_xDlg->GetTOXDescription(eTOXTypes);
767}
768
770{
771 return m_xDlg->GetOutputItemSet();
772}
773
774void AbstractEditRegionDlg_Impl::SelectSection(const OUString& rSectionName)
775{
776 m_xDlg->SelectSection(rSectionName);
777}
778
779void
781{
782 m_xDlg->SetSectionData(rSect);
783}
784
786{
787 m_xDlg->ReInitDlg( rWrtShell);
788}
789
790std::shared_ptr<SfxDialogController> AbstractIndexMarkFloatDlg_Impl::GetController()
791{
792 return m_xDlg;
793}
794
796{
797 m_xDlg->ReInitDlg(rWrtShell);
798}
799
800std::shared_ptr<SfxDialogController> AbstractAuthMarkFloatDlg_Impl::GetController()
801{
802 return m_xDlg;
803}
804
805std::shared_ptr<SfxDialogController> AbstractSwWordCountFloatDlg_Impl::GetController()
806{
807 return m_xDlg;
808}
809
811{
812 m_xDlg->UpdateCounts();
813}
814
816{
817 m_xDlg->SetCounts(rCurrCnt, rDocStat);
818}
819
821{
822}
823
825{
826 // SwMailMergeWizardExecutor wants to run the lifecycle of this dialog
827 // so clear mxOwner here and leave it up to SwMailMergeWizardExecutor
828 rCtx.mxOwner.clear();
829 return weld::GenericDialogController::runAsync(m_xDlg, rCtx.maEndDialogFn);
830}
831
833{
834 return m_xDlg->run();
835}
836
838{
839 return m_xDlg->GetReloadDocument();
840}
841
843{
844 m_xDlg->skipUntil(nLevel);
845}
846
848{
849 return m_xDlg->GetRestartPage();
850}
851
853{
854#if !ENABLE_WASM_STRIP_EXTRA
856#else
857 return {};
858#endif
859}
860
862{
863 return VclPtr<AbstractSwInsertAbstractDlg_Impl>::Create(std::make_unique<SwInsertAbstractDlg>(pParent));
864}
865
867 const SfxItemSet& rSet)
868{
869 return VclPtr<SwAbstractSfxController_Impl>::Create(std::make_unique<SwAddrDlg>(pParent, rSet));
870}
871
873 const SfxItemSet& rSet)
874{
875 return VclPtr<SwAbstractSfxController_Impl>::Create(std::make_unique<SwDropCapsDlg>(pParent, rSet));
876}
877
879 const SfxItemSet& rSet)
880{
881 return VclPtr<SwAbstractSfxController_Impl>::Create(std::make_unique<SwBackgroundDlg>(pParent, rSet));
882}
883
885{
886 return VclPtr<AbstractNumFormatDlg_Impl>::Create(std::make_shared<SwNumFormatDlg>(pParent, rSet));
887}
888
890 SwDocShell& rDocSh, SvStream* pStream)
891{
892 return VclPtr<AbstractSwAsciiFilterDlg_Impl>::Create(std::make_unique<SwAsciiFilterDlg>(pParent, rDocSh, pStream));
893}
894
896 SwWrtShell &rSh, OUString const*const pSelected)
897{
898 return VclPtr<AbstractGenericDialog_Impl>::Create(std::make_shared<SwInsertBookmarkDlg>(pParent, rSh, pSelected));
899}
900
902 SwWrtShell &rSh)
903{
904 return VclPtr<AbstractGenericDialog_Impl>::Create(std::make_shared<SwContentControlDlg>(pParent, rSh));
905}
906
910{
912 std::make_shared<SwContentControlListItemDlg>(pParent, rItem));
913}
914
915std::shared_ptr<AbstractSwBreakDlg> SwAbstractDialogFactory_Impl::CreateSwBreakDlg(weld::Window* pParent, SwWrtShell &rSh)
916{
917 return std::make_shared<AbstractSwBreakDlg_Impl>(std::make_unique<SwBreakDlg>(pParent, rSh));
918}
919
920std::shared_ptr<AbstractSwTranslateLangSelectDlg> SwAbstractDialogFactory_Impl::CreateSwTranslateLangSelectDlg(weld::Window* pParent, SwWrtShell &rSh)
921{
922#if !ENABLE_WASM_STRIP_EXTRA
923 return std::make_shared<AbstractSwTranslateLangSelectDlg_Impl>(std::make_unique<SwTranslateLangSelectDlg>(pParent, rSh));
924#else
925 (void) pParent;
926 (void) rSh;
927 return nullptr;
928#endif
929}
930
932{
933#if HAVE_FEATURE_DBCONNECTIVITY && !ENABLE_FUZZERS
934 return VclPtr<AbstractGenericDialog_Impl>::Create(std::make_shared<SwChangeDBDlg>(rVw));
935#else
936 (void) rVw;
937 return nullptr;
938#endif
939}
940
942 const SfxItemSet& rCoreSet, SwCharDlgMode nDialogMode, const OUString* pFormatStr)
943{
944 return VclPtr<AbstractTabController_Impl>::Create(std::make_shared<SwCharDlg>(pParent, pVw, rCoreSet, nDialogMode, pFormatStr));
945}
946
948{
949 return VclPtr<AbstractSwConvertTableDlg_Impl>::Create(std::make_unique<SwConvertTableDlg>(rView, bToTable));
950}
951
953{
954 return VclPtr<AbstractGenericDialog_Impl>::Create(std::make_shared<SwCaptionDialog>(pParent, rV));
955}
956
958 uno::Reference< sdbc::XDataSource> rxSource,
959 uno::Reference<sdbcx::XColumnsSupplier> xColSupp,
960 const SwDBData& rData)
961{
962#if HAVE_FEATURE_DBCONNECTIVITY && !ENABLE_FUZZERS
963 return VclPtr<AbstractSwInsertDBColAutoPilot_Impl>::Create(std::make_unique<SwInsertDBColAutoPilot>(rView, rxSource, xColSupp, rData));
964#else
965 (void) rView;
966 (void) rxSource;
967 (void) xColSupp;
968 (void) rData;
969 return nullptr;
970#endif
971}
972
974{
975 return VclPtr<AbstractTabController_Impl>::Create(std::make_shared<SwFootNoteOptionDlg>(pParent, rSh));
976}
977
979 SwWrtShell &rSh, SwField* pField, bool bPrevButton, bool bNextButton)
980{
981 return VclPtr<AbstractDropDownFieldDialog_Impl>::Create(std::make_unique<sw::DropDownFieldDialog>(pParent, rSh, pField, bPrevButton, bNextButton));
982}
983
985{
986 return VclPtr<AbstractDropDownFormFieldDialog_Impl>::Create(std::make_unique<sw::DropDownFormFieldDialog>(pParent, pDropDownField));
987}
988
990{
991 return VclPtr<AbstractDateFormFieldDialog_Impl>::Create(std::make_unique<sw::DateFormFieldDialog>(pParent, pDateField, rDoc));
992}
993
995 SwWrtShell* pWrtSh, Printer* pPrt,
996 bool bInsert)
997{
998 return VclPtr<AbstractTabController_Impl>::Create(std::make_shared<SwEnvDlg>(pParent, rSet, pWrtSh,pPrt, bInsert));
999}
1000
1002 SwDBManager* pDBManager, bool bLabel)
1003{
1004 return VclPtr<AbstractSwLabDlg_Impl>::Create(std::make_unique<SwLabDlg>(pParent, rSet, pDBManager, bLabel));
1005}
1006
1008{
1010}
1011
1013 const SfxItemSet& rCoreSet,
1014 bool bDraw ,
1015 const OString& sDefPage)
1016{
1017 return VclPtr<AbstractTabController_Impl>::Create(std::make_shared<SwParaDlg>(pParent, rVw, rCoreSet, DLG_STD, nullptr, bDraw, sDefPage));
1018}
1019
1021{
1022 return VclPtr<AbstractGenericDialog_Impl>::Create(std::make_shared<SwAuthMarkModalDlg>(pParent, rSh));
1023}
1024
1026{
1027 return VclPtr<AbstractGenericDialog_Impl>::Create(std::make_shared<SwColumnDlg>(pParent, rSh));
1028}
1029
1031{
1032 return VclPtr<AbstractSwTableHeightDlg_Impl>::Create(std::make_unique<SwTableHeightDlg>(pParent, rSh));
1033}
1034
1036{
1037 return VclPtr<AbstractSwSortDlg_Impl>::Create(std::make_unique<SwSortDlg>(pParent, rSh));
1038}
1039
1041{
1042 return VclPtr<AbstractSplitTableDialog_Impl>::Create(std::make_shared<SwSplitTableDlg>(pParent, rSh));
1043}
1044
1046{
1047 return VclPtr<AbstractSwSelGlossaryDlg_Impl>::Create(std::make_unique<SwSelGlossaryDlg>(pParent, rShortName));
1048}
1049
1051 SwWrtShell* pShell, bool bSetAutoFormat, const SwTableAutoFormat* pSelFormat)
1052{
1055 new SwAutoFormatDlg(pParent, pShell, bSetAutoFormat, pSelFormat)));
1056}
1057
1059{
1060 return VclPtr<SwAbstractSfxController_Impl>::Create(std::make_unique<SwBorderDlg>(pParent, rSet, nType));
1061}
1062
1064{
1065 return VclPtr<SwAbstractSfxController_Impl>::Create(std::make_unique<SwWrapDlg>(pParent, rSet, pSh, true/*bDrawMode*/));
1066}
1067
1069{
1070 return VclPtr<AbstractSwTableWidthDlg_Impl>::Create(std::make_unique<SwTableWidthDlg>(pParent, rFnc));
1071}
1072
1074 const SfxItemSet* pItemSet, SwWrtShell* pSh)
1075{
1076 return VclPtr<AbstractTabController_Impl>::Create(std::make_shared<SwTableTabDlg>(pParent, pItemSet, pSh));
1077}
1078
1080{
1081 return VclPtr<AbstractSwFieldDlg_Impl>::Create(std::make_shared<SwFieldDlg>(pB, pCW, pParent));
1082}
1083
1085{
1086 return VclPtr<SwAbstractSfxController_Impl>::Create(std::make_unique<SwFieldEditDlg>(rVw));
1087}
1088
1090 css::uno::Reference< css::container::XNamed > & xNamed,
1091 css::uno::Reference< css::container::XNameAccess > & xNameAccess)
1092{
1093 return VclPtr<AbstractSwRenameXNamedDlg_Impl>::Create(std::make_unique<SwRenameXNamedDlg>(pParent,xNamed, xNameAccess));
1094}
1095
1097{
1098 return VclPtr<AbstractSwModalRedlineAcceptDlg_Impl>::Create(std::make_unique<SwModalRedlineAcceptDlg>(pParent));
1099}
1100
1102{
1103 return VclPtr<AbstractSwPageNumberDlg_Impl>::Create(std::make_shared<SwPageNumberDlg>(pParent));
1104}
1105
1107{
1108 return VclPtr<AbstractSwMergeTableDlg_Impl>::Create(std::make_unique<SwMergeTableDlg>(pParent, rWithPrev));
1109}
1110
1112 SfxViewFrame& rFrame, weld::Window *pParent,
1113 const SfxItemSet& rCoreSet,
1114 bool bNewFrame,
1115 const OString& sDefPage )
1116{
1117 return VclPtr<AbstractTabController_Impl>::Create(std::make_shared<SwFrameDlg>(rFrame, pParent, rCoreSet, bNewFrame, rDialogType, false/*bFormat*/, sDefPage, nullptr));
1118}
1119
1121 weld::Window *pParent,
1122 SfxStyleSheetBase& rBase,
1123 SfxStyleFamily nRegion,
1124 const OString& sPage,
1125 SwWrtShell* pActShell,
1126 bool bNew )
1127{
1128 return VclPtr<AbstractApplyTabController_Impl>::Create(std::make_shared<SwTemplateDlgController>(pParent, rBase, nRegion,
1129 sPage, pActShell, bNew));
1130}
1131
1133 SwWrtShell *pWrtShell)
1134{
1135 return VclPtr<AbstractGlossaryDlg_Impl>::Create(std::make_unique<SwGlossaryDlg>(rViewFrame, pGlosHdl, pWrtShell));
1136}
1137
1139 SwWrtShell &rSh, SwField* pField, bool bPrevButton, bool bNextButton)
1140{
1141 return VclPtr<AbstractFieldInputDlg_Impl>::Create(std::make_unique<SwFieldInputDlg>(pParent, rSh, pField, bPrevButton, bNextButton));
1142}
1143
1145 weld::Window * pParent, SwWrtShell &rSh, bool bEd )
1146{
1147 return VclPtr<AbstractInsFootNoteDlg_Impl>::Create(std::make_unique<SwInsFootNoteDlg>(pParent, rSh, bEd));
1148}
1149
1151{
1152 return VclPtr<AbstractGenericDialog_Impl>::Create(std::make_shared<SwTitlePageDlg>(pParent));
1153}
1154
1156{
1157 return VclPtr<AbstractGenericDialog_Impl>::Create(std::make_shared<SwLineNumberingDlg>(rView));
1158}
1159
1160std::shared_ptr<AbstractInsTableDlg> SwAbstractDialogFactory_Impl::CreateInsTableDlg(SwView& rView)
1161{
1162 return std::make_shared<AbstractInsTableDlg_Impl>(std::make_shared<SwInsTableDlg>(rView));
1163}
1164
1166 weld::Window* pParent, SwWrtShell* pWrtSh)
1167{
1168 return VclPtr<AbstractJavaEditDialog_Impl>::Create(std::make_unique<SwJavaEditDialog>(pParent, pWrtSh));
1169}
1170
1172 weld::Window* pParent, SwWrtShell& rSh,
1173 const OUString& rSourceName,
1174 const OUString& rTableName,
1175 sal_Int32 nCommandType,
1176 const uno::Reference< sdbc::XConnection>& xConnection )
1177{
1178 return VclPtr<AbstractMailMergeDlg_Impl>::Create(std::make_unique<SwMailMergeDlg>(pParent, rSh, rSourceName, rTableName, nCommandType, xConnection, nullptr));
1179}
1180
1182{
1183 return VclPtr<AbstractMailMergeCreateFromDlg_Impl>::Create(std::make_unique<SwMailMergeCreateFromDlg>(pParent));
1184}
1185
1187{
1188 return VclPtr<AbstractMailMergeFieldConnectionsDlg_Impl>::Create(std::make_unique<SwMailMergeFieldConnectionsDlg>(pParent));
1189}
1190
1192{
1193 return VclPtr<AbstractMultiTOXMarkDlg_Impl>::Create(std::make_unique<SwMultiTOXMarkDlg>(pParent, rTOXMgr));
1194}
1195
1197 const SfxItemSet* pSwItemSet,
1198 SwWrtShell & rWrtSh)
1199{
1200 return VclPtr<AbstractTabController_Impl>::Create(std::make_shared<SwSvxNumBulletTabDialog>(pParent, pSwItemSet, rWrtSh));
1201}
1202
1204 const SfxItemSet* pSwItemSet,
1205 SwWrtShell & rWrtSh )
1206{
1207 return VclPtr<AbstractTabController_Impl>::Create(std::make_shared<SwOutlineTabDialog>(pParent, pSwItemSet, rWrtSh));
1208}
1209
1211 SwWrtShell &rShell, SwTOXBase* pCurTOX, bool bGlobal)
1212{
1213 return VclPtr<AbstractMultiTOXTabDialog_Impl>::Create(std::make_shared<SwMultiTOXTabDialog>(pParent, rSet, rShell, pCurTOX, USHRT_MAX, bGlobal));
1214}
1215
1217{
1218 return VclPtr<AbstractEditRegionDlg_Impl>::Create(std::make_shared<SwEditRegionDlg>(pParent, rWrtSh));
1219}
1220
1222 const SfxItemSet& rSet, SwWrtShell& rSh)
1223{
1224 return VclPtr<AbstractInsertSectionTabDialog_Impl>::Create(std::make_shared<SwInsertSectionTabDialog>(pParent, rSet, rSh));
1225}
1226
1228 SfxBindings* pBindings,
1229 SfxChildWindow* pChild,
1230 weld::Window *pParent,
1231 SfxChildWinInfo* pInfo )
1232{
1233 return VclPtr<AbstractIndexMarkFloatDlg_Impl>::Create(std::make_shared<SwIndexMarkFloatDlg>(pBindings, pChild, pParent, pInfo, true/*bNew*/));
1234}
1235
1237 SfxBindings* pBindings,
1238 SfxChildWindow* pChild,
1239 weld::Window *pParent,
1240 SfxChildWinInfo* pInfo)
1241{
1242 return VclPtr<AbstractAuthMarkFloatDlg_Impl>::Create(std::make_shared<SwAuthMarkFloatDlg>(pBindings, pChild, pParent, pInfo, true/*bNew*/));
1243}
1244
1246 SfxBindings* pBindings,
1247 SfxChildWindow* pChild,
1248 weld::Window *pParent,
1249 SfxChildWinInfo* pInfo)
1250{
1251 return VclPtr<AbstractSwWordCountFloatDlg_Impl>::Create(std::make_shared<SwWordCountFloatDlg>(pBindings, pChild, pParent, pInfo));
1252}
1253
1255{
1256 return VclPtr<AbstractGenericDialog_Impl>::Create(std::make_shared<SwIndexMarkModalDlg>(pParent, rSh, pCurTOXMark));
1257}
1258
1260 SwView& rView, std::shared_ptr<SwMailMergeConfigItem>& rConfigItem)
1261{
1262#if HAVE_FEATURE_DBCONNECTIVITY && !ENABLE_FUZZERS
1263 return VclPtr<AbstractMailMergeWizard_Impl>::Create(std::make_shared<SwMailMergeWizard>(rView, rConfigItem));
1264#else
1265 (void) rView;
1266 (void) rConfigItem;
1267 return nullptr;
1268#endif
1269}
1270
1272{
1274}
1275
1277{
1279}
1280
1281// Factories for TabPages
1283{
1284 CreateTabPage pRet = nullptr;
1285 switch ( nId )
1286 {
1287 case RID_SW_TP_OPTCOMPATIBILITY_PAGE :
1289 break;
1290 case RID_SW_TP_OPTLOAD_PAGE :
1291 pRet = SwLoadOptPage::Create;
1292 break;
1293 case RID_SW_TP_OPTCAPTION_PAGE:
1295 case RID_SW_TP_CONTENT_OPT:
1296 case RID_SW_TP_HTML_CONTENT_OPT:
1298 break;
1299 case RID_SW_TP_OPTSHDWCRSR:
1300 case RID_SW_TP_HTML_OPTSHDWCRSR:
1302 break;
1303 case RID_SW_TP_REDLINE_OPT :
1305 break;
1306 case RID_SW_TP_OPTTEST_PAGE :
1307#ifdef DBG_UTIL
1308 pRet = SwTestTabPage::Create;
1309#endif
1310 break;
1311 case TP_OPTPRINT_PAGE :
1312 case RID_SW_TP_HTML_OPTPRINT_PAGE:
1313 case RID_SW_TP_OPTPRINT_PAGE:
1315 break;
1316 case RID_SW_TP_STD_FONT:
1317 case RID_SW_TP_STD_FONT_CJK:
1318 case RID_SW_TP_STD_FONT_CTL:
1320 break;
1321 case RID_SW_TP_HTML_OPTTABLE_PAGE:
1322 case RID_SW_TP_OPTTABLE_PAGE:
1324 break;
1325 case RID_SW_TP_DOC_STAT :
1326 pRet = SwDocStatPage::Create;
1327 break;
1328 case RID_SW_TP_MAILCONFIG:
1330 break;
1331 case RID_SW_TP_COMPARISON_OPT :
1333 break;
1334 }
1335
1336 return pRet;
1337}
1338
1340{
1341#if HAVE_FEATURE_DBCONNECTIVITY && !ENABLE_FUZZERS
1342 SwMMResultSaveDialog aDialog(pParent);
1343 aDialog.run();
1344#else
1345 (void) pParent;
1346#endif
1347}
1348
1350{
1351#if HAVE_FEATURE_DBCONNECTIVITY && !ENABLE_FUZZERS
1352 SwMMResultPrintDialog aDialog(pParent);
1353 aDialog.run();
1354#else
1355 (void) pParent;
1356#endif
1357}
1358
1360{
1361#if HAVE_FEATURE_DBCONNECTIVITY && !ENABLE_FUZZERS
1362 SwMMResultEmailDialog aDialog(pParent);
1363 aDialog.run();
1364#else
1365 (void) pParent;
1366#endif
1367}
1368
1369/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
SwCharDlgMode
Definition: chrdlgmodes.hxx:14
Link< LinkParamNone *, void > m_aHandler
Definition: swdlgfact.hxx:308
virtual void SetApplyHdl(const Link< LinkParamNone *, void > &rLink) override
Definition: swdlgfact.cxx:365
virtual void ReInitDlg(SwWrtShell &rWrtShell) override
Definition: swdlgfact.cxx:795
virtual std::shared_ptr< SfxDialogController > GetController() override
Definition: swdlgfact.cxx:800
virtual short Execute() override
Definition: swdlgfact.cxx:320
std::shared_ptr< SwAuthMarkFloatDlg > m_xDlg
Definition: swdlgfact.hxx:678
std::unique_ptr< sw::DateFormFieldDialog > m_xDlg
Definition: swdlgfact.hxx:366
virtual short Execute() override
Definition: swdlgfact.cxx:210
std::unique_ptr< sw::DropDownFieldDialog > m_xDlg
Definition: swdlgfact.hxx:342
virtual bool PrevButtonPressed() const override
Definition: swdlgfact.cxx:468
virtual short Execute() override
Definition: swdlgfact.cxx:200
virtual bool NextButtonPressed() const override
Definition: swdlgfact.cxx:473
std::unique_ptr< sw::DropDownFormFieldDialog > m_xDlg
Definition: swdlgfact.hxx:355
virtual short Execute() override
Definition: swdlgfact.cxx:205
virtual short Execute() override
Definition: swdlgfact.cxx:300
virtual void SelectSection(const OUString &rSectionName) override
Definition: swdlgfact.cxx:774
std::shared_ptr< SwEditRegionDlg > m_xDlg
Definition: swdlgfact.hxx:637
virtual bool PrevButtonPressed() const override
Definition: swdlgfact.cxx:620
virtual short Execute() override
Definition: swdlgfact.cxx:260
std::unique_ptr< SwFieldInputDlg > m_xDlg
Definition: swdlgfact.hxx:505
virtual bool NextButtonPressed() const override
Definition: swdlgfact.cxx:625
virtual void EndDialog(sal_Int32) override
Definition: swdlgfact.cxx:615
std::shared_ptr< weld::GenericDialogController > m_xDlg
Definition: swdlgfact.hxx:173
virtual short Execute() override
Definition: swdlgfact.cxx:165
virtual bool StartExecuteAsync(AsyncContext &rCtx) override
Definition: swdlgfact.cxx:170
virtual OUString GetCurrShortName() const override
Definition: swdlgfact.cxx:610
std::unique_ptr< SwGlossaryDlg > m_xDlg
Definition: swdlgfact.hxx:491
virtual OUString GetCurrGrpName() const override
Definition: swdlgfact.cxx:605
virtual short Execute() override
Definition: swdlgfact.cxx:255
virtual short Execute() override
Definition: swdlgfact.cxx:315
virtual void ReInitDlg(SwWrtShell &rWrtShell) override
Definition: swdlgfact.cxx:785
virtual std::shared_ptr< SfxDialogController > GetController() override
Definition: swdlgfact.cxx:790
std::shared_ptr< SwIndexMarkFloatDlg > m_xDlg
Definition: swdlgfact.hxx:664
virtual void SetHelpId(const OString &sHelpId) override
Definition: swdlgfact.cxx:655
virtual bool IsEndNote() override
Definition: swdlgfact.cxx:645
virtual OUString GetStr() override
Definition: swdlgfact.cxx:650
virtual OUString GetFontName() override
Definition: swdlgfact.cxx:630
virtual short Execute() override
Definition: swdlgfact.cxx:265
std::unique_ptr< SwInsFootNoteDlg > m_xDlg
Definition: swdlgfact.hxx:520
virtual void SetText(const OUString &rStr) override
Definition: swdlgfact.cxx:660
std::shared_ptr< weld::DialogController > m_xDlg
Definition: swdlgfact.hxx:539
virtual void GetValues(OUString &rName, sal_uInt16 &rRow, sal_uInt16 &rCol, SwInsertTableOptions &rInsTableFlags, OUString &rTableAutoFormatName, std::unique_ptr< SwTableAutoFormat > &prTAFormat) override
Definition: swdlgfact.cxx:665
virtual short Execute() override
Definition: swdlgfact.cxx:305
std::shared_ptr< SwInsertSectionTabDialog > m_xDlg
Definition: swdlgfact.hxx:650
virtual void SetSectionData(SwSectionData const &rSect) override
Definition: swdlgfact.cxx:780
virtual bool StartExecuteAsync(AsyncContext &rCtx) override
Definition: swdlgfact.cxx:310
virtual short Execute() override
Definition: swdlgfact.cxx:270
virtual OUString GetScriptText() const override
Definition: swdlgfact.cxx:674
std::unique_ptr< SwJavaEditDialog > m_xDlg
Definition: swdlgfact.hxx:554
virtual bool IsUpdate() const override
Definition: swdlgfact.cxx:694
virtual bool IsUrl() const override
Definition: swdlgfact.cxx:684
virtual bool IsNew() const override
Definition: swdlgfact.cxx:689
virtual OUString GetScriptType() const override
Definition: swdlgfact.cxx:679
virtual short Execute() override
Definition: swdlgfact.cxx:280
std::unique_ptr< SwMailMergeCreateFromDlg > m_xDlg
Definition: swdlgfact.hxx:593
virtual bool IsThisDocument() const override
Definition: swdlgfact.cxx:749
virtual css::uno::Sequence< css::uno::Any > GetSelection() const override
Definition: swdlgfact.cxx:709
virtual OUString GetTargetURL() const override
Definition: swdlgfact.cxx:744
virtual bool IsSaveSingleDoc() const override
Definition: swdlgfact.cxx:719
virtual OUString GetColumnName() const override
Definition: swdlgfact.cxx:734
virtual short Execute() override
Definition: swdlgfact.cxx:275
virtual bool IsFileEncryptedFromDataBase() const override
Definition: swdlgfact.cxx:729
virtual const OUString & GetSaveFilter() const override
Definition: swdlgfact.cxx:704
std::unique_ptr< SwMailMergeDlg > m_xDlg
Definition: swdlgfact.hxx:571
virtual OUString GetPasswordColumnName() const override
Definition: swdlgfact.cxx:739
virtual bool IsGenerateFromDataBase() const override
Definition: swdlgfact.cxx:724
virtual DBManagerOptions GetMergeType() override
Definition: swdlgfact.cxx:699
virtual css::uno::Reference< css::sdbc::XResultSet > GetResultSet() const override
Definition: swdlgfact.cxx:714
std::unique_ptr< SwMailMergeFieldConnectionsDlg > m_xDlg
Definition: swdlgfact.hxx:606
virtual bool IsUseExistingConnections() const override
Definition: swdlgfact.cxx:754
virtual OUString GetReloadDocument() const override
Definition: swdlgfact.cxx:837
virtual bool StartExecuteAsync(VclAbstractDialog::AsyncContext &rCtx) override
Definition: swdlgfact.cxx:824
virtual void ShowPage(sal_uInt16 nLevel) override
Definition: swdlgfact.cxx:842
virtual sal_uInt16 GetRestartPage() const override
Definition: swdlgfact.cxx:847
std::shared_ptr< SwMailMergeWizard > m_xDlg
Definition: swdlgfact.hxx:692
virtual ~AbstractMailMergeWizard_Impl() override
Definition: swdlgfact.cxx:820
virtual short Execute() override
Definition: swdlgfact.cxx:832
std::unique_ptr< SwMultiTOXMarkDlg > m_xDlg
Definition: swdlgfact.hxx:196
virtual short Execute() override
Definition: swdlgfact.cxx:180
virtual SwTOXDescription & GetTOXDescription(CurTOXType eTOXTypes) override
Definition: swdlgfact.cxx:764
virtual CurTOXType GetCurrentTOXType() const override
Definition: swdlgfact.cxx:759
virtual short Execute() override
Definition: swdlgfact.cxx:290
virtual bool StartExecuteAsync(VclAbstractDialog::AsyncContext &rCtx) override
Definition: swdlgfact.cxx:295
std::shared_ptr< SwMultiTOXTabDialog > m_xDlg
Definition: swdlgfact.hxx:620
virtual const SfxItemSet * GetOutputItemSet() const override
Definition: swdlgfact.cxx:769
virtual short Execute() override
Definition: swdlgfact.cxx:115
virtual void SetText(const OUString &rStr) override
Definition: swdlgfact.cxx:396
virtual bool StartExecuteAsync(AsyncContext &rCtx) override
Definition: swdlgfact.cxx:120
std::shared_ptr< SfxSingleTabDialogController > m_xDlg
Definition: swdlgfact.hxx:132
virtual const SfxItemSet * GetOutputItemSet() const override
Definition: swdlgfact.cxx:386
std::shared_ptr< SwSplitTableDlg > m_xDlg
Definition: swdlgfact.hxx:269
virtual SplitTable_HeadlineOption GetSplitMode() override
Definition: swdlgfact.cxx:406
virtual bool StartExecuteAsync(AsyncContext &rCtx) override
Definition: swdlgfact.cxx:135
virtual short Execute() override
Definition: swdlgfact.cxx:130
virtual void FillOptions(SwAsciiOptions &rOptions) override
Definition: swdlgfact.cxx:401
virtual short Execute() override
Definition: swdlgfact.cxx:125
std::unique_ptr< SwAsciiFilterDlg > m_xDlg
Definition: swdlgfact.hxx:146
virtual short Execute() override
Definition: swdlgfact.cxx:225
std::unique_ptr< SwAutoFormatDlg, o3tl::default_delete< SwAutoFormatDlg > > m_xDlg
Definition: swdlgfact.hxx:410
virtual std::unique_ptr< SwTableAutoFormat > FillAutoFormatOfIndex() const override
Definition: swdlgfact.cxx:528
virtual sal_uInt16 GetKind() override
Definition: swdlgfact.cxx:420
std::optional< SwLineBreakClear > GetClear() override
Definition: swdlgfact.cxx:438
std::shared_ptr< weld::DialogController > m_xDlg
Definition: swdlgfact.hxx:207
virtual ::std::optional< sal_uInt16 > GetPageNumber() override
Definition: swdlgfact.cxx:429
virtual OUString GetTemplateName() override
Definition: swdlgfact.cxx:411
std::shared_ptr< SwContentControlListItemDlg > m_xDlg
Definition: swdlgfact.hxx:464
bool StartExecuteAsync(VclAbstractDialog::AsyncContext &) override
Definition: swdlgfact.cxx:240
std::unique_ptr< SwConvertTableDlg > m_xDlg
Definition: swdlgfact.hxx:314
virtual short Execute() override
Definition: swdlgfact.cxx:190
virtual void GetValues(sal_Unicode &rDelim, SwInsertTableOptions &rInsTableFlags, SwTableAutoFormat const *&prTAFormat) override
Definition: swdlgfact.cxx:447
virtual void SetText(const OUString &rStr) override
Definition: swdlgfact.cxx:553
virtual void SetCurPageId(const OString &rName) override
Definition: swdlgfact.cxx:533
virtual short Execute() override
Definition: swdlgfact.cxx:230
virtual std::shared_ptr< SfxDialogController > GetController() override
Definition: swdlgfact.cxx:588
virtual WhichRangesContainer GetInputRanges(const SfxItemPool &pItem) override
Definition: swdlgfact.cxx:543
virtual void ShowReferencePage() override
Definition: swdlgfact.cxx:583
virtual const SfxItemSet * GetOutputItemSet() const override
Definition: swdlgfact.cxx:538
virtual void Initialize(SfxChildWinInfo *pInfo) override
Definition: swdlgfact.cxx:568
virtual bool StartExecuteAsync(AsyncContext &rCtx) override
Definition: swdlgfact.cxx:558
std::shared_ptr< SwFieldDlg > m_xDlg
Definition: swdlgfact.hxx:422
virtual void ReInitDlg() override
Definition: swdlgfact.cxx:573
virtual void ActivateDatabasePage() override
Definition: swdlgfact.cxx:578
virtual void SetInputSet(const SfxItemSet *pInSet) override
Definition: swdlgfact.cxx:548
virtual sal_uInt8 GetPara() const override
Definition: swdlgfact.cxx:376
virtual short Execute() override
Definition: swdlgfact.cxx:105
std::unique_ptr< SwInsertAbstractDlg > m_xDlg
Definition: swdlgfact.hxx:106
virtual sal_uInt8 GetLevel() const override
Definition: swdlgfact.cxx:371
virtual void DataToDoc(const css::uno::Sequence< css::uno::Any > &rSelection, css::uno::Reference< css::sdbc::XDataSource > rxSource, css::uno::Reference< css::sdbc::XConnection > xConnection, css::uno::Reference< css::sdbc::XResultSet > xResultSet) override
Definition: swdlgfact.cxx:453
std::unique_ptr< SwInsertDBColAutoPilot > m_xDlg
Definition: swdlgfact.hxx:327
virtual short Execute() override
Definition: swdlgfact.cxx:195
virtual Printer * GetPrt() override
Definition: swdlgfact.cxx:508
virtual void SetText(const OUString &rStr) override
Definition: swdlgfact.cxx:498
virtual short Execute() override
Definition: swdlgfact.cxx:215
virtual void SetInputSet(const SfxItemSet *pInSet) override
Definition: swdlgfact.cxx:493
std::unique_ptr< SwLabDlg > m_xDlg
Definition: swdlgfact.hxx:377
virtual void SetCurPageId(const OString &rName) override
Definition: swdlgfact.cxx:478
virtual const OUString & GetBusinessCardStr() const override
Definition: swdlgfact.cxx:503
virtual WhichRangesContainer GetInputRanges(const SfxItemPool &pItem) override
Definition: swdlgfact.cxx:488
virtual const SfxItemSet * GetOutputItemSet() const override
Definition: swdlgfact.cxx:483
std::unique_ptr< SwMergeTableDlg > m_xDlg
Definition: swdlgfact.hxx:258
virtual short Execute() override
Definition: swdlgfact.cxx:150
std::unique_ptr< SwModalRedlineAcceptDlg > m_xDlg
Definition: swdlgfact.hxx:479
virtual short Execute() override
Definition: swdlgfact.cxx:250
virtual bool StartExecuteAsync(AsyncContext &rCtx) override
Definition: swdlgfact.cxx:160
virtual short Execute() override
Definition: swdlgfact.cxx:155
virtual int GetPageNumberAlignment() const override
Definition: swdlgfact.cxx:640
virtual int GetPageNumberPosition() const override
Definition: swdlgfact.cxx:635
std::shared_ptr< SwPageNumberDlg > m_xDlg
Definition: swdlgfact.hxx:159
virtual short Execute() override
Definition: swdlgfact.cxx:235
std::unique_ptr< SwRenameXNamedDlg > m_xDlg
Definition: swdlgfact.hxx:445
virtual void SetAlternativeAccess(css::uno::Reference< css::container::XNameAccess > &xSecond, css::uno::Reference< css::container::XNameAccess > &xThird) override
Definition: swdlgfact.cxx:598
virtual void SetForbiddenChars(const OUString &rSet) override
Definition: swdlgfact.cxx:593
std::unique_ptr< SwSelGlossaryDlg > m_xDlg
Definition: swdlgfact.hxx:396
virtual short Execute() override
Definition: swdlgfact.cxx:220
virtual void SelectEntryPos(sal_Int32 nIdx) override
Definition: swdlgfact.cxx:523
virtual sal_Int32 GetSelectedIdx() const override
Definition: swdlgfact.cxx:518
virtual void InsertGlos(const OUString &rRegion, const OUString &rGlosName) override
Definition: swdlgfact.cxx:513
std::unique_ptr< SwSortDlg > m_xDlg
Definition: swdlgfact.hxx:185
virtual short Execute() override
Definition: swdlgfact.cxx:175
std::unique_ptr< SwTableHeightDlg > m_xDlg
Definition: swdlgfact.hxx:247
virtual short Execute() override
Definition: swdlgfact.cxx:145
std::unique_ptr< SwTableWidthDlg > m_xDlg
Definition: swdlgfact.hxx:236
virtual short Execute() override
Definition: swdlgfact.cxx:140
virtual std::optional< SwLanguageListItem > GetSelectedLanguage() override
Definition: swdlgfact.cxx:852
virtual std::shared_ptr< SfxDialogController > GetController() override
Definition: swdlgfact.cxx:805
virtual short Execute() override
Definition: swdlgfact.cxx:100
virtual void SetCounts(const SwDocStat &rCurrCnt, const SwDocStat &rDocStat) override
Definition: swdlgfact.cxx:815
std::shared_ptr< SwWordCountFloatDlg > m_xDlg
Definition: swdlgfact.hxx:92
virtual void UpdateCounts() override
Definition: swdlgfact.cxx:810
virtual WhichRangesContainer GetInputRanges(const SfxItemPool &pItem) override
Definition: swdlgfact.cxx:335
std::shared_ptr< SfxTabDialogController > m_xDlg
Definition: swdlgfact.hxx:283
virtual void SetCurPageId(const OString &rName) override
Definition: swdlgfact.cxx:325
virtual void SetInputSet(const SfxItemSet *pInSet) override
Definition: swdlgfact.cxx:340
virtual bool StartExecuteAsync(AsyncContext &rCtx) override
Definition: swdlgfact.cxx:345
virtual const SfxItemSet * GetOutputItemSet() const override
Definition: swdlgfact.cxx:330
virtual short Execute() override
Definition: swdlgfact.cxx:185
virtual void SetText(const OUString &rStr) override
Definition: swdlgfact.cxx:351
static bool runAsync(const std::shared_ptr< SfxTabDialogController > &rController, const std::function< void(sal_Int32)> &)
virtual VclPtr< AbstractInsertSectionTabDialog > CreateInsertSectionTabDialog(weld::Window *pParent, const SfxItemSet &rSet, SwWrtShell &rSh) override
Definition: swdlgfact.cxx:1221
virtual GlossarySetActGroup SetGlossaryActGroupFunc() override
Definition: swdlgfact.cxx:1276
virtual VclPtr< VclAbstractDialog > CreateVclSwViewDialog(SwView &rView) override
Definition: swdlgfact.cxx:1155
virtual VclPtr< AbstractMailMergeFieldConnectionsDlg > CreateMailMergeFieldConnectionsDlg(weld::Window *pParent) override
Definition: swdlgfact.cxx:1186
virtual VclPtr< VclAbstractDialog > CreateMultiTOXMarkDlg(weld::Window *pParent, SwTOXMgr &rTOXMgr) override
Definition: swdlgfact.cxx:1191
virtual VclPtr< AbstractSwRenameXNamedDlg > CreateSwRenameXNamedDlg(weld::Widget *pParent, css::uno::Reference< css::container::XNamed > &xNamed, css::uno::Reference< css::container::XNameAccess > &xNameAccess) override
Definition: swdlgfact.cxx:1089
virtual VclPtr< SfxAbstractTabDialog > CreateSwEnvDlg(weld::Window *pParent, const SfxItemSet &rSet, SwWrtShell *pWrtSh, Printer *pPrt, bool bInsert) override
Definition: swdlgfact.cxx:994
virtual VclPtr< AbstractMarkFloatDlg > CreateIndexMarkFloatDlg(SfxBindings *pBindings, SfxChildWindow *pChild, weld::Window *pParent, SfxChildWinInfo *pInfo) override
Definition: swdlgfact.cxx:1227
virtual VclPtr< SfxAbstractDialog > CreateSwWrapDlg(weld::Window *pParent, SfxItemSet &rSet, SwWrtShell *pSh) override
Definition: swdlgfact.cxx:1063
virtual VclPtr< AbstractSplitTableDialog > CreateSplitTableDialog(weld::Window *pParent, SwWrtShell &rSh) override
Definition: swdlgfact.cxx:1040
virtual VclPtr< SfxAbstractTabDialog > CreateFrameTabDialog(const OUString &rDialogType, SfxViewFrame &rFrame, weld::Window *pParent, const SfxItemSet &rCoreSet, bool bNewFrame=true, const OString &sDefPage=OString()) override
Definition: swdlgfact.cxx:1111
virtual VclPtr< AbstractMailMergeDlg > CreateMailMergeDlg(weld::Window *pParent, SwWrtShell &rSh, const OUString &rSourceName, const OUString &rTableName, sal_Int32 nCommandType, const css::uno::Reference< css::sdbc::XConnection > &xConnection) override
Definition: swdlgfact.cxx:1171
virtual VclPtr< SfxAbstractTabDialog > CreateSwCharDlg(weld::Window *pParent, SwView &pVw, const SfxItemSet &rCoreSet, SwCharDlgMode nDialogMode, const OUString *pFormatStr=nullptr) override
Definition: swdlgfact.cxx:941
virtual VclPtr< SfxAbstractDialog > CreateSwBackgroundDialog(weld::Window *pParent, const SfxItemSet &rSet) override
Definition: swdlgfact.cxx:878
virtual VclPtr< SfxAbstractDialog > CreateSwFieldEditDlg(SwView &rVw) override
Definition: swdlgfact.cxx:1084
virtual SwLabDlgMethod GetSwLabDlgStaticMethod() override
Definition: swdlgfact.cxx:1007
virtual VclPtr< AbstractSwAutoFormatDlg > CreateSwAutoFormatDlg(weld::Window *pParent, SwWrtShell *pShell, bool bSetAutoFormat=true, const SwTableAutoFormat *pSelFormat=nullptr) override
Definition: swdlgfact.cxx:1050
virtual VclPtr< AbstractSwAsciiFilterDlg > CreateSwAsciiFilterDlg(weld::Window *pParent, SwDocShell &rDocSh, SvStream *pStream) override
Definition: swdlgfact.cxx:889
virtual GlossaryGetCurrGroup GetGlossaryCurrGroupFunc() override
Definition: swdlgfact.cxx:1271
virtual VclPtr< AbstractGlossaryDlg > CreateGlossaryDlg(SfxViewFrame &rViewFrame, SwGlossaryHdl *pGlosHdl, SwWrtShell *pWrtShell) override
Definition: swdlgfact.cxx:1132
virtual VclPtr< SfxAbstractDialog > CreateSwBorderDlg(weld::Window *pParent, SfxItemSet &rSet, SwBorderModes nType) override
Definition: swdlgfact.cxx:1058
virtual VclPtr< SfxAbstractApplyTabDialog > CreateTemplateDialog(weld::Window *pParent, SfxStyleSheetBase &rBase, SfxStyleFamily nRegion, const OString &sPage, SwWrtShell *pActShell, bool bNew) override
Definition: swdlgfact.cxx:1120
virtual VclPtr< AbstractSwInsertDBColAutoPilot > CreateSwInsertDBColAutoPilot(SwView &rView, css::uno::Reference< css::sdbc::XDataSource > rxSource, css::uno::Reference< css::sdbcx::XColumnsSupplier > xColSupp, const SwDBData &rData) override
Definition: swdlgfact.cxx:957
virtual VclPtr< VclAbstractDialog > CreateSwContentControlDlg(weld::Window *pParent, SwWrtShell &rSh) override
Definition: swdlgfact.cxx:901
virtual VclPtr< AbstractFieldInputDlg > CreateFieldInputDlg(weld::Widget *pParent, SwWrtShell &rSh, SwField *pField, bool bPrevButton, bool bNextButton) override
Definition: swdlgfact.cxx:1138
virtual VclPtr< AbstractSwFieldDlg > CreateSwFieldDlg(SfxBindings *pB, SwChildWinWrapper *pCW, weld::Window *pParent) override
Definition: swdlgfact.cxx:1079
virtual VclPtr< SfxAbstractDialog > CreateSwDropCapsDialog(weld::Window *pParent, const SfxItemSet &rSet) override
Definition: swdlgfact.cxx:872
virtual VclPtr< AbstractMailMergeWizard > CreateMailMergeWizard(SwView &rView, std::shared_ptr< SwMailMergeConfigItem > &rConfigItem) override
Definition: swdlgfact.cxx:1259
virtual VclPtr< AbstractEditRegionDlg > CreateEditRegionDlg(weld::Window *pParent, SwWrtShell &rWrtSh) override
Definition: swdlgfact.cxx:1216
virtual VclPtr< VclAbstractDialog > CreateSwColumnDialog(weld::Window *pParent, SwWrtShell &rSh) override
Definition: swdlgfact.cxx:1025
virtual VclPtr< AbstractDropDownFieldDialog > CreateDropDownFieldDialog(weld::Widget *pParent, SwWrtShell &rSh, SwField *pField, bool bPrevButton, bool bNextButton) override
Definition: swdlgfact.cxx:978
virtual VclPtr< VclAbstractDialog > CreateIndexMarkModalDlg(weld::Window *pParent, SwWrtShell &rSh, SwTOXMark *pCurTOXMark) override
Definition: swdlgfact.cxx:1254
virtual VclPtr< VclAbstractDialog > CreateSwAutoMarkDialog(weld::Window *pParent, SwWrtShell &rSh) override
Definition: swdlgfact.cxx:1020
virtual VclPtr< VclAbstractDialog > CreateTableMergeDialog(weld::Window *pParent, bool &rWithPrev) override
Definition: swdlgfact.cxx:1106
VclPtr< AbstractSwContentControlListItemDlg > CreateSwContentControlListItemDlg(weld::Window *pParent, SwContentControlListItem &rItem) override
Definition: swdlgfact.cxx:908
virtual std::shared_ptr< AbstractInsTableDlg > CreateInsTableDlg(SwView &rView) override
Definition: swdlgfact.cxx:1160
virtual VclPtr< SfxAbstractTabDialog > CreateSwTableTabDlg(weld::Window *pParent, const SfxItemSet *pItemSet, SwWrtShell *pSh) override
Definition: swdlgfact.cxx:1073
virtual VclPtr< SfxAbstractDialog > CreateNumFormatDialog(weld::Widget *pParent, const SfxItemSet &rAttr) override
Definition: swdlgfact.cxx:884
virtual VclPtr< VclAbstractDialog > CreateDropDownFormFieldDialog(weld::Widget *pParent, sw::mark::IFieldmark *pDropDownField) override
Definition: swdlgfact.cxx:984
virtual void ExecuteMMResultPrintDialog(weld::Window *pParent) override
Definition: swdlgfact.cxx:1349
virtual VclPtr< AbstractInsFootNoteDlg > CreateInsFootNoteDlg(weld::Window *pParent, SwWrtShell &rSh, bool bEd=false) override
Definition: swdlgfact.cxx:1144
virtual CreateTabPage GetTabPageCreatorFunc(sal_uInt16 nId) override
Definition: swdlgfact.cxx:1282
virtual VclPtr< VclAbstractDialog > CreateTitlePageDlg(weld::Window *pParent) override
Definition: swdlgfact.cxx:1150
virtual VclPtr< AbstractSwPageNumberDlg > CreateSwPageNumberDlg(weld::Window *pParent) override
Definition: swdlgfact.cxx:1101
virtual VclPtr< SfxAbstractTabDialog > CreateOutlineTabDialog(weld::Window *pParent, const SfxItemSet *pSwItemSet, SwWrtShell &) override
Definition: swdlgfact.cxx:1203
virtual void ExecuteMMResultEmailDialog(weld::Window *pParent) override
Definition: swdlgfact.cxx:1359
virtual std::shared_ptr< AbstractSwBreakDlg > CreateSwBreakDlg(weld::Window *pParent, SwWrtShell &rSh) override
Definition: swdlgfact.cxx:915
virtual std::shared_ptr< AbstractSwTranslateLangSelectDlg > CreateSwTranslateLangSelectDlg(weld::Window *pParent, SwWrtShell &rSh) override
Definition: swdlgfact.cxx:920
virtual VclPtr< VclAbstractDialog > CreateSwCaptionDialog(weld::Window *pParent, SwView &rV) override
Definition: swdlgfact.cxx:952
virtual VclPtr< AbstractSwInsertAbstractDlg > CreateSwInsertAbstractDlg(weld::Window *pParent) override
Definition: swdlgfact.cxx:861
virtual VclPtr< SfxAbstractTabDialog > CreateSwFootNoteOptionDlg(weld::Window *pParent, SwWrtShell &rSh) override
Definition: swdlgfact.cxx:973
virtual VclPtr< VclAbstractDialog > CreateDateFormFieldDialog(weld::Widget *pParent, sw::mark::IDateFieldmark *pDateField, SwDoc &rDoc) override
Definition: swdlgfact.cxx:989
virtual VclPtr< VclAbstractDialog > CreateSwChangeDBDlg(SwView &rVw) override
Definition: swdlgfact.cxx:931
virtual VclPtr< VclAbstractDialog > CreateSwSortingDialog(weld::Window *pParent, SwWrtShell &rSh) override
Definition: swdlgfact.cxx:1035
virtual VclPtr< AbstractMultiTOXTabDialog > CreateMultiTOXTabDialog(weld::Widget *pParent, const SfxItemSet &rSet, SwWrtShell &rShell, SwTOXBase *pCurTOX, bool bGlobal) override
Definition: swdlgfact.cxx:1210
virtual VclPtr< VclAbstractDialog > CreateSwTableWidthDlg(weld::Window *pParent, SwTableFUNC &rFnc) override
Definition: swdlgfact.cxx:1068
virtual VclPtr< AbstractSwLabDlg > CreateSwLabDlg(weld::Window *pParent, const SfxItemSet &rSet, SwDBManager *pDBManager, bool bLabel) override
Definition: swdlgfact.cxx:1001
virtual VclPtr< SfxAbstractTabDialog > CreateSvxNumBulletTabDialog(weld::Window *pParent, const SfxItemSet *pSwItemSet, SwWrtShell &) override
Definition: swdlgfact.cxx:1196
virtual VclPtr< AbstractSwSelGlossaryDlg > CreateSwSelGlossaryDlg(weld::Window *pParent, const OUString &rShortName) override
Definition: swdlgfact.cxx:1045
virtual VclPtr< AbstractMarkFloatDlg > CreateAuthMarkFloatDlg(SfxBindings *pBindings, SfxChildWindow *pChild, weld::Window *pParent, SfxChildWinInfo *pInfo) override
Definition: swdlgfact.cxx:1236
virtual VclPtr< SfxAbstractDialog > CreateSwAddressAbstractDlg(weld::Window *pParent, const SfxItemSet &rSet) override
Definition: swdlgfact.cxx:866
virtual void ExecuteMMResultSaveDialog(weld::Window *pParent) override
Definition: swdlgfact.cxx:1339
virtual VclPtr< SfxAbstractTabDialog > CreateSwParaDlg(weld::Window *pParent, SwView &rVw, const SfxItemSet &rCoreSet, bool bDraw, const OString &sDefPage=OString()) override
Definition: swdlgfact.cxx:1012
virtual VclPtr< AbstractSwConvertTableDlg > CreateSwConvertTableDlg(SwView &rView, bool bToTable) override
Definition: swdlgfact.cxx:947
virtual VclPtr< VclAbstractDialog > CreateSwTableHeightDialog(weld::Window *pParent, SwWrtShell &rSh) override
Definition: swdlgfact.cxx:1030
virtual VclPtr< VclAbstractDialog > CreateSwInsertBookmarkDlg(weld::Window *pParent, SwWrtShell &rSh, OUString const *pSelected) override
Definition: swdlgfact.cxx:895
virtual VclPtr< AbstractMailMergeCreateFromDlg > CreateMailMergeCreateFromDlg(weld::Window *pParent) override
Definition: swdlgfact.cxx:1181
virtual VclPtr< AbstractJavaEditDialog > CreateJavaEditDialog(weld::Window *pParent, SwWrtShell *pWrtSh) override
Definition: swdlgfact.cxx:1165
virtual VclPtr< AbstractSwWordCountFloatDlg > CreateSwWordCountDialog(SfxBindings *pBindings, SfxChildWindow *pChild, weld::Window *pParent, SfxChildWinInfo *pInfo) override
Definition: swdlgfact.cxx:1245
virtual VclPtr< AbstractSwModalRedlineAcceptDlg > CreateSwModalRedlineAcceptDlg(weld::Window *pParent) override
Definition: swdlgfact.cxx:1096
virtual short Execute() override
Definition: swdlgfact.cxx:110
virtual const SfxItemSet * GetOutputItemSet() const override
Definition: swdlgfact.cxx:381
virtual void SetText(const OUString &rStr) override
Definition: swdlgfact.cxx:391
std::unique_ptr< SfxSingleTabDialogController > m_xDlg
Definition: swdlgfact.hxx:119
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: optpage.cxx:349
sal_uInt16 GetKind() const
Definition: break.hxx:62
const ::std::optional< sal_uInt16 > & GetPageNumber() const
Definition: break.hxx:63
const std::optional< SwLineBreakClear > & GetClear() const
Definition: break.hxx:64
const OUString & GetTemplateName() const
Definition: break.hxx:61
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: optload.cxx:538
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: optpage.cxx:1990
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: optcomp.cxx:348
Represents one list item in a content control dropdown list.
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: optpage.cxx:164
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rSet)
Definition: docstdlg.cxx:34
Definition: doc.hxx:195
Base class of all fields.
Definition: fldbas.hxx:295
static void SetActGroup(const OUString &rNewGroup)
Definition: glossary.cxx:169
static OUString GetCurrGroup()
Definition: glossary.cxx:162
void GetValues(OUString &rName, sal_uInt16 &rRow, sal_uInt16 &rCol, SwInsertTableOptions &rInsTableOpts, OUString &rTableAutoFormatName, std::unique_ptr< SwTableAutoFormat > &prTAFormat)
Definition: instable.cxx:29
static void UpdateFieldInformation(css::uno::Reference< css::frame::XModel > const &xModel, const SwLabItem &rItem)
Definition: labelexp.cxx:32
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: optload.cxx:139
Dialog implementing the sending as email of the result document.
Dialog implementing the printing of the result document.
Dialog implementing the saving as of the result document.
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: optpage.cxx:1604
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: optpage.cxx:1233
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: optpage.cxx:550
Built on top of SwWrtShell, provides functionality to insert, update or perform other actions on vari...
Definition: toxmgr.hxx:231
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: optpage.cxx:1008
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: optpage.cxx:2125
static std::optional< SwLanguageListItem > GetSelectedLanguage()
Definition: view.hxx:146
Used by the UI to modify the document model.
Definition: wrtsh.hxx:97
static VclPtr< reference_type > Create(Arg &&... arg)
static bool runAsync(const std::shared_ptr< DialogController > &rController, const std::function< void(sal_Int32)> &)
DBManagerOptions
Definition: dbmgr.hxx:88
SwBorderModes
sal_Int64 n
sal_Int16 nId
#define DLG_STD
Definition: pardlg.hxx:23
QPRO_FUNC_TYPE nType
static SfxItemSet & rSet
std::function< void(sal_Int32)> maEndDialogFn
SfxStyleFamily
void(* GlossarySetActGroup)(const OUString &rNewGroup)
Definition: swabstdlg.hxx:88
void(* SwLabDlgMethod)(css::uno::Reference< css::frame::XModel > const &xModel, const SwLabItem &rItem)
Definition: swabstdlg.hxx:85
OUString(* GlossaryGetCurrGroup)()
Definition: swabstdlg.hxx:87
IMPL_LINK_NOARG(AbstractApplyTabController_Impl, ApplyHdl, weld::Button &, void)
Definition: swdlgfact.cxx:356
std::unique_ptr< SfxTabPage >(* CreateTabPage)(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
SplitTable_HeadlineOption
Definition: tblenum.hxx:55
unsigned char sal_uInt8
sal_uInt16 sal_Unicode