diff options
author | panoskorovesis <panoskorovesis@outlook.com> | 2021-07-13 13:54:37 +0300 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2021-07-14 08:52:04 +0200 |
commit | 9eed620ab1ea4ad67598b6026132d964e2e430bd (patch) | |
tree | b372639e49a4471832c889c47046283aaa2c444f /include | |
parent | 1583371d1d39c63940a3f58d3d2e940f903baa88 (diff) |
Add Handler for GradientEx Read
The handler separates MetaGradientExAction::Read metaact.hxx
Read implementation is now in SvmReader.hxx
Change-Id: I01f0de7ab62cf658bc88cf2232622197b127cc9a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118834
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/filter/SvmReader.hxx | 1 | ||||
-rw-r--r-- | include/vcl/metaact.hxx | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/include/vcl/filter/SvmReader.hxx b/include/vcl/filter/SvmReader.hxx index c4c3080b7af6..1bd6628bb165 100644 --- a/include/vcl/filter/SvmReader.hxx +++ b/include/vcl/filter/SvmReader.hxx @@ -66,6 +66,7 @@ public: rtl::Reference<MetaAction> MaskScaleHandler(); rtl::Reference<MetaAction> MaskScalePartHandler(); rtl::Reference<MetaAction> GradientHandler(); + rtl::Reference<MetaAction> GradientExHandler(); }; /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/vcl/metaact.hxx b/include/vcl/metaact.hxx index 958807d5126c..28470520fe09 100644 --- a/include/vcl/metaact.hxx +++ b/include/vcl/metaact.hxx @@ -1099,6 +1099,8 @@ public: const tools::PolyPolygon& GetPolyPolygon() const { return maPolyPoly; } const Gradient& GetGradient() const { return maGradient; } + void SetPolyPolygon(tools::PolyPolygon& rPolyPoly) { maPolyPoly = rPolyPoly; } + void SetGradient(Gradient& rGradient) { maGradient = rGradient; } }; class SAL_DLLPUBLIC_RTTI MetaHatchAction final : public MetaAction |