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 OUString& sDlgHelpId, const OUString& 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 OUString& rDlgHelpId, const OUString& rEnHelpId, const OUString& 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->isScientificConversionSet();
944}
945
947{
948 return m_xDlg->isKeepAskingSet();
949}
950
952{
953 VclPtr<VirtualDevice> xDialogSurface(m_xDlg->getDialog()->screenshot());
954 return xDialogSurface->GetBitmapEx(Point(), xDialogSurface->GetOutputSizePixel());
955}
956
958{
959 return m_xDlg->get_help_id();
960}
961
963{
964 return m_xDlg->run();
965}
966
968{
969 return SfxTabDialogController::runAsync(m_xDlg, rCtx.maEndDialogFn);
970}
971
973{
974 m_xDlg->SetCurPageId( rName );
975}
976
978{
979 return m_xDlg->GetOutputItemSet();
980}
981
983{
984 return m_xDlg->GetInputRanges( pItem );
985}
986
988{
989 m_xDlg->SetInputSet( pInSet );
990}
991
992//From class Window.
993void ScAbstractTabController_Impl::SetText( const OUString& rStr )
994{
995 m_xDlg->set_title(rStr);
996}
997
999{
1000 return m_xDlg->getAllPageUIXMLDescriptions();
1001}
1002
1004{
1005 return m_xDlg->selectPageByUIXMLDescription(rUIXMLDescription);
1006}
1007
1009{
1010 return m_xDlg->createScreenshot();
1011}
1012
1014{
1015 return m_xDlg->GetScreenshotId();
1016}
1017
1019{
1021}
1022
1023void ScAsyncTabController_Impl::SetCurPageId( const OUString &rName )
1024{
1025 m_xDlg->SetCurPageId( rName );
1026}
1027
1029{
1030 return m_xDlg->GetOutputItemSet();
1031}
1032
1033// =========================Factories for createdialog ===================
1035 const OUString& aDatName,
1036 SvStream* pInStream, ScImportAsciiCall eCall)
1037{
1038 return VclPtr<AbstractScImportAsciiDlg_Impl>::Create(std::make_shared<ScImportAsciiDlg>(pParent, aDatName,pInStream, eCall));
1039}
1040
1042{
1043 return VclPtr<AbstractScTextImportOptionsDlg_Impl>::Create(std::make_unique<ScTextImportOptionsDlg>(pParent));
1044}
1045
1047 ScAutoFormat* pAutoFormat,
1048 const ScAutoFormatData* pSelFormatData,
1049 ScViewData& rViewData)
1050{
1051 return VclPtr<AbstractScAutoFormatDlg_Impl>::Create(std::make_unique<ScAutoFormatDlg>(pParent, pAutoFormat, pSelFormatData, rViewData));
1052}
1053
1055 bool bCol, bool bRow)
1056{
1057 return VclPtr<AbstractScColRowLabelDlg_Impl>::Create(std::make_unique<ScColRowLabelDlg>(pParent, bCol, bRow));
1058}
1059
1060VclPtr<AbstractScSortWarningDlg> ScAbstractDialogFactory_Impl::CreateScSortWarningDlg(weld::Window* pParent, const OUString& rExtendText, const OUString& rCurrentText)
1061{
1062 return VclPtr<AbstractScSortWarningDlg_Impl>::Create(std::make_unique<ScSortWarningDlg>(pParent, rExtendText, rCurrentText));
1063}
1064
1066{
1067 return VclPtr<AbstractScCondFormatManagerDlg_Impl>::Create(std::make_shared<ScCondFormatManagerDlg>(pParent, rDoc, pFormatList));
1068}
1069
1071{
1072 return VclPtr<AbstractScDataPilotDatabaseDlg_Impl>::Create(std::make_shared<ScDataPilotDatabaseDlg>(pParent));
1073}
1074
1076 weld::Window* pParent, bool bEnableExternal)
1077{
1078 return VclPtr<AbstractScDataPilotSourceTypeDlg_Impl>::Create(std::make_shared<ScDataPilotSourceTypeDlg>(pParent, bEnableExternal));
1079}
1080
1082 const std::vector<OUString>& rServices)
1083{
1084 return VclPtr<AbstractScDataPilotServiceDlg_Impl>::Create(std::make_shared<ScDataPilotServiceDlg>(pParent, rServices));
1085}
1086
1088 bool bDisallowCellMove)
1089{
1090 return VclPtr<AbstractScDeleteCellDlg_Impl>::Create(std::make_unique<ScDeleteCellDlg>(pParent, bDisallowCellMove));
1091}
1092
1094 ScTabViewShell* pTabViewShell)
1095{
1096 return VclPtr<AbstractScDataFormDlg_Impl>::Create(std::make_unique<ScDataFormDlg>(pParent, pTabViewShell));
1097}
1098
1100{
1101 return VclPtr<AbstractScDeleteContentsDlg_Impl>::Create(std::make_unique<ScDeleteContentsDlg>(pParent));
1102}
1103
1105 ScDocument& rDocument,
1106 FillDir eFillDir,
1107 FillCmd eFillCmd,
1108 FillDateCmd eFillDateCmd,
1109 const OUString& aStartStr,
1110 double fStep,
1111 double fMax,
1112 const SCSIZE nSelectHeight,
1113 const SCSIZE nSelectWidth,
1114 sal_uInt16 nPossDir)
1115{
1116 return VclPtr<AbstractScFillSeriesDlg_Impl>::Create(std::make_unique<ScFillSeriesDlg>(pParent, rDocument,eFillDir, eFillCmd,eFillDateCmd, aStartStr,fStep,fMax,nSelectHeight,nSelectWidth,nPossDir));
1117}
1118
1120{
1121 return VclPtr<AbstractScGroupDlg_Impl>::Create(std::make_shared<ScGroupDlg>(pParent, bUnGroup, true/*bRows*/));
1122}
1123
1125 bool bDisallowCellMove)
1126{
1127 return VclPtr<AbstractScInsertCellDlg_Impl>::Create(std::make_unique<ScInsertCellDlg>(pParent, bDisallowCellMove));
1128}
1129
1131 const OUString* pStrTitle)
1132{
1133 return VclPtr<AbstractScInsertContentsDlg_Impl>::Create(std::make_unique<ScInsertContentsDlg>(pParent, pStrTitle));
1134}
1135
1137 SCTAB nTabCount, bool bFromFile)
1138{
1139 return VclPtr<AbstractScInsertTableDlg_Impl>::Create(std::make_unique<ScInsertTableDlg>(pParent, rViewData,nTabCount, bFromFile));
1140}
1141
1143 const std::vector<OUString> &rEntryList)
1144{
1145 return VclPtr<AbstractScSelEntryDlg_Impl>::Create(std::make_unique<ScSelEntryDlg>(pParent, rEntryList));
1146}
1147
1149{
1150 return VclPtr<AbstractScLinkedAreaDlg_Impl>::Create(std::make_unique<ScLinkedAreaDlg>(pParent));
1151}
1152
1154 const OUString& sDialogName,
1155 tools::Long nCurrent,
1156 tools::Long nDefault,
1157 FieldUnit eFUnit,
1158 sal_uInt16 nDecimals,
1159 tools::Long nMaximum ,
1160 tools::Long nMinimum )
1161{
1162 return VclPtr<AbstractScMetricInputDlg_Impl>::Create(std::make_shared<ScMetricInputDlg>(pParent, sDialogName, nCurrent ,nDefault, eFUnit,
1163 nDecimals, nMaximum , nMinimum));
1164}
1165
1167 const OUString& rDefault)
1168{
1169 return VclPtr<AbstractScMoveTableDlg_Impl>::Create(std::make_unique<ScMoveTableDlg>(pParent, rDefault));
1170}
1171
1173{
1174 return VclPtr<AbstractScNameCreateDlg_Impl>::Create(std::make_unique<ScNameCreateDlg>(pParent, nFlags));
1175}
1176
1178{
1179 return VclPtr<AbstractScNamePasteDlg_Impl>::Create(std::make_unique<ScNamePasteDlg>(pParent, pShell));
1180}
1181
1183 const SfxItemSet& rArgSet, sal_uInt16 nSourceTab)
1184{
1185 return VclPtr<AbstractScPivotFilterDlg_Impl>::Create(std::make_unique<ScPivotFilterDlg>(pParent, rArgSet, nSourceTab));
1186}
1187
1189 const ScDPLabelDataVector& rLabelVec,
1190 const ScDPLabelData& rLabelData,
1191 const ScPivotFuncData& rFuncData)
1192{
1193 return VclPtr<AbstractScDPFunctionDlg_Impl>::Create(std::make_shared<ScDPFunctionDlg>(pParent, rLabelVec, rLabelData, rFuncData));
1194}
1195
1197 ScDPObject& rDPObj,
1198 const ScDPLabelData& rLabelData,
1199 const ScPivotFuncData& rFuncData,
1200 const ScDPNameVec& rDataFields)
1201{
1202 return VclPtr<AbstractScDPSubtotalDlg_Impl>::Create(std::make_shared<ScDPSubtotalDlg>(pParent, rDPObj, rLabelData, rFuncData, rDataFields, true/*bEnableLayout*/));
1203}
1204
1206{
1207 return VclPtr<AbstractScDPNumGroupDlg_Impl>::Create(std::make_unique<ScDPNumGroupDlg>(pParent, rInfo));
1208}
1209
1211 weld::Window* pParent, const ScDPNumGroupInfo& rInfo, sal_Int32 nDatePart, const Date& rNullDate)
1212{
1213 return VclPtr<AbstractScDPDateGroupDlg_Impl>::Create(std::make_unique<ScDPDateGroupDlg>(pParent, rInfo, nDatePart, rNullDate));
1214}
1215
1217 weld::Window* pParent, ScDPObject& rDPObj, css::sheet::DataPilotFieldOrientation nOrient )
1218{
1219 return VclPtr<AbstractScDPShowDetailDlg_Impl>::Create(std::make_unique<ScDPShowDetailDlg>(pParent, rDPObj, nOrient));
1220}
1221
1223 bool bEdit, bool bSheetProtected)
1224{
1225 return VclPtr<AbstractScNewScenarioDlg_Impl>::Create(std::make_unique<ScNewScenarioDlg>(pParent, rName, bEdit, bSheetProtected));
1226}
1227
1229{
1230 return VclPtr<AbstractScShowTabDlg_Impl>::Create(std::make_shared<ScShowTabDlg>(pParent));
1231}
1232
1234{
1235 return VclPtr<AbstractScGoToTabDlg_Impl>::Create(std::make_shared<ScGoToTabDlg>(pParent));
1236}
1237
1239 const OUString& rTitle, const OUString& rEditTitle, const OUString& rDefault, const OUString& rHelpId,
1240 const OUString& rEditHelpId)
1241{
1242 return VclPtr<AbstractScStringInputDlg_Impl>::Create(std::make_unique<ScStringInputDlg>(pParent, rTitle, rEditTitle,
1243 rDefault, rHelpId, rEditHelpId));
1244}
1245
1247 weld::Window* pParent,
1248 const OUString& rTitle,
1249 const OUString& rTabBgColorNoColorText,
1250 const Color& rDefaultColor)
1251{
1252 return VclPtr<AbstractScTabBgColorDlg_Impl>::Create(std::make_unique<ScTabBgColorDlg>(pParent, rTitle, rTabBgColorNoColorText, rDefaultColor));
1253}
1254
1256 bool bAscii,
1257 const ScImportOptions* pOptions,
1258 const OUString* pStrTitle,
1259 bool bOnlyDbtoolsEncodings,
1260 bool bImport)
1261{
1262 return VclPtr<AbstractScImportOptionsDlg_Impl>::Create(std::make_unique<ScImportOptionsDlg>(pParent, bAscii, pOptions, pStrTitle, true/*bMultiByte*/, bOnlyDbtoolsEncodings, bImport));
1263}
1264
1266{
1267 return VclPtr<ScAbstractTabController_Impl>::Create(std::make_shared<ScAttrDlg>(pParent, pCellAttrs));
1268}
1269
1271 const SfxItemSet& rCoreSet,
1272 const OUString& rPageStyle,
1273 sal_uInt16 nResId )
1274{
1275 std::shared_ptr<SfxTabDialogController> xDlg;
1276
1277 switch (nResId)
1278 {
1279 case RID_SCDLG_HFED_HEADER:
1280 case RID_SCDLG_HFEDIT_HEADER:
1281 xDlg = std::make_shared<ScHFEditHeaderDlg>(pParent, rCoreSet, rPageStyle);
1282 break;
1283 case RID_SCDLG_HFED_FOOTER:
1284 case RID_SCDLG_HFEDIT_FOOTER:
1285 xDlg = std::make_shared<ScHFEditFooterDlg>(pParent, rCoreSet, rPageStyle);
1286 break;
1287 case RID_SCDLG_HFEDIT_SHAREDFIRSTHEADER:
1288 xDlg = std::make_shared<ScHFEditSharedFirstHeaderDlg>(pParent, rCoreSet, rPageStyle);
1289 break;
1290 case RID_SCDLG_HFEDIT_SHAREDLEFTHEADER:
1291 xDlg = std::make_shared<ScHFEditSharedLeftHeaderDlg>(pParent, rCoreSet, rPageStyle);
1292 break;
1293 case RID_SCDLG_HFEDIT_SHAREDFIRSTFOOTER:
1294 xDlg = std::make_shared<ScHFEditSharedFirstFooterDlg>(pParent, rCoreSet, rPageStyle);
1295 break;
1296 case RID_SCDLG_HFEDIT_SHAREDLEFTFOOTER:
1297 xDlg = std::make_shared<ScHFEditSharedLeftFooterDlg>(pParent, rCoreSet, rPageStyle);
1298 break;
1299 case RID_SCDLG_HFEDIT_LEFTHEADER:
1300 xDlg = std::make_shared<ScHFEditLeftHeaderDlg>(pParent, rCoreSet, rPageStyle);
1301 break;
1302 case RID_SCDLG_HFEDIT_RIGHTHEADER:
1303 xDlg = std::make_shared<ScHFEditRightHeaderDlg>(pParent, rCoreSet, rPageStyle);
1304 break;
1305 case RID_SCDLG_HFEDIT_LEFTFOOTER:
1306 xDlg = std::make_shared<ScHFEditLeftFooterDlg>(pParent, rCoreSet, rPageStyle);
1307 break;
1308 case RID_SCDLG_HFEDIT_RIGHTFOOTER:
1309 xDlg = std::make_shared<ScHFEditRightFooterDlg>(pParent, rCoreSet, rPageStyle);
1310 break;
1311 case RID_SCDLG_HFEDIT_SHDR:
1312 xDlg = std::make_shared<ScHFEditSharedHeaderDlg>(pParent, rCoreSet, rPageStyle);
1313 break;
1314 case RID_SCDLG_HFEDIT_SFTR:
1315 xDlg = std::make_shared<ScHFEditSharedFooterDlg>(pParent, rCoreSet, rPageStyle);
1316 break;
1317 case RID_SCDLG_HFEDIT_ALL:
1318 xDlg = std::make_shared<ScHFEditAllDlg>(pParent, rCoreSet, rPageStyle);
1319 break;
1320 default:
1321 case RID_SCDLG_HFEDIT:
1322 xDlg = std::make_shared<ScHFEditActiveDlg>(pParent, rCoreSet, rPageStyle);
1323 break;
1324 }
1325
1326 return xDlg ? VclPtr<ScAbstractTabController_Impl>::Create(std::move(xDlg)) : nullptr;
1327}
1328
1330 SfxStyleSheetBase& rStyleBase,
1331 bool bPage)
1332{
1333 return VclPtr<ScAbstractTabController_Impl>::Create(std::make_shared<ScStyleDlg>(pParent, rStyleBase, bPage));
1334}
1335
1337 SfxStyleSheetBase& rStyleBase,
1338 SdrView* pView)
1339{
1340 return VclPtr<ScAbstractTabController_Impl>::Create(std::make_shared<ScDrawStyleDlg>(pParent, rStyleBase, pView));
1341}
1342
1344{
1345 return VclPtr<ScAbstractTabController_Impl>::Create(std::make_shared<ScSubTotalDlg>(pParent, rArgSet));
1346}
1347
1349 weld::Window* pParent, const SfxItemSet* pAttr, const SfxObjectShell* pDocShell, bool bDrawText)
1350{
1351 return VclPtr<ScAbstractTabController_Impl>::Create(std::make_shared<ScCharDlg>(pParent, pAttr, pDocShell, bDrawText));
1352}
1353
1355 weld::Window* pParent, const SfxItemSet* pAttr)
1356{
1357 return VclPtr<ScAbstractTabController_Impl>::Create(std::make_shared<ScParagraphDlg>(pParent, pAttr));
1358}
1359
1360std::shared_ptr<ScAsyncTabController> ScAbstractDialogFactory_Impl::CreateScSortDlg(weld::Window* pParent, const SfxItemSet* pArgSet)
1361{
1362 return std::make_shared<ScAsyncTabController_Impl>(std::make_shared<ScSortDlg>(pParent, pArgSet));
1363}
1364
1365//------------------ Factories for TabPages--------------------
1367{
1368 switch (nId)
1369 {
1370 case SID_SC_TP_CHANGES:
1372 case SID_SC_TP_CALC:
1374 case SID_SC_TP_FORMULA:
1376 case SID_SC_TP_COMPATIBILITY:
1378 case RID_SC_TP_DEFAULTS:
1380 case RID_SC_TP_PRINT:
1382 case SID_SC_TP_STAT:
1383 return ScDocStatPage::Create;
1384 case SID_SC_TP_USERLISTS:
1385 return ScTpUserLists::Create;
1386 case SID_SC_TP_CONTENT:
1388 case SID_SC_TP_LAYOUT:
1390 default:
1391 break;
1392 }
1393
1394 return nullptr;
1395}
1396
1397/* 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:109
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 OUString GetScreenshotId() const override
Definition: scdlgfact.cxx:379
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 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 OUString 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 OUString GetScreenshotId() const override
Definition: scdlgfact.cxx:395
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 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 OUString GetScreenshotId() const override
Definition: scdlgfact.cxx:431
virtual short Execute() override
Definition: scdlgfact.cxx:115
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 DelCellCmd GetDelCellCmd() const override
Definition: scdlgfact.cxx:461
virtual OUString GetScreenshotId() const override
Definition: scdlgfact.cxx:472
virtual bool StartExecuteAsync(AsyncContext &rCtx) override
Definition: scdlgfact.cxx:140
virtual OUString 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 OUString &rDlgHelpId, const OUString &rEnHelpId, const OUString &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 OUString GetScreenshotId() const override
Definition: scdlgfact.cxx:348
virtual BitmapEx createScreenshot() const override
Definition: scdlgfact.cxx:342
std::shared_ptr< ScImportAsciiDlg > m_xDlg
Definition: scdlgfact.hxx:58
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 OUString GetScreenshotId() const override
Definition: scdlgfact.cxx:609
virtual InsCellCmd GetMoveMode() override
Definition: scdlgfact.cxx:598
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 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 OUString GetScreenshotId() const override
Definition: scdlgfact.cxx:655
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 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 OUString GetScreenshotId() const override
Definition: scdlgfact.cxx:223
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 OUString 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 OUString &sDlgHelpId, const OUString &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 OUString GetScreenshotId() const override
Definition: scdlgfact.cxx:900
virtual short Execute() override
Definition: scdlgfact.cxx:884
std::unique_ptr< ScStringInputDlg > m_xDlg
Definition: scdlgfact.hxx:553
virtual OUString GetInputString() const override
Definition: scdlgfact.cxx:889
virtual OUString GetScreenshotId() const override
Definition: scdlgfact.cxx:916
std::unique_ptr< ScTabBgColorDlg > m_xDlg
Definition: scdlgfact.hxx:569
virtual void GetSelectedColor(Color &rColor) const override
Definition: scdlgfact.cxx:905
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 bool IsScientificConversionSet() const override
Definition: scdlgfact.cxx:941
virtual BitmapEx createScreenshot() const override
Definition: scdlgfact.cxx:951
virtual OUString GetScreenshotId() const override
Definition: scdlgfact.cxx:957
virtual bool IsKeepAskingSet() const override
Definition: scdlgfact.cxx:946
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:1104
virtual VclPtr< AbstractScDataFormDlg > CreateScDataFormDlg(weld::Window *pParent, ScTabViewShell *pTabViewShell) override
Definition: scdlgfact.cxx:1093
virtual VclPtr< AbstractScImportOptionsDlg > CreateScImportOptionsDlg(weld::Window *pParent, bool bAscii, const ScImportOptions *pOptions, const OUString *pStrTitle, bool bOnlyDbtoolsEncodings, bool bImport=true) override
Definition: scdlgfact.cxx:1255
virtual VclPtr< AbstractScDeleteCellDlg > CreateScDeleteCellDlg(weld::Window *pParent, bool bDisallowCellMove) override
Definition: scdlgfact.cxx:1087
virtual VclPtr< AbstractScDPSubtotalDlg > CreateScDPSubtotalDlg(weld::Widget *pParent, ScDPObject &rDPObj, const ScDPLabelData &rLabelData, const ScPivotFuncData &rFuncData, const ScDPNameVec &rDataFields) override
Definition: scdlgfact.cxx:1196
virtual VclPtr< AbstractScImportAsciiDlg > CreateScImportAsciiDlg(weld::Window *pParent, const OUString &aDatName, SvStream *pInStream, ScImportAsciiCall eCall) override
Definition: scdlgfact.cxx:1034
virtual VclPtr< AbstractScDPShowDetailDlg > CreateScDPShowDetailDlg(weld::Window *pParent, ScDPObject &rDPObj, css::sheet::DataPilotFieldOrientation nOrient) override
Definition: scdlgfact.cxx:1216
virtual VclPtr< AbstractScSortWarningDlg > CreateScSortWarningDlg(weld::Window *pParent, const OUString &rExtendText, const OUString &rCurrentText) override
Definition: scdlgfact.cxx:1060
virtual VclPtr< SfxAbstractTabDialog > CreateScDrawStyleDlg(weld::Window *pParent, SfxStyleSheetBase &rStyleBase, SdrView *pView) override
Definition: scdlgfact.cxx:1336
virtual VclPtr< AbstractScSelEntryDlg > CreateScSelEntryDlg(weld::Window *pParent, const std::vector< OUString > &rEntryList) override
Definition: scdlgfact.cxx:1142
virtual VclPtr< AbstractScPivotFilterDlg > CreateScPivotFilterDlg(weld::Window *pParent, const SfxItemSet &rArgSet, sal_uInt16 nSourceTab) override
Definition: scdlgfact.cxx:1182
virtual VclPtr< AbstractScNameCreateDlg > CreateScNameCreateDlg(weld::Window *pParent, CreateNameFlags nFlags) override
Definition: scdlgfact.cxx:1172
virtual VclPtr< AbstractScColRowLabelDlg > CreateScColRowLabelDlg(weld::Window *pParent, bool bCol, bool bRow) override
Definition: scdlgfact.cxx:1054
virtual VclPtr< AbstractScDataPilotSourceTypeDlg > CreateScDataPilotSourceTypeDlg(weld::Window *pParent, bool bEnableExternal) override
Definition: scdlgfact.cxx:1075
virtual VclPtr< SfxAbstractTabDialog > CreateScSubTotalDlg(weld::Window *pParent, const SfxItemSet &rArgSet) override
Definition: scdlgfact.cxx:1343
virtual VclPtr< AbstractScTextImportOptionsDlg > CreateScTextImportOptionsDlg(weld::Window *pParent) override
Definition: scdlgfact.cxx:1041
virtual VclPtr< AbstractScCondFormatManagerDlg > CreateScCondFormatMgrDlg(weld::Window *pParent, ScDocument &rDoc, const ScConditionalFormatList *pFormatList) override
Definition: scdlgfact.cxx:1065
virtual VclPtr< AbstractScDPNumGroupDlg > CreateScDPNumGroupDlg(weld::Window *pParent, const ScDPNumGroupInfo &rInfo) override
Definition: scdlgfact.cxx:1205
virtual VclPtr< AbstractScNewScenarioDlg > CreateScNewScenarioDlg(weld::Window *pParent, const OUString &rName, bool bEdit, bool bSheetProtected) override
Definition: scdlgfact.cxx:1222
virtual VclPtr< SfxAbstractTabDialog > CreateScAttrDlg(weld::Window *pParent, const SfxItemSet *pCellAttrs) override
Definition: scdlgfact.cxx:1265
virtual VclPtr< AbstractScGroupDlg > CreateAbstractScGroupDlg(weld::Window *pParent, bool bUnGroup=false) override
Definition: scdlgfact.cxx:1119
virtual VclPtr< SfxAbstractTabDialog > CreateScCharDlg(weld::Window *pParent, const SfxItemSet *pAttr, const SfxObjectShell *pDocShell, bool bDrawText) override
Definition: scdlgfact.cxx:1348
virtual VclPtr< AbstractScInsertContentsDlg > CreateScInsertContentsDlg(weld::Window *pParent, const OUString *pStrTitle=nullptr) override
Definition: scdlgfact.cxx:1130
virtual VclPtr< AbstractScDeleteContentsDlg > CreateScDeleteContentsDlg(weld::Window *pParent) override
Definition: scdlgfact.cxx:1099
virtual VclPtr< AbstractScMetricInputDlg > CreateScMetricInputDlg(weld::Window *pParent, const OUString &sDialogName, tools::Long nCurrent, tools::Long nDefault, FieldUnit eFUnit, sal_uInt16 nDecimals, tools::Long nMaximum, tools::Long nMinimum=0) override
Definition: scdlgfact.cxx:1153
virtual VclPtr< AbstractScGoToTabDlg > CreateScGoToTabDlg(weld::Window *pParent) override
Definition: scdlgfact.cxx:1233
virtual VclPtr< AbstractScDPFunctionDlg > CreateScDPFunctionDlg(weld::Widget *pParent, const ScDPLabelDataVector &rLabelVec, const ScDPLabelData &rLabelData, const ScPivotFuncData &rFuncData) override
Definition: scdlgfact.cxx:1188
virtual VclPtr< AbstractScDataPilotServiceDlg > CreateScDataPilotServiceDlg(weld::Window *pParent, const std::vector< OUString > &rServices) override
Definition: scdlgfact.cxx:1081
virtual VclPtr< AbstractScDataPilotDatabaseDlg > CreateScDataPilotDatabaseDlg(weld::Window *pParent) override
Definition: scdlgfact.cxx:1070
virtual VclPtr< AbstractScTabBgColorDlg > CreateScTabBgColorDlg(weld::Window *pParent, const OUString &rTitle, const OUString &rTabBgColorNoColorText, const Color &rDefaultColor) override
Definition: scdlgfact.cxx:1246
virtual VclPtr< AbstractScStringInputDlg > CreateScStringInputDlg(weld::Window *pParent, const OUString &rTitle, const OUString &rEditTitle, const OUString &rDefault, const OUString &rHelpId, const OUString &rEditHelpId) override
Definition: scdlgfact.cxx:1238
virtual VclPtr< AbstractScInsertTableDlg > CreateScInsertTableDlg(weld::Window *pParent, ScViewData &rViewData, SCTAB nTabCount, bool bFromFile) override
Definition: scdlgfact.cxx:1136
virtual VclPtr< AbstractScInsertCellDlg > CreateScInsertCellDlg(weld::Window *pParent, bool bDisallowCellMove) override
Definition: scdlgfact.cxx:1124
virtual VclPtr< AbstractScAutoFormatDlg > CreateScAutoFormatDlg(weld::Window *pParent, ScAutoFormat *pAutoFormat, const ScAutoFormatData *pSelFormatData, ScViewData &rViewData) override
Definition: scdlgfact.cxx:1046
virtual VclPtr< AbstractScNamePasteDlg > CreateScNamePasteDlg(weld::Window *pParent, ScDocShell *pShell) override
Definition: scdlgfact.cxx:1177
virtual CreateTabPage GetTabPageCreatorFunc(sal_uInt16 nId) override
Definition: scdlgfact.cxx:1366
virtual VclPtr< SfxAbstractTabDialog > CreateScHFEditDlg(weld::Window *pParent, const SfxItemSet &rCoreSet, const OUString &rPageStyle, sal_uInt16 nResId) override
Definition: scdlgfact.cxx:1270
virtual VclPtr< AbstractScShowTabDlg > CreateScShowTabDlg(weld::Window *pParent) override
Definition: scdlgfact.cxx:1228
virtual VclPtr< AbstractScLinkedAreaDlg > CreateScLinkedAreaDlg(weld::Widget *pParent) override
Definition: scdlgfact.cxx:1148
virtual VclPtr< AbstractScDPDateGroupDlg > CreateScDPDateGroupDlg(weld::Window *pParent, const ScDPNumGroupInfo &rInfo, sal_Int32 nDatePart, const Date &rNullDate) override
Definition: scdlgfact.cxx:1210
virtual VclPtr< SfxAbstractTabDialog > CreateScStyleDlg(weld::Window *pParent, SfxStyleSheetBase &rStyleBase, bool bPage) override
Definition: scdlgfact.cxx:1329
virtual std::shared_ptr< ScAsyncTabController > CreateScSortDlg(weld::Window *pParent, const SfxItemSet *pArgSet) override
Definition: scdlgfact.cxx:1360
virtual VclPtr< SfxAbstractTabDialog > CreateScParagraphDlg(weld::Window *pParent, const SfxItemSet *pAttr) override
Definition: scdlgfact.cxx:1354
virtual VclPtr< AbstractScMoveTableDlg > CreateScMoveTableDlg(weld::Window *pParent, const OUString &rDefault) override
Definition: scdlgfact.cxx:1166
virtual short Execute() override
Definition: scdlgfact.cxx:962
virtual void SetText(const OUString &rStr) override
Definition: scdlgfact.cxx:993
virtual bool StartExecuteAsync(AsyncContext &rCtx) override
Definition: scdlgfact.cxx:967
virtual BitmapEx createScreenshot() const override
Definition: scdlgfact.cxx:1008
virtual bool selectPageByUIXMLDescription(const OUString &rUIXMLDescription) override
Definition: scdlgfact.cxx:1003
virtual OUString GetScreenshotId() const override
Definition: scdlgfact.cxx:1013
virtual void SetCurPageId(const OUString &rName) override
Definition: scdlgfact.cxx:972
virtual WhichRangesContainer GetInputRanges(const SfxItemPool &pItem) override
Definition: scdlgfact.cxx:982
virtual const SfxItemSet * GetOutputItemSet() const override
Definition: scdlgfact.cxx:977
std::shared_ptr< SfxTabDialogController > m_xDlg
Definition: scdlgfact.hxx:617
virtual void SetInputSet(const SfxItemSet *pInSet) override
Definition: scdlgfact.cxx:987
virtual std::vector< OUString > getAllPageUIXMLDescriptions() const override
Definition: scdlgfact.cxx:998
std::shared_ptr< SfxTabDialogController > m_xDlg
Definition: scdlgfact.hxx:640
virtual bool StartExecuteAsync(VclAbstractDialog::AsyncContext &rCtx) override
Definition: scdlgfact.cxx:1018
virtual void SetCurPageId(const OUString &rName) override
Definition: scdlgfact.cxx:1023
virtual const SfxItemSet * GetOutputItemSet() const override
Definition: scdlgfact.cxx:1028
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:91
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:332
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:281
ScPasteFunc
Definition: global.hxx:181
InsCellCmd
Definition: global.hxx:290
InsertDeleteFlags
Definition: global.hxx:149
FillDateCmd
Definition: global.hxx:334
ScScenarioFlags
Definition: global.hxx:226
FillCmd
Definition: global.hxx:317
FillDir
Definition: global.hxx:309
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