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