diff options
author | panoskorovesis <panoskorovesis@outlook.com> | 2021-07-09 14:10:13 +0300 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2021-07-10 00:41:09 +0200 |
commit | fa17410b7cad394254818ca0dfcd92673fb642d0 (patch) | |
tree | a92a1c8aa3515ad5fd9a30d0f82f6378afcc0df4 /include | |
parent | 7c85ebbc1aa81f54351f82566d25a11125eaeaa1 (diff) |
Add Handler for BmpExScale Read
The hanlder separates MetaBmpExScaleAction::Read from metaact.hxx
Read implementation is now in SvmReader.hxx
Change-Id: I2736e259955f2610ee6acd4a36be5d362df57b74
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118674
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/filter/SvmReader.hxx | 1 | ||||
-rw-r--r-- | include/vcl/metaact.hxx | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/include/vcl/filter/SvmReader.hxx b/include/vcl/filter/SvmReader.hxx index fc82e47268bc..853a52a8ae3d 100644 --- a/include/vcl/filter/SvmReader.hxx +++ b/include/vcl/filter/SvmReader.hxx @@ -60,6 +60,7 @@ public: rtl::Reference<MetaAction> BmpScaleHandler(); rtl::Reference<MetaAction> BmpScalePartHandler(); rtl::Reference<MetaAction> BmpExHandler(); + rtl::Reference<MetaAction> BmpExScaleHandler(); }; /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/vcl/metaact.hxx b/include/vcl/metaact.hxx index b3cd5e0b5e87..b71c59b5144f 100644 --- a/include/vcl/metaact.hxx +++ b/include/vcl/metaact.hxx @@ -867,6 +867,9 @@ public: const BitmapEx& GetBitmapEx() const { return maBmpEx; } const Point& GetPoint() const { return maPt; } const Size& GetSize() const { return maSz; } + void SetBitmapEx(BitmapEx& rBmpEx) { maBmpEx = rBmpEx; } + void SetPoint(Point& rPt) { maPt = rPt; } + void SetSize(Size& rSz) { maSz = rSz; } bool IsTransparent() const override { return GetBitmapEx().IsAlpha(); } }; |