summaryrefslogtreecommitdiff
path: root/include/svx/xcolit.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/svx/xcolit.hxx')
-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;
};