23#include <com/sun/star/chart2/XAxis.hpp>
24#include <com/sun/star/chart2/XDataSeries.hpp>
25#include <unonames.hxx>
27#include <osl/diagnose.h>
30using ::com::sun::star::uno::Reference;
31using ::com::sun::star::uno::Any;
48 sal_Int32 nFormat = 0;
49 if( ! (rOuterValue >>= nFormat) )
50 throw lang::IllegalArgumentException(
"Property 'NumberFormat' requires value of type sal_Int32",
nullptr, 0 );
52 if(xInnerPropertySet.is())
58 if( !xInnerPropertySet.is() )
60 OSL_FAIL(
"missing xInnerPropertySet in WrappedNumberFormatProperty::getPropertyValue");
64 if( !aRet.hasValue() )
73 assert(xAxis || !xInnerPropertySet);
97 if( !xInnerPropertySet.is() )
99 OSL_FAIL(
"missing xInnerPropertySet in WrappedNumberFormatProperty::setPropertyValue");
103 xInnerPropertySet->setPropertyValue(
getInnerName(), rOuterValue);
108 if( !xInnerPropertySet.is() )
110 OSL_FAIL(
"missing xInnerPropertySet in WrappedNumberFormatProperty::getPropertyValue");
114 return xInnerPropertySet->getPropertyValue(
getInnerName());
std::shared_ptr< Chart2ModelContact > m_spChart2ModelContact
virtual css::uno::Any convertOuterToInnerValue(const css::uno::Any &rOuterValue) const
virtual OUString getInnerName() const
constexpr OUStringLiteral CHART_UNONAME_LINK_TO_SRC_NUMFMT
constexpr OUStringLiteral CHART_UNONAME_NUMFMT