27#include <com/sun/star/accessibility/XAccessible.hpp>
28#include <com/sun/star/accessibility/XAccessibleContext.hpp>
92 css::uno::Type typeInfo(TypeClass_BOOLEAN,
"bool");
93 anyVal.setValue(&
value.boolVal, typeInfo);
99 css::uno::Type typeInfo(TypeClass_SHORT,
"short");
100 anyVal.setValue(&
value.iVal, typeInfo);
106 css::uno::Type typeInfo(TypeClass_LONG,
"long");
107 anyVal.setValue(&
value.lVal, typeInfo);
113 css::uno::Type typeInfo(TypeClass_FLOAT,
"float");
114 anyVal.setValue(&
value.fltVal, typeInfo);
120 css::uno::Type typeInfo(TypeClass_DOUBLE,
"double");
121 anyVal.setValue(&
value.dblVal, typeInfo);
135 hRet =
pRXVal->setCurrentValue(anyVal) ? S_OK : E_FAIL;
STDMETHOD() setCurrentValue(VARIANT value) override
Set current value.
STDMETHOD() get_maximumValue(VARIANT *maximumValue) override
Get maximum value.
STDMETHOD() get_minimumValue(VARIANT *minimumValue) override
Get minimum value.
STDMETHOD() get_currentValue(VARIANT *currentValue) override
Get current value.
STDMETHOD() put_XInterface(hyper pXInterface) override
Put valid UNO interface into com class.
css::accessibility::XAccessibleValue * GetXInterface()
css::uno::Reference< css::accessibility::XAccessibleValue > pRXVal
static void ConvertAnyToVariant(const css::uno::Any &rAnyVal, VARIANT *pvData)
STDMETHOD() put_XInterface(hyper pXInterface) override
css::accessibility::XAccessible * pUNOInterface
VARIANT maximumValue
Returns the maximal value that can be represented by this object.
VARIANT minimumValue
Returns the minimal value that can be represented by this object.
VARIANT currentValue
Returns the value of this object as a number.