LibreOffice Module sc (master)  1
scdlgfact.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 #undef SC_DLLIMPLEMENTATION
21 
22 #include "scdlgfact.hxx"
23 
24 #include <scuiasciiopt.hxx>
25 #include <scuiautofmt.hxx>
26 #include <corodlg.hxx>
27 #include <dapidata.hxx>
28 #include <dapitype.hxx>
29 #include <delcldlg.hxx>
30 #include <delcodlg.hxx>
31 #include <filldlg.hxx>
32 #include <groupdlg.hxx>
33 #include <inscldlg.hxx>
34 #include <inscodlg.hxx>
35 #include <instbdlg.hxx>
36 #include <lbseldlg.hxx>
37 #include <linkarea.hxx>
38 #include <mtrindlg.hxx>
39 #include <mvtabdlg.hxx>
40 #include <namecrea.hxx>
41 #include <namepast.hxx>
42 #include <pfiltdlg.hxx>
43 #include <pvfundlg.hxx>
44 #include <dpgroupdlg.hxx>
45 #include <scendlg.hxx>
46 #include <shtabdlg.hxx>
47 #include <strindlg.hxx>
48 #include <tabbgcolordlg.hxx>
49 #include <scuiimoptdlg.hxx>
50 #include <attrdlg.hxx>
51 #include <hfedtdlg.hxx>
52 #include <styledlg.hxx>
53 #include <subtdlg.hxx>
54 #include <textdlgs.hxx>
55 #include <sortdlg.hxx>
56 #include <textimportoptions.hxx>
57 #include <opredlin.hxx>
58 #include <tpcalc.hxx>
59 #include <tpprint.hxx>
60 #include <tpstat.hxx>
61 #include <tpusrlst.hxx>
62 #include <tpview.hxx>
63 #include <tpformula.hxx>
64 #include <datafdlg.hxx>
65 #include <tpcompatibility.hxx>
66 #include <tpdefaults.hxx>
67 #include <condformatmgr.hxx>
68 #include <scres.hrc>
69 #include <svx/dialogs.hrc>
70 #include <sfx2/sfxdlg.hxx>
71 #include <conditio.hxx>
72 
74 {
75  return m_xDlg->run();
76 }
77 
79 {
81 }
82 
84 {
85  return m_xDlg->run();
86 }
87 
89 {
90  return m_xDlg->run();
91 }
92 
94 {
95  return m_xDlg->run();
96 }
97 
99 {
101 }
102 
104 {
105  return m_xDlg->run();
106 }
107 
109 {
110  return m_xDlg->run();
111 }
112 
114 {
115  return m_xDlg->run();
116 }
117 
119 {
120  return m_xDlg->run();
121 }
122 
123 //for dataform
125 {
126  return m_xDlg->run();
127 }
128 
130 {
131  VclPtr<VirtualDevice> xDialogSurface(m_xDlg->getDialog()->screenshot());
132  return xDialogSurface->GetBitmapEx(Point(), xDialogSurface->GetOutputSizePixel());
133 }
134 
136 {
137  return m_xDlg->get_help_id();
138 }
139 
141 {
142  return m_xDlg->run();
143 }
144 
146 {
147  return m_xDlg->run();
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  VclPtr<VirtualDevice> xDialogSurface(m_xDlg->getDialog()->screenshot());
188  return xDialogSurface->GetBitmapEx(Point(), xDialogSurface->GetOutputSizePixel());
189 }
190 
192 {
193  return m_xDlg->get_help_id();
194 }
195 
197 {
198  return m_xDlg->run();
199 }
200 
202 {
203  return m_xDlg->run();
204 }
205 
207 {
208  return m_xDlg->run();
209 }
210 
212 {
213  return m_xDlg->run();
214 }
215 
217 {
218  return m_xDlg->run();
219 }
220 
222 {
223  return m_xDlg->run();
224 }
225 
227 {
228  return m_xDlg->run();
229 }
230 
232 {
233  return m_xDlg->run();
234 }
235 
237 {
238  return m_xDlg->run();
239 }
240 
242 {
243  return m_xDlg->run();
244 }
245 
247 {
249 }
250 
252 {
253  return m_xDlg->run();
254 }
255 
257 {
258  return m_xDlg->run();
259 }
260 
262 {
263  return m_xDlg->run();
264 }
265 
267 {
268  return m_xDlg->run();
269 }
270 
272 {
273 }
274 
276 {
277  return m_xDlg->run();
278 }
279 
281 {
282  m_xDlg->GetOptions( rOpt );
283 }
284 
286 {
287  m_xDlg->SaveParameters();
288 }
289 
291 {
292  VclPtr<VirtualDevice> xDialogSurface(m_xDlg->getDialog()->screenshot());
293  return xDialogSurface->GetBitmapEx(Point(), xDialogSurface->GetOutputSizePixel());
294 }
295 
297 {
298  return m_xDlg->get_help_id();
299 }
300 
302 {
303  return m_xDlg->GetIndex();
304 }
305 
307 {
308  return m_xDlg->GetCurrFormatName();
309 }
310 
312 {
313  return m_xDlg->IsCol();
314 }
315 
317 {
318  return m_xDlg->IsRow();
319 }
320 
322 {
323  VclPtr<VirtualDevice> xDialogSurface(m_xDlg->getDialog()->screenshot());
324  return xDialogSurface->GetBitmapEx(Point(), xDialogSurface->GetOutputSizePixel());
325 }
326 
328 {
329  return m_xDlg->get_help_id();
330 }
331 
333 {
334  m_xDlg->GetValues(rDesc);
335 }
336 
338 {
339  VclPtr<VirtualDevice> xDialogSurface(m_xDlg->getDialog()->screenshot());
340  return xDialogSurface->GetBitmapEx(Point(), xDialogSurface->GetOutputSizePixel());
341 }
342 
344 {
345  return m_xDlg->get_help_id();
346 }
347 
349 {
350  return m_xDlg->IsDatabase();
351 }
352 
354 {
355  return m_xDlg->IsExternal();
356 }
357 
359 {
360  return m_xDlg->IsNamedRange();
361 }
362 
364 {
365  return m_xDlg->GetSelectedNamedRange();
366 }
367 
369 {
370  m_xDlg->AppendNamedRange(rName);
371 }
372 
374 {
375  VclPtr<VirtualDevice> xDialogSurface(m_xDlg->getDialog()->screenshot());
376  return xDialogSurface->GetBitmapEx(Point(), xDialogSurface->GetOutputSizePixel());
377 }
378 
380 {
381  return m_xDlg->get_help_id();
382 }
383 
385 {
386  return m_xDlg->GetServiceName();
387 }
388 
390 {
391  return m_xDlg->GetParSource();
392 }
393 
395 {
396  return m_xDlg->GetParName();
397 }
398 
400 {
401  return m_xDlg->GetParUser();
402 }
403 
405 {
406  return m_xDlg->GetParPass();
407 }
408 
410 {
411  return m_xDlg->GetDelCellCmd();
412 }
413 
415 {
416  VclPtr<VirtualDevice> xDialogSurface(m_xDlg->getDialog()->screenshot());
417  return xDialogSurface->GetBitmapEx(Point(), xDialogSurface->GetOutputSizePixel());
418 }
419 
421 {
422  return m_xDlg->get_help_id();
423 }
424 
426 {
427  m_xDlg->DisableObjects();
428 }
429 
431 {
432  return m_xDlg->GetDelContentsCmdBits();
433 }
434 
436 {
437  VclPtr<VirtualDevice> xDialogSurface(m_xDlg->getDialog()->screenshot());
438  return xDialogSurface->GetBitmapEx(Point(), xDialogSurface->GetOutputSizePixel());
439 }
440 
442 {
443  return m_xDlg->get_help_id();
444 }
445 
447 {
448  return m_xDlg->GetFillDir();
449 }
450 
452 {
453  return m_xDlg->GetFillCmd();
454 }
455 
457 {
458  return m_xDlg->GetFillDateCmd();
459 }
460 
462 {
463  return m_xDlg->GetStart();
464 }
465 
467 {
468  return m_xDlg->GetStep();
469 }
470 
472 {
473  return m_xDlg->GetMax();
474 }
475 
477 {
478  return m_xDlg->GetStartStr();
479 }
480 
482 {
483  m_xDlg->SetEdStartValEnabled(bFlag);
484 }
485 
487 {
489 }
490 
492 {
493  return m_xDlg->GetColsChecked();
494 }
495 
497 {
498  return m_xDlg->GetInsCellCmd();
499 }
500 
502 {
503  return m_xDlg->GetInsContentsCmdBits();
504 }
505 
507 {
508  return m_xDlg->GetFormulaCmdBits();
509 }
510 
512 {
513  return m_xDlg->IsSkipEmptyCells();
514 }
515 
517 {
518  return m_xDlg->IsLink();
519 }
520 
522 {
523  m_xDlg->SetFillMode( bSet );
524 }
525 
527 {
528  m_xDlg->SetOtherDoc( bSet );
529 }
530 
532 {
533  return m_xDlg->IsTranspose();
534 }
535 
537 {
538  m_xDlg->SetChangeTrack( bSet );
539 }
540 
542 {
543  m_xDlg->SetCellShiftDisabled( nDisable );
544 }
545 
547 {
548  return m_xDlg->GetMoveMode();
549 }
550 
552 {
553  VclPtr<VirtualDevice> xDialogSurface(m_xDlg->getDialog()->screenshot());
554  return xDialogSurface->GetBitmapEx(Point(), xDialogSurface->GetOutputSizePixel());
555 }
556 
558 {
559  return m_xDlg->get_help_id();
560 }
561 
563 {
564  return m_xDlg->GetTablesFromFile();
565 }
566 
568 {
569  return m_xDlg->GetTablesAsLink();
570 }
571 
572 const OUString* AbstractScInsertTableDlg_Impl::GetFirstTable( sal_uInt16* pN )
573 {
574  return m_xDlg->GetFirstTable( pN );
575 }
576 
578 {
579  return m_xDlg->GetDocShellTables();
580 }
581 
583 {
584  return m_xDlg->IsTableBefore();
585 }
586 
588 {
589  return m_xDlg->GetTableCount();
590 }
591 
592 const OUString* AbstractScInsertTableDlg_Impl::GetNextTable( sal_uInt16* pN )
593 {
594  return m_xDlg->GetNextTable( pN );
595 }
596 
598 {
599  VclPtr<VirtualDevice> xDialogSurface(m_xDlg->getDialog()->screenshot());
600  return xDialogSurface->GetBitmapEx(Point(), xDialogSurface->GetOutputSizePixel());
601 }
602 
604 {
605  return m_xDlg->get_help_id();
606 }
607 
609 {
610  return m_xDlg->GetSelectedEntry();
611 }
612 
613 void AbstractScLinkedAreaDlg_Impl::InitFromOldLink( const OUString& rFile, const OUString& rFilter,
614  const OUString& rOptions, const OUString& rSource,
615  sal_uLong nRefresh )
616 {
617  m_xDlg->InitFromOldLink( rFile, rFilter, rOptions, rSource, nRefresh);
618 }
619 
621 {
622  return m_xDlg->GetURL();
623 }
624 
626 {
627  return m_xDlg->GetFilter();
628 }
629 
631 {
632  return m_xDlg->GetOptions();
633 }
634 
636 {
637  return m_xDlg->GetSource();
638 }
639 
641 {
642  return m_xDlg->GetRefresh();
643 }
644 
645 std::unique_ptr<ScConditionalFormatList> AbstractScCondFormatManagerDlg_Impl::GetConditionalFormatList()
646 {
647  return m_xDlg->GetConditionalFormatList();
648 }
649 
651 {
652  return m_xDlg->CondFormatsChanged();
653 }
654 
656 {
657  return m_xDlg->SetModified();
658 }
659 
661 {
662  return m_xDlg->GetCondFormatSelected();
663 }
664 
666 {
667  return m_xDlg->GetInputValue();
668 }
669 
671 {
672  return m_xDlg->GetSelectedDocument();
673 }
674 
676 {
677  return m_xDlg->GetSelectedTable();
678 }
679 
681 {
682  return m_xDlg->GetCopyTable();
683 }
684 
686 {
687  return m_xDlg->GetRenameTable();
688 }
689 
690 void AbstractScMoveTableDlg_Impl::GetTabNameString( OUString& rString ) const
691 {
692  m_xDlg->GetTabNameString( rString );
693 }
694 
696 {
697  return m_xDlg->SetForceCopyTable();
698 }
699 
701 {
702  return m_xDlg->EnableRenameTable( bFlag);
703 }
704 
706 {
707  return m_xDlg->GetFlags();
708 }
709 
711 {
712  VclPtr<VirtualDevice> xDialogSurface(m_xDlg->getDialog()->screenshot());
713  return xDialogSurface->GetBitmapEx(Point(), xDialogSurface->GetOutputSizePixel());
714 }
715 
717 {
718  return m_xDlg->get_help_id();
719 }
720 
722 {
723  return m_xDlg->GetSelectedNames();
724 }
725 
727 {
728  return m_xDlg->GetOutputItem();
729 }
730 
732 {
733  return m_xDlg->GetFuncMask();
734 }
735 
736 css::sheet::DataPilotFieldReference AbstractScDPFunctionDlg_Impl::GetFieldRef() const
737 {
738  return m_xDlg->GetFieldRef();
739 }
740 
742 {
743  return m_xDlg->GetFuncMask();
744 }
745 
747 {
748  m_xDlg->FillLabelData( rLabelData );
749 }
750 
752 {
753  return m_xDlg->GetGroupInfo();
754 }
755 
757 {
758  return m_xDlg->GetGroupInfo();
759 }
760 
762 {
763  return m_xDlg->GetDatePart();
764 }
765 
767 {
768  return m_xDlg->GetDimensionName();
769 }
770 
772  const OUString& rName, const OUString& rComment, const Color& rColor, ScScenarioFlags nFlags )
773 {
774  m_xDlg->SetScenarioData(rName, rComment, rColor, nFlags);
775 }
776 
778  OUString& rName, OUString& rComment, Color& rColor, ScScenarioFlags& rFlags ) const
779 {
780  m_xDlg->GetScenarioData(rName, rComment, rColor, rFlags);
781 }
782 
783 void AbstractScShowTabDlg_Impl::Insert( const OUString& rString, bool bSelected )
784 {
785  m_xDlg->Insert(rString, bSelected);
786 }
787 
789  const OUString& rTitle, const OUString& rFixedText,
790  const OString& sDlgHelpId, const OString& sLbHelpId )
791 {
792  m_xDlg->SetDescription( rTitle, rFixedText, sDlgHelpId, sLbHelpId );
793 }
794 
795 std::vector<sal_Int32> AbstractScShowTabDlg_Impl::GetSelectedRows() const
796 {
797  return m_xDlg->GetSelectedRows();
798 }
799 
800 OUString AbstractScShowTabDlg_Impl::GetEntry(sal_Int32 nPos) const
801 {
802  return m_xDlg->GetEntry(nPos);
803 }
804 
806 {
807  return m_xDlg->run();
808 }
809 
811 {
812  return m_xDlg->GetInputString();
813 }
814 
816 {
817  VclPtr<VirtualDevice> xDialogSurface(m_xDlg->getDialog()->screenshot());
818  return xDialogSurface->GetBitmapEx(Point(), xDialogSurface->GetOutputSizePixel());
819 }
820 
822 {
823  return m_xDlg->get_help_id();
824 }
825 
827 {
828  m_xDlg->GetSelectedColor( rColor );
829 }
830 
832 {
833  VclPtr<VirtualDevice> xDialogSurface(m_xDlg->getDialog()->screenshot());
834  return xDialogSurface->GetBitmapEx(Point(), xDialogSurface->GetOutputSizePixel());
835 }
836 
838 {
839  return m_xDlg->get_help_id();
840 }
841 
843 {
844  m_xDlg->GetImportOptions(rOptions);
845 }
846 
848 {
849  m_xDlg->SaveImportOptions();
850 }
851 
853 {
854  return m_xDlg->getLanguageType();
855 }
856 
858 {
859  return m_xDlg->isDateConversionSet();
860 }
861 
863 {
864  VclPtr<VirtualDevice> xDialogSurface(m_xDlg->getDialog()->screenshot());
865  return xDialogSurface->GetBitmapEx(Point(), xDialogSurface->GetOutputSizePixel());
866 }
867 
869 {
870  return m_xDlg->get_help_id();
871 }
872 
874 {
875  return m_xDlg->run();
876 }
877 
879 {
880  return SfxTabDialogController::runAsync(m_xDlg, rCtx.maEndDialogFn);
881 }
882 
883 void ScAbstractTabController_Impl::SetCurPageId( const OString &rName )
884 {
885  m_xDlg->SetCurPageId( rName );
886 }
887 
889 {
890  return m_xDlg->GetOutputItemSet();
891 }
892 
894 {
895  return m_xDlg->GetInputRanges( pItem );
896 }
897 
899 {
900  m_xDlg->SetInputSet( pInSet );
901 }
902 
903 //From class Window.
904 void ScAbstractTabController_Impl::SetText( const OUString& rStr )
905 {
906  m_xDlg->set_title(rStr);
907 }
908 
910 {
911  return m_xDlg->getAllPageUIXMLDescriptions();
912 }
913 
915 {
916  return m_xDlg->selectPageByUIXMLDescription(rUIXMLDescription);
917 }
918 
920 {
921  return m_xDlg->createScreenshot();
922 }
923 
925 {
926  return m_xDlg->GetScreenshotId();
927 }
928 
930 {
932 }
933 
934 void ScAsyncTabController_Impl::SetCurPageId( const OString &rName )
935 {
936  m_xDlg->SetCurPageId( rName );
937 }
938 
940 {
941  return m_xDlg->GetOutputItemSet();
942 }
943 
944 // =========================Factories for createdialog ===================
946  const OUString& aDatName,
947  SvStream* pInStream, ScImportAsciiCall eCall)
948 {
949  return VclPtr<AbstractScImportAsciiDlg_Impl>::Create(std::make_shared<ScImportAsciiDlg>(pParent, aDatName,pInStream, eCall));
950 }
951 
953 {
954  return VclPtr<AbstractScTextImportOptionsDlg_Impl>::Create(std::make_unique<ScTextImportOptionsDlg>(pParent));
955 }
956 
958  ScAutoFormat* pAutoFormat,
959  const ScAutoFormatData* pSelFormatData,
960  ScViewData *pViewData)
961 {
962  return VclPtr<AbstractScAutoFormatDlg_Impl>::Create(std::make_unique<ScAutoFormatDlg>(pParent, pAutoFormat, pSelFormatData, pViewData));
963 }
964 
966  bool bCol, bool bRow)
967 {
968  return VclPtr<AbstractScColRowLabelDlg_Impl>::Create(std::make_unique<ScColRowLabelDlg>(pParent, bCol, bRow));
969 }
970 
971 VclPtr<AbstractScSortWarningDlg> ScAbstractDialogFactory_Impl::CreateScSortWarningDlg(weld::Window* pParent, const OUString& rExtendText, const OUString& rCurrentText)
972 {
973  return VclPtr<AbstractScSortWarningDlg_Impl>::Create(std::make_unique<ScSortWarningDlg>(pParent, rExtendText, rCurrentText));
974 }
975 
977 {
978  return VclPtr<AbstractScCondFormatManagerDlg_Impl>::Create(std::make_shared<ScCondFormatManagerDlg>(pParent, rDoc, pFormatList));
979 }
980 
982 {
983  return VclPtr<AbstractScDataPilotDatabaseDlg_Impl>::Create(std::make_unique<ScDataPilotDatabaseDlg>(pParent));
984 }
985 
987  weld::Window* pParent, bool bEnableExternal)
988 {
989  return VclPtr<AbstractScDataPilotSourceTypeDlg_Impl>::Create(std::make_unique<ScDataPilotSourceTypeDlg>(pParent, bEnableExternal));
990 }
991 
993  const std::vector<OUString>& rServices)
994 {
995  return VclPtr<AbstractScDataPilotServiceDlg_Impl>::Create(std::make_unique<ScDataPilotServiceDlg>(pParent, rServices));
996 }
997 
999  bool bDisallowCellMove)
1000 {
1001  return VclPtr<AbstractScDeleteCellDlg_Impl>::Create(std::make_unique<ScDeleteCellDlg>(pParent, bDisallowCellMove));
1002 }
1003 
1005  ScTabViewShell* pTabViewShell)
1006 {
1007  return VclPtr<AbstractScDataFormDlg_Impl>::Create(std::make_unique<ScDataFormDlg>(pParent, pTabViewShell));
1008 }
1009 
1011 {
1012  return VclPtr<AbstractScDeleteContentsDlg_Impl>::Create(std::make_unique<ScDeleteContentsDlg>(pParent));
1013 }
1014 
1016  ScDocument& rDocument,
1017  FillDir eFillDir,
1018  FillCmd eFillCmd,
1019  FillDateCmd eFillDateCmd,
1020  const OUString& aStartStr,
1021  double fStep,
1022  double fMax,
1023  const SCSIZE nSelectHeight,
1024  const SCSIZE nSelectWidth,
1025  sal_uInt16 nPossDir)
1026 {
1027  return VclPtr<AbstractScFillSeriesDlg_Impl>::Create(std::make_unique<ScFillSeriesDlg>(pParent, rDocument,eFillDir, eFillCmd,eFillDateCmd, aStartStr,fStep,fMax,nSelectHeight,nSelectWidth,nPossDir));
1028 }
1029 
1031 {
1032  return VclPtr<AbstractScGroupDlg_Impl>::Create(std::make_shared<ScGroupDlg>(pParent, bUnGroup, true/*bRows*/));
1033 }
1034 
1036  bool bDisallowCellMove)
1037 {
1038  return VclPtr<AbstractScInsertCellDlg_Impl>::Create(std::make_unique<ScInsertCellDlg>(pParent, bDisallowCellMove));
1039 }
1040 
1042  const OUString* pStrTitle)
1043 {
1044  return VclPtr<AbstractScInsertContentsDlg_Impl>::Create(std::make_unique<ScInsertContentsDlg>(pParent, pStrTitle));
1045 }
1046 
1048  SCTAB nTabCount, bool bFromFile)
1049 {
1050  return VclPtr<AbstractScInsertTableDlg_Impl>::Create(std::make_unique<ScInsertTableDlg>(pParent, rViewData,nTabCount, bFromFile));
1051 }
1052 
1054  const std::vector<OUString> &rEntryList)
1055 {
1056  return VclPtr<AbstractScSelEntryDlg_Impl>::Create(std::make_unique<ScSelEntryDlg>(pParent, rEntryList));
1057 }
1058 
1060 {
1061  return VclPtr<AbstractScLinkedAreaDlg_Impl>::Create(std::make_unique<ScLinkedAreaDlg>(pParent));
1062 }
1063 
1065  const OString& sDialogName,
1066  long nCurrent,
1067  long nDefault,
1068  FieldUnit eFUnit,
1069  sal_uInt16 nDecimals,
1070  long nMaximum ,
1071  long nMinimum )
1072 {
1073  return VclPtr<AbstractScMetricInputDlg_Impl>::Create(std::make_unique<ScMetricInputDlg>(pParent, sDialogName, nCurrent ,nDefault, eFUnit,
1074  nDecimals, nMaximum , nMinimum));
1075 }
1076 
1078  const OUString& rDefault)
1079 {
1080  return VclPtr<AbstractScMoveTableDlg_Impl>::Create(std::make_unique<ScMoveTableDlg>(pParent, rDefault));
1081 }
1082 
1084 {
1085  return VclPtr<AbstractScNameCreateDlg_Impl>::Create(std::make_unique<ScNameCreateDlg>(pParent, nFlags));
1086 }
1087 
1089 {
1090  return VclPtr<AbstractScNamePasteDlg_Impl>::Create(std::make_unique<ScNamePasteDlg>(pParent, pShell));
1091 }
1092 
1094  const SfxItemSet& rArgSet, sal_uInt16 nSourceTab)
1095 {
1096  return VclPtr<AbstractScPivotFilterDlg_Impl>::Create(std::make_unique<ScPivotFilterDlg>(pParent, rArgSet, nSourceTab));
1097 }
1098 
1100  const ScDPLabelDataVector& rLabelVec,
1101  const ScDPLabelData& rLabelData,
1102  const ScPivotFuncData& rFuncData)
1103 {
1104  return VclPtr<AbstractScDPFunctionDlg_Impl>::Create(std::make_unique<ScDPFunctionDlg>(pParent, rLabelVec, rLabelData, rFuncData));
1105 }
1106 
1108  ScDPObject& rDPObj,
1109  const ScDPLabelData& rLabelData,
1110  const ScPivotFuncData& rFuncData,
1111  const ScDPNameVec& rDataFields)
1112 {
1113  return VclPtr<AbstractScDPSubtotalDlg_Impl>::Create(std::make_unique<ScDPSubtotalDlg>(pParent, rDPObj, rLabelData, rFuncData, rDataFields, true/*bEnableLayout*/));
1114 }
1115 
1117 {
1118  return VclPtr<AbstractScDPNumGroupDlg_Impl>::Create(std::make_unique<ScDPNumGroupDlg>(pParent, rInfo));
1119 }
1120 
1122  weld::Window* pParent, const ScDPNumGroupInfo& rInfo, sal_Int32 nDatePart, const Date& rNullDate)
1123 {
1124  return VclPtr<AbstractScDPDateGroupDlg_Impl>::Create(std::make_unique<ScDPDateGroupDlg>(pParent, rInfo, nDatePart, rNullDate));
1125 }
1126 
1128  weld::Window* pParent, ScDPObject& rDPObj, css::sheet::DataPilotFieldOrientation nOrient )
1129 {
1130  return VclPtr<AbstractScDPShowDetailDlg_Impl>::Create(std::make_unique<ScDPShowDetailDlg>(pParent, rDPObj, nOrient));
1131 }
1132 
1134  bool bEdit, bool bSheetProtected)
1135 {
1136  return VclPtr<AbstractScNewScenarioDlg_Impl>::Create(std::make_unique<ScNewScenarioDlg>(pParent, rName, bEdit, bSheetProtected));
1137 }
1138 
1140 {
1141  return VclPtr<AbstractScShowTabDlg_Impl>::Create(std::make_shared<ScShowTabDlg>(pParent));
1142 }
1143 
1145  const OUString& rTitle, const OUString& rEditTitle, const OUString& rDefault, const OString& rHelpId,
1146  const OString& rEditHelpId)
1147 {
1148  return VclPtr<AbstractScStringInputDlg_Impl>::Create(std::make_unique<ScStringInputDlg>(pParent, rTitle, rEditTitle,
1149  rDefault, rHelpId, rEditHelpId));
1150 }
1151 
1153  weld::Window* pParent,
1154  const OUString& rTitle,
1155  const OUString& rTabBgColorNoColorText,
1156  const Color& rDefaultColor)
1157 {
1158  return VclPtr<AbstractScTabBgColorDlg_Impl>::Create(std::make_unique<ScTabBgColorDlg>(pParent, rTitle, rTabBgColorNoColorText, rDefaultColor));
1159 }
1160 
1162  bool bAscii,
1163  const ScImportOptions* pOptions,
1164  const OUString* pStrTitle,
1165  bool bOnlyDbtoolsEncodings,
1166  bool bImport)
1167 {
1168  return VclPtr<AbstractScImportOptionsDlg_Impl>::Create(std::make_unique<ScImportOptionsDlg>(pParent, bAscii, pOptions, pStrTitle, true/*bMultiByte*/, bOnlyDbtoolsEncodings, bImport));
1169 }
1170 
1172 {
1173  return VclPtr<ScAbstractTabController_Impl>::Create(std::make_shared<ScAttrDlg>(pParent, pCellAttrs));
1174 }
1175 
1177  const SfxItemSet& rCoreSet,
1178  const OUString& rPageStyle,
1179  sal_uInt16 nResId )
1180 {
1181  std::shared_ptr<SfxTabDialogController> xDlg;
1182 
1183  switch (nResId)
1184  {
1185  case RID_SCDLG_HFED_HEADER:
1186  case RID_SCDLG_HFEDIT_HEADER:
1187  xDlg = std::make_shared<ScHFEditHeaderDlg>(pParent, rCoreSet, rPageStyle);
1188  break;
1189  case RID_SCDLG_HFED_FOOTER:
1190  case RID_SCDLG_HFEDIT_FOOTER:
1191  xDlg = std::make_shared<ScHFEditFooterDlg>(pParent, rCoreSet, rPageStyle);
1192  break;
1193  case RID_SCDLG_HFEDIT_LEFTHEADER:
1194  xDlg = std::make_shared<ScHFEditLeftHeaderDlg>(pParent, rCoreSet, rPageStyle);
1195  break;
1196  case RID_SCDLG_HFEDIT_RIGHTHEADER:
1197  xDlg = std::make_shared<ScHFEditRightHeaderDlg>(pParent, rCoreSet, rPageStyle);
1198  break;
1199  case RID_SCDLG_HFEDIT_LEFTFOOTER:
1200  xDlg = std::make_shared<ScHFEditLeftFooterDlg>(pParent, rCoreSet, rPageStyle);
1201  break;
1202  case RID_SCDLG_HFEDIT_RIGHTFOOTER:
1203  xDlg = std::make_shared<ScHFEditRightFooterDlg>(pParent, rCoreSet, rPageStyle);
1204  break;
1205  case RID_SCDLG_HFEDIT_SHDR:
1206  xDlg = std::make_shared<ScHFEditSharedHeaderDlg>(pParent, rCoreSet, rPageStyle);
1207  break;
1208  case RID_SCDLG_HFEDIT_SFTR:
1209  xDlg = std::make_shared<ScHFEditSharedFooterDlg>(pParent, rCoreSet, rPageStyle);
1210  break;
1211  case RID_SCDLG_HFEDIT_ALL:
1212  xDlg = std::make_shared<ScHFEditAllDlg>(pParent, rCoreSet, rPageStyle);
1213  break;
1214  default:
1215  case RID_SCDLG_HFEDIT:
1216  xDlg = std::make_shared<ScHFEditActiveDlg>(pParent, rCoreSet, rPageStyle);
1217  break;
1218  }
1219 
1220  return xDlg ? VclPtr<ScAbstractTabController_Impl>::Create(std::move(xDlg)) : nullptr;
1221 }
1222 
1224  SfxStyleSheetBase& rStyleBase,
1225  bool bPage)
1226 {
1227  return VclPtr<ScAbstractTabController_Impl>::Create(std::make_shared<ScStyleDlg>(pParent, rStyleBase, bPage));
1228 }
1229 
1231 {
1232  return VclPtr<ScAbstractTabController_Impl>::Create(std::make_shared<ScSubTotalDlg>(pParent, pArgSet));
1233 }
1234 
1236  weld::Window* pParent, const SfxItemSet* pAttr, const SfxObjectShell* pDocShell, bool bDrawText)
1237 {
1238  return VclPtr<ScAbstractTabController_Impl>::Create(std::make_shared<ScCharDlg>(pParent, pAttr, pDocShell, bDrawText));
1239 }
1240 
1242  weld::Window* pParent, const SfxItemSet* pAttr)
1243 {
1244  return VclPtr<ScAbstractTabController_Impl>::Create(std::make_shared<ScParagraphDlg>(pParent, pAttr));
1245 }
1246 
1247 std::shared_ptr<ScAsyncTabController> ScAbstractDialogFactory_Impl::CreateScSortDlg(weld::Window* pParent, const SfxItemSet* pArgSet)
1248 {
1249  return std::make_shared<ScAsyncTabController_Impl>(std::make_shared<ScSortDlg>(pParent, pArgSet));
1250 }
1251 
1252 //------------------ Factories for TabPages--------------------
1254 {
1255  switch (nId)
1256  {
1257  case SID_SC_TP_CHANGES:
1259  case SID_SC_TP_CALC:
1260  return ScTpCalcOptions::Create;
1261  case SID_SC_TP_FORMULA:
1263  case SID_SC_TP_COMPATIBILITY:
1265  case RID_SC_TP_DEFAULTS:
1267  case RID_SC_TP_PRINT:
1268  return ScTpPrintOptions::Create;
1269  case SID_SC_TP_STAT:
1270  return ScDocStatPage::Create;
1271  case SID_SC_TP_USERLISTS:
1272  return ScTpUserLists::Create;
1273  case SID_SC_TP_CONTENT:
1275  case SID_SC_TP_LAYOUT:
1277  default:
1278  break;
1279  }
1280 
1281  return nullptr;
1282 }
1283 
1284 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
std::unique_ptr< ScNameCreateDlg > m_xDlg
Definition: scdlgfact.hxx:426
virtual OUString GetSource() override
Definition: scdlgfact.cxx:635
virtual void GetImportOptions(ScImportOptions &rOptions) const override
Definition: scdlgfact.cxx:842
virtual BitmapEx createScreenshot() const override
Definition: scdlgfact.cxx:185
virtual OUString GetSelectedEntry() const override
Definition: scdlgfact.cxx:608
virtual OUString GetURL() override
Definition: scdlgfact.cxx:620
FieldUnit
virtual VclPtr< AbstractScDeleteContentsDlg > CreateScDeleteContentsDlg(weld::Window *pParent) override
Definition: scdlgfact.cxx:1010
virtual BitmapEx createScreenshot() const override
Definition: scdlgfact.cxx:551
virtual OUString GetInputString() const override
Definition: scdlgfact.cxx:810
virtual InsertDeleteFlags GetInsContentsCmdBits() const override
Definition: scdlgfact.cxx:501
virtual VclPtr< SfxAbstractTabDialog > CreateScStyleDlg(weld::Window *pParent, SfxStyleSheetBase &rStyleBase, bool bPage) override
Definition: scdlgfact.cxx:1223
virtual short Execute() override
Definition: scdlgfact.cxx:88
virtual VclPtr< AbstractScInsertCellDlg > CreateScInsertCellDlg(weld::Window *pParent, bool bDisallowCellMove) override
Definition: scdlgfact.cxx:1035
virtual VclPtr< AbstractScGroupDlg > CreateAbstractScGroupDlg(weld::Window *pParent, bool bUnGroup=false) override
Definition: scdlgfact.cxx:1030
std::unique_ptr< ScDPDateGroupDlg > m_xDlg
Definition: scdlgfact.hxx:504
FillDir
Definition: global.hxx:318
virtual OString GetScreenshotId() const override
Definition: scdlgfact.cxx:557
virtual VclPtr< AbstractScSortWarningDlg > CreateScSortWarningDlg(weld::Window *pParent, const OUString &rExtendText, const OUString &rCurrentText) override
Definition: scdlgfact.cxx:971
virtual InsCellCmd GetMoveMode() override
Definition: scdlgfact.cxx:546
virtual short Execute() override
Definition: scdlgfact.cxx:180
virtual sal_uLong GetRefresh() override
Definition: scdlgfact.cxx:640
virtual void SetInputSet(const SfxItemSet *pInSet) override
Definition: scdlgfact.cxx:898
virtual OString GetScreenshotId() const override
Definition: scdlgfact.cxx:420
ScScenarioFlags
Definition: global.hxx:236
virtual short Execute() override
Definition: scdlgfact.cxx:251
std::shared_ptr< ScGroupDlg > m_xDlg
Definition: scdlgfact.hxx:288
virtual BitmapEx createScreenshot() const override
Definition: scdlgfact.cxx:290
std::unique_ptr< ScDeleteContentsDlg > m_xDlg
Definition: scdlgfact.hxx:252
sal_uIntPtr sal_uLong
virtual BitmapEx createScreenshot() const override
Definition: scdlgfact.cxx:597
std::unique_ptr< ScDPShowDetailDlg > m_xDlg
Definition: scdlgfact.hxx:517
virtual VclPtr< SfxAbstractTabDialog > CreateScSubTotalDlg(weld::Window *pParent, const SfxItemSet *pArgSet) override
Definition: scdlgfact.cxx:1230
virtual OString GetScreenshotId() const override
Definition: scdlgfact.cxx:343
std::unique_ptr< ScTabBgColorDlg > m_xDlg
Definition: scdlgfact.hxx:589
virtual void SetCurPageId(const OString &rName) override
Definition: scdlgfact.cxx:883
virtual OString GetScreenshotId() const override
Definition: scdlgfact.cxx:821
virtual void SetChangeTrack(bool bSet) override
Definition: scdlgfact.cxx:536
virtual BitmapEx createScreenshot() const override
Definition: scdlgfact.cxx:831
std::unique_ptr< ScNamePasteDlg > m_xDlg
Definition: scdlgfact.hxx:442
virtual VclPtr< AbstractScInsertTableDlg > CreateScInsertTableDlg(weld::Window *pParent, ScViewData &rViewData, SCTAB nTabCount, bool bFromFile) override
Definition: scdlgfact.cxx:1047
virtual VclPtr< AbstractScInsertContentsDlg > CreateScInsertContentsDlg(weld::Window *pParent, const OUString *pStrTitle=nullptr) override
Definition: scdlgfact.cxx:1041
virtual void FillLabelData(ScDPLabelData &rLabelData) const override
Definition: scdlgfact.cxx:746
virtual ScDocShell * GetDocShellTables() override
Definition: scdlgfact.cxx:577
virtual bool GetCopyTable() const override
Definition: scdlgfact.cxx:680
virtual VclPtr< AbstractScNewScenarioDlg > CreateScNewScenarioDlg(weld::Window *pParent, const OUString &rName, bool bEdit, bool bSheetProtected) override
Definition: scdlgfact.cxx:1133
virtual short Execute() override
Definition: scdlgfact.cxx:124
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rCoreSet)
Definition: tpprint.cxx:42
std::unique_ptr< ScMoveTableDlg > m_xDlg
Definition: scdlgfact.hxx:404
virtual OString GetScreenshotId() const override
Definition: scdlgfact.cxx:296
virtual FillDateCmd GetFillDateCmd() const override
Definition: scdlgfact.cxx:456
std::shared_ptr< ScImportAsciiDlg > m_xDlg
Definition: scdlgfact.hxx:104
virtual void EnableRenameTable(bool bFlag) override
Definition: scdlgfact.cxx:700
virtual VclPtr< AbstractScImportAsciiDlg > CreateScImportAsciiDlg(weld::Window *pParent, const OUString &aDatName, SvStream *pInStream, ScImportAsciiCall eCall) override
Definition: scdlgfact.cxx:945
CreateNameFlags
Definition: scui_def.hxx:51
virtual const SfxItemSet * GetOutputItemSet() const override
Definition: scdlgfact.cxx:888
std::shared_ptr< ScShowTabDlg > m_xDlg
Definition: scdlgfact.hxx:546
virtual void SetEdStartValEnabled(bool bFlag) override
Definition: scdlgfact.cxx:481
virtual VclPtr< AbstractScDPShowDetailDlg > CreateScDPShowDetailDlg(weld::Window *pParent, ScDPObject &rDPObj, css::sheet::DataPilotFieldOrientation nOrient) override
Definition: scdlgfact.cxx:1127
virtual VclPtr< AbstractScColRowLabelDlg > CreateScColRowLabelDlg(weld::Window *pParent, bool bCol, bool bRow) override
Definition: scdlgfact.cxx:965
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: opredlin.cxx:52
virtual OString GetScreenshotId() const override
Definition: scdlgfact.cxx:868
DelCellCmd
Definition: global.hxx:290
virtual VclPtr< SfxAbstractTabDialog > CreateScParagraphDlg(weld::Window *pParent, const SfxItemSet *pAttr) override
Definition: scdlgfact.cxx:1241
virtual sal_uInt16 GetSelectedDocument() const override
Definition: scdlgfact.cxx:670
virtual bool IsTranspose() const override
Definition: scdlgfact.cxx:531
virtual VclPtr< AbstractScDataPilotSourceTypeDlg > CreateScDataPilotSourceTypeDlg(weld::Window *pParent, bool bEnableExternal) override
Definition: scdlgfact.cxx:986
virtual int GetInputValue() const override
Definition: scdlgfact.cxx:665
virtual VclPtr< AbstractScTextImportOptionsDlg > CreateScTextImportOptionsDlg(weld::Window *pParent) override
Definition: scdlgfact.cxx:952
static bool runAsync(const std::shared_ptr< DialogController > &rController, const std::function< void(sal_Int32)> &)
virtual bool IsSkipEmptyCells() const override
Definition: scdlgfact.cxx:511
virtual void GetTabNameString(OUString &rString) const override
Definition: scdlgfact.cxx:690
std::unique_ptr< ScDataFormDlg > m_xDlg
Definition: scdlgfact.hxx:237
virtual VclPtr< AbstractScDataPilotServiceDlg > CreateScDataPilotServiceDlg(weld::Window *pParent, const std::vector< OUString > &rServices) override
Definition: scdlgfact.cxx:992
virtual bool IsNamedRange() const override
Definition: scdlgfact.cxx:358
virtual VclPtr< AbstractScShowTabDlg > CreateScShowTabDlg(weld::Window *pParent) override
Definition: scdlgfact.cxx:1139
virtual ScDPNumGroupInfo GetGroupInfo() const override
Definition: scdlgfact.cxx:756
virtual bool GetTablesAsLink() override
Definition: scdlgfact.cxx:567
virtual OUString GetParUser() const override
Definition: scdlgfact.cxx:399
virtual const OUString * GetNextTable(sal_uInt16 *pN) override
Definition: scdlgfact.cxx:592
std::unique_ptr< ScFillSeriesDlg > m_xDlg
Definition: scdlgfact.hxx:269
size_t SCSIZE
size_t typedef to be able to find places where code was changed from USHORT to size_t and is used to ...
Definition: address.hxx:45
virtual short Execute() override
Definition: scdlgfact.cxx:216
virtual bool StartExecuteAsync(VclAbstractDialog::AsyncContext &rCtx) override
Definition: scdlgfact.cxx:98
virtual void GetValues(ScImportSourceDesc &rDesc) override
Definition: scdlgfact.cxx:332
virtual VclPtr< AbstractScDPSubtotalDlg > CreateScDPSubtotalDlg(weld::Widget *pParent, ScDPObject &rDPObj, const ScDPLabelData &rLabelData, const ScPivotFuncData &rFuncData, const ScDPNameVec &rDataFields) override
Definition: scdlgfact.cxx:1107
virtual bool StartExecuteAsync(VclAbstractDialog::AsyncContext &rCtx) override
Definition: scdlgfact.cxx:78
FillDateCmd
Definition: global.hxx:343
virtual std::vector< OUString > GetSelectedNames() const override
Definition: scdlgfact.cxx:721
virtual FillDir GetFillDir() const override
Definition: scdlgfact.cxx:446
virtual BitmapEx createScreenshot() const override
Definition: scdlgfact.cxx:373
virtual bool CondFormatsChanged() const override
Definition: scdlgfact.cxx:650
std::unique_ptr< ScDeleteCellDlg > m_xDlg
Definition: scdlgfact.hxx:220
PivotFunc
Definition: dpglobal.hxx:25
virtual OString GetScreenshotId() const override
Definition: scdlgfact.cxx:603
virtual VclPtr< AbstractScFillSeriesDlg > CreateScFillSeriesDlg(weld::Window *pParent, ScDocument &rDocument, FillDir eFillDir, FillCmd eFillCmd, FillDateCmd eFillDateCmd, const OUString &aStartStr, double fStep, double fMax, SCSIZE nSelectHeight, SCSIZE nSelectWidth, sal_uInt16 nPossDir) override
Definition: scdlgfact.cxx:1015
virtual const sal_uInt16 * GetInputRanges(const SfxItemPool &pItem) override
Definition: scdlgfact.cxx:893
virtual bool GetTablesFromFile() override
Definition: scdlgfact.cxx:562
static bool runAsync(const std::shared_ptr< SfxTabDialogController > &rController, const std::function< void(sal_Int32)> &)
virtual bool IsTableBefore() override
Definition: scdlgfact.cxx:582
virtual bool IsDateConversionSet() const override
Definition: scdlgfact.cxx:857
std::unique_ptr< ScInsertTableDlg > m_xDlg
Definition: scdlgfact.hxx:338
virtual OUString GetCurrFormatName() override
Definition: scdlgfact.cxx:306
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rCoreSet)
Definition: tpcalc.cxx:80
virtual short Execute() override
Definition: scdlgfact.cxx:241
virtual short Execute() override
Definition: scdlgfact.cxx:93
virtual void SetFillMode(bool bSet) override
Definition: scdlgfact.cxx:521
virtual void SetScenarioData(const OUString &rName, const OUString &rComment, const Color &rColor, ScScenarioFlags nFlags) override
Definition: scdlgfact.cxx:771
virtual bool IsExternal() const override
Definition: scdlgfact.cxx:353
std::unique_ptr< ScSortWarningDlg > m_xDlg
Definition: scdlgfact.hxx:562
std::unique_ptr< ScDPNumGroupDlg > m_xDlg
Definition: scdlgfact.hxx:492
virtual short Execute() override
Definition: scdlgfact.cxx:175
std::unique_ptr< ScDataPilotSourceTypeDlg > m_xDlg
Definition: scdlgfact.hxx:184
virtual VclPtr< AbstractScStringInputDlg > CreateScStringInputDlg(weld::Window *pParent, const OUString &rTitle, const OUString &rEditTitle, const OUString &rDefault, const OString &rHelpId, const OString &rEditHelpId) override
Definition: scdlgfact.cxx:1144
virtual css::sheet::DataPilotFieldReference GetFieldRef() const override
Definition: scdlgfact.cxx:736
std::unique_ptr< ScImportOptionsDlg > m_xDlg
Definition: scdlgfact.hxx:605
virtual short Execute() override
Definition: scdlgfact.cxx:261
virtual short Execute() override
Definition: scdlgfact.cxx:275
std::unique_ptr< ScStringInputDlg > m_xDlg
Definition: scdlgfact.hxx:573
std::vector< ScDPName > ScDPNameVec
Definition: pivot.hxx:172
std::shared_ptr< ScCondFormatManagerDlg > m_xDlg
Definition: scdlgfact.hxx:152
virtual OUString GetFilter() override
Definition: scdlgfact.cxx:625
ScPasteFunc
Definition: global.hxx:189
virtual VclPtr< AbstractScImportOptionsDlg > CreateScImportOptionsDlg(weld::Window *pParent, bool bAscii, const ScImportOptions *pOptions, const OUString *pStrTitle, bool bOnlyDbtoolsEncodings, bool bImport=true) override
Definition: scdlgfact.cxx:1161
virtual OString GetScreenshotId() const override
Definition: scdlgfact.cxx:379
virtual short Execute() override
Definition: scdlgfact.cxx:108
FillCmd
Definition: global.hxx:326
virtual CreateTabPage GetTabPageCreatorFunc(sal_uInt16 nId) override
Definition: scdlgfact.cxx:1253
virtual VclPtr< AbstractScNameCreateDlg > CreateScNameCreateDlg(weld::Window *pParent, CreateNameFlags nFlags) override
Definition: scdlgfact.cxx:1083
virtual short Execute() override
Definition: scdlgfact.cxx:170
virtual OString GetScreenshotId() const override
Definition: scdlgfact.cxx:191
std::vector< std::unique_ptr< ScDPLabelData > > ScDPLabelDataVector
Definition: pivot.hxx:113
std::unique_ptr< ScDPFunctionDlg > m_xDlg
Definition: scdlgfact.hxx:466
virtual VclPtr< AbstractScDataFormDlg > CreateScDataFormDlg(weld::Window *pParent, ScTabViewShell *pTabViewShell) override
Definition: scdlgfact.cxx:1004
virtual InsertDeleteFlags GetDelContentsCmdBits() const override
Definition: scdlgfact.cxx:430
virtual short Execute() override
Definition: scdlgfact.cxx:226
virtual OUString GetEntry(sal_Int32 nPos) const override
Definition: scdlgfact.cxx:800
virtual VclPtr< SfxAbstractTabDialog > CreateScAttrDlg(weld::Window *pParent, const SfxItemSet *pCellAttrs) override
Definition: scdlgfact.cxx:1171
virtual sal_Int32 GetDatePart() const override
Definition: scdlgfact.cxx:761
virtual BitmapEx createScreenshot() const override
Definition: scdlgfact.cxx:862
virtual bool IsRow() override
Definition: scdlgfact.cxx:316
InsertDeleteFlags
Definition: global.hxx:158
virtual ScConditionalFormat * GetCondFormatSelected() override
Definition: scdlgfact.cxx:660
virtual short Execute() override
Definition: scdlgfact.cxx:113
virtual void SaveImportOptions() const override
Definition: scdlgfact.cxx:847
virtual void SetCurPageId(const OString &rName) override
Definition: scdlgfact.cxx:934
virtual ScPasteFunc GetFormulaCmdBits() const override
Definition: scdlgfact.cxx:506
virtual short Execute() override
Definition: scdlgfact.cxx:266
virtual bool StartExecuteAsync(VclAbstractDialog::AsyncContext &rCtx) override
Definition: scdlgfact.cxx:486
virtual double GetMax() const override
Definition: scdlgfact.cxx:471
virtual VclPtr< SfxAbstractTabDialog > CreateScHFEditDlg(weld::Window *pParent, const SfxItemSet &rCoreSet, const OUString &rPageStyle, sal_uInt16 nResId) override
Definition: scdlgfact.cxx:1176
virtual OString GetScreenshotId() const override
Definition: scdlgfact.cxx:327
virtual void SetText(const OUString &rStr) override
Definition: scdlgfact.cxx:904
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rCoreSet)
Definition: tpview.cxx:356
virtual short Execute() override
Definition: scdlgfact.cxx:145
virtual OString GetScreenshotId() const override
Definition: scdlgfact.cxx:716
virtual DelCellCmd GetDelCellCmd() const override
Definition: scdlgfact.cxx:409
virtual const SfxItemSet * GetOutputItemSet() const override
Definition: scdlgfact.cxx:939
virtual VclPtr< AbstractScTabBgColorDlg > CreateScTabBgColorDlg(weld::Window *pParent, const OUString &rTitle, const OUString &rTabBgColorNoColorText, const Color &rDefaultColor) override
Definition: scdlgfact.cxx:1152
virtual short Execute() override
Definition: scdlgfact.cxx:140
virtual BitmapEx createScreenshot() const override
Definition: scdlgfact.cxx:710
virtual const OUString * GetFirstTable(sal_uInt16 *pN=nullptr) override
Definition: scdlgfact.cxx:572
std::shared_ptr< SfxTabDialogController > m_xDlg
Definition: scdlgfact.hxx:658
std::unique_ptr< ScInsertContentsDlg > m_xDlg
Definition: scdlgfact.hxx:313
virtual BitmapEx createScreenshot() const override
Definition: scdlgfact.cxx:815
virtual BitmapEx createScreenshot() const override
Definition: scdlgfact.cxx:919
virtual short Execute() override
Definition: scdlgfact.cxx:256
std::unique_ptr< ScSelEntryDlg > m_xDlg
Definition: scdlgfact.hxx:360
virtual VclPtr< AbstractScDPFunctionDlg > CreateScDPFunctionDlg(weld::Widget *pParent, const ScDPLabelDataVector &rLabelVec, const ScDPLabelData &rLabelData, const ScPivotFuncData &rFuncData) override
Definition: scdlgfact.cxx:1099
virtual short Execute() override
Definition: scdlgfact.cxx:231
std::unique_ptr< ScDataPilotDatabaseDlg > m_xDlg
Definition: scdlgfact.hxx:168
virtual short Execute() override
Definition: scdlgfact.cxx:73
virtual short Execute() override
Definition: scdlgfact.cxx:165
virtual void GetScenarioData(OUString &rName, OUString &rComment, Color &rColor, ScScenarioFlags &rFlags) const override
Definition: scdlgfact.cxx:777
virtual bool selectPageByUIXMLDescription(const OString &rUIXMLDescription) override
Definition: scdlgfact.cxx:914
virtual bool GetColsChecked() const override
Definition: scdlgfact.cxx:491
std::function< void(sal_Int32)> maEndDialogFn
virtual VclPtr< AbstractScPivotFilterDlg > CreateScPivotFilterDlg(weld::Window *pParent, const SfxItemSet &rArgSet, sal_uInt16 nSourceTab) override
Definition: scdlgfact.cxx:1093
virtual short Execute() override
Definition: scdlgfact.cxx:103
virtual bool StartExecuteAsync(AsyncContext &rCtx) override
Definition: scdlgfact.cxx:878
virtual FillCmd GetFillCmd() const override
Definition: scdlgfact.cxx:451
std::unique_ptr< ScLinkedAreaDlg > m_xDlg
Definition: scdlgfact.hxx:372
virtual OUString GetOptions() override
Definition: scdlgfact.cxx:630
virtual CreateNameFlags GetFlags() const override
Definition: scdlgfact.cxx:705
virtual bool IsCol() override
Definition: scdlgfact.cxx:311
virtual PivotFunc GetFuncMask() const override
Definition: scdlgfact.cxx:731
virtual OUString GetSelectedNamedRange() const override
Definition: scdlgfact.cxx:363
virtual BitmapEx createScreenshot() const override
Definition: scdlgfact.cxx:321
virtual short Execute() override
Definition: scdlgfact.cxx:805
virtual short Execute() override
Definition: scdlgfact.cxx:118
virtual short Execute() override
Definition: scdlgfact.cxx:150
virtual std::unique_ptr< ScConditionalFormatList > GetConditionalFormatList() override
Definition: scdlgfact.cxx:645
virtual BitmapEx createScreenshot() const override
Definition: scdlgfact.cxx:435
virtual short Execute() override
Definition: scdlgfact.cxx:201
virtual short Execute() override
Definition: scdlgfact.cxx:873
virtual double GetStep() const override
Definition: scdlgfact.cxx:466
virtual void AppendNamedRange(const OUString &rName) override
Definition: scdlgfact.cxx:368
virtual InsCellCmd GetInsCellCmd() const override
Definition: scdlgfact.cxx:496
std::unique_ptr< ScDPSubtotalDlg > m_xDlg
Definition: scdlgfact.hxx:479
virtual OUString GetStartStr() const override
Definition: scdlgfact.cxx:476
virtual bool StartExecuteAsync(VclAbstractDialog::AsyncContext &rCtx) override
Definition: scdlgfact.cxx:929
virtual bool IsLink() const override
Definition: scdlgfact.cxx:516
virtual BitmapEx createScreenshot() const override
Definition: scdlgfact.cxx:129
virtual void InitFromOldLink(const OUString &rFile, const OUString &rFilter, const OUString &rOptions, const OUString &rSource, sal_uLong nRefresh) override
Definition: scdlgfact.cxx:613
virtual short Execute() override
Definition: scdlgfact.cxx:236
std::unique_ptr< ScPivotFilterDlg > m_xDlg
Definition: scdlgfact.hxx:454
virtual short Execute() override
Definition: scdlgfact.cxx:83
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rCoreSet)
Definition: tpdefaults.cxx:35
virtual VclPtr< AbstractScMoveTableDlg > CreateScMoveTableDlg(weld::Window *pParent, const OUString &rDefault) override
Definition: scdlgfact.cxx:1077
virtual void SetDescription(const OUString &rTitle, const OUString &rFixedText, const OString &sDlgHelpId, const OString &sLbHelpId) override
Definition: scdlgfact.cxx:788
virtual sal_uInt16 GetTableCount() override
Definition: scdlgfact.cxx:587
std::unique_ptr< ScDataPilotServiceDlg > m_xDlg
Definition: scdlgfact.hxx:204
virtual OString GetScreenshotId() const override
Definition: scdlgfact.cxx:135
virtual short Execute() override
Definition: scdlgfact.cxx:160
virtual sal_uInt16 GetIndex() const override
Definition: scdlgfact.cxx:301
virtual OUString GetParName() const override
Definition: scdlgfact.cxx:394
virtual void SetOtherDoc(bool bSet) override
Definition: scdlgfact.cxx:526
InsCellCmd
Definition: global.hxx:299
ScImportAsciiCall
How ScImportAsciiDlg is called.
Definition: asciiopt.hxx:101
static VclPtr< reference_type > Create(Arg &&...arg)
virtual OString GetScreenshotId() const override
Definition: scdlgfact.cxx:441
virtual VclPtr< AbstractScNamePasteDlg > CreateScNamePasteDlg(weld::Window *pParent, ScDocShell *pShell) override
Definition: scdlgfact.cxx:1088
virtual void DisableObjects() override
Definition: scdlgfact.cxx:425
std::unique_ptr< ScNewScenarioDlg > m_xDlg
Definition: scdlgfact.hxx:529
virtual VclPtr< AbstractScDeleteCellDlg > CreateScDeleteCellDlg(weld::Window *pParent, bool bDisallowCellMove) override
Definition: scdlgfact.cxx:998
virtual bool IsDatabase() const override
Definition: scdlgfact.cxx:348
std::unique_ptr< SfxTabPage >(* CreateTabPage)(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
virtual VclPtr< AbstractScLinkedAreaDlg > CreateScLinkedAreaDlg(weld::Window *pParent) override
Definition: scdlgfact.cxx:1059
virtual void GetSelectedColor(Color &rColor) const override
Definition: scdlgfact.cxx:826
virtual short Execute() override
Definition: scdlgfact.cxx:221
virtual BitmapEx createScreenshot() const override
Definition: scdlgfact.cxx:337
virtual std::vector< sal_Int32 > GetSelectedRows() const override
Definition: scdlgfact.cxx:795
virtual ~AbstractScLinkedAreaDlg_Impl() override
Definition: scdlgfact.cxx:271
virtual VclPtr< AbstractScDPNumGroupDlg > CreateScDPNumGroupDlg(weld::Window *pParent, const ScDPNumGroupInfo &rInfo) override
Definition: scdlgfact.cxx:1116
virtual VclPtr< AbstractScSelEntryDlg > CreateScSelEntryDlg(weld::Window *pParent, const std::vector< OUString > &rEntryList) override
Definition: scdlgfact.cxx:1053
virtual const ScQueryItem & GetOutputItem() override
Definition: scdlgfact.cxx:726
virtual sal_uInt16 GetSelectedTable() const override
Definition: scdlgfact.cxx:675
std::unique_ptr< ScMetricInputDlg > m_xDlg
Definition: scdlgfact.hxx:392
virtual OUString GetParPass() const override
Definition: scdlgfact.cxx:404
virtual void SetForceCopyTable() override
Definition: scdlgfact.cxx:695
virtual VclPtr< AbstractScDPDateGroupDlg > CreateScDPDateGroupDlg(weld::Window *pParent, const ScDPNumGroupInfo &rInfo, sal_Int32 nDatePart, const Date &rNullDate) override
Definition: scdlgfact.cxx:1121
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rCoreAttrs)
virtual BitmapEx createScreenshot() const override
Definition: scdlgfact.cxx:414
virtual PivotFunc GetFuncMask() const override
Definition: scdlgfact.cxx:741
virtual OString GetScreenshotId() const override
Definition: scdlgfact.cxx:924
BitmapEx GetBitmapEx(const Point &rSrcPt, const Size &rSize) const
std::unique_ptr< ScTextImportOptionsDlg > m_xDlg
Definition: scdlgfact.hxx:618
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: tpusrlst.cxx:132
virtual OString GetScreenshotId() const override
Definition: scdlgfact.cxx:837
virtual bool GetRenameTable() const override
Definition: scdlgfact.cxx:685
virtual void SetCellShiftDisabled(CellShiftDisabledFlags nDisable) override
Definition: scdlgfact.cxx:541
virtual VclPtr< AbstractScCondFormatManagerDlg > CreateScCondFormatMgrDlg(weld::Window *pParent, ScDocument &rDoc, const ScConditionalFormatList *pFormatList) override
Definition: scdlgfact.cxx:976
virtual short Execute() override
Definition: scdlgfact.cxx:206
virtual ScDPNumGroupInfo GetGroupInfo() const override
Definition: scdlgfact.cxx:751
std::unique_ptr< ScInsertCellDlg > m_xDlg
Definition: scdlgfact.hxx:301
virtual bool StartExecuteAsync(VclAbstractDialog::AsyncContext &rCtx) override
Definition: scdlgfact.cxx:246
virtual void SaveParameters() override
Definition: scdlgfact.cxx:285
virtual void Insert(const OUString &rString, bool bSelected) override
Definition: scdlgfact.cxx:783
std::unique_ptr< ScColRowLabelDlg > m_xDlg
Definition: scdlgfact.hxx:135
virtual VclPtr< AbstractScDataPilotDatabaseDlg > CreateScDataPilotDatabaseDlg(weld::Window *pParent) override
Definition: scdlgfact.cxx:981
std::unique_ptr< ScAutoFormatDlg > m_xDlg
Definition: scdlgfact.hxx:122
virtual short Execute() override
Definition: scdlgfact.cxx:196
virtual VclPtr< AbstractScMetricInputDlg > CreateScMetricInputDlg(weld::Window *pParent, const OString &sDialogName, long nCurrent, long nDefault, FieldUnit eFUnit, sal_uInt16 nDecimals, long nMaximum, long nMinimum=0) override
Definition: scdlgfact.cxx:1064
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rCoreSet)
Definition: tpview.cxx:93
virtual double GetStart() const override
Definition: scdlgfact.cxx:461
std::shared_ptr< SfxTabDialogController > m_xDlg
Definition: scdlgfact.hxx:635
virtual OUString GetServiceName() const override
Definition: scdlgfact.cxx:384
virtual std::shared_ptr< ScAsyncTabController > CreateScSortDlg(weld::Window *pParent, const SfxItemSet *pArgSet) override
Definition: scdlgfact.cxx:1247
virtual void SetModified() override
Definition: scdlgfact.cxx:655
virtual void GetOptions(ScAsciiOptions &rOpt) override
Definition: scdlgfact.cxx:280
virtual short Execute() override
Definition: scdlgfact.cxx:155
virtual short Execute() override
Definition: scdlgfact.cxx:211
virtual std::vector< OString > getAllPageUIXMLDescriptions() const override
Definition: scdlgfact.cxx:909
virtual VclPtr< AbstractScAutoFormatDlg > CreateScAutoFormatDlg(weld::Window *pParent, ScAutoFormat *pAutoFormat, const ScAutoFormatData *pSelFormatData, ScViewData *pViewData) override
Definition: scdlgfact.cxx:957
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rCoreSet)
Definition: tpformula.cxx:216
sal_Int16 SCTAB
Definition: types.hxx:23
CellShiftDisabledFlags
Definition: scui_def.hxx:42
virtual VclPtr< SfxAbstractTabDialog > CreateScCharDlg(weld::Window *pParent, const SfxItemSet *pAttr, const SfxObjectShell *pDocShell, bool bDrawText) override
Definition: scdlgfact.cxx:1235
virtual OUString GetDimensionName() const override
Definition: scdlgfact.cxx:766
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rSet)
Definition: tpstat.cxx:29
virtual OUString GetParSource() const override
Definition: scdlgfact.cxx:389
virtual LanguageType GetLanguageType() const override
Definition: scdlgfact.cxx:852