diff options
author | Katarina Behrens <Katarina.Behrens@cib.de> | 2016-06-28 14:47:25 +0200 |
---|---|---|
committer | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2016-08-18 02:39:10 +0200 |
commit | ecdfab087c457ba693edae8ae75413c144209dab (patch) | |
tree | 8a1bee2186b8769934b35b945d9e382a44d504ae /sc | |
parent | a80bfcb38b0664a779f567b0f45b5445465ecf2d (diff) |
screenshots: interface for sc dialog factory
Change-Id: Ibe0f8ec2714002b2dc84ef0c0bb8cb845e906aab
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/attrdlg/scdlgfact.hxx | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/sc/source/ui/attrdlg/scdlgfact.hxx b/sc/source/ui/attrdlg/scdlgfact.hxx index 90d73cde10b7..63e228b071fd 100644 --- a/sc/source/ui/attrdlg/scdlgfact.hxx +++ b/sc/source/ui/attrdlg/scdlgfact.hxx @@ -64,7 +64,9 @@ public: \ : pDlg(p) \ {} \ virtual ~Class(); \ - virtual short Execute() override ; + virtual short Execute() override ; \ + virtual Bitmap createScreenshot() const override; \ + virtual OString GetScreenshotId() const; \ #define DECL_ABSTDLG2_BASE(Class,DialogClass) \ ScopedVclPtr<DialogClass> pDlg; \ @@ -83,6 +85,14 @@ Class::~Class() \ short Class::Execute() \ { \ return pDlg->Execute(); \ +} \ +Bitmap Class::createScreenshot() const \ +{ \ + return pDlg->createScreenshot(); \ +} \ +OString Class::GetScreenshotId() const \ +{ \ + return pDlg->GetScreenshotId(); \ } #define IMPL_ABSTDLG2_BASE(Class) \ |