diff options
author | Rishabh Kumar <kris.kr296@gmail.com> | 2016-07-07 19:47:30 +0530 |
---|---|---|
committer | Katarina Behrens <Katarina.Behrens@cib.de> | 2016-07-08 20:07:06 +0000 |
commit | 94a001bc62abc4e561e99fdd82c7eee46579fe4e (patch) | |
tree | 8ff34d23051492b52d42dc005d6723a1cff45350 /include/svx/xtable.hxx | |
parent | 731be5ca597a5c83d5bb82478058458a3779345b (diff) |
Make bitmap preset preview resizable
Change-Id: I733994c93b598a357dfe24c525d74978d3f70237
Reviewed-on: https://gerrit.libreoffice.org/27011
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
Diffstat (limited to 'include/svx/xtable.hxx')
-rw-r--r-- | include/svx/xtable.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/svx/xtable.hxx b/include/svx/xtable.hxx index 93b6f39706ce..e17a022702be 100644 --- a/include/svx/xtable.hxx +++ b/include/svx/xtable.hxx @@ -375,6 +375,9 @@ public: class SVX_DLLPUBLIC XBitmapList : public XPropertyList { +private: + Bitmap CreateBitmap( long nIndex, const Size& rSize ) const; + protected: virtual Bitmap CreateBitmapForUI(long nIndex) override; @@ -386,6 +389,7 @@ public: using XPropertyList::Remove; XBitmapEntry* Remove(long nIndex); XBitmapEntry* GetBitmap(long nIndex) const; + Bitmap GetBitmapForPreview(long nIndex, const Size& rSize); virtual css::uno::Reference< css::container::XNameContainer > createInstance() override; virtual bool Create() override; |