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