/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * This file incorporates work covered by the following license notice: * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed * with this work for additional information regarding copyright * ownership. The ASF licenses this file to you under the Apache * License, Version 2.0 (the "License"); you may not use this file * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ #pragma once #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include class AbstractScImportAsciiDlg_Impl : public AbstractScImportAsciiDlg { std::shared_ptr m_xDlg; public: explicit AbstractScImportAsciiDlg_Impl(std::shared_ptr p) : m_xDlg(std::move(p)) { } virtual short Execute() override; virtual bool StartExecuteAsync(VclAbstractDialog::AsyncContext &rCtx) override; virtual void GetOptions( ScAsciiOptions& rOpt ) override; virtual void SaveParameters() override; // screenshotting virtual BitmapEx createScreenshot() const override; virtual OString GetScreenshotId() const override; }; class AbstractScAutoFormatDlg_Impl : public AbstractScAutoFormatDlg { std::unique_ptr m_xDlg; public: explicit AbstractScAutoFormatDlg_Impl(std::unique_ptr p) : m_xDlg(std::move(p)) { } virtual short Execute() override; virtual sal_uInt16 GetIndex() const override; virtual OUString GetCurrFormatName() override; }; class AbstractScColRowLabelDlg_Impl : public AbstractScColRowLabelDlg { std::unique_ptr m_xDlg; public: explicit AbstractScColRowLabelDlg_Impl(std::unique_ptr p) : m_xDlg(std::move(p)) { } virtual short Execute() override; virtual bool IsCol() override; virtual bool IsRow() override; // screenshotting virtual BitmapEx createScreenshot() const override; virtual OString GetScreenshotId() const override; }; class AbstractScCondFormatManagerDlg_Impl : public AbstractScCondFormatManagerDlg { std::shared_ptr m_xDlg; public: explicit AbstractScCondFormatManagerDlg_Impl(std::shared_ptr p) : m_xDlg(std::move(p)) { } virtual short Execute() override; virtual bool StartExecuteAsync(VclAbstractDialog::AsyncContext &rCtx) override; virtual std::unique_ptr GetConditionalFormatList() override; virtual bool CondFormatsChanged() const override; virtual void SetModified() override; virtual ScConditionalFormat* GetCondFormatSelected() override; }; class AbstractScDataPilotDatabaseDlg_Impl :public AbstractScDataPilotDatabaseDlg { std::shared_ptr m_xDlg; public: explicit AbstractScDataPilotDatabaseDlg_Impl(std::shared_ptr p) : m_xDlg(std::move(p)) { } virtual short Execute() override; virtual bool StartExecuteAsync(AsyncContext &) override; virtual void GetValues( ScImportSourceDesc& rDesc ) override; // screenshotting virtual BitmapEx createScreenshot() const override; virtual OString GetScreenshotId() const override; }; class AbstractScDataPilotSourceTypeDlg_Impl :public AbstractScDataPilotSourceTypeDlg { std::shared_ptr m_xDlg; public: explicit AbstractScDataPilotSourceTypeDlg_Impl(std::shared_ptr p) : m_xDlg(std::move(p)) { } virtual short Execute() override; virtual bool StartExecuteAsync(AsyncContext &) override; virtual bool IsDatabase() const override; virtual bool IsExternal() const override; virtual bool IsNamedRange() const override; virtual OUString GetSelectedNamedRange() const override; virtual void AppendNamedRange(const OUString& rName) override; // screenshotting virtual BitmapEx createScreenshot() const override; virtual OString GetScreenshotId() const override; }; class AbstractScDataPilotServiceDlg_Impl : public AbstractScDataPilotServiceDlg { std::shared_ptr m_xDlg; public: explicit AbstractScDataPilotServiceDlg_Impl(std::shared_ptr p) : m_xDlg(std::move(p)) { } virtual short Execute() override; virtual bool StartExecuteAsync(AsyncContext &) override; virtual OUString GetServiceName() const override; virtual OUString GetParSource() const override; virtual OUString GetParName() const override; virtual OUString GetParUser() const override; virtual OUString GetParPass() const override; }; class AbstractScDeleteCellDlg_Impl : public AbstractScDeleteCellDlg { std::unique_ptr m_xDlg; public: explicit AbstractScDeleteCellDlg_Impl(std::unique_ptr p) : m_xDlg(std::move(p)) { } virtual short Execute() override; virtual DelCellCmd GetDelCellCmd() const override; // screenshotting virtual BitmapEx createScreenshot() const override; virtual OString GetScreenshotId() const override; }; //for dataform class AbstractScDataFormDlg_Impl : public AbstractScDataFormDlg { std::unique_ptr m_xDlg; public: explicit AbstractScDataFormDlg_Impl(std::unique_ptr p) : m_xDlg(std::move(p)) { } virtual short Execute() override; // screenshotting virtual BitmapEx createScreenshot() const override; virtual OString GetScreenshotId() const override; }; class AbstractScDeleteContentsDlg_Impl : public AbstractScDeleteContentsDlg { std::unique_ptr m_xDlg; public: explicit AbstractScDeleteContentsDlg_Impl(std::unique_ptr p) : m_xDlg(std::move(p)) { } virtual short Execute() override; virtual void DisableObjects() override; virtual InsertDeleteFlags GetDelContentsCmdBits() const override; // screenshotting virtual BitmapEx createScreenshot() const override; virtual OString GetScreenshotId() const override; }; class AbstractScFillSeriesDlg_Impl:public AbstractScFillSeriesDlg { std::unique_ptr m_xDlg; public: explicit AbstractScFillSeriesDlg_Impl(std::unique_ptr p) : m_xDlg(std::move(p)) { } virtual short Execute() override; virtual FillDir GetFillDir() const override; virtual FillCmd GetFillCmd() const override; virtual FillDateCmd GetFillDateCmd() const override; virtual double GetStart() const override; virtual double GetStep() const override; virtual double GetMax() const override; virtual OUString GetStartStr() const override; virtual void SetEdStartValEnabled(bool bFlag) override; }; class AbstractScGroupDlg_Impl : public AbstractScGroupDlg { std::shared_ptr m_xDlg; public: explicit AbstractScGroupDlg_Impl(std::shared_ptr p) : m_xDlg(std::move(p)) { } virtual short Execute() override; virtual bool StartExecuteAsync(VclAbstractDialog::AsyncContext &rCtx) override; virtual bool GetColsChecked() const override; }; class AbstractScInsertCellDlg_Impl : public AbstractScInsertCellDlg { std::unique_ptr m_xDlg; public: explicit AbstractScInsertCellDlg_Impl(std::unique_ptr p) : m_xDlg(std::move(p)) { } virtual short Execute() override; virtual InsCellCmd GetInsCellCmd() const override ; }; class AbstractScInsertContentsDlg_Impl : public AbstractScInsertContentsDlg { std::unique_ptr m_xDlg; public: explicit AbstractScInsertContentsDlg_Impl(std::unique_ptr p) : m_xDlg(std::move(p)) { } virtual short Execute() override; virtual InsertDeleteFlags GetInsContentsCmdBits() const override; virtual ScPasteFunc GetFormulaCmdBits() const override; virtual bool IsSkipEmptyCells() const override; virtual bool IsLink() const override; virtual void SetFillMode( bool bSet ) override; virtual void SetOtherDoc( bool bSet ) override; virtual bool IsTranspose() const override; virtual void SetChangeTrack( bool bSet ) override; virtual void SetCellShiftDisabled( CellShiftDisabledFlags nDisable ) override; virtual InsCellCmd GetMoveMode() override; // screenshotting virtual BitmapEx createScreenshot() const override; virtual OString GetScreenshotId() const override; }; class AbstractScInsertTableDlg_Impl : public AbstractScInsertTableDlg { std::unique_ptr m_xDlg; public: explicit AbstractScInsertTableDlg_Impl(std::unique_ptr p) : m_xDlg(std::move(p)) { } virtual short Execute() override; virtual bool GetTablesFromFile() override; virtual bool GetTablesAsLink() override; virtual const OUString* GetFirstTable( sal_uInt16* pN = nullptr ) override; virtual ScDocShell* GetDocShellTables() override; virtual bool IsTableBefore() override; virtual sal_uInt16 GetTableCount() override; virtual const OUString* GetNextTable( sal_uInt16* pN ) override; // screenshotting virtual BitmapEx createScreenshot() const override; virtual OString GetScreenshotId() const override; }; class AbstractScSelEntryDlg_Impl : public AbstractScSelEntryDlg { std::unique_ptr m_xDlg; public: explicit AbstractScSelEntryDlg_Impl(std::unique_ptr p) : m_xDlg(std::move(p)) { } virtual short Execute() override; virtual OUString GetSelectedEntry() const override; }; class AbstractScLinkedAreaDlg_Impl : public AbstractScLinkedAreaDlg { std::unique_ptr m_xDlg; public: explicit AbstractScLinkedAreaDlg_Impl(std::unique_ptr p) : m_xDlg(std::move(p)) { } virtual ~AbstractScLinkedAreaDlg_Impl() override; virtual short Execute() override; virtual void InitFromOldLink( const OUString& rFile, const OUString& rFilter, const OUString& rOptions, const OUString& rSource, sal_Int32 nRefreshDelaySeconds ) override; virtual OUString GetURL() override; virtual OUString GetFilter() override; // may be empty virtual OUString GetOptions() override; // filter options virtual OUString GetSource() override; // separated by ";" virtual sal_Int32 GetRefreshDelaySeconds() override; // 0 if disabled }; class AbstractScMetricInputDlg_Impl : public AbstractScMetricInputDlg { std::unique_ptr m_xDlg; public: explicit AbstractScMetricInputDlg_Impl(std::unique_ptr p) : m_xDlg(std::move(p)) { } virtual short Execute() override; virtual int GetInputValue() const override; }; class AbstractScMoveTableDlg_Impl : public AbstractScMoveTableDlg { std::unique_ptr m_xDlg; public: explicit AbstractScMoveTableDlg_Impl(std::unique_ptr p) : m_xDlg(std::move(p)) { } virtual short Execute() override; virtual sal_uInt16 GetSelectedDocument () const override; virtual sal_uInt16 GetSelectedTable () const override; virtual bool GetCopyTable () const override; virtual bool GetRenameTable () const override; virtual void GetTabNameString( OUString& rString ) const override; virtual void SetForceCopyTable () override; virtual void EnableRenameTable (bool bFlag) override; // screenshotting virtual BitmapEx createScreenshot() const override; virtual OString GetScreenshotId() const override; }; class AbstractScNameCreateDlg_Impl : public AbstractScNameCreateDlg { std::unique_ptr m_xDlg; public: explicit AbstractScNameCreateDlg_Impl(std::unique_ptr p) : m_xDlg(std::move(p)) { } virtual short Execute() override; virtual CreateNameFlags GetFlags() const override; // screenshotting virtual BitmapEx createScreenshot() const override; virtual OString GetScreenshotId() const override; }; class AbstractScNamePasteDlg_Impl : public AbstractScNamePasteDlg { std::unique_ptr m_xDlg; public: explicit AbstractScNamePasteDlg_Impl(std::unique_ptr p) : m_xDlg(std::move(p)) { } virtual short Execute() override; virtual std::vector GetSelectedNames() const override; }; class AbstractScPivotFilterDlg_Impl : public AbstractScPivotFilterDlg { std::unique_ptr m_xDlg; public: explicit AbstractScPivotFilterDlg_Impl(std::unique_ptr p) : m_xDlg(std::move(p)) { } virtual short Execute() override; virtual const ScQueryItem& GetOutputItem() override; }; class AbstractScDPFunctionDlg_Impl : public AbstractScDPFunctionDlg { std::shared_ptr m_xDlg; public: explicit AbstractScDPFunctionDlg_Impl(std::shared_ptr p) : m_xDlg(std::move(p)) { } virtual short Execute() override; virtual bool StartExecuteAsync(VclAbstractDialog::AsyncContext &rCtx) override; virtual PivotFunc GetFuncMask() const override; virtual css::sheet::DataPilotFieldReference GetFieldRef() const override; virtual void Response(int nResponse) override; }; class AbstractScDPSubtotalDlg_Impl : public AbstractScDPSubtotalDlg { std::shared_ptr m_xDlg; public: explicit AbstractScDPSubtotalDlg_Impl(std::shared_ptr p) : m_xDlg(std::move(p)) { } virtual short Execute() override; virtual bool StartExecuteAsync(VclAbstractDialog::AsyncContext &rCtx) override; virtual PivotFunc GetFuncMask() const override; virtual void FillLabelData( ScDPLabelData& rLabelData ) const override; virtual void Response(int nResponse) override; }; class AbstractScDPNumGroupDlg_Impl : public AbstractScDPNumGroupDlg { std::unique_ptr m_xDlg; public: explicit AbstractScDPNumGroupDlg_Impl(std::unique_ptr p) : m_xDlg(std::move(p)) { } virtual short Execute() override; virtual ScDPNumGroupInfo GetGroupInfo() const override; }; class AbstractScDPDateGroupDlg_Impl : public AbstractScDPDateGroupDlg { std::unique_ptr m_xDlg; public: explicit AbstractScDPDateGroupDlg_Impl(std::unique_ptr p) : m_xDlg(std::move(p)) { } virtual short Execute() override; virtual ScDPNumGroupInfo GetGroupInfo() const override; virtual sal_Int32 GetDatePart() const override; }; class AbstractScDPShowDetailDlg_Impl : public AbstractScDPShowDetailDlg { std::unique_ptr m_xDlg; public: explicit AbstractScDPShowDetailDlg_Impl(std::unique_ptr p) : m_xDlg(std::move(p)) { } virtual short Execute() override; virtual OUString GetDimensionName() const override; }; class AbstractScNewScenarioDlg_Impl : public AbstractScNewScenarioDlg { std::unique_ptr m_xDlg; public: explicit AbstractScNewScenarioDlg_Impl(std::unique_ptr p) : m_xDlg(std::move(p)) { } virtual short Execute() override; virtual void SetScenarioData( const OUString& rName, const OUString& rComment, const Color& rColor, ScScenarioFlags nFlags ) override; virtual void GetScenarioData( OUString& rName, OUString& rComment, Color& rColor, ScScenarioFlags& rFlags ) const override; }; class AbstractScShowTabDlg_Impl : public AbstractScShowTabDlg { std::shared_ptr m_xDlg; public: explicit AbstractScShowTabDlg_Impl(std::shared_ptr p) : m_xDlg(std::move(p)) { } virtual short Execute() override; virtual bool StartExecuteAsync(VclAbstractDialog::AsyncContext &rCtx) override; virtual void Insert( const OUString& rString, bool bSelected ) override; virtual void SetDescription(const OUString& rTitle, const OUString& rFixedText, const OString& sDlgHelpId, const OString& sLbHelpId) override; virtual OUString GetEntry(sal_Int32 nPos) const override; virtual std::vector GetSelectedRows() const override; }; class AbstractScGoToTabDlg_Impl : public AbstractScGoToTabDlg { std::shared_ptr m_xDlg; public: explicit AbstractScGoToTabDlg_Impl(std::shared_ptr p) : m_xDlg(std::move(p)) { } virtual short Execute() override; virtual bool StartExecuteAsync(VclAbstractDialog::AsyncContext &rCtx) override; virtual void Insert( const OUString& rString, bool bSelected ) override; virtual void SetDescription(const OUString& rTitle, const OUString& rEntryLabel, const OUString& rListLabel, const OString& rDlgHelpId, const OString& rEnHelpId, const OString& rLbHelpId) override; virtual OUString GetSelectedEntry() const override; }; class AbstractScSortWarningDlg_Impl : public AbstractScSortWarningDlg { std::unique_ptr m_xDlg; public: explicit AbstractScSortWarningDlg_Impl(std::unique_ptr p) : m_xDlg(std::move(p)) { } virtual short Execute() override; }; class AbstractScStringInputDlg_Impl : public AbstractScStringInputDlg { std::unique_ptr m_xDlg; public: explicit AbstractScStringInputDlg_Impl(std::unique_ptr p) : m_xDlg(std::move(p)) { } virtual short Execute() override; virtual OUString GetInputString() const override; // screenshotting virtual BitmapEx createScreenshot() const override; virtual OString GetScreenshotId() const override; }; class AbstractScTabBgColorDlg_Impl : public AbstractScTabBgColorDlg { std::unique_ptr m_xDlg; public: explicit AbstractScTabBgColorDlg_Impl(std::unique_ptr p) : m_xDlg(std::move(p)) { } virtual short Execute() override; virtual void GetSelectedColor( Color& rColor ) const override; // screenshotting virtual BitmapEx createScreenshot() const override; virtual OString GetScreenshotId() const override; }; class AbstractScImportOptionsDlg_Impl : public AbstractScImportOptionsDlg { std::unique_ptr m_xDlg; public: explicit AbstractScImportOptionsDlg_Impl(std::unique_ptr p) : m_xDlg(std::move(p)) { } virtual short Execute() override; virtual void GetImportOptions( ScImportOptions& rOptions ) const override; virtual void SaveImportOptions() const override; }; class AbstractScTextImportOptionsDlg_Impl : public AbstractScTextImportOptionsDlg { std::unique_ptr m_xDlg; public: explicit AbstractScTextImportOptionsDlg_Impl(std::unique_ptr p) : m_xDlg(std::move(p)) { } virtual short Execute() override; virtual LanguageType GetLanguageType() const override; virtual bool IsDateConversionSet() const override; virtual bool IsKeepAskingSet() const override; // screenshotting virtual BitmapEx createScreenshot() const override; virtual OString GetScreenshotId() const override; }; class ScAbstractTabController_Impl : public SfxAbstractTabDialog { std::shared_ptr m_xDlg; public: explicit ScAbstractTabController_Impl(std::shared_ptr p) : m_xDlg(std::move(p)) { } virtual short Execute() override; virtual bool StartExecuteAsync(AsyncContext &rCtx) override; virtual void SetCurPageId( const OString &rName ) override; virtual const SfxItemSet* GetOutputItemSet() const override; virtual WhichRangesContainer GetInputRanges( const SfxItemPool& pItem ) override; virtual void SetInputSet( const SfxItemSet* pInSet ) override; virtual void SetText( const OUString& rStr ) override; // screenshotting virtual std::vector getAllPageUIXMLDescriptions() const override; virtual bool selectPageByUIXMLDescription(const OString& rUIXMLDescription) override; virtual BitmapEx createScreenshot() const override; virtual OString GetScreenshotId() const override; }; class ScAsyncTabController_Impl : public ScAsyncTabController { std::shared_ptr m_xDlg; public: explicit ScAsyncTabController_Impl(std::shared_ptr p) : m_xDlg(std::move(p)) { } virtual bool StartExecuteAsync(VclAbstractDialog::AsyncContext &rCtx) override; virtual const SfxItemSet* GetOutputItemSet() const override; virtual void SetCurPageId( const OString &rName ) override; }; //AbstractDialogFactory_Impl implementations class ScAbstractDialogFactory_Impl : public ScAbstractDialogFactory { public: virtual ~ScAbstractDialogFactory_Impl() {} virtual VclPtr CreateScImportAsciiDlg(weld::Window* pParent, const OUString& aDatName, SvStream* pInStream, ScImportAsciiCall eCall) override; virtual VclPtr CreateScTextImportOptionsDlg(weld::Window* pParent) override; virtual VclPtr CreateScAutoFormatDlg(weld::Window* pParent, ScAutoFormat* pAutoFormat, const ScAutoFormatData* pSelFormatData, ScViewData& rViewData) override; virtual VclPtr CreateScColRowLabelDlg (weld::Window* pParent, bool bCol, bool bRow) override; virtual VclPtr CreateScSortWarningDlg(weld::Window* pParent, const OUString& rExtendText, const OUString& rCurrentText ) override; virtual VclPtr CreateScCondFormatMgrDlg(weld::Window* pParent, ScDocument& rDoc, const ScConditionalFormatList* pFormatList ) override; virtual VclPtr CreateScDataPilotDatabaseDlg(weld::Window* pParent) override; virtual VclPtr CreateScDataPilotSourceTypeDlg(weld::Window* pParent, bool bEnableExternal) override; virtual VclPtr CreateScDataPilotServiceDlg(weld::Window* pParent, const std::vector& rServices) override; virtual VclPtr CreateScDeleteCellDlg(weld::Window* pParent, bool bDisallowCellMove ) override; //for dataform virtual VclPtr CreateScDataFormDlg(weld::Window* pParent, ScTabViewShell* pTabViewShell) override; virtual VclPtr CreateScDeleteContentsDlg(weld::Window* pParent) override; virtual VclPtr 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; virtual VclPtr CreateAbstractScGroupDlg(weld::Window* pParent, bool bUnGroup = false) override; virtual VclPtr CreateScInsertCellDlg(weld::Window* pParent, bool bDisallowCellMove) override; virtual VclPtr CreateScInsertContentsDlg(weld::Window* pParent, const OUString* pStrTitle = nullptr) override; virtual VclPtr CreateScInsertTableDlg(weld::Window* pParent, ScViewData& rViewData, SCTAB nTabCount, bool bFromFile) override; virtual VclPtr CreateScSelEntryDlg(weld::Window* pParent, const std::vector &rEntryList) override; virtual VclPtr CreateScLinkedAreaDlg(weld::Widget* pParent) override; virtual VclPtr 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; virtual VclPtr CreateScMoveTableDlg(weld::Window * pParent, const OUString& rDefault) override; virtual VclPtr CreateScNameCreateDlg(weld::Window * pParent, CreateNameFlags nFlags) override; virtual VclPtr CreateScNamePasteDlg(weld::Window * pParent, ScDocShell* pShell) override; virtual VclPtr CreateScPivotFilterDlg(weld::Window* pParent, const SfxItemSet& rArgSet, sal_uInt16 nSourceTab) override; virtual VclPtr CreateScDPFunctionDlg(weld::Widget* pParent, const ScDPLabelDataVector& rLabelVec, const ScDPLabelData& rLabelData, const ScPivotFuncData& rFuncData ) override; virtual VclPtr CreateScDPSubtotalDlg(weld::Widget* pParent, ScDPObject& rDPObj, const ScDPLabelData& rLabelData, const ScPivotFuncData& rFuncData, const ScDPNameVec& rDataFields ) override; virtual VclPtr CreateScDPNumGroupDlg(weld::Window* pParent, const ScDPNumGroupInfo& rInfo) override; virtual VclPtr CreateScDPDateGroupDlg(weld::Window* pParent, const ScDPNumGroupInfo& rInfo, sal_Int32 nDatePart, const Date& rNullDate) override; virtual VclPtr CreateScDPShowDetailDlg(weld::Window* pParent, ScDPObject& rDPObj, css::sheet::DataPilotFieldOrientation nOrient) override; virtual VclPtr CreateScNewScenarioDlg(weld::Window* pParent, const OUString& rName, bool bEdit, bool bSheetProtected) override; virtual VclPtr CreateScShowTabDlg(weld::Window* pParent) override; virtual VclPtr CreateScGoToTabDlg(weld::Window* pParent) override; virtual VclPtr CreateScStringInputDlg(weld::Window* pParent, const OUString& rTitle, const OUString& rEditTitle, const OUString& rDefault, const OString& rHelpId, const OString& rEditHelpId) override; virtual VclPtr CreateScTabBgColorDlg(weld::Window* pParent, const OUString& rTitle, //Dialog Title const OUString& rTabBgColorNoColorText, //Label for no tab color const Color& rDefaultColor) override; //Currently selected Color virtual VclPtr CreateScImportOptionsDlg(weld::Window* pParent, bool bAscii, const ScImportOptions* pOptions, const OUString* pStrTitle, bool bOnlyDbtoolsEncodings, bool bImport = true) override; virtual VclPtr CreateScAttrDlg(weld::Window* pParent, const SfxItemSet* pCellAttrs) override; virtual VclPtr CreateScHFEditDlg(weld::Window* pParent, const SfxItemSet& rCoreSet, const OUString& rPageStyle, sal_uInt16 nResId ) override; virtual VclPtr CreateScStyleDlg(weld::Window* pParent, SfxStyleSheetBase& rStyleBase, bool bPage) override; virtual VclPtr CreateScSubTotalDlg(weld::Window* pParent, const SfxItemSet& rArgSet) override; virtual VclPtr CreateScCharDlg(weld::Window* pParent, const SfxItemSet* pAttr, const SfxObjectShell* pDocShell, bool bDrawText) override; virtual VclPtr CreateScParagraphDlg(weld::Window* pParent, const SfxItemSet* pAttr) override; virtual std::shared_ptr CreateScSortDlg(weld::Window* pParent, const SfxItemSet* pArgSet) override; // For TabPage virtual CreateTabPage GetTabPageCreatorFunc( sal_uInt16 nId ) override; }; /* vim:set shiftwidth=4 softtabstop=4 expandtab: */