summaryrefslogtreecommitdiff
path: root/include/svx
diff options
context:
space:
mode:
authorRishabh Kumar <kris.kr296@gmail.com>2016-07-04 14:52:00 +0530
committerRishabh Kumar <kris.kr296@yahoo.in>2016-07-04 12:35:02 +0000
commitd92b41ce9c87547fde5c43b3bea05b3be79a63f6 (patch)
tree0ce1f198bf28469f514f078116b8d5025adcf6c9 /include/svx
parent4e3ed5aeb5c998ee4077138fe802b471bea9fcb2 (diff)
Make hatch UI bitmap resizable
Change-Id: I34e1db1f462c87d7b3a2ff9531189bea189b2ce8 Reviewed-on: https://gerrit.libreoffice.org/26894 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Rishabh Kumar <kris.kr296@yahoo.in>
Diffstat (limited to 'include/svx')
-rw-r--r--include/svx/xtable.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/svx/xtable.hxx b/include/svx/xtable.hxx
index d9a90702620c..586b2e5650f4 100644
--- a/include/svx/xtable.hxx
+++ b/include/svx/xtable.hxx
@@ -331,9 +331,10 @@ public:
class SVX_DLLPUBLIC XHatchList : public XPropertyList
{
+private:
+ Bitmap CreateBitmap(long nIndex, const Size& rSize) const;
protected:
virtual Bitmap CreateBitmapForUI(long nIndex) override;
-
public:
XHatchList(const OUString& rPath, const OUString& rReferer);
virtual ~XHatchList();
@@ -343,6 +344,7 @@ public:
using XPropertyList::Remove;
XHatchEntry* Remove(long nIndex);
XHatchEntry* GetHatch(long nIndex) const;
+ Bitmap GetBitmapForPreview(long nIndex, const Size& rSize);
virtual css::uno::Reference< css::container::XNameContainer > createInstance() override;
virtual bool Create() override;