10#include <com/sun/star/uno/Sequence.hxx>
11#include <com/sun/star/beans/PropertyValue.hpp>
23 , m_eCategory(eCategory)
35 nMemberId &= ~CONVERT_TWIPS;
41 css::uno::Sequence<css::beans::PropertyValue>
aSeq{
65 nMemberId &= ~CONVERT_TWIPS;
71 css::uno::Sequence<css::beans::PropertyValue>
aSeq;
75 sal_Int16 nTypeTmp(0);
76 bool bAllConverted(
true);
77 sal_Int16 nConvertedCount(0);
78 for (
const auto& rProp : std::as_const(
aSeq))
82 bAllConverted &= (rProp.Value >>= sValueTmp);
87 bAllConverted &= (rProp.Value >>= nTypeTmp);
104 bRet = (rVal >>= nCategory);
112 bRet = (rVal >>=
aStr);
const OUString & GetValue() const
virtual bool operator==(const SfxPoolItem &rItem) const override
void SetValue(const OUString &rTheValue)
virtual bool QueryValue(css::uno::Any &rVal, sal_uInt8 nMemberId=0) const override
virtual bool PutValue(const css::uno::Any &rVal, sal_uInt8 nMemberId) override
StatusCategory m_eCategory
virtual SvxStatusItem * Clone(SfxItemPool *pPool=nullptr) const override
static SfxPoolItem * CreateDefault()
SvxStatusItem(TypedWhichId< SvxStatusItem > nWhich, const OUString &rString, StatusCategory eStatusCategory)
virtual bool operator==(const SfxPoolItem &rItem) const override
Sequence< sal_Int8 > aSeq
css::beans::PropertyValue makePropertyValue(const OUString &rName, T &&rValue)
constexpr OUStringLiteral STATUS_PARAM_TYPE
constexpr OUStringLiteral STATUS_PARAM_VALUE
constexpr int STATUS_PARAMS