summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorpanoskorovesis <panoskorovesis@outlook.com>2021-07-07 15:45:12 +0300
committerTomaž Vajngerl <quikee@gmail.com>2021-07-08 08:58:57 +0200
commit8f962ddc45ca4f6825b41f2786f9fd219b4c1586 (patch)
treee02d0faa886531aa233be29852bfa23f2b5ce505 /include
parent18b8e90ec255ce5cd94fd6fd0b3dc1729043552f (diff)
Add handler for MetaPolyLine Read
The handler separates the MetaPolyLine::Read from metaact.hxx Read implementation is now in SvmReader.hxx Change-Id: Ic800b13cdca5bc6ffc00f1564e5a05303c445c5f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118566 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 3b64225f37eb..f5da5b6e9f5c 100644
--- a/include/vcl/filter/SvmReader.hxx
+++ b/include/vcl/filter/SvmReader.hxx
@@ -48,6 +48,7 @@ public:
rtl::Reference<MetaAction> ArcHandler();
rtl::Reference<MetaAction> PieHandler();
rtl::Reference<MetaAction> ChordHandler();
+ rtl::Reference<MetaAction> PolyLineHandler();
};
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/vcl/metaact.hxx b/include/vcl/metaact.hxx
index d8b1f31b6a28..4578c791d61e 100644
--- a/include/vcl/metaact.hxx
+++ b/include/vcl/metaact.hxx
@@ -427,6 +427,8 @@ public:
const tools::Polygon& GetPolygon() const { return maPoly; }
const LineInfo& GetLineInfo() const { return maLineInfo; }
+ void SetLineInfo(LineInfo& rLineInfo) { maLineInfo = rLineInfo; }
+ void SetPolygon(tools::Polygon& rPoly) { maPoly = rPoly; }
};
class UNLESS_MERGELIBS(VCL_DLLPUBLIC) MetaPolygonAction final : public MetaAction