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