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 
764 {
765  m_xDlg->response(nResponse);
766 }
767 
768 css::sheet::DataPilotFieldReference AbstractScDPFunctionDlg_Impl::GetFieldRef() const
769 {
770  return m_xDlg->GetFieldRef();
771 }
772 
774 {
775  return m_xDlg->GetFuncMask();
776 }
777 
779 {
780  m_xDlg->FillLabelData( rLabelData );
781 }
782 
784 {
785  m_xDlg->response(nResponse);
786 }
787 
789 {
790  return m_xDlg->GetGroupInfo();
791 }
792 
794 {
795  return m_xDlg->GetGroupInfo();
796 }
797 
799 {
800  return m_xDlg->GetDatePart();
801 }
802 
804 {
805  return m_xDlg->GetDimensionName();
806 }
807 
809  const OUString& rName, const OUString& rComment, const Color& rColor, ScScenarioFlags nFlags )
810 {
811  m_xDlg->SetScenarioData(rName, rComment, rColor, nFlags);
812 }
813 
815  OUString& rName, OUString& rComment, Color& rColor, ScScenarioFlags& rFlags ) const
816 {
817  m_xDlg->GetScenarioData(rName, rComment, rColor, rFlags);
818 }
819 
820 void AbstractScShowTabDlg_Impl::Insert( const OUString& rString, bool bSelected )
821 {
822  m_xDlg->Insert(rString, bSelected);
823 }
824 
826  const OUString& rTitle, const OUString& rFixedText,
827  const OString& sDlgHelpId, const OString& sLbHelpId )
828 {
829  m_xDlg->SetDescription( rTitle, rFixedText, sDlgHelpId, sLbHelpId );
830 }
831 
832 std::vector<sal_Int32> AbstractScShowTabDlg_Impl::GetSelectedRows() const
833 {
834  return m_xDlg->GetSelectedRows();
835 }
836 
837 OUString AbstractScShowTabDlg_Impl::GetEntry(sal_Int32 nPos) const
838 {
839  return m_xDlg->GetEntry(nPos);
840 }
841 
843 {
844  return m_xDlg->run();
845 }
846 
848 {
849  return m_xDlg->GetInputString();
850 }
851 
853 {
854  VclPtr<VirtualDevice> xDialogSurface(m_xDlg->getDialog()->screenshot());
855  return xDialogSurface->GetBitmapEx(Point(), xDialogSurface->GetOutputSizePixel());
856 }
857 
859 {
860  return m_xDlg->get_help_id();
861 }
862 
864 {
865  m_xDlg->GetSelectedColor( rColor );
866 }
867 
869 {
870  VclPtr<VirtualDevice> xDialogSurface(m_xDlg->getDialog()->screenshot());
871  return xDialogSurface->GetBitmapEx(Point(), xDialogSurface->GetOutputSizePixel());
872 }
873 
875 {
876  return m_xDlg->get_help_id();
877 }
878 
880 {
881  m_xDlg->GetImportOptions(rOptions);
882 }
883 
885 {
886  m_xDlg->SaveImportOptions();
887 }
888 
890 {
891  return m_xDlg->getLanguageType();
892 }
893 
895 {
896  return m_xDlg->isDateConversionSet();
897 }
898 
900 {
901  return m_xDlg->isKeepAskingSet();
902 }
903 
905 {
906  VclPtr<VirtualDevice> xDialogSurface(m_xDlg->getDialog()->screenshot());
907  return xDialogSurface->GetBitmapEx(Point(), xDialogSurface->GetOutputSizePixel());
908 }
909 
911 {
912  return m_xDlg->get_help_id();
913 }
914 
916 {
917  return m_xDlg->run();
918 }
919 
921 {
922  return SfxTabDialogController::runAsync(m_xDlg, rCtx.maEndDialogFn);
923 }
924 
925 void ScAbstractTabController_Impl::SetCurPageId( const OString &rName )
926 {
927  m_xDlg->SetCurPageId( rName );
928 }
929 
931 {
932  return m_xDlg->GetOutputItemSet();
933 }
934 
936 {
937  return m_xDlg->GetInputRanges( pItem );
938 }
939 
941 {
942  m_xDlg->SetInputSet( pInSet );
943 }
944 
945 //From class Window.
946 void ScAbstractTabController_Impl::SetText( const OUString& rStr )
947 {
948  m_xDlg->set_title(rStr);
949 }
950 
952 {
953  return m_xDlg->getAllPageUIXMLDescriptions();
954 }
955 
957 {
958  return m_xDlg->selectPageByUIXMLDescription(rUIXMLDescription);
959 }
960 
962 {
963  return m_xDlg->createScreenshot();
964 }
965 
967 {
968  return m_xDlg->GetScreenshotId();
969 }
970 
972 {
974 }
975 
976 void ScAsyncTabController_Impl::SetCurPageId( const OString &rName )
977 {
978  m_xDlg->SetCurPageId( rName );
979 }
980 
982 {
983  return m_xDlg->GetOutputItemSet();
984 }
985 
986 // =========================Factories for createdialog ===================
988  const OUString& aDatName,
989  SvStream* pInStream, ScImportAsciiCall eCall)
990 {
991  return VclPtr<AbstractScImportAsciiDlg_Impl>::Create(std::make_shared<ScImportAsciiDlg>(pParent, aDatName,pInStream, eCall));
992 }
993 
995 {
996  return VclPtr<AbstractScTextImportOptionsDlg_Impl>::Create(std::make_unique<ScTextImportOptionsDlg>(pParent));
997 }
998 
1000  ScAutoFormat* pAutoFormat,
1001  const ScAutoFormatData* pSelFormatData,
1002  ScViewData& rViewData)
1003 {
1004  return VclPtr<AbstractScAutoFormatDlg_Impl>::Create(std::make_unique<ScAutoFormatDlg>(pParent, pAutoFormat, pSelFormatData, rViewData));
1005 }
1006 
1008  bool bCol, bool bRow)
1009 {
1010  return VclPtr<AbstractScColRowLabelDlg_Impl>::Create(std::make_unique<ScColRowLabelDlg>(pParent, bCol, bRow));
1011 }
1012 
1013 VclPtr<AbstractScSortWarningDlg> ScAbstractDialogFactory_Impl::CreateScSortWarningDlg(weld::Window* pParent, const OUString& rExtendText, const OUString& rCurrentText)
1014 {
1015  return VclPtr<AbstractScSortWarningDlg_Impl>::Create(std::make_unique<ScSortWarningDlg>(pParent, rExtendText, rCurrentText));
1016 }
1017 
1019 {
1020  return VclPtr<AbstractScCondFormatManagerDlg_Impl>::Create(std::make_shared<ScCondFormatManagerDlg>(pParent, rDoc, pFormatList));
1021 }
1022 
1024 {
1025  return VclPtr<AbstractScDataPilotDatabaseDlg_Impl>::Create(std::make_shared<ScDataPilotDatabaseDlg>(pParent));
1026 }
1027 
1029  weld::Window* pParent, bool bEnableExternal)
1030 {
1031  return VclPtr<AbstractScDataPilotSourceTypeDlg_Impl>::Create(std::make_shared<ScDataPilotSourceTypeDlg>(pParent, bEnableExternal));
1032 }
1033 
1035  const std::vector<OUString>& rServices)
1036 {
1037  return VclPtr<AbstractScDataPilotServiceDlg_Impl>::Create(std::make_shared<ScDataPilotServiceDlg>(pParent, rServices));
1038 }
1039 
1041  bool bDisallowCellMove)
1042 {
1043  return VclPtr<AbstractScDeleteCellDlg_Impl>::Create(std::make_unique<ScDeleteCellDlg>(pParent, bDisallowCellMove));
1044 }
1045 
1047  ScTabViewShell* pTabViewShell)
1048 {
1049  return VclPtr<AbstractScDataFormDlg_Impl>::Create(std::make_unique<ScDataFormDlg>(pParent, pTabViewShell));
1050 }
1051 
1053 {
1054  return VclPtr<AbstractScDeleteContentsDlg_Impl>::Create(std::make_unique<ScDeleteContentsDlg>(pParent));
1055 }
1056 
1058  ScDocument& rDocument,
1059  FillDir eFillDir,
1060  FillCmd eFillCmd,
1061  FillDateCmd eFillDateCmd,
1062  const OUString& aStartStr,
1063  double fStep,
1064  double fMax,
1065  const SCSIZE nSelectHeight,
1066  const SCSIZE nSelectWidth,
1067  sal_uInt16 nPossDir)
1068 {
1069  return VclPtr<AbstractScFillSeriesDlg_Impl>::Create(std::make_unique<ScFillSeriesDlg>(pParent, rDocument,eFillDir, eFillCmd,eFillDateCmd, aStartStr,fStep,fMax,nSelectHeight,nSelectWidth,nPossDir));
1070 }
1071 
1073 {
1074  return VclPtr<AbstractScGroupDlg_Impl>::Create(std::make_shared<ScGroupDlg>(pParent, bUnGroup, true/*bRows*/));
1075 }
1076 
1078  bool bDisallowCellMove)
1079 {
1080  return VclPtr<AbstractScInsertCellDlg_Impl>::Create(std::make_unique<ScInsertCellDlg>(pParent, bDisallowCellMove));
1081 }
1082 
1084  const OUString* pStrTitle)
1085 {
1086  return VclPtr<AbstractScInsertContentsDlg_Impl>::Create(std::make_unique<ScInsertContentsDlg>(pParent, pStrTitle));
1087 }
1088 
1090  SCTAB nTabCount, bool bFromFile)
1091 {
1092  return VclPtr<AbstractScInsertTableDlg_Impl>::Create(std::make_unique<ScInsertTableDlg>(pParent, rViewData,nTabCount, bFromFile));
1093 }
1094 
1096  const std::vector<OUString> &rEntryList)
1097 {
1098  return VclPtr<AbstractScSelEntryDlg_Impl>::Create(std::make_unique<ScSelEntryDlg>(pParent, rEntryList));
1099 }
1100 
1102 {
1103  return VclPtr<AbstractScLinkedAreaDlg_Impl>::Create(std::make_unique<ScLinkedAreaDlg>(pParent));
1104 }
1105 
1107  const OString& sDialogName,
1108  tools::Long nCurrent,
1109  tools::Long nDefault,
1110  FieldUnit eFUnit,
1111  sal_uInt16 nDecimals,
1112  tools::Long nMaximum ,
1113  tools::Long nMinimum )
1114 {
1115  return VclPtr<AbstractScMetricInputDlg_Impl>::Create(std::make_unique<ScMetricInputDlg>(pParent, sDialogName, nCurrent ,nDefault, eFUnit,
1116  nDecimals, nMaximum , nMinimum));
1117 }
1118 
1120  const OUString& rDefault)
1121 {
1122  return VclPtr<AbstractScMoveTableDlg_Impl>::Create(std::make_unique<ScMoveTableDlg>(pParent, rDefault));
1123 }
1124 
1126 {
1127  return VclPtr<AbstractScNameCreateDlg_Impl>::Create(std::make_unique<ScNameCreateDlg>(pParent, nFlags));
1128 }
1129 
1131 {
1132  return VclPtr<AbstractScNamePasteDlg_Impl>::Create(std::make_unique<ScNamePasteDlg>(pParent, pShell));
1133 }
1134 
1136  const SfxItemSet& rArgSet, sal_uInt16 nSourceTab)
1137 {
1138  return VclPtr<AbstractScPivotFilterDlg_Impl>::Create(std::make_unique<ScPivotFilterDlg>(pParent, rArgSet, nSourceTab));
1139 }
1140 
1142  const ScDPLabelDataVector& rLabelVec,
1143  const ScDPLabelData& rLabelData,
1144  const ScPivotFuncData& rFuncData)
1145 {
1146  return VclPtr<AbstractScDPFunctionDlg_Impl>::Create(std::make_shared<ScDPFunctionDlg>(pParent, rLabelVec, rLabelData, rFuncData));
1147 }
1148 
1150  ScDPObject& rDPObj,
1151  const ScDPLabelData& rLabelData,
1152  const ScPivotFuncData& rFuncData,
1153  const ScDPNameVec& rDataFields)
1154 {
1155  return VclPtr<AbstractScDPSubtotalDlg_Impl>::Create(std::make_shared<ScDPSubtotalDlg>(pParent, rDPObj, rLabelData, rFuncData, rDataFields, true/*bEnableLayout*/));
1156 }
1157 
1159 {
1160  return VclPtr<AbstractScDPNumGroupDlg_Impl>::Create(std::make_unique<ScDPNumGroupDlg>(pParent, rInfo));
1161 }
1162 
1164  weld::Window* pParent, const ScDPNumGroupInfo& rInfo, sal_Int32 nDatePart, const Date& rNullDate)
1165 {
1166  return VclPtr<AbstractScDPDateGroupDlg_Impl>::Create(std::make_unique<ScDPDateGroupDlg>(pParent, rInfo, nDatePart, rNullDate));
1167 }
1168 
1170  weld::Window* pParent, ScDPObject& rDPObj, css::sheet::DataPilotFieldOrientation nOrient )
1171 {
1172  return VclPtr<AbstractScDPShowDetailDlg_Impl>::Create(std::make_unique<ScDPShowDetailDlg>(pParent, rDPObj, nOrient));
1173 }
1174 
1176  bool bEdit, bool bSheetProtected)
1177 {
1178  return VclPtr<AbstractScNewScenarioDlg_Impl>::Create(std::make_unique<ScNewScenarioDlg>(pParent, rName, bEdit, bSheetProtected));
1179 }
1180 
1182 {
1183  return VclPtr<AbstractScShowTabDlg_Impl>::Create(std::make_shared<ScShowTabDlg>(pParent));
1184 }
1185 
1187  const OUString& rTitle, const OUString& rEditTitle, const OUString& rDefault, const OString& rHelpId,
1188  const OString& rEditHelpId)
1189 {
1190  return VclPtr<AbstractScStringInputDlg_Impl>::Create(std::make_unique<ScStringInputDlg>(pParent, rTitle, rEditTitle,
1191  rDefault, rHelpId, rEditHelpId));
1192 }
1193 
1195  weld::Window* pParent,
1196  const OUString& rTitle,
1197  const OUString& rTabBgColorNoColorText,
1198  const Color& rDefaultColor)
1199 {
1200  return VclPtr<AbstractScTabBgColorDlg_Impl>::Create(std::make_unique<ScTabBgColorDlg>(pParent, rTitle, rTabBgColorNoColorText, rDefaultColor));
1201 }
1202 
1204  bool bAscii,
1205  const ScImportOptions* pOptions,
1206  const OUString* pStrTitle,
1207  bool bOnlyDbtoolsEncodings,
1208  bool bImport)
1209 {
1210  return VclPtr<AbstractScImportOptionsDlg_Impl>::Create(std::make_unique<ScImportOptionsDlg>(pParent, bAscii, pOptions, pStrTitle, true/*bMultiByte*/, bOnlyDbtoolsEncodings, bImport));
1211 }
1212 
1214 {
1215  return VclPtr<ScAbstractTabController_Impl>::Create(std::make_shared<ScAttrDlg>(pParent, pCellAttrs));
1216 }
1217 
1219  const SfxItemSet& rCoreSet,
1220  const OUString& rPageStyle,
1221  sal_uInt16 nResId )
1222 {
1223  std::shared_ptr<SfxTabDialogController> xDlg;
1224 
1225  switch (nResId)
1226  {
1227  case RID_SCDLG_HFED_HEADER:
1228  case RID_SCDLG_HFEDIT_HEADER:
1229  xDlg = std::make_shared<ScHFEditHeaderDlg>(pParent, rCoreSet, rPageStyle);
1230  break;
1231  case RID_SCDLG_HFED_FOOTER:
1232  case RID_SCDLG_HFEDIT_FOOTER:
1233  xDlg = std::make_shared<ScHFEditFooterDlg>(pParent, rCoreSet, rPageStyle);
1234  break;
1235  case RID_SCDLG_HFEDIT_LEFTHEADER:
1236  xDlg = std::make_shared<ScHFEditLeftHeaderDlg>(pParent, rCoreSet, rPageStyle);
1237  break;
1238  case RID_SCDLG_HFEDIT_RIGHTHEADER:
1239  xDlg = std::make_shared<ScHFEditRightHeaderDlg>(pParent, rCoreSet, rPageStyle);
1240  break;
1241  case RID_SCDLG_HFEDIT_LEFTFOOTER:
1242  xDlg = std::make_shared<ScHFEditLeftFooterDlg>(pParent, rCoreSet, rPageStyle);
1243  break;
1244  case RID_SCDLG_HFEDIT_RIGHTFOOTER:
1245  xDlg = std::make_shared<ScHFEditRightFooterDlg>(pParent, rCoreSet, rPageStyle);
1246  break;
1247  case RID_SCDLG_HFEDIT_SHDR:
1248  xDlg = std::make_shared<ScHFEditSharedHeaderDlg>(pParent, rCoreSet, rPageStyle);
1249  break;
1250  case RID_SCDLG_HFEDIT_SFTR:
1251  xDlg = std::make_shared<ScHFEditSharedFooterDlg>(pParent, rCoreSet, rPageStyle);
1252  break;
1253  case RID_SCDLG_HFEDIT_ALL:
1254  xDlg = std::make_shared<ScHFEditAllDlg>(pParent, rCoreSet, rPageStyle);
1255  break;
1256  default:
1257  case RID_SCDLG_HFEDIT:
1258  xDlg = std::make_shared<ScHFEditActiveDlg>(pParent, rCoreSet, rPageStyle);
1259  break;
1260  }
1261 
1262  return xDlg ? VclPtr<ScAbstractTabController_Impl>::Create(std::move(xDlg)) : nullptr;
1263 }
1264 
1266  SfxStyleSheetBase& rStyleBase,
1267  bool bPage)
1268 {
1269  return VclPtr<ScAbstractTabController_Impl>::Create(std::make_shared<ScStyleDlg>(pParent, rStyleBase, bPage));
1270 }
1271 
1273 {
1274  return VclPtr<ScAbstractTabController_Impl>::Create(std::make_shared<ScSubTotalDlg>(pParent, rArgSet));
1275 }
1276 
1278  weld::Window* pParent, const SfxItemSet* pAttr, const SfxObjectShell* pDocShell, bool bDrawText)
1279 {
1280  return VclPtr<ScAbstractTabController_Impl>::Create(std::make_shared<ScCharDlg>(pParent, pAttr, pDocShell, bDrawText));
1281 }
1282 
1284  weld::Window* pParent, const SfxItemSet* pAttr)
1285 {
1286  return VclPtr<ScAbstractTabController_Impl>::Create(std::make_shared<ScParagraphDlg>(pParent, pAttr));
1287 }
1288 
1289 std::shared_ptr<ScAsyncTabController> ScAbstractDialogFactory_Impl::CreateScSortDlg(weld::Window* pParent, const SfxItemSet* pArgSet)
1290 {
1291  return std::make_shared<ScAsyncTabController_Impl>(std::make_shared<ScSortDlg>(pParent, pArgSet));
1292 }
1293 
1294 //------------------ Factories for TabPages--------------------
1296 {
1297  switch (nId)
1298  {
1299  case SID_SC_TP_CHANGES:
1301  case SID_SC_TP_CALC:
1302  return ScTpCalcOptions::Create;
1303  case SID_SC_TP_FORMULA:
1305  case SID_SC_TP_COMPATIBILITY:
1307  case RID_SC_TP_DEFAULTS:
1309  case RID_SC_TP_PRINT:
1310  return ScTpPrintOptions::Create;
1311  case SID_SC_TP_STAT:
1312  return ScDocStatPage::Create;
1313  case SID_SC_TP_USERLISTS:
1314  return ScTpUserLists::Create;
1315  case SID_SC_TP_CONTENT:
1317  case SID_SC_TP_LAYOUT:
1319  default:
1320  break;
1321  }
1322 
1323  return nullptr;
1324 }
1325 
1326 /* 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:879
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:1052
virtual BitmapEx createScreenshot() const override
Definition: scdlgfact.cxx:578
virtual OUString GetInputString() const override
Definition: scdlgfact.cxx:847
virtual InsertDeleteFlags GetInsContentsCmdBits() const override
Definition: scdlgfact.cxx:528
virtual VclPtr< SfxAbstractTabDialog > CreateScStyleDlg(weld::Window *pParent, SfxStyleSheetBase &rStyleBase, bool bPage) override
Definition: scdlgfact.cxx:1265
virtual short Execute() override
Definition: scdlgfact.cxx:90
virtual VclPtr< AbstractScInsertCellDlg > CreateScInsertCellDlg(weld::Window *pParent, bool bDisallowCellMove) override
Definition: scdlgfact.cxx:1077
virtual VclPtr< AbstractScGroupDlg > CreateAbstractScGroupDlg(weld::Window *pParent, bool bUnGroup=false) override
Definition: scdlgfact.cxx:1072
std::unique_ptr< ScDPDateGroupDlg > m_xDlg
Definition: scdlgfact.hxx:509
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:1013
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:940
virtual OString GetScreenshotId() const override
Definition: scdlgfact.cxx:447
virtual VclPtr< AbstractScLinkedAreaDlg > CreateScLinkedAreaDlg(weld::Widget *pParent) override
Definition: scdlgfact.cxx:1101
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:522
virtual OString GetScreenshotId() const override
Definition: scdlgfact.cxx:370
std::unique_ptr< ScTabBgColorDlg > m_xDlg
Definition: scdlgfact.hxx:594
virtual void SetCurPageId(const OString &rName) override
Definition: scdlgfact.cxx:925
virtual OString GetScreenshotId() const override
Definition: scdlgfact.cxx:858
virtual void SetChangeTrack(bool bSet) override
Definition: scdlgfact.cxx:563
virtual BitmapEx createScreenshot() const override
Definition: scdlgfact.cxx:868
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:1089
virtual VclPtr< AbstractScInsertContentsDlg > CreateScInsertContentsDlg(weld::Window *pParent, const OUString *pStrTitle=nullptr) override
Definition: scdlgfact.cxx:1083
virtual void FillLabelData(ScDPLabelData &rLabelData) const override
Definition: scdlgfact.cxx:778
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:1175
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:987
CreateNameFlags
Definition: scui_def.hxx:50
virtual const SfxItemSet * GetOutputItemSet() const override
Definition: scdlgfact.cxx:930
std::shared_ptr< ScShowTabDlg > m_xDlg
Definition: scdlgfact.hxx:551
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:1169
virtual VclPtr< AbstractScColRowLabelDlg > CreateScColRowLabelDlg(weld::Window *pParent, bool bCol, bool bRow) override
Definition: scdlgfact.cxx:1007
virtual VclPtr< SfxAbstractTabDialog > CreateScSubTotalDlg(weld::Window *pParent, const SfxItemSet &rArgSet) override
Definition: scdlgfact.cxx:1272
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:910
DelCellCmd
Definition: global.hxx:289
virtual VclPtr< SfxAbstractTabDialog > CreateScParagraphDlg(weld::Window *pParent, const SfxItemSet *pAttr) override
Definition: scdlgfact.cxx:1283
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:1028
virtual int GetInputValue() const override
Definition: scdlgfact.cxx:692
virtual VclPtr< AbstractScTextImportOptionsDlg > CreateScTextImportOptionsDlg(weld::Window *pParent) override
Definition: scdlgfact.cxx:994
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:1034
virtual bool IsNamedRange() const override
Definition: scdlgfact.cxx:385
virtual VclPtr< AbstractScShowTabDlg > CreateScShowTabDlg(weld::Window *pParent) override
Definition: scdlgfact.cxx:1181
virtual ScDPNumGroupInfo GetGroupInfo() const override
Definition: scdlgfact.cxx:793
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 void Response(int nResponse) override
Definition: scdlgfact.cxx:763
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:1149
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:1057
virtual const sal_uInt16 * GetInputRanges(const SfxItemPool &pItem) override
Definition: scdlgfact.cxx:935
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:894
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:808
virtual bool IsExternal() const override
Definition: scdlgfact.cxx:380
std::unique_ptr< ScSortWarningDlg > m_xDlg
Definition: scdlgfact.hxx:567
std::unique_ptr< ScDPNumGroupDlg > m_xDlg
Definition: scdlgfact.hxx:497
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:1186
virtual css::sheet::DataPilotFieldReference GetFieldRef() const override
Definition: scdlgfact.cxx:768
std::unique_ptr< ScImportOptionsDlg > m_xDlg
Definition: scdlgfact.hxx:610
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:578
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:482
virtual VclPtr< AbstractScImportOptionsDlg > CreateScImportOptionsDlg(weld::Window *pParent, bool bAscii, const ScImportOptions *pOptions, const OUString *pStrTitle, bool bOnlyDbtoolsEncodings, bool bImport=true) override
Definition: scdlgfact.cxx:1203
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:1295
virtual VclPtr< AbstractScNameCreateDlg > CreateScNameCreateDlg(weld::Window *pParent, CreateNameFlags nFlags) override
Definition: scdlgfact.cxx:1125
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:1046
virtual InsertDeleteFlags GetDelContentsCmdBits() const override
Definition: scdlgfact.cxx:457
virtual short Execute() override
Definition: scdlgfact.cxx:253
virtual void Response(int nResponse) override
Definition: scdlgfact.cxx:783
virtual OUString GetEntry(sal_Int32 nPos) const override
Definition: scdlgfact.cxx:837
virtual VclPtr< SfxAbstractTabDialog > CreateScAttrDlg(weld::Window *pParent, const SfxItemSet *pCellAttrs) override
Definition: scdlgfact.cxx:1213
virtual sal_Int32 GetDatePart() const override
Definition: scdlgfact.cxx:798
virtual BitmapEx createScreenshot() const override
Definition: scdlgfact.cxx:904
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:884
virtual void SetCurPageId(const OString &rName) override
Definition: scdlgfact.cxx:976
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:1218
virtual OString GetScreenshotId() const override
Definition: scdlgfact.cxx:354
virtual void SetText(const OUString &rStr) override
Definition: scdlgfact.cxx:946
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:981
virtual VclPtr< AbstractScTabBgColorDlg > CreateScTabBgColorDlg(weld::Window *pParent, const OUString &rTitle, const OUString &rTabBgColorNoColorText, const Color &rDefaultColor) override
Definition: scdlgfact.cxx:1194
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:664
std::unique_ptr< ScInsertContentsDlg > m_xDlg
Definition: scdlgfact.hxx:314
virtual BitmapEx createScreenshot() const override
Definition: scdlgfact.cxx:852
virtual BitmapEx createScreenshot() const override
Definition: scdlgfact.cxx:961
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:1141
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:1106
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:814
virtual bool selectPageByUIXMLDescription(const OString &rUIXMLDescription) override
Definition: scdlgfact.cxx:956
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:1135
virtual short Execute() override
Definition: scdlgfact.cxx:105
virtual bool StartExecuteAsync(AsyncContext &rCtx) override
Definition: scdlgfact.cxx:920
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:842
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:915
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:999
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:971
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:1119
virtual void SetDescription(const OUString &rTitle, const OUString &rFixedText, const OString &sDlgHelpId, const OString &sLbHelpId) override
Definition: scdlgfact.cxx:825
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:1130
virtual void DisableObjects() override
Definition: scdlgfact.cxx:452
std::unique_ptr< ScNewScenarioDlg > m_xDlg
Definition: scdlgfact.hxx:534
virtual VclPtr< AbstractScDeleteCellDlg > CreateScDeleteCellDlg(weld::Window *pParent, bool bDisallowCellMove) override
Definition: scdlgfact.cxx:1040
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:899
virtual void GetSelectedColor(Color &rColor) const override
Definition: scdlgfact.cxx:863
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:832
virtual ~AbstractScLinkedAreaDlg_Impl() override
Definition: scdlgfact.cxx:298
virtual VclPtr< AbstractScDPNumGroupDlg > CreateScDPNumGroupDlg(weld::Window *pParent, const ScDPNumGroupInfo &rInfo) override
Definition: scdlgfact.cxx:1158
virtual VclPtr< AbstractScSelEntryDlg > CreateScSelEntryDlg(weld::Window *pParent, const std::vector< OUString > &rEntryList) override
Definition: scdlgfact.cxx:1095
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:1163
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:773
std::shared_ptr< ScDPFunctionDlg > m_xDlg
Definition: scdlgfact.hxx:467
virtual OString GetScreenshotId() const override
Definition: scdlgfact.cxx:966
BitmapEx GetBitmapEx(const Point &rSrcPt, const Size &rSize) const
std::unique_ptr< ScTextImportOptionsDlg > m_xDlg
Definition: scdlgfact.hxx:623
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: tpusrlst.cxx:133
virtual OString GetScreenshotId() const override
Definition: scdlgfact.cxx:874
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:1018
virtual short Execute() override
Definition: scdlgfact.cxx:223
virtual ScDPNumGroupInfo GetGroupInfo() const override
Definition: scdlgfact.cxx:788
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:820
std::unique_ptr< ScColRowLabelDlg > m_xDlg
Definition: scdlgfact.hxx:133
virtual VclPtr< AbstractScDataPilotDatabaseDlg > CreateScDataPilotDatabaseDlg(weld::Window *pParent) override
Definition: scdlgfact.cxx:1023
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:641
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:1289
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:951
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rCoreSet)
Definition: tpformula.cxx:224
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:1277
virtual OUString GetDimensionName() const override
Definition: scdlgfact.cxx:803
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:889