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
325void AbstractTabController_Impl::SetCurPageId( const OUString &rName )
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 OUString &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 OUString &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->GetMirrorOnEvenPages();
648}
649
651{
652 return m_xDlg->GetIncludePageTotal();
653}
654
656{
657 return m_xDlg->GetPageNumberType();
658}
659
661{
662 m_xDlg->SetPageNumberType(nSet);
663}
664
666{
667 return m_xDlg->IsEndNote();
668}
669
671{
672 return m_xDlg->GetStr();
673}
674
675void AbstractInsFootNoteDlg_Impl::SetHelpId(const OUString& rHelpId)
676{
677 m_xDlg->set_help_id(rHelpId);
678}
679
680void AbstractInsFootNoteDlg_Impl::SetText( const OUString& rStr )
681{
682 m_xDlg->set_title(rStr);
683}
684
685void AbstractInsTableDlg_Impl::GetValues( OUString& rName, sal_uInt16& rRow, sal_uInt16& rCol,
686 SwInsertTableOptions& rInsTableFlags, OUString& rTableAutoFormatName,
687 std::unique_ptr<SwTableAutoFormat>& prTAFormat )
688{
689 SwInsTableDlg* pDlg = dynamic_cast<SwInsTableDlg*>(m_xDlg.get());
690 if (pDlg)
691 pDlg->GetValues(rName, rRow, rCol, rInsTableFlags, rTableAutoFormatName, prTAFormat);
692}
693
695{
696 return m_xDlg->GetScriptText();
697}
698
700{
701 return m_xDlg->GetScriptType();
702}
703
705{
706 return m_xDlg->IsUrl();
707}
708
710{
711 return m_xDlg->IsNew();
712}
713
715{
716 return m_xDlg->IsUpdate();
717}
718
720{
721 return m_xDlg->GetMergeType();
722}
723
725{
726 return m_xDlg->GetSaveFilter();
727}
728
729css::uno::Sequence< css::uno::Any > AbstractMailMergeDlg_Impl::GetSelection() const
730{
731 return m_xDlg->GetSelection();
732}
733
734uno::Reference< sdbc::XResultSet> AbstractMailMergeDlg_Impl::GetResultSet() const
735{
736 return m_xDlg->GetResultSet();
737}
738
740{
741 return m_xDlg->IsSaveSingleDoc();
742}
743
745{
746 return m_xDlg->IsGenerateFromDataBase();
747}
748
750{
751 return m_xDlg->IsFileEncryptedFromDataBase();
752}
753
755{
756 return m_xDlg->GetColumnName();
757}
758
760{
761 return m_xDlg->GetPasswordColumnName();
762}
763
765{
766 return m_xDlg->GetTargetURL();
767}
768
770{
771 return m_xDlg->IsThisDocument();
772}
773
775{
776 return m_xDlg->IsUseExistingConnections();
777}
778
780{
781 return m_xDlg->GetCurrentTOXType();
782}
783
785{
786 return m_xDlg->GetTOXDescription(eTOXTypes);
787}
788
790{
791 return m_xDlg->GetOutputItemSet();
792}
793
794void AbstractEditRegionDlg_Impl::SelectSection(const OUString& rSectionName)
795{
796 m_xDlg->SelectSection(rSectionName);
797}
798
799void
801{
802 m_xDlg->SetSectionData(rSect);
803}
804
806{
807 m_xDlg->ReInitDlg( rWrtShell);
808}
809
810std::shared_ptr<SfxDialogController> AbstractIndexMarkFloatDlg_Impl::GetController()
811{
812 return m_xDlg;
813}
814
816{
817 m_xDlg->ReInitDlg(rWrtShell);
818}
819
820std::shared_ptr<SfxDialogController> AbstractAuthMarkFloatDlg_Impl::GetController()
821{
822 return m_xDlg;
823}
824
825std::shared_ptr<SfxDialogController> AbstractSwWordCountFloatDlg_Impl::GetController()
826{
827 return m_xDlg;
828}
829
831{
832 m_xDlg->UpdateCounts();
833}
834
836{
837 m_xDlg->SetCounts(rCurrCnt, rDocStat);
838}
839
841{
842}
843
845{
846 // SwMailMergeWizardExecutor wants to run the lifecycle of this dialog
847 // so clear mxOwner here and leave it up to SwMailMergeWizardExecutor
848 rCtx.mxOwner.clear();
849 return weld::GenericDialogController::runAsync(m_xDlg, rCtx.maEndDialogFn);
850}
851
853{
854 return m_xDlg->run();
855}
856
858{
859 return m_xDlg->GetReloadDocument();
860}
861
863{
864 m_xDlg->skipUntil(nLevel);
865}
866
868{
869 return m_xDlg->GetRestartPage();
870}
871
873{
874#if !ENABLE_WASM_STRIP_EXTRA
876#else
877 return {};
878#endif
879}
880
882{
883 return VclPtr<AbstractSwInsertAbstractDlg_Impl>::Create(std::make_unique<SwInsertAbstractDlg>(pParent));
884}
885
887 const SfxItemSet& rSet)
888{
889 return VclPtr<SwAbstractSfxController_Impl>::Create(std::make_unique<SwAddrDlg>(pParent, rSet));
890}
891
893 const SfxItemSet& rSet)
894{
895 return VclPtr<SwAbstractSfxController_Impl>::Create(std::make_unique<SwDropCapsDlg>(pParent, rSet));
896}
897
899 const SfxItemSet& rSet)
900{
901 return VclPtr<SwAbstractSfxController_Impl>::Create(std::make_unique<SwBackgroundDlg>(pParent, rSet));
902}
903
905{
906 return VclPtr<AbstractNumFormatDlg_Impl>::Create(std::make_shared<SwNumFormatDlg>(pParent, rSet));
907}
908
910 SwDocShell& rDocSh, SvStream* pStream)
911{
912 return VclPtr<AbstractSwAsciiFilterDlg_Impl>::Create(std::make_unique<SwAsciiFilterDlg>(pParent, rDocSh, pStream));
913}
914
916 SwWrtShell &rSh, OUString const*const pSelected)
917{
918 return VclPtr<AbstractGenericDialog_Impl>::Create(std::make_shared<SwInsertBookmarkDlg>(pParent, rSh, pSelected));
919}
920
922 SwWrtShell &rSh)
923{
924 return VclPtr<AbstractGenericDialog_Impl>::Create(std::make_shared<SwContentControlDlg>(pParent, rSh));
925}
926
930{
932 std::make_shared<SwContentControlListItemDlg>(pParent, rItem));
933}
934
935std::shared_ptr<AbstractSwBreakDlg> SwAbstractDialogFactory_Impl::CreateSwBreakDlg(weld::Window* pParent, SwWrtShell &rSh)
936{
937 return std::make_shared<AbstractSwBreakDlg_Impl>(std::make_unique<SwBreakDlg>(pParent, rSh));
938}
939
940std::shared_ptr<AbstractSwTranslateLangSelectDlg> SwAbstractDialogFactory_Impl::CreateSwTranslateLangSelectDlg(weld::Window* pParent, SwWrtShell &rSh)
941{
942#if !ENABLE_WASM_STRIP_EXTRA
943 return std::make_shared<AbstractSwTranslateLangSelectDlg_Impl>(std::make_unique<SwTranslateLangSelectDlg>(pParent, rSh));
944#else
945 (void) pParent;
946 (void) rSh;
947 return nullptr;
948#endif
949}
950
952{
953#if HAVE_FEATURE_DBCONNECTIVITY && !ENABLE_FUZZERS
954 return VclPtr<AbstractGenericDialog_Impl>::Create(std::make_shared<SwChangeDBDlg>(rVw));
955#else
956 (void) rVw;
957 return nullptr;
958#endif
959}
960
962 const SfxItemSet& rCoreSet, SwCharDlgMode nDialogMode, const OUString* pFormatStr)
963{
964 return VclPtr<AbstractTabController_Impl>::Create(std::make_shared<SwCharDlg>(pParent, pVw, rCoreSet, nDialogMode, pFormatStr));
965}
966
968{
969 return VclPtr<AbstractSwConvertTableDlg_Impl>::Create(std::make_unique<SwConvertTableDlg>(rView, bToTable));
970}
971
973{
974 return VclPtr<AbstractGenericDialog_Impl>::Create(std::make_shared<SwCaptionDialog>(pParent, rV));
975}
976
978 uno::Reference< sdbc::XDataSource> rxSource,
979 uno::Reference<sdbcx::XColumnsSupplier> xColSupp,
980 const SwDBData& rData)
981{
982#if HAVE_FEATURE_DBCONNECTIVITY && !ENABLE_FUZZERS
983 return VclPtr<AbstractSwInsertDBColAutoPilot_Impl>::Create(std::make_unique<SwInsertDBColAutoPilot>(rView, rxSource, xColSupp, rData));
984#else
985 (void) rView;
986 (void) rxSource;
987 (void) xColSupp;
988 (void) rData;
989 return nullptr;
990#endif
991}
992
994{
995 return VclPtr<AbstractTabController_Impl>::Create(std::make_shared<SwFootNoteOptionDlg>(pParent, rSh));
996}
997
999 SwWrtShell &rSh, SwField* pField, bool bPrevButton, bool bNextButton)
1000{
1001 return VclPtr<AbstractDropDownFieldDialog_Impl>::Create(std::make_unique<sw::DropDownFieldDialog>(pParent, rSh, pField, bPrevButton, bNextButton));
1002}
1003
1005{
1006 return VclPtr<AbstractDropDownFormFieldDialog_Impl>::Create(std::make_unique<sw::DropDownFormFieldDialog>(pParent, pDropDownField));
1007}
1008
1010{
1011 return VclPtr<AbstractDateFormFieldDialog_Impl>::Create(std::make_unique<sw::DateFormFieldDialog>(pParent, pDateField, rDoc));
1012}
1013
1015 SwWrtShell* pWrtSh, Printer* pPrt,
1016 bool bInsert)
1017{
1018 return VclPtr<AbstractTabController_Impl>::Create(std::make_shared<SwEnvDlg>(pParent, rSet, pWrtSh,pPrt, bInsert));
1019}
1020
1022 SwDBManager* pDBManager, bool bLabel)
1023{
1024 return VclPtr<AbstractSwLabDlg_Impl>::Create(std::make_unique<SwLabDlg>(pParent, rSet, pDBManager, bLabel));
1025}
1026
1028{
1030}
1031
1033 const SfxItemSet& rCoreSet,
1034 bool bDraw ,
1035 const OUString& sDefPage)
1036{
1037 return VclPtr<AbstractTabController_Impl>::Create(std::make_shared<SwParaDlg>(pParent, rVw, rCoreSet, DLG_STD, nullptr, bDraw, sDefPage));
1038}
1039
1041{
1042 return VclPtr<AbstractGenericDialog_Impl>::Create(std::make_shared<SwAuthMarkModalDlg>(pParent, rSh));
1043}
1044
1046{
1047 return VclPtr<AbstractGenericDialog_Impl>::Create(std::make_shared<SwColumnDlg>(pParent, rSh));
1048}
1049
1051{
1052 return VclPtr<AbstractSwTableHeightDlg_Impl>::Create(std::make_unique<SwTableHeightDlg>(pParent, rSh));
1053}
1054
1056{
1057 return VclPtr<AbstractSwSortDlg_Impl>::Create(std::make_unique<SwSortDlg>(pParent, rSh));
1058}
1059
1061{
1062 return VclPtr<AbstractSplitTableDialog_Impl>::Create(std::make_shared<SwSplitTableDlg>(pParent, rSh));
1063}
1064
1066{
1067 return VclPtr<AbstractSwSelGlossaryDlg_Impl>::Create(std::make_unique<SwSelGlossaryDlg>(pParent, rShortName));
1068}
1069
1071 SwWrtShell* pShell, bool bSetAutoFormat, const SwTableAutoFormat* pSelFormat)
1072{
1075 new SwAutoFormatDlg(pParent, pShell, bSetAutoFormat, pSelFormat)));
1076}
1077
1079{
1080 return VclPtr<SwAbstractSfxController_Impl>::Create(std::make_unique<SwBorderDlg>(pParent, rSet, nType));
1081}
1082
1084{
1085 return VclPtr<SwAbstractSfxController_Impl>::Create(std::make_unique<SwWrapDlg>(pParent, rSet, pSh, true/*bDrawMode*/));
1086}
1087
1089{
1090 return VclPtr<AbstractSwTableWidthDlg_Impl>::Create(std::make_unique<SwTableWidthDlg>(pParent, rFnc));
1091}
1092
1094 const SfxItemSet* pItemSet, SwWrtShell* pSh)
1095{
1096 return VclPtr<AbstractTabController_Impl>::Create(std::make_shared<SwTableTabDlg>(pParent, pItemSet, pSh));
1097}
1098
1100{
1101 return VclPtr<AbstractSwFieldDlg_Impl>::Create(std::make_shared<SwFieldDlg>(pB, pCW, pParent));
1102}
1103
1105{
1106 return VclPtr<SwAbstractSfxController_Impl>::Create(std::make_unique<SwFieldEditDlg>(rVw));
1107}
1108
1110 css::uno::Reference< css::container::XNamed > & xNamed,
1111 css::uno::Reference< css::container::XNameAccess > & xNameAccess)
1112{
1113 return VclPtr<AbstractSwRenameXNamedDlg_Impl>::Create(std::make_unique<SwRenameXNamedDlg>(pParent,xNamed, xNameAccess));
1114}
1115
1117{
1118 return VclPtr<AbstractSwModalRedlineAcceptDlg_Impl>::Create(std::make_unique<SwModalRedlineAcceptDlg>(pParent));
1119}
1120
1122{
1123 return VclPtr<AbstractSwPageNumberDlg_Impl>::Create(std::make_shared<SwPageNumberDlg>(pParent));
1124}
1125
1127{
1128 return VclPtr<AbstractSwMergeTableDlg_Impl>::Create(std::make_unique<SwMergeTableDlg>(pParent, rWithPrev));
1129}
1130
1132 SfxViewFrame& rFrame, weld::Window *pParent,
1133 const SfxItemSet& rCoreSet,
1134 bool bNewFrame,
1135 const OUString& sDefPage )
1136{
1137 return VclPtr<AbstractTabController_Impl>::Create(std::make_shared<SwFrameDlg>(rFrame, pParent, rCoreSet, bNewFrame, rDialogType, false/*bFormat*/, sDefPage, nullptr));
1138}
1139
1141 weld::Window *pParent,
1142 SfxStyleSheetBase& rBase,
1143 SfxStyleFamily nRegion,
1144 const OUString& sPage,
1145 SwWrtShell* pActShell,
1146 bool bNew )
1147{
1148 return VclPtr<AbstractApplyTabController_Impl>::Create(std::make_shared<SwTemplateDlgController>(pParent, rBase, nRegion,
1149 sPage, pActShell, bNew));
1150}
1151
1153 SwWrtShell *pWrtShell)
1154{
1155 return VclPtr<AbstractGlossaryDlg_Impl>::Create(std::make_unique<SwGlossaryDlg>(rViewFrame, pGlosHdl, pWrtShell));
1156}
1157
1159 SwWrtShell &rSh, SwField* pField, bool bPrevButton, bool bNextButton)
1160{
1161 return VclPtr<AbstractFieldInputDlg_Impl>::Create(std::make_unique<SwFieldInputDlg>(pParent, rSh, pField, bPrevButton, bNextButton));
1162}
1163
1165 weld::Window * pParent, SwWrtShell &rSh, bool bEd )
1166{
1167 return VclPtr<AbstractInsFootNoteDlg_Impl>::Create(std::make_unique<SwInsFootNoteDlg>(pParent, rSh, bEd));
1168}
1169
1171{
1172 return VclPtr<AbstractGenericDialog_Impl>::Create(std::make_shared<SwTitlePageDlg>(pParent));
1173}
1174
1176{
1177 return VclPtr<AbstractGenericDialog_Impl>::Create(std::make_shared<SwLineNumberingDlg>(rView));
1178}
1179
1180std::shared_ptr<AbstractInsTableDlg> SwAbstractDialogFactory_Impl::CreateInsTableDlg(SwView& rView)
1181{
1182 return std::make_shared<AbstractInsTableDlg_Impl>(std::make_shared<SwInsTableDlg>(rView));
1183}
1184
1186 weld::Window* pParent, SwWrtShell* pWrtSh)
1187{
1188 return VclPtr<AbstractJavaEditDialog_Impl>::Create(std::make_unique<SwJavaEditDialog>(pParent, pWrtSh));
1189}
1190
1192 weld::Window* pParent, SwWrtShell& rSh,
1193 const OUString& rSourceName,
1194 const OUString& rTableName,
1195 sal_Int32 nCommandType,
1196 const uno::Reference< sdbc::XConnection>& xConnection )
1197{
1198 return VclPtr<AbstractMailMergeDlg_Impl>::Create(std::make_unique<SwMailMergeDlg>(pParent, rSh, rSourceName, rTableName, nCommandType, xConnection, nullptr));
1199}
1200
1202{
1203 return VclPtr<AbstractMailMergeCreateFromDlg_Impl>::Create(std::make_unique<SwMailMergeCreateFromDlg>(pParent));
1204}
1205
1207{
1208 return VclPtr<AbstractMailMergeFieldConnectionsDlg_Impl>::Create(std::make_unique<SwMailMergeFieldConnectionsDlg>(pParent));
1209}
1210
1212{
1213 return VclPtr<AbstractMultiTOXMarkDlg_Impl>::Create(std::make_unique<SwMultiTOXMarkDlg>(pParent, rTOXMgr));
1214}
1215
1217 const SfxItemSet* pSwItemSet,
1218 SwWrtShell & rWrtSh)
1219{
1220 return VclPtr<AbstractTabController_Impl>::Create(std::make_shared<SwSvxNumBulletTabDialog>(pParent, pSwItemSet, rWrtSh));
1221}
1222
1224 const SfxItemSet* pSwItemSet,
1225 SwWrtShell & rWrtSh )
1226{
1227 return VclPtr<AbstractTabController_Impl>::Create(std::make_shared<SwOutlineTabDialog>(pParent, pSwItemSet, rWrtSh));
1228}
1229
1231 SwWrtShell &rShell, SwTOXBase* pCurTOX, bool bGlobal)
1232{
1233 return VclPtr<AbstractMultiTOXTabDialog_Impl>::Create(std::make_shared<SwMultiTOXTabDialog>(pParent, rSet, rShell, pCurTOX, USHRT_MAX, bGlobal));
1234}
1235
1237{
1238 return VclPtr<AbstractEditRegionDlg_Impl>::Create(std::make_shared<SwEditRegionDlg>(pParent, rWrtSh));
1239}
1240
1242 const SfxItemSet& rSet, SwWrtShell& rSh)
1243{
1244 return VclPtr<AbstractInsertSectionTabDialog_Impl>::Create(std::make_shared<SwInsertSectionTabDialog>(pParent, rSet, rSh));
1245}
1246
1248 SfxBindings* pBindings,
1249 SfxChildWindow* pChild,
1250 weld::Window *pParent,
1251 SfxChildWinInfo* pInfo )
1252{
1253 return VclPtr<AbstractIndexMarkFloatDlg_Impl>::Create(std::make_shared<SwIndexMarkFloatDlg>(pBindings, pChild, pParent, pInfo, true/*bNew*/));
1254}
1255
1257 SfxBindings* pBindings,
1258 SfxChildWindow* pChild,
1259 weld::Window *pParent,
1260 SfxChildWinInfo* pInfo)
1261{
1262 return VclPtr<AbstractAuthMarkFloatDlg_Impl>::Create(std::make_shared<SwAuthMarkFloatDlg>(pBindings, pChild, pParent, pInfo, true/*bNew*/));
1263}
1264
1266 SfxBindings* pBindings,
1267 SfxChildWindow* pChild,
1268 weld::Window *pParent,
1269 SfxChildWinInfo* pInfo)
1270{
1271 return VclPtr<AbstractSwWordCountFloatDlg_Impl>::Create(std::make_shared<SwWordCountFloatDlg>(pBindings, pChild, pParent, pInfo));
1272}
1273
1275{
1276 return VclPtr<AbstractGenericDialog_Impl>::Create(std::make_shared<SwIndexMarkModalDlg>(pParent, rSh, pCurTOXMark));
1277}
1278
1280 SwView& rView, std::shared_ptr<SwMailMergeConfigItem>& rConfigItem)
1281{
1282#if HAVE_FEATURE_DBCONNECTIVITY && !ENABLE_FUZZERS
1283 return VclPtr<AbstractMailMergeWizard_Impl>::Create(std::make_shared<SwMailMergeWizard>(rView, rConfigItem));
1284#else
1285 (void) rView;
1286 (void) rConfigItem;
1287 return nullptr;
1288#endif
1289}
1290
1292{
1294}
1295
1297{
1299}
1300
1301// Factories for TabPages
1303{
1304 CreateTabPage pRet = nullptr;
1305 switch ( nId )
1306 {
1307 case RID_SW_TP_OPTCOMPATIBILITY_PAGE :
1309 break;
1310 case RID_SW_TP_OPTLOAD_PAGE :
1311 pRet = SwLoadOptPage::Create;
1312 break;
1313 case RID_SW_TP_OPTCAPTION_PAGE:
1315 case RID_SW_TP_CONTENT_OPT:
1316 case RID_SW_TP_HTML_CONTENT_OPT:
1318 break;
1319 case RID_SW_TP_OPTSHDWCRSR:
1320 case RID_SW_TP_HTML_OPTSHDWCRSR:
1322 break;
1323 case RID_SW_TP_REDLINE_OPT :
1325 break;
1326 case RID_SW_TP_OPTTEST_PAGE :
1327#ifdef DBG_UTIL
1328 pRet = SwTestTabPage::Create;
1329#endif
1330 break;
1331 case TP_OPTPRINT_PAGE :
1332 case RID_SW_TP_HTML_OPTPRINT_PAGE:
1333 case RID_SW_TP_OPTPRINT_PAGE:
1335 break;
1336 case RID_SW_TP_STD_FONT:
1337 case RID_SW_TP_STD_FONT_CJK:
1338 case RID_SW_TP_STD_FONT_CTL:
1340 break;
1341 case RID_SW_TP_HTML_OPTTABLE_PAGE:
1342 case RID_SW_TP_OPTTABLE_PAGE:
1344 break;
1345 case RID_SW_TP_DOC_STAT :
1346 pRet = SwDocStatPage::Create;
1347 break;
1348 case RID_SW_TP_MAILCONFIG:
1350 break;
1351 case RID_SW_TP_COMPARISON_OPT :
1353 break;
1354 }
1355
1356 return pRet;
1357}
1358
1360{
1361#if HAVE_FEATURE_DBCONNECTIVITY && !ENABLE_FUZZERS
1362 SwMMResultSaveDialog aDialog(pParent);
1363 aDialog.run();
1364#else
1365 (void) pParent;
1366#endif
1367}
1368
1370{
1371#if HAVE_FEATURE_DBCONNECTIVITY && !ENABLE_FUZZERS
1372 SwMMResultPrintDialog aDialog(pParent);
1373 aDialog.run();
1374#else
1375 (void) pParent;
1376#endif
1377}
1378
1380{
1381#if HAVE_FEATURE_DBCONNECTIVITY && !ENABLE_FUZZERS
1382 SwMMResultEmailDialog aDialog(pParent);
1383 aDialog.run();
1384#else
1385 (void) pParent;
1386#endif
1387}
1388
1389/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
SwCharDlgMode
Definition: chrdlgmodes.hxx:14
Link< LinkParamNone *, void > m_aHandler
Definition: swdlgfact.hxx:312
virtual void SetApplyHdl(const Link< LinkParamNone *, void > &rLink) override
Definition: swdlgfact.cxx:365
virtual void ReInitDlg(SwWrtShell &rWrtShell) override
Definition: swdlgfact.cxx:815
virtual std::shared_ptr< SfxDialogController > GetController() override
Definition: swdlgfact.cxx:820
virtual short Execute() override
Definition: swdlgfact.cxx:320
std::shared_ptr< SwAuthMarkFloatDlg > m_xDlg
Definition: swdlgfact.hxx:680
std::unique_ptr< sw::DateFormFieldDialog > m_xDlg
Definition: swdlgfact.hxx:370
virtual short Execute() override
Definition: swdlgfact.cxx:210
std::unique_ptr< sw::DropDownFieldDialog > m_xDlg
Definition: swdlgfact.hxx:346
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:359
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:794
std::shared_ptr< SwEditRegionDlg > m_xDlg
Definition: swdlgfact.hxx:639
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:509
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:177
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:495
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:805
virtual std::shared_ptr< SfxDialogController > GetController() override
Definition: swdlgfact.cxx:810
std::shared_ptr< SwIndexMarkFloatDlg > m_xDlg
Definition: swdlgfact.hxx:666
virtual void SetHelpId(const OUString &sHelpId) override
Definition: swdlgfact.cxx:675
virtual bool IsEndNote() override
Definition: swdlgfact.cxx:665
virtual OUString GetStr() override
Definition: swdlgfact.cxx:670
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:524
virtual void SetText(const OUString &rStr) override
Definition: swdlgfact.cxx:680
std::shared_ptr< weld::DialogController > m_xDlg
Definition: swdlgfact.hxx:542
virtual void GetValues(OUString &rName, sal_uInt16 &rRow, sal_uInt16 &rCol, SwInsertTableOptions &rInsTableFlags, OUString &rTableAutoFormatName, std::unique_ptr< SwTableAutoFormat > &prTAFormat) override
Definition: swdlgfact.cxx:685
virtual short Execute() override
Definition: swdlgfact.cxx:305
std::shared_ptr< SwInsertSectionTabDialog > m_xDlg
Definition: swdlgfact.hxx:652
virtual void SetSectionData(SwSectionData const &rSect) override
Definition: swdlgfact.cxx:800
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:694
std::unique_ptr< SwJavaEditDialog > m_xDlg
Definition: swdlgfact.hxx:557
virtual bool IsUpdate() const override
Definition: swdlgfact.cxx:714
virtual bool IsUrl() const override
Definition: swdlgfact.cxx:704
virtual bool IsNew() const override
Definition: swdlgfact.cxx:709
virtual OUString GetScriptType() const override
Definition: swdlgfact.cxx:699
virtual short Execute() override
Definition: swdlgfact.cxx:280
std::unique_ptr< SwMailMergeCreateFromDlg > m_xDlg
Definition: swdlgfact.hxx:596
virtual bool IsThisDocument() const override
Definition: swdlgfact.cxx:769
virtual css::uno::Sequence< css::uno::Any > GetSelection() const override
Definition: swdlgfact.cxx:729
virtual OUString GetTargetURL() const override
Definition: swdlgfact.cxx:764
virtual bool IsSaveSingleDoc() const override
Definition: swdlgfact.cxx:739
virtual OUString GetColumnName() const override
Definition: swdlgfact.cxx:754
virtual short Execute() override
Definition: swdlgfact.cxx:275
virtual bool IsFileEncryptedFromDataBase() const override
Definition: swdlgfact.cxx:749
virtual const OUString & GetSaveFilter() const override
Definition: swdlgfact.cxx:724
std::unique_ptr< SwMailMergeDlg > m_xDlg
Definition: swdlgfact.hxx:574
virtual OUString GetPasswordColumnName() const override
Definition: swdlgfact.cxx:759
virtual bool IsGenerateFromDataBase() const override
Definition: swdlgfact.cxx:744
virtual DBManagerOptions GetMergeType() override
Definition: swdlgfact.cxx:719
virtual css::uno::Reference< css::sdbc::XResultSet > GetResultSet() const override
Definition: swdlgfact.cxx:734
std::unique_ptr< SwMailMergeFieldConnectionsDlg > m_xDlg
Definition: swdlgfact.hxx:609
virtual bool IsUseExistingConnections() const override
Definition: swdlgfact.cxx:774
virtual OUString GetReloadDocument() const override
Definition: swdlgfact.cxx:857
virtual bool StartExecuteAsync(VclAbstractDialog::AsyncContext &rCtx) override
Definition: swdlgfact.cxx:844
virtual void ShowPage(sal_uInt16 nLevel) override
Definition: swdlgfact.cxx:862
virtual sal_uInt16 GetRestartPage() const override
Definition: swdlgfact.cxx:867
std::shared_ptr< SwMailMergeWizard > m_xDlg
Definition: swdlgfact.hxx:694
virtual ~AbstractMailMergeWizard_Impl() override
Definition: swdlgfact.cxx:840
virtual short Execute() override
Definition: swdlgfact.cxx:852
std::unique_ptr< SwMultiTOXMarkDlg > m_xDlg
Definition: swdlgfact.hxx:200
virtual short Execute() override
Definition: swdlgfact.cxx:180
virtual SwTOXDescription & GetTOXDescription(CurTOXType eTOXTypes) override
Definition: swdlgfact.cxx:784
virtual CurTOXType GetCurrentTOXType() const override
Definition: swdlgfact.cxx:779
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:622
virtual const SfxItemSet * GetOutputItemSet() const override
Definition: swdlgfact.cxx:789
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:273
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:414
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:211
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:468
bool StartExecuteAsync(VclAbstractDialog::AsyncContext &) override
Definition: swdlgfact.cxx:240
std::unique_ptr< SwConvertTableDlg > m_xDlg
Definition: swdlgfact.hxx:318
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 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 void SetCurPageId(const OUString &rName) override
Definition: swdlgfact.cxx:533
virtual bool StartExecuteAsync(AsyncContext &rCtx) override
Definition: swdlgfact.cxx:558
std::shared_ptr< SwFieldDlg > m_xDlg
Definition: swdlgfact.hxx:426
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:331
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 SetCurPageId(const OUString &rName) override
Definition: swdlgfact.cxx:478
virtual void SetInputSet(const SfxItemSet *pInSet) override
Definition: swdlgfact.cxx:493
std::unique_ptr< SwLabDlg > m_xDlg
Definition: swdlgfact.hxx:381
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:262
virtual short Execute() override
Definition: swdlgfact.cxx:150
std::unique_ptr< SwModalRedlineAcceptDlg > m_xDlg
Definition: swdlgfact.hxx:483
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
SvxNumType GetPageNumberType() const override
Definition: swdlgfact.cxx:655
void SetPageNumberType(SvxNumType nSet) override
Definition: swdlgfact.cxx:660
bool GetMirrorOnEvenPages() const override
Definition: swdlgfact.cxx:645
bool GetIncludePageTotal() const override
Definition: swdlgfact.cxx:650
virtual short Execute() override
Definition: swdlgfact.cxx:235
std::unique_ptr< SwRenameXNamedDlg > m_xDlg
Definition: swdlgfact.hxx:449
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:400
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:189
virtual short Execute() override
Definition: swdlgfact.cxx:175
std::unique_ptr< SwTableHeightDlg > m_xDlg
Definition: swdlgfact.hxx:251
virtual short Execute() override
Definition: swdlgfact.cxx:145
std::unique_ptr< SwTableWidthDlg > m_xDlg
Definition: swdlgfact.hxx:240
virtual short Execute() override
Definition: swdlgfact.cxx:140
virtual std::optional< SwLanguageListItem > GetSelectedLanguage() override
Definition: swdlgfact.cxx:872
virtual std::shared_ptr< SfxDialogController > GetController() override
Definition: swdlgfact.cxx:825
virtual short Execute() override
Definition: swdlgfact.cxx:100
virtual void SetCounts(const SwDocStat &rCurrCnt, const SwDocStat &rDocStat) override
Definition: swdlgfact.cxx:835
std::shared_ptr< SwWordCountFloatDlg > m_xDlg
Definition: swdlgfact.hxx:92
virtual void UpdateCounts() override
Definition: swdlgfact.cxx:830
virtual WhichRangesContainer GetInputRanges(const SfxItemPool &pItem) override
Definition: swdlgfact.cxx:335
std::shared_ptr< SfxTabDialogController > m_xDlg
Definition: swdlgfact.hxx:287
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 void SetCurPageId(const OUString &rName) override
Definition: swdlgfact.cxx:325
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:1241
virtual GlossarySetActGroup SetGlossaryActGroupFunc() override
Definition: swdlgfact.cxx:1296
virtual VclPtr< VclAbstractDialog > CreateVclSwViewDialog(SwView &rView) override
Definition: swdlgfact.cxx:1175
virtual VclPtr< AbstractMailMergeFieldConnectionsDlg > CreateMailMergeFieldConnectionsDlg(weld::Window *pParent) override
Definition: swdlgfact.cxx:1206
virtual VclPtr< VclAbstractDialog > CreateMultiTOXMarkDlg(weld::Window *pParent, SwTOXMgr &rTOXMgr) override
Definition: swdlgfact.cxx:1211
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:1109
virtual VclPtr< SfxAbstractTabDialog > CreateSwEnvDlg(weld::Window *pParent, const SfxItemSet &rSet, SwWrtShell *pWrtSh, Printer *pPrt, bool bInsert) override
Definition: swdlgfact.cxx:1014
virtual VclPtr< AbstractMarkFloatDlg > CreateIndexMarkFloatDlg(SfxBindings *pBindings, SfxChildWindow *pChild, weld::Window *pParent, SfxChildWinInfo *pInfo) override
Definition: swdlgfact.cxx:1247
virtual VclPtr< SfxAbstractDialog > CreateSwWrapDlg(weld::Window *pParent, SfxItemSet &rSet, SwWrtShell *pSh) override
Definition: swdlgfact.cxx:1083
virtual VclPtr< AbstractSplitTableDialog > CreateSplitTableDialog(weld::Window *pParent, SwWrtShell &rSh) override
Definition: swdlgfact.cxx:1060
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:1191
virtual VclPtr< SfxAbstractTabDialog > CreateSwCharDlg(weld::Window *pParent, SwView &pVw, const SfxItemSet &rCoreSet, SwCharDlgMode nDialogMode, const OUString *pFormatStr=nullptr) override
Definition: swdlgfact.cxx:961
virtual VclPtr< SfxAbstractDialog > CreateSwBackgroundDialog(weld::Window *pParent, const SfxItemSet &rSet) override
Definition: swdlgfact.cxx:898
virtual VclPtr< SfxAbstractDialog > CreateSwFieldEditDlg(SwView &rVw) override
Definition: swdlgfact.cxx:1104
virtual SwLabDlgMethod GetSwLabDlgStaticMethod() override
Definition: swdlgfact.cxx:1027
virtual VclPtr< AbstractSwAutoFormatDlg > CreateSwAutoFormatDlg(weld::Window *pParent, SwWrtShell *pShell, bool bSetAutoFormat=true, const SwTableAutoFormat *pSelFormat=nullptr) override
Definition: swdlgfact.cxx:1070
virtual VclPtr< AbstractSwAsciiFilterDlg > CreateSwAsciiFilterDlg(weld::Window *pParent, SwDocShell &rDocSh, SvStream *pStream) override
Definition: swdlgfact.cxx:909
virtual GlossaryGetCurrGroup GetGlossaryCurrGroupFunc() override
Definition: swdlgfact.cxx:1291
virtual VclPtr< AbstractGlossaryDlg > CreateGlossaryDlg(SfxViewFrame &rViewFrame, SwGlossaryHdl *pGlosHdl, SwWrtShell *pWrtShell) override
Definition: swdlgfact.cxx:1152
virtual VclPtr< SfxAbstractDialog > CreateSwBorderDlg(weld::Window *pParent, SfxItemSet &rSet, SwBorderModes nType) override
Definition: swdlgfact.cxx:1078
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:977
virtual VclPtr< VclAbstractDialog > CreateSwContentControlDlg(weld::Window *pParent, SwWrtShell &rSh) override
Definition: swdlgfact.cxx:921
virtual VclPtr< AbstractFieldInputDlg > CreateFieldInputDlg(weld::Widget *pParent, SwWrtShell &rSh, SwField *pField, bool bPrevButton, bool bNextButton) override
Definition: swdlgfact.cxx:1158
virtual VclPtr< AbstractSwFieldDlg > CreateSwFieldDlg(SfxBindings *pB, SwChildWinWrapper *pCW, weld::Window *pParent) override
Definition: swdlgfact.cxx:1099
virtual VclPtr< SfxAbstractDialog > CreateSwDropCapsDialog(weld::Window *pParent, const SfxItemSet &rSet) override
Definition: swdlgfact.cxx:892
virtual VclPtr< AbstractMailMergeWizard > CreateMailMergeWizard(SwView &rView, std::shared_ptr< SwMailMergeConfigItem > &rConfigItem) override
Definition: swdlgfact.cxx:1279
virtual VclPtr< AbstractEditRegionDlg > CreateEditRegionDlg(weld::Window *pParent, SwWrtShell &rWrtSh) override
Definition: swdlgfact.cxx:1236
virtual VclPtr< VclAbstractDialog > CreateSwColumnDialog(weld::Window *pParent, SwWrtShell &rSh) override
Definition: swdlgfact.cxx:1045
virtual VclPtr< AbstractDropDownFieldDialog > CreateDropDownFieldDialog(weld::Widget *pParent, SwWrtShell &rSh, SwField *pField, bool bPrevButton, bool bNextButton) override
Definition: swdlgfact.cxx:998
virtual VclPtr< VclAbstractDialog > CreateIndexMarkModalDlg(weld::Window *pParent, SwWrtShell &rSh, SwTOXMark *pCurTOXMark) override
Definition: swdlgfact.cxx:1274
virtual VclPtr< VclAbstractDialog > CreateSwAutoMarkDialog(weld::Window *pParent, SwWrtShell &rSh) override
Definition: swdlgfact.cxx:1040
virtual VclPtr< VclAbstractDialog > CreateTableMergeDialog(weld::Window *pParent, bool &rWithPrev) override
Definition: swdlgfact.cxx:1126
VclPtr< AbstractSwContentControlListItemDlg > CreateSwContentControlListItemDlg(weld::Window *pParent, SwContentControlListItem &rItem) override
Definition: swdlgfact.cxx:928
virtual std::shared_ptr< AbstractInsTableDlg > CreateInsTableDlg(SwView &rView) override
Definition: swdlgfact.cxx:1180
virtual VclPtr< SfxAbstractTabDialog > CreateSwTableTabDlg(weld::Window *pParent, const SfxItemSet *pItemSet, SwWrtShell *pSh) override
Definition: swdlgfact.cxx:1093
virtual VclPtr< SfxAbstractDialog > CreateNumFormatDialog(weld::Widget *pParent, const SfxItemSet &rAttr) override
Definition: swdlgfact.cxx:904
virtual VclPtr< VclAbstractDialog > CreateDropDownFormFieldDialog(weld::Widget *pParent, sw::mark::IFieldmark *pDropDownField) override
Definition: swdlgfact.cxx:1004
virtual void ExecuteMMResultPrintDialog(weld::Window *pParent) override
Definition: swdlgfact.cxx:1369
virtual VclPtr< SfxAbstractTabDialog > CreateFrameTabDialog(const OUString &rDialogType, SfxViewFrame &rFrame, weld::Window *pParent, const SfxItemSet &rCoreSet, bool bNewFrame=true, const OUString &sDefPage={}) override
Definition: swdlgfact.cxx:1131
virtual VclPtr< AbstractInsFootNoteDlg > CreateInsFootNoteDlg(weld::Window *pParent, SwWrtShell &rSh, bool bEd=false) override
Definition: swdlgfact.cxx:1164
virtual CreateTabPage GetTabPageCreatorFunc(sal_uInt16 nId) override
Definition: swdlgfact.cxx:1302
virtual VclPtr< SfxAbstractTabDialog > CreateSwParaDlg(weld::Window *pParent, SwView &rVw, const SfxItemSet &rCoreSet, bool bDraw, const OUString &sDefPage={}) override
Definition: swdlgfact.cxx:1032
virtual VclPtr< VclAbstractDialog > CreateTitlePageDlg(weld::Window *pParent) override
Definition: swdlgfact.cxx:1170
virtual VclPtr< AbstractSwPageNumberDlg > CreateSwPageNumberDlg(weld::Window *pParent) override
Definition: swdlgfact.cxx:1121
virtual VclPtr< SfxAbstractTabDialog > CreateOutlineTabDialog(weld::Window *pParent, const SfxItemSet *pSwItemSet, SwWrtShell &) override
Definition: swdlgfact.cxx:1223
virtual void ExecuteMMResultEmailDialog(weld::Window *pParent) override
Definition: swdlgfact.cxx:1379
virtual std::shared_ptr< AbstractSwBreakDlg > CreateSwBreakDlg(weld::Window *pParent, SwWrtShell &rSh) override
Definition: swdlgfact.cxx:935
virtual std::shared_ptr< AbstractSwTranslateLangSelectDlg > CreateSwTranslateLangSelectDlg(weld::Window *pParent, SwWrtShell &rSh) override
Definition: swdlgfact.cxx:940
virtual VclPtr< VclAbstractDialog > CreateSwCaptionDialog(weld::Window *pParent, SwView &rV) override
Definition: swdlgfact.cxx:972
virtual VclPtr< AbstractSwInsertAbstractDlg > CreateSwInsertAbstractDlg(weld::Window *pParent) override
Definition: swdlgfact.cxx:881
virtual VclPtr< SfxAbstractTabDialog > CreateSwFootNoteOptionDlg(weld::Window *pParent, SwWrtShell &rSh) override
Definition: swdlgfact.cxx:993
virtual VclPtr< VclAbstractDialog > CreateDateFormFieldDialog(weld::Widget *pParent, sw::mark::IDateFieldmark *pDateField, SwDoc &rDoc) override
Definition: swdlgfact.cxx:1009
virtual VclPtr< VclAbstractDialog > CreateSwChangeDBDlg(SwView &rVw) override
Definition: swdlgfact.cxx:951
virtual VclPtr< SfxAbstractApplyTabDialog > CreateTemplateDialog(weld::Window *pParent, SfxStyleSheetBase &rBase, SfxStyleFamily nRegion, const OUString &sPage, SwWrtShell *pActShell, bool bNew) override
Definition: swdlgfact.cxx:1140
virtual VclPtr< VclAbstractDialog > CreateSwSortingDialog(weld::Window *pParent, SwWrtShell &rSh) override
Definition: swdlgfact.cxx:1055
virtual VclPtr< AbstractMultiTOXTabDialog > CreateMultiTOXTabDialog(weld::Widget *pParent, const SfxItemSet &rSet, SwWrtShell &rShell, SwTOXBase *pCurTOX, bool bGlobal) override
Definition: swdlgfact.cxx:1230
virtual VclPtr< VclAbstractDialog > CreateSwTableWidthDlg(weld::Window *pParent, SwTableFUNC &rFnc) override
Definition: swdlgfact.cxx:1088
virtual VclPtr< AbstractSwLabDlg > CreateSwLabDlg(weld::Window *pParent, const SfxItemSet &rSet, SwDBManager *pDBManager, bool bLabel) override
Definition: swdlgfact.cxx:1021
virtual VclPtr< SfxAbstractTabDialog > CreateSvxNumBulletTabDialog(weld::Window *pParent, const SfxItemSet *pSwItemSet, SwWrtShell &) override
Definition: swdlgfact.cxx:1216
virtual VclPtr< AbstractSwSelGlossaryDlg > CreateSwSelGlossaryDlg(weld::Window *pParent, const OUString &rShortName) override
Definition: swdlgfact.cxx:1065
virtual VclPtr< AbstractMarkFloatDlg > CreateAuthMarkFloatDlg(SfxBindings *pBindings, SfxChildWindow *pChild, weld::Window *pParent, SfxChildWinInfo *pInfo) override
Definition: swdlgfact.cxx:1256
virtual VclPtr< SfxAbstractDialog > CreateSwAddressAbstractDlg(weld::Window *pParent, const SfxItemSet &rSet) override
Definition: swdlgfact.cxx:886
virtual void ExecuteMMResultSaveDialog(weld::Window *pParent) override
Definition: swdlgfact.cxx:1359
virtual VclPtr< AbstractSwConvertTableDlg > CreateSwConvertTableDlg(SwView &rView, bool bToTable) override
Definition: swdlgfact.cxx:967
virtual VclPtr< VclAbstractDialog > CreateSwTableHeightDialog(weld::Window *pParent, SwWrtShell &rSh) override
Definition: swdlgfact.cxx:1050
virtual VclPtr< VclAbstractDialog > CreateSwInsertBookmarkDlg(weld::Window *pParent, SwWrtShell &rSh, OUString const *pSelected) override
Definition: swdlgfact.cxx:915
virtual VclPtr< AbstractMailMergeCreateFromDlg > CreateMailMergeCreateFromDlg(weld::Window *pParent) override
Definition: swdlgfact.cxx:1201
virtual VclPtr< AbstractJavaEditDialog > CreateJavaEditDialog(weld::Window *pParent, SwWrtShell *pWrtSh) override
Definition: swdlgfact.cxx:1185
virtual VclPtr< AbstractSwWordCountFloatDlg > CreateSwWordCountDialog(SfxBindings *pBindings, SfxChildWindow *pChild, weld::Window *pParent, SfxChildWinInfo *pInfo) override
Definition: swdlgfact.cxx:1265
virtual VclPtr< AbstractSwModalRedlineAcceptDlg > CreateSwModalRedlineAcceptDlg(weld::Window *pParent) override
Definition: swdlgfact.cxx:1116
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:354
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:197
Base class of all fields.
Definition: fldbas.hxx:296
static void SetActGroup(const OUString &rNewGroup)
Definition: glossary.cxx:168
static OUString GetCurrGroup()
Definition: glossary.cxx:161
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
SvxNumType
void(* GlossarySetActGroup)(const OUString &rNewGroup)
Definition: swabstdlg.hxx:89
void(* SwLabDlgMethod)(css::uno::Reference< css::frame::XModel > const &xModel, const SwLabItem &rItem)
Definition: swabstdlg.hxx:86
OUString(* GlossaryGetCurrGroup)()
Definition: swabstdlg.hxx:88
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