summaryrefslogtreecommitdiff
path: root/include/editeng/colritem.hxx
diff options
context:
space:
mode:
authormatteocam <matteo.campanelli@gmail.com>2014-05-29 16:31:28 -0400
committerFridrich Štrba <fridrich.strba@bluewin.ch>2014-06-30 22:54:39 +0200
commit4693d7cc99fa4b659f834e703b8bbb0424d55fee (patch)
tree64e8950f4c47f962dc654c40c00785941b4faffa /include/editeng/colritem.hxx
parenta74e588518df1a3f5e7209e52dcaccf38ae88e56 (diff)
Added class SvxBackgroundColorItem
Change-Id: If10795bbbd9fc911896b57bbab5410bc1e62f71f (cherry picked from commit ad6a2607f09d2f770e683a21ad7243a077d65a7a)
Diffstat (limited to 'include/editeng/colritem.hxx')
-rw-r--r--include/editeng/colritem.hxx25
1 files changed, 25 insertions, 0 deletions
diff --git a/include/editeng/colritem.hxx b/include/editeng/colritem.hxx
index fc82bd282935..815d2ed3f3d1 100644
--- a/include/editeng/colritem.hxx
+++ b/include/editeng/colritem.hxx
@@ -77,6 +77,31 @@ public:
};
+/*
+ * FIXME(matteocam):
+ * both classes Svx{Background,}Color should be derived from a
+ * common ancestor or be totally separate (not recommended probably).
+*/
+
+// class SvxBackgroundColorItem
+
+// XXX: to be moved in a separate header.
+class EDITENG_DLLPUBLIC SvxBackgroundColorItem : public SvxColorItem
+{
+ public:
+ TYPEINFO_OVERRIDE();
+
+ SvxBackgroundColorItem( const sal_uInt16 nId );
+ SvxBackgroundColorItem( const Color& rCol,
+ const sal_uInt16 nId );
+ SvxBackgroundColorItem( SvStream& rStrm, const sal_uInt16 nId );
+ SvxBackgroundColorItem( const SvxBackgroundColorItem& rCopy );
+
+ virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const SAL_OVERRIDE;
+ virtual SfxPoolItem* Create(SvStream &, sal_uInt16) const SAL_OVERRIDE;
+
+};
+
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */