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