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

Display XErrorBars in object hierarchy.

üst b9b54966
...@@ -488,7 +488,21 @@ void ImplObjectHierarchy::createDataSeriesTree( ...@@ -488,7 +488,21 @@ void ImplObjectHierarchy::createDataSeriesTree(
{ {
aSeriesSubContainer.push_back( aSeriesSubContainer.push_back(
ObjectIdentifier( ObjectIdentifier::createClassifiedIdentifierWithParent( ObjectIdentifier( ObjectIdentifier::createClassifiedIdentifierWithParent(
OBJECTTYPE_DATA_ERRORS, OUString(), aSeriesParticle ) ) ); OBJECTTYPE_DATA_ERRORS_Y, OUString(), aSeriesParticle ) ) );
}
}
if( xSeriesProp.is() &&
(xSeriesProp->getPropertyValue( C2U("ErrorBarX")) >>= xErrorBarProp) &&
xErrorBarProp.is())
{
sal_Int32 nStyle = ::com::sun::star::chart::ErrorBarStyle::NONE;
if( ( xErrorBarProp->getPropertyValue( C2U("ErrorBarStyle")) >>= nStyle ) &&
( nStyle != ::com::sun::star::chart::ErrorBarStyle::NONE ) )
{
aSeriesSubContainer.push_back(
ObjectIdentifier( ObjectIdentifier::createClassifiedIdentifierWithParent(
OBJECTTYPE_DATA_ERRORS_X, OUString(), aSeriesParticle ) ) );
} }
} }
} }
......
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