diff options
author | Gülşah Köse <gulsah.kose@collabora.com> | 2019-04-17 20:00:18 +0300 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2019-05-23 10:16:30 +0200 |
commit | e3015d7021e689c71c2ed8e5dd01a74d832c84f0 (patch) | |
tree | 5fe68d52d35d9f2df506f1cf61e2bcc020469766 /sd/source/ui/dlg/sddlgfact.hxx | |
parent | 237a656db82951e06f8a34e6ca2c1e50f24eb508 (diff) |
Add new customize and position merged dialog
Change-Id: I898fb0830a9f53da4a7917cb5900f082e3a9d6b7
Reviewed-on: https://gerrit.libreoffice.org/71944
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'sd/source/ui/dlg/sddlgfact.hxx')
-rw-r--r-- | sd/source/ui/dlg/sddlgfact.hxx | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/sd/source/ui/dlg/sddlgfact.hxx b/sd/source/ui/dlg/sddlgfact.hxx index b14705c519ee..389211e1c119 100644 --- a/sd/source/ui/dlg/sddlgfact.hxx +++ b/sd/source/ui/dlg/sddlgfact.hxx @@ -22,6 +22,7 @@ #include <sdabstdlg.hxx> #include <sfx2/basedlgs.hxx> #include <sfx2/sfxdlg.hxx> +#include <svx/svxdlg.hxx> #include <morphdlg.hxx> #include <copydlg.hxx> @@ -38,6 +39,7 @@ #include <dlgsnap.hxx> #include <present.hxx> #include <vectdlg.hxx> +#include <BulletAndPositionDlg.hxx> #define DECL_ABSTDLG_BASE(Class,DialogClass) \ ScopedVclPtr<DialogClass> pDlg; \ @@ -79,6 +81,23 @@ bool Class::StartExecuteAsync(AsyncContext &ctx) \ // class MasterLayoutDialog; //} +class SvxBulletAndPositionDlg; + +class AbstractSvxBulletAndPositionDlg_Impl :public AbstractSvxBulletAndPositionDlg +{ + std::unique_ptr<SvxBulletAndPositionDlg> m_xDlg; +public: + explicit AbstractSvxBulletAndPositionDlg_Impl(std::unique_ptr<SvxBulletAndPositionDlg> p) + : m_xDlg(std::move(p)) + { + } + virtual short Execute() override; + virtual const SfxItemSet* GetOutputItemSet( SfxItemSet* ) const override ; + virtual bool IsApplyToMaster() override; + virtual bool IsSlideScope() override; +}; + + class SdVclAbstractDialog_Impl : public VclAbstractDialog { DECL_ABSTDLG_BASE(SdVclAbstractDialog_Impl,Dialog) @@ -343,6 +362,7 @@ class SdAbstractDialogFactory_Impl : public SdAbstractDialogFactory public: virtual ~SdAbstractDialogFactory_Impl() {} + virtual VclPtr<AbstractSvxBulletAndPositionDlg> CreateSvxBulletAndPositionDlg(weld::Window* pParent, const SfxItemSet* pAttr, ::sd::View* pView) override; virtual VclPtr<VclAbstractDialog> CreateBreakDlg(weld::Window* pWindow, ::sd::DrawView* pDrView, ::sd::DrawDocShell* pShell, sal_uLong nSumActionCount, sal_uLong nObjCount) override; virtual VclPtr<AbstractCopyDlg> CreateCopyDlg(weld::Window* pParent, const SfxItemSet& rInAttrs, ::sd::View* pView) override; virtual VclPtr<AbstractSdCustomShowDlg> CreateSdCustomShowDlg(weld::Window* pParent, SdDrawDocument& rDrawDoc) override; |