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