23#include <com/sun/star/chart2/XDataSeries.hpp>
24#include <com/sun/star/beans/XPropertyState.hpp>
37 , sal_Int32 nPointIndex
38 ,
const css::uno::Reference< css::beans::XPropertySet >& xDataPointProperties
41 if( !xDataSeries.is() )
47 if( !xPointState.is() )
49 xPointState.set( xDataSeries->getDataPointByIndex( nPointIndex ), uno::UNO_QUERY );
51 if( !xPointState.is() )
54 return (xPointState->getPropertyState(
"Color") != beans::PropertyState_DEFAULT_VALUE );
62 , sal_Int32 nPointIndex )
64 if( xDataSeries.is() )
69 const sal_Int32 * pBegIt = aIndexList.getConstArray();
70 const sal_Int32 * pEndIt = pBegIt + aIndexList.getLength();
71 return ( std::find( pBegIt, pEndIt, nPointIndex ) != pEndIt );
static bool hasPointOwnColor(const rtl::Reference< ::chart::DataSeries > &xDataSeries, sal_Int32 nPointIndex, const css::uno::Reference< css::beans::XPropertySet > &xDataPointProperties)
static SAL_DLLPRIVATE bool hasPointOwnProperties(const rtl::Reference< ::chart::DataSeries > &xDataSeries, sal_Int32 nPointIndex)
@ PROP_DATASERIES_ATTRIBUTED_DATA_POINTS