21#include <com/sun/star/frame/status/Template.hpp>
35 OUString _aStyleIdentifier
37 aStyle(
std::move( _aStyle )),
38 aStyleIdentifier(
std::move( _aStyleIdentifier ))
46 return ( SfxFlagItem::operator==( rCmp ) &&
58 css::frame::status::Template aTemplate;
60 aTemplate.Value =
static_cast<sal_uInt16
>(
GetValue());
61 aTemplate.StyleName =
aStyle;
71 css::frame::status::Template aTemplate;
73 if ( rVal >>= aTemplate )
76 aStyle = aTemplate.StyleName;
87 return sizeof(sal_uInt16) * 8;
virtual SfxTemplateItem * Clone(SfxItemPool *pPool=nullptr) const override
virtual bool PutValue(const css::uno::Any &rVal, sal_uInt8 nMemberId) override
virtual sal_uInt8 GetFlagCount() const override
void SetValue(SfxStyleSearchBits n)
virtual bool operator==(const SfxPoolItem &) const override
OUString aStyleIdentifier
static SfxPoolItem * CreateDefault()
virtual bool QueryValue(css::uno::Any &rVal, sal_uInt8 nMemberId=0) const override
SfxStyleSearchBits GetValue() const