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