/* -*- 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 . */ #ifndef INCLUDED_SW_SOURCE_UI_DIALOG_SWDLGFACT_HXX #define INCLUDED_SW_SOURCE_UI_DIALOG_SWDLGFACT_HXX #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 #include #include #include #include #include #include //AbstractDialogFactory_Impl implementations class SwAbstractDialogFactory_Impl : public SwAbstractDialogFactory { public: virtual ~SwAbstractDialogFactory_Impl() {} virtual VclPtr CreateNumFormatDialog(weld::Widget* pParent, const SfxItemSet& rAttr) override; virtual VclPtr CreateSwDropCapsDialog(weld::Window* pParent, const SfxItemSet& rSet) override; virtual VclPtr CreateSwBackgroundDialog(weld::Window* pParent, const SfxItemSet& rSet) override; virtual VclPtr CreateSwWordCountDialog(SfxBindings* pBindings, SfxChildWindow* pChild, weld::Window *pParent, SfxChildWinInfo* pInfo) override; virtual VclPtr CreateSwInsertAbstractDlg(weld::Window* pParent) override; virtual VclPtr CreateSwAddressAbstractDlg(weld::Window* pParent, const SfxItemSet& rSet) override; virtual VclPtr CreateSwAsciiFilterDlg(weld::Window* pParent, SwDocShell& rDocSh, SvStream* pStream) override; virtual VclPtr CreateSwInsertBookmarkDlg(weld::Window *pParent, SwWrtShell &rSh, OUString const* pSelected) override; virtual VclPtr CreateSwContentControlDlg(weld::Window *pParent, SwWrtShell &rSh) override; virtual VclPtr CreateSwPageNumberDlg(weld::Window *pParent) override; VclPtr CreateSwContentControlListItemDlg(weld::Window* pParent, SwContentControlListItem& rItem) override; virtual std::shared_ptr CreateSwBreakDlg(weld::Window *pParent, SwWrtShell &rSh) override; virtual std::shared_ptr CreateSwTranslateLangSelectDlg(weld::Window *pParent, SwWrtShell &rSh) override; virtual VclPtr CreateSwChangeDBDlg(SwView& rVw) override; virtual VclPtr CreateSwCharDlg(weld::Window* pParent, SwView& pVw, const SfxItemSet& rCoreSet, SwCharDlgMode nDialogMode, const OUString* pFormatStr = nullptr) override; virtual VclPtr CreateSwConvertTableDlg(SwView& rView, bool bToTable) override; virtual VclPtr CreateSwCaptionDialog(weld::Window *pParent, SwView &rV) override; virtual VclPtr CreateSwInsertDBColAutoPilot(SwView& rView, css::uno::Reference< css::sdbc::XDataSource> rxSource, css::uno::Reference xColSupp, const SwDBData& rData) override; virtual VclPtr CreateSwFootNoteOptionDlg(weld::Window *pParent, SwWrtShell &rSh) override; virtual VclPtr CreateDropDownFieldDialog(weld::Widget* pParent, SwWrtShell &rSh, SwField* pField, bool bPrevButton, bool bNextButton) override; virtual VclPtr CreateDropDownFormFieldDialog(weld::Widget* pParent, sw::mark::Fieldmark* pDropDownField) override; virtual VclPtr CreateDateFormFieldDialog(weld::Widget* pParent, sw::mark::DateFieldmark* pDateField, SwDoc& rDoc) override; virtual VclPtr CreateSwEnvDlg(weld::Window* pParent, const SfxItemSet& rSet, SwWrtShell* pWrtSh, Printer* pPrt, bool bInsert) override; virtual VclPtr CreateSwLabDlg(weld::Window* pParent, const SfxItemSet& rSet, SwDBManager* pDBManager, bool bLabel) override; virtual SwLabDlgMethod GetSwLabDlgStaticMethod () override; virtual VclPtr CreateSwParaDlg(weld::Window *pParent, SwView& rVw, const SfxItemSet& rCoreSet, bool bDraw, const OUString& sDefPage = {}) override; virtual VclPtr CreateSwAutoMarkDialog(weld::Window *pParent, SwWrtShell &rSh) override; virtual VclPtr CreateSwSelGlossaryDlg(weld::Window *pParent, const OUString &rShortName) override; virtual VclPtr CreateSwSortingDialog(weld::Window *pParent, SwWrtShell &rSh) override; virtual VclPtr CreateSwTableHeightDialog(weld::Window *pParent, SwWrtShell &rSh) override; virtual VclPtr CreateSwColumnDialog(weld::Window *pParent, SwWrtShell &rSh) override; virtual VclPtr CreateSplitTableDialog(weld::Window* pParent, SwWrtShell &rSh) override; virtual VclPtr CreateSwAutoFormatDlg(weld::Window* pParent, SwWrtShell* pShell, bool bSetAutoFormat = true, const SwTableAutoFormat* pSelFormat = nullptr) override; virtual VclPtr CreateSwBorderDlg(weld::Window* pParent, SfxItemSet& rSet, SwBorderModes nType) override; virtual VclPtr CreateSwWrapDlg(weld::Window* pParent, const SfxItemSet& rSet, SwWrtShell* pSh) override; virtual VclPtr CreateSwTableWidthDlg(weld::Window *pParent, SwWrtShell *pShell) override; virtual VclPtr CreateSwTableTabDlg(weld::Window* pParent, const SfxItemSet* pItemSet, SwWrtShell* pSh) override; virtual VclPtr CreateSwFieldDlg(SfxBindings* pB, SwChildWinWrapper* pCW, weld::Window *pParent) override; virtual VclPtr CreateSwFieldEditDlg ( SwView& rVw ) override; virtual VclPtr CreateSwRenameXNamedDlg(weld::Widget* pParent, css::uno::Reference< css::container::XNamed > & xNamed, css::uno::Reference< css::container::XNameAccess > & xNameAccess) override; virtual VclPtr CreateSwModalRedlineAcceptDlg(weld::Window *pParent) override; virtual VclPtr CreateTableMergeDialog(weld::Window* pParent, bool& rWithPrev) override; virtual VclPtr CreateFrameTabDialog( const OUString &rDialogType, SfxViewFrame& rFrame, weld::Window *pParent, const SfxItemSet& rCoreSet, bool bNewFrame = true, const OUString& sDefPage = {}) override; virtual VclPtr CreateTemplateDialog( weld::Window *pParent, SfxStyleSheetBase& rBase, SfxStyleFamily nRegion, const OUString& sPage, SwWrtShell* pActShell, bool bNew) override; virtual VclPtr CreateGlossaryDlg(SfxViewFrame& rViewFrame, SwGlossaryHdl* pGlosHdl, SwWrtShell *pWrtShell) override; virtual VclPtr CreateFieldInputDlg(weld::Widget *pParent, SwWrtShell &rSh, SwField* pField, bool bPrevButton, bool bNextButton) override; virtual VclPtr CreateInsFootNoteDlg( weld::Window * pParent, SwWrtShell &rSh, bool bEd = false) override; virtual VclPtr CreateTitlePageDlg(weld::Window* pParent) override; virtual VclPtr CreateVclSwViewDialog(SwView& rView) override; virtual std::shared_ptr CreateInsTableDlg(SwView& rView) override; virtual VclPtr CreateJavaEditDialog(weld::Window* pParent, SwWrtShell* pWrtSh) override; virtual VclPtr CreateMailMergeDlg( weld::Window* pParent, SwWrtShell& rSh, const OUString& rSourceName, const OUString& rTableName, sal_Int32 nCommandType, const css::uno::Reference< css::sdbc::XConnection>& xConnection ) override; virtual VclPtr CreateMailMergeCreateFromDlg(weld::Window* pParent) override; virtual VclPtr CreateMailMergeFieldConnectionsDlg(weld::Window* pParent) override; virtual VclPtr CreateMultiTOXMarkDlg(weld::Window* pParent, SwTOXMgr &rTOXMgr) override; virtual VclPtr CreateOutlineTabDialog(weld::Window* pParent, const SfxItemSet* pSwItemSet, SwWrtShell &) override; virtual VclPtr CreateSvxNumBulletTabDialog(weld::Window* pParent, const SfxItemSet& rSwItemSet, SwWrtShell &) override; virtual VclPtr CreateMultiTOXTabDialog( weld::Widget* pParent, const SfxItemSet& rSet, SwWrtShell &rShell, SwTOXBase* pCurTOX, bool bGlobal) override; virtual VclPtr CreateEditRegionDlg(weld::Window* pParent, SwWrtShell& rWrtSh) override; virtual VclPtr CreateInsertSectionTabDialog( weld::Window* pParent, const SfxItemSet& rSet, SwWrtShell& rSh) override; virtual VclPtr CreateIndexMarkFloatDlg( SfxBindings* pBindings, SfxChildWindow* pChild, weld::Window *pParent, SfxChildWinInfo* pInfo) override; virtual VclPtr CreateAuthMarkFloatDlg( SfxBindings* pBindings, SfxChildWindow* pChild, weld::Window *pParent, SfxChildWinInfo* pInfo) override; virtual VclPtr CreateIndexMarkModalDlg( weld::Window *pParent, SwWrtShell& rSh, SwTOXMark* pCurTOXMark ) override; virtual VclPtr CreateMailMergeWizard(SwView& rView, std::shared_ptr& rConfigItem) override; virtual GlossaryGetCurrGroup GetGlossaryCurrGroupFunc() override; virtual GlossarySetActGroup SetGlossaryActGroupFunc() override; virtual VclPtr CreateCopyFieldDlg(weld::Widget* pParent, const rtl::OUString& rFieldValue ) override; // For TabPage virtual CreateTabPage GetTabPageCreatorFunc( sal_uInt16 nId ) override; virtual void ExecuteMMResultSaveDialog(weld::Window* pParent) override; virtual void ExecuteMMResultPrintDialog(weld::Window* pParent) override; virtual void ExecuteMMResultEmailDialog(weld::Window* pParent) override; }; #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */