diff options
author | Rishabh Kumar <kris.kr296@gmail.com> | 2016-07-20 00:59:13 +0530 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2016-07-20 21:52:42 +0000 |
commit | b0db1f4c79e12b4fc96f82b362b332d9ffb6e87c (patch) | |
tree | a16285bf1e30b85f31beffdd1b773979da400f16 /include | |
parent | d77081946f59127aab4b017f455b0c5b489dcb84 (diff) |
Make pattern preset preview resizeable
Change-Id: I24e46ca08993cb359eddade72cd9bc4fda4512ff
Reviewed-on: https://gerrit.libreoffice.org/27323
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/svx/xtable.hxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/svx/xtable.hxx b/include/svx/xtable.hxx index e17a022702be..a692f39e36ba 100644 --- a/include/svx/xtable.hxx +++ b/include/svx/xtable.hxx @@ -397,6 +397,9 @@ public: class SVX_DLLPUBLIC XPatternList : public XPropertyList { +private: + Bitmap CreateBitmap( long nIndex, const Size& rSize ) const; + protected: virtual Bitmap CreateBitmapForUI(long nIndex) override; @@ -406,9 +409,9 @@ public: using XPropertyList::Replace; 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; |