11#include <sfx2/sfxsids.hrc>
19, m_nTransparency( 50 )
31 return ( SfxPoolItem::operator==( rCmp ) &&
47 {
"Text", css::uno::Any(
m_aText ) },
48 {
"Font", css::uno::Any(
m_aFont ) },
49 {
"Angle", css::uno::Any(
m_nAngle ) },
51 {
"Color", css::uno::Any(
m_nColor ) },
59 css::uno::Sequence<css::beans::PropertyValue> aSequence;
61 if ( rVal >>= aSequence )
63 for(
const auto& aEntry : std::as_const(aSequence))
65 if(aEntry.Name ==
"Text")
67 if(aEntry.Name ==
"Font")
69 if(aEntry.Name ==
"Angle")
71 if(aEntry.Name ==
"Transparency")
73 if(aEntry.Name ==
"Color")
static SfxPoolItem * CreateDefault()
virtual bool QueryValue(css::uno::Any &rVal, sal_uInt8 nMemberId=0) const override
sal_Int16 m_nTransparency
virtual SfxWatermarkItem * Clone(SfxItemPool *pPool=nullptr) const override
virtual bool operator==(const SfxPoolItem &) const override
virtual bool PutValue(const css::uno::Any &rVal, sal_uInt8 nMemberId) override
css::uno::Sequence< css::beans::PropertyValue > InitPropertySequence(::std::initializer_list< ::std::pair< OUString, css::uno::Any > > vInit)