diff options
author | panoskorovesis <panoskorovesis@outlook.com> | 2021-07-07 15:35:15 +0300 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2021-07-08 08:57:50 +0200 |
commit | 18b8e90ec255ce5cd94fd6fd0b3dc1729043552f (patch) | |
tree | 93b36281c64c9bb4cfdbeccc003b5200721daad1 /include | |
parent | e935e60431ab138eab044573355e2ed27bb1b8fa (diff) |
Add Handler for MetaChord Read
The handler separates the MetaChordAction::Read from metaact.hxx
Read implementation is now in SvmReader.hxx
Change-Id: Id4251e270bab9dc609c220ad0f304ee38b9ed2bd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118565
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 04ed88d5880c..3b64225f37eb 100644 --- a/include/vcl/filter/SvmReader.hxx +++ b/include/vcl/filter/SvmReader.hxx @@ -47,6 +47,7 @@ public: rtl::Reference<MetaAction> EllipseHandler(); rtl::Reference<MetaAction> ArcHandler(); rtl::Reference<MetaAction> PieHandler(); + rtl::Reference<MetaAction> ChordHandler(); }; /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/vcl/metaact.hxx b/include/vcl/metaact.hxx index 461006525272..d8b1f31b6a28 100644 --- a/include/vcl/metaact.hxx +++ b/include/vcl/metaact.hxx @@ -393,6 +393,9 @@ public: const tools::Rectangle& GetRect() const { return maRect; } const Point& GetStartPoint() const { return maStartPt; } const Point& GetEndPoint() const { return maEndPt; } + void SetRect(tools::Rectangle& rRect) { maRect = rRect; } + void SetStartPoint(Point& rPoint) { maStartPt = rPoint; } + void SetEndPoint(Point& rPoint) { maEndPt = rPoint; } }; class UNLESS_MERGELIBS(VCL_DLLPUBLIC) MetaPolyLineAction final : public MetaAction |