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