Kaydet (Commit) 7fded69f authored tarafından Rafael Dominguez's avatar Rafael Dominguez Kaydeden (comit) Markus Mohrhard

Add a function to get X error bar properties.

üst a3d71e97
...@@ -121,6 +121,9 @@ public: ...@@ -121,6 +121,9 @@ public:
::com::sun::star::chart2::Symbol* ::com::sun::star::chart2::Symbol*
getSymbolProperties( sal_Int32 index ) const; getSymbolProperties( sal_Int32 index ) const;
::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >
getXErrorBarProperties( sal_Int32 index ) const;
::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >
getYErrorBarProperties( sal_Int32 index ) const; getYErrorBarProperties( sal_Int32 index ) const;
......
...@@ -816,6 +816,16 @@ Symbol* VDataSeries::getSymbolProperties( sal_Int32 index ) const ...@@ -816,6 +816,16 @@ Symbol* VDataSeries::getSymbolProperties( sal_Int32 index ) const
return pRet; return pRet;
} }
uno::Reference< beans::XPropertySet > VDataSeries::getXErrorBarProperties( sal_Int32 index ) const
{
uno::Reference< beans::XPropertySet > xErrorBarProp;
uno::Reference< beans::XPropertySet > xPointProp( this->getPropertiesOfPoint( index ));
if( xPointProp.is() )
xPointProp->getPropertyValue( C2U( "ErrorBarX" )) >>= xErrorBarProp;
return xErrorBarProp;
}
uno::Reference< beans::XPropertySet > VDataSeries::getYErrorBarProperties( sal_Int32 index ) const uno::Reference< beans::XPropertySet > VDataSeries::getYErrorBarProperties( sal_Int32 index ) const
{ {
uno::Reference< beans::XPropertySet > xErrorBarProp; uno::Reference< beans::XPropertySet > xErrorBarProp;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment