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