From 7c85ebbc1aa81f54351f82566d25a11125eaeaa1 Mon Sep 17 00:00:00 2001 From: panoskorovesis Date: Fri, 9 Jul 2021 14:01:01 +0300 Subject: Add Handler for BmpEx Read MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The handler separates MetaBmpExAction::Read from metaact.hxx Read implementation is now in SvmReader.hxx Change-Id: Ia5175e824716e08df2ac42e354b337b9e15050e4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118673 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl --- include/vcl/filter/SvmReader.hxx | 1 + include/vcl/metaact.hxx | 2 ++ 2 files changed, 3 insertions(+) (limited to 'include') diff --git a/include/vcl/filter/SvmReader.hxx b/include/vcl/filter/SvmReader.hxx index fedaf58b9692..fc82e47268bc 100644 --- a/include/vcl/filter/SvmReader.hxx +++ b/include/vcl/filter/SvmReader.hxx @@ -59,6 +59,7 @@ public: rtl::Reference BmpHandler(); rtl::Reference BmpScaleHandler(); rtl::Reference BmpScalePartHandler(); + rtl::Reference BmpExHandler(); }; /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/vcl/metaact.hxx b/include/vcl/metaact.hxx index 4c531977100f..b3cd5e0b5e87 100644 --- a/include/vcl/metaact.hxx +++ b/include/vcl/metaact.hxx @@ -831,6 +831,8 @@ public: const BitmapEx& GetBitmapEx() const { return maBmpEx; } const Point& GetPoint() const { return maPt; } + void SetBitmapEx(BitmapEx rBmpEx) { maBmpEx = rBmpEx; } + void SetPoint(Point& rPt) { maPt = rPt; } bool IsTransparent() const override { return GetBitmapEx().IsAlpha(); } }; -- cgit