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