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