diff options
author | panoskorovesis <panoskorovesis@outlook.com> | 2021-07-14 23:06:33 +0300 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2021-07-15 11:50:03 +0200 |
commit | ac42d6d01fcb64e8093d7f7b2833e9f9e3538369 (patch) | |
tree | c80b9f1b8c31b805035a44f9457ad5bde5b5ba73 /include | |
parent | 0ce3a9dcc071094121252a286aa88529ee09a4eb (diff) |
Add Handler for TextLineColor Read
The handler separates MetaTextLineColorAction::Read from metaact.hxx
Read implementation is now in SvmReader.hxx
Change-Id: I30848cea0d4f22f8d9fe327dc74f9ef16ae45d09
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118956
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 ce35d15c8165..c9439ecb6c06 100644 --- a/include/vcl/filter/SvmReader.hxx +++ b/include/vcl/filter/SvmReader.hxx @@ -75,6 +75,7 @@ public: rtl::Reference<MetaAction> MoveClipRegionHandler(); rtl::Reference<MetaAction> TextColorHandler(); rtl::Reference<MetaAction> TextFillColorHandler(); + rtl::Reference<MetaAction> TextLineColorHandler(); }; /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/vcl/metaact.hxx b/include/vcl/metaact.hxx index b1c1b42e1bbf..81adb9c0cd1a 100644 --- a/include/vcl/metaact.hxx +++ b/include/vcl/metaact.hxx @@ -1427,6 +1427,8 @@ public: MetaTextLineColorAction( const Color& rColor, bool bSet ); const Color& GetColor() const { return maColor; } + void SetColor(const Color& rColor) { maColor = rColor; } + void SetSetting(bool bSet) { mbSet = bSet; } bool IsSetting() const { return mbSet; } }; |