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