diff options
author | panoskorovesis <panoskorovesis@outlook.com> | 2021-07-08 13:35:24 +0300 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2021-07-09 11:49:32 +0200 |
commit | c46aba4341744ce7b0bf91ba86805687898c21a4 (patch) | |
tree | 067fecef32ae01fc35c0c68bdba1b0832148bc34 /include | |
parent | 66ac7e94ea69cd62c256cae8d3ced82678ce6992 (diff) |
Add Handler for MetaTextRect Read
The handler separates MetaTextAction::Read from metaact.hxx
Read implementation is now in SvmReader.hxx
Change-Id: Ifa77ced87362204f946b36f95aebd3f72705ed5f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118637
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 230a725c0ca9..ab9654ea8d9a 100644 --- a/include/vcl/filter/SvmReader.hxx +++ b/include/vcl/filter/SvmReader.hxx @@ -54,6 +54,7 @@ public: rtl::Reference<MetaAction> TextHandler(ImplMetaReadData* pData); rtl::Reference<MetaAction> TextArrayHandler(ImplMetaReadData* pData); rtl::Reference<MetaAction> StretchTextHandler(ImplMetaReadData* pData); + rtl::Reference<MetaAction> TextRectHandler(ImplMetaReadData* pData); }; /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/vcl/metaact.hxx b/include/vcl/metaact.hxx index 19ed80859f33..b6509c12aaf8 100644 --- a/include/vcl/metaact.hxx +++ b/include/vcl/metaact.hxx @@ -644,6 +644,9 @@ public: const tools::Rectangle& GetRect() const { return maRect; } const OUString& GetText() const { return maStr; } DrawTextFlags GetStyle() const { return mnStyle; } + void SetRect(tools::Rectangle& rRect) { maRect = rRect; } + void SetText(OUString& rStr) { maStr = rStr; } + void SetStyle(DrawTextFlags rStyle) { mnStyle = rStyle; } }; class SAL_DLLPUBLIC_RTTI MetaTextLineAction final : public MetaAction |