summaryrefslogtreecommitdiff
path: root/include/svx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2022-02-16 20:02:01 +0100
committerMiklos Vajna <vmiklos@collabora.com>2022-02-17 08:23:15 +0100
commit8cc70d18c4507a746607fe5922b7c5e94b7f7579 (patch)
tree92b23704bcabac77dfa5b896833ef6c59aec6183 /include/svx
parentb447be3ccba686c4e35d61b05b50d31045c9d1ac (diff)
sd theme: add doc model for shape fill color
In preparation of adding UNO API for this. Change-Id: Iecb2e44c43bca9e892fcb6242870ec12faa48be5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130050 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'include/svx')
-rw-r--r--include/svx/xcolit.hxx8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/svx/xcolit.hxx b/include/svx/xcolit.hxx
index 8760ba88208e..5b882f9a97a9 100644
--- a/include/svx/xcolit.hxx
+++ b/include/svx/xcolit.hxx
@@ -21,8 +21,9 @@
#define INCLUDED_SVX_XCOLIT_HXX
#include <tools/color.hxx>
-#include <svx/svxdllapi.h>
+#include <editeng/colritem.hxx>
+#include <svx/svxdllapi.h>
#include <svx/xit.hxx>
class XColorList;
@@ -32,6 +33,7 @@ class XColorList;
class SVXCORE_DLLPUBLIC XColorItem : public NameOrIndex
{
Color aColor;
+ SvxThemeColor maThemeColor;
public:
static SfxPoolItem* CreateDefault();
@@ -48,6 +50,10 @@ public:
const Color& GetColorValue() const;
void SetColorValue(const Color& rNew) { aColor = rNew; Detach(); }
+
+ SvxThemeColor& GetThemeColor() { return maThemeColor; }
+ const SvxThemeColor& GetThemeColor() const { return maThemeColor; }
+
virtual void dumpAsXml(xmlTextWriterPtr pWriter) const override;
};