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