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