summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorpanoskorovesis <panoskorovesis@outlook.com>2021-07-09 13:28:47 +0300
committerTomaž Vajngerl <quikee@gmail.com>2021-07-10 00:39:32 +0200
commit10d983f57f0bc1ec665d6e2bbfa1d9038446e7f9 (patch)
tree1c2361583d24e2fad5b002040ee53e08945d52e4 /include
parent3057ee8ba01535324f57978569526988664eb53a (diff)
Add Handler for Bmp Read
The handler separates MetaBmpAction::Read from metaact.hxx Read implementation is now in SvmReader.hxx Change-Id: I60b9c2fbe9c5e23e0f1a05c4aa96565e3d14c403 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118665 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/vcl/filter/SvmReader.hxx1
-rw-r--r--include/vcl/metaact.hxx2
2 files changed, 3 insertions, 0 deletions
diff --git a/include/vcl/filter/SvmReader.hxx b/include/vcl/filter/SvmReader.hxx
index fd8d81ce7295..c34c7db1df4e 100644
--- a/include/vcl/filter/SvmReader.hxx
+++ b/include/vcl/filter/SvmReader.hxx
@@ -56,6 +56,7 @@ public:
rtl::Reference<MetaAction> StretchTextHandler(ImplMetaReadData* pData);
rtl::Reference<MetaAction> TextRectHandler(ImplMetaReadData* pData);
rtl::Reference<MetaAction> TextLineHandler();
+ rtl::Reference<MetaAction> BmpHandler();
};
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/vcl/metaact.hxx b/include/vcl/metaact.hxx
index 731e901bd622..464f2b32777e 100644
--- a/include/vcl/metaact.hxx
+++ b/include/vcl/metaact.hxx
@@ -720,6 +720,8 @@ public:
const Bitmap& GetBitmap() const { return maBmp; }
const Point& GetPoint() const { return maPt; }
+ void SetBitmap(Bitmap& rBmp) { maBmp = rBmp; }
+ void SetPoint(Point& rPt) { maPt = rPt; }
};
class VCL_DLLPUBLIC MetaBmpScaleAction final : public MetaAction