41#include <unonames.hxx>
44#include <rtl/math.hxx>
48#include <com/sun/star/beans/PropertyAttribute.hpp>
49#include <com/sun/star/chart/ChartAxisAssign.hpp>
50#include <com/sun/star/chart/ChartErrorCategory.hpp>
51#include <com/sun/star/chart/ChartSymbolType.hpp>
52#include <com/sun/star/chart2/XDataSeries.hpp>
53#include <com/sun/star/drawing/LineJoint.hpp>
54#include <com/sun/star/drawing/LineStyle.hpp>
55#include <com/sun/star/drawing/FillStyle.hpp>
56#include <com/sun/star/lang/WrappedTargetRuntimeException.hpp>
65using ::com::sun::star::uno::Reference;
66using ::com::sun::star::uno::Sequence;
67using ::com::sun::star::beans::Property;
68using ::com::sun::star::uno::Any;
76 PROP_SERIES_DATAPOINT_SOLIDTYPE,
77 PROP_SERIES_DATAPOINT_SEGMENT_OFFSET,
78 PROP_SERIES_DATAPOINT_PERCENT_DIAGONAL,
79 PROP_SERIES_DATAPOINT_LABEL_SEPARATOR,
80 PROP_SERIES_NUMBERFORMAT,
81 PROP_SERIES_LINK_NUMBERFORMAT_TO_SOURCE,
82 PROP_SERIES_PERCENTAGE_NUMBERFORMAT,
83 PROP_SERIES_DATAPOINT_TEXT_WORD_WRAP,
84 PROP_SERIES_DATAPOINT_LABEL_PLACEMENT,
86 PROP_SERIES_ATTACHED_AXIS,
87 PROP_SERIES_SHOW_CUSTOM_LEADERLINES,
88 PROP_SERIES_DATAPOINT_TEXT_ROTATION,
89 PROP_SERIES_DATAPOINT_LABEL_BORDER_STYLE,
90 PROP_SERIES_DATAPOINT_LABEL_BORDER_WIDTH,
91 PROP_SERIES_DATAPOINT_LABEL_BORDER_COLOR,
92 PROP_SERIES_DATAPOINT_LABEL_BORDER_TRANS,
93 PROP_SERIES_DATAPOINT_LABEL_FILL_STYLE,
94 PROP_SERIES_DATAPOINT_LABEL_FILL_COLOR,
95 PROP_SERIES_DATAPOINT_LABEL_FILL_BACKGROUND,
96 PROP_SERIES_DATAPOINT_LABEL_FILL_HATCH_NAME
99void lcl_AddPropertiesToVector_PointProperties(
100 std::vector< Property > & rOutProperties )
103 rOutProperties.emplace_back(
"SolidType",
104 PROP_SERIES_DATAPOINT_SOLIDTYPE,
106 beans::PropertyAttribute::BOUND
107 | beans::PropertyAttribute::MAYBEDEFAULT );
109 rOutProperties.emplace_back(
"SegmentOffset",
110 PROP_SERIES_DATAPOINT_SEGMENT_OFFSET,
112 beans::PropertyAttribute::BOUND
113 | beans::PropertyAttribute::MAYBEDEFAULT );
115 rOutProperties.emplace_back(
"D3DPercentDiagonal",
116 PROP_SERIES_DATAPOINT_PERCENT_DIAGONAL,
118 beans::PropertyAttribute::BOUND
119 | beans::PropertyAttribute::MAYBEVOID );
121 rOutProperties.emplace_back(
"LabelSeparator",
122 PROP_SERIES_DATAPOINT_LABEL_SEPARATOR,
124 beans::PropertyAttribute::BOUND
125 | beans::PropertyAttribute::MAYBEDEFAULT );
128 PROP_SERIES_NUMBERFORMAT,
130 beans::PropertyAttribute::BOUND
131 | beans::PropertyAttribute::MAYBEVOID );
134 PROP_SERIES_LINK_NUMBERFORMAT_TO_SOURCE,
136 beans::PropertyAttribute::BOUND
137 | beans::PropertyAttribute::MAYBEDEFAULT );
139 rOutProperties.emplace_back(
"PercentageNumberFormat",
140 PROP_SERIES_PERCENTAGE_NUMBERFORMAT,
142 beans::PropertyAttribute::BOUND
143 | beans::PropertyAttribute::MAYBEVOID );
145 rOutProperties.emplace_back(
"TextWordWrap",
146 PROP_SERIES_DATAPOINT_TEXT_WORD_WRAP,
148 beans::PropertyAttribute::BOUND
149 | beans::PropertyAttribute::MAYBEVOID );
151 rOutProperties.emplace_back(
"LabelPlacement",
152 PROP_SERIES_DATAPOINT_LABEL_PLACEMENT,
154 beans::PropertyAttribute::BOUND
155 | beans::PropertyAttribute::MAYBEVOID );
157 rOutProperties.emplace_back(
"TextRotation",
158 PROP_SERIES_DATAPOINT_TEXT_ROTATION,
160 beans::PropertyAttribute::BOUND
161 | beans::PropertyAttribute::MAYBEDEFAULT );
164 PROP_SERIES_DATAPOINT_LABEL_BORDER_STYLE,
166 beans::PropertyAttribute::BOUND
167 | beans::PropertyAttribute::MAYBEDEFAULT );
170 PROP_SERIES_DATAPOINT_LABEL_FILL_STYLE,
172 beans::PropertyAttribute::BOUND
173 | beans::PropertyAttribute::MAYBEDEFAULT );
176 PROP_SERIES_DATAPOINT_LABEL_FILL_COLOR,
178 beans::PropertyAttribute::BOUND
179 | beans::PropertyAttribute::MAYBEVOID
180 | beans::PropertyAttribute::MAYBEDEFAULT );
183 PROP_SERIES_DATAPOINT_LABEL_FILL_BACKGROUND,
185 beans::PropertyAttribute::BOUND
186 | beans::PropertyAttribute::MAYBEDEFAULT );
188 PROP_SERIES_DATAPOINT_LABEL_FILL_HATCH_NAME,
190 beans::PropertyAttribute::BOUND
191 | beans::PropertyAttribute::MAYBEDEFAULT );
193 PROP_SERIES_DATAPOINT_LABEL_BORDER_WIDTH,
195 beans::PropertyAttribute::BOUND
196 | beans::PropertyAttribute::MAYBEDEFAULT );
199 PROP_SERIES_DATAPOINT_LABEL_BORDER_COLOR,
201 beans::PropertyAttribute::BOUND
202 | beans::PropertyAttribute::MAYBEVOID
203 | beans::PropertyAttribute::MAYBEDEFAULT );
206 PROP_SERIES_DATAPOINT_LABEL_BORDER_TRANS,
208 beans::PropertyAttribute::BOUND
209 | beans::PropertyAttribute::MAYBEDEFAULT );
212void lcl_AddPropertiesToVector_SeriesOnly(
213 std::vector< Property > & rOutProperties )
215 rOutProperties.emplace_back(
"Axis",
216 PROP_SERIES_ATTACHED_AXIS,
218 beans::PropertyAttribute::BOUND
219 | beans::PropertyAttribute::MAYBEDEFAULT );
221 rOutProperties.emplace_back(
"ShowCustomLeaderLines",
222 PROP_SERIES_SHOW_CUSTOM_LEADERLINES,
224 beans::PropertyAttribute::BOUND
225 | beans::PropertyAttribute::MAYBEDEFAULT );
228uno::Sequence< Property > lcl_GetPropertySequence( DataSeriesPointWrapper::eType _eType )
232 lcl_AddPropertiesToVector_PointProperties( aProperties );
235 lcl_AddPropertiesToVector_SeriesOnly( aProperties );
236 WrappedStatisticProperties::addProperties( aProperties );
238 WrappedSymbolProperties::addProperties( aProperties );
239 WrappedDataCaptionProperties::addProperties( aProperties );
252const Sequence< Property >& StaticSeriesWrapperPropertyArray()
258const Sequence< Property >& StaticPointWrapperPropertyArray()
260 static Sequence< Property > aPropSeq( lcl_GetPropertySequence( DataSeriesPointWrapper::DATA_POINT ) );
268 explicit WrappedAttachedAxisProperty(
const std::shared_ptr<Chart2ModelContact>& spChart2ModelContact);
270 virtual void setPropertyValue(
const Any& rOuterValue,
const css::uno::Reference< css::beans::XPropertySet >& xInnerPropertySet )
const override;
272 virtual Any getPropertyValue(
const css::uno::Reference< css::beans::XPropertySet >& xInnerPropertySet )
const override;
274 virtual Any getPropertyDefault(
const css::uno::Reference< css::beans::XPropertyState >& xInnerPropertyState )
const override;
280WrappedAttachedAxisProperty::WrappedAttachedAxisProperty(
281 const std::shared_ptr<Chart2ModelContact>& spChart2ModelContact )
282 : WrappedProperty(
"Axis",OUString())
287Any WrappedAttachedAxisProperty::getPropertyDefault(
const Reference< beans::XPropertyState >& )
const
290 aRet <<= css::chart::ChartAxisAssign::PRIMARY_Y;
294Any WrappedAttachedAxisProperty::getPropertyValue(
const Reference< beans::XPropertySet >& xInnerPropertySet )
const
300 if( bAttachedToMainAxis )
301 aRet <<= css::chart::ChartAxisAssign::PRIMARY_Y;
303 aRet <<= css::chart::ChartAxisAssign::SECONDARY_Y;
311 sal_Int32 nChartAxisAssign = css::chart::ChartAxisAssign::PRIMARY_Y;
312 if( ! (rOuterValue >>= nChartAxisAssign) )
313 throw lang::IllegalArgumentException(
"Property Axis requires value of type sal_Int32",
nullptr, 0 );
315 bool bNewAttachedToMainAxis = nChartAxisAssign == css::chart::ChartAxisAssign::PRIMARY_Y;
318 if( bNewAttachedToMainAxis != bOldAttachedToMainAxis)
322 xDiagram->attachSeriesToAxis( bNewAttachedToMainAxis, xDataSeries,
m_spChart2ModelContact->m_xContext,
false );
329 WrappedSegmentOffsetProperty();
336WrappedSegmentOffsetProperty::WrappedSegmentOffsetProperty() :
337 WrappedProperty(
"SegmentOffset",
"Offset")
340Any WrappedSegmentOffsetProperty::convertInnerToOuterValue(
const Any& rInnerValue )
const
344 Any aResult( rInnerValue );
346 if( rInnerValue >>= fOffset )
347 aResult <<= static_cast< sal_Int32 >( ::rtl::math::round( fOffset * 100.0 ));
352Any WrappedSegmentOffsetProperty::convertOuterToInnerValue(
const Any& rOuterValue )
const
355 sal_Int32 nOffset = 0;
356 Any aResult( rOuterValue );
358 if( rOuterValue >>= nOffset )
359 aResult <<= static_cast< double >( nOffset ) / 100.0;
364class WrappedLineColorProperty :
public WrappedSeriesAreaOrLineProperty
367 explicit WrappedLineColorProperty( DataSeriesPointWrapper* pDataSeriesPointWrapper );
369 virtual void setPropertyValue(
const Any& rOuterValue,
const css::uno::Reference< css::beans::XPropertySet >& xInnerPropertySet )
const override;
371 virtual void setPropertyToDefault(
const css::uno::Reference< css::beans::XPropertyState >& xInnerPropertyState )
const override;
373 virtual css::uno::Any getPropertyDefault(
const css::uno::Reference< css::beans::XPropertyState >& xInnerPropertyState )
const override;
376 DataSeriesPointWrapper* m_pDataSeriesPointWrapper;
380WrappedLineColorProperty::WrappedLineColorProperty(
381 DataSeriesPointWrapper* pDataSeriesPointWrapper )
382 : WrappedSeriesAreaOrLineProperty(
"LineColor",
"BorderColor",
"Color", pDataSeriesPointWrapper )
383 , m_pDataSeriesPointWrapper( pDataSeriesPointWrapper )
390 if( !m_pDataSeriesPointWrapper || !m_pDataSeriesPointWrapper->isLinesForbidden() )
394void WrappedLineColorProperty::setPropertyToDefault(
const Reference< beans::XPropertyState >& xInnerPropertyState )
const
396 if( !m_pDataSeriesPointWrapper || !m_pDataSeriesPointWrapper->isLinesForbidden() )
397 WrappedSeriesAreaOrLineProperty::setPropertyToDefault( xInnerPropertyState );
400Any WrappedLineColorProperty::getPropertyDefault(
const Reference< beans::XPropertyState >& xInnerPropertyState )
const
402 if( m_pDataSeriesPointWrapper && !m_pDataSeriesPointWrapper->isSupportingAreaProperties() )
405 return WrappedSeriesAreaOrLineProperty::getPropertyDefault( xInnerPropertyState );
408class WrappedLineStyleProperty :
public WrappedSeriesAreaOrLineProperty
411 explicit WrappedLineStyleProperty( DataSeriesPointWrapper* pDataSeriesPointWrapper );
413 virtual void setPropertyValue(
const Any& rOuterValue,
const css::uno::Reference< css::beans::XPropertySet >& xInnerPropertySet )
const override;
415 virtual void setPropertyToDefault(
const css::uno::Reference< css::beans::XPropertyState >& xInnerPropertyState )
const override;
418 DataSeriesPointWrapper* m_pDataSeriesPointWrapper;
421WrappedLineStyleProperty::WrappedLineStyleProperty(
422 DataSeriesPointWrapper* pDataSeriesPointWrapper )
423 : WrappedSeriesAreaOrLineProperty(
"LineStyle",
"BorderStyle",
"LineStyle", pDataSeriesPointWrapper )
424 , m_pDataSeriesPointWrapper( pDataSeriesPointWrapper )
430 Any aNewValue(rOuterValue);
431 if( m_pDataSeriesPointWrapper && m_pDataSeriesPointWrapper->isLinesForbidden() )
433 aNewValue <<= drawing::LineStyle_NONE;
438void WrappedLineStyleProperty::setPropertyToDefault(
const Reference< beans::XPropertyState >& xInnerPropertyState )
const
440 if( !m_pDataSeriesPointWrapper || !m_pDataSeriesPointWrapper->isLinesForbidden() )
441 WrappedSeriesAreaOrLineProperty::setPropertyToDefault( xInnerPropertyState );
452 , m_nSeriesIndexInNewAPI( -1 )
453 , m_nPointIndex( -1 )
454 , m_bLinesAllowed(true)
461 OSL_PRECOND(
aArguments.hasElements(),
"need at least 1 argument to initialize the DataSeriesPointWrapper: series reference + optional datapoint index");
477 throw uno::Exception(
489 sal_Int32 nSeriesIndexInNewAPI ,
490 sal_Int32 nPointIndex,
491 std::shared_ptr<Chart2ModelContact> spChart2ModelContact)
494 , m_nSeriesIndexInNewAPI( nSeriesIndexInNewAPI )
495 , m_nPointIndex( (_eType == DATA_POINT) ? nPointIndex : -1 )
496 , m_bLinesAllowed( false )
512 clearWrappedPropertySet();
539 sal_Int32 nDimensionCount = xDiagram->getDimension();
550 std::vector< rtl::Reference< DataSeries > > aSeriesList =
551 xDiagram->getDataSeries();
579 if( xProp->getPropertyValue(
"ReferencePageSize").hasValue() )
580 xProp->setPropertyValue(
"ReferencePageSize",
uno::Any(
589 aRet = xProp->getPropertyValue(
"ReferencePageSize");
602 beans::PropertyState aState( beans::PropertyState_DIRECT_VALUE );
605 if (rPropertyName ==
"SymbolBitmap" || rPropertyName ==
"SymbolBitmapURL")
608 sal_Int32 nVal = css::chart::ChartSymbolType::NONE;
611 if (nVal != css::chart::ChartSymbolType::BITMAPURL)
612 return beans::PropertyState::PropertyState_DEFAULT_VALUE;
620 if( rPropertyName ==
"FillColor")
623 bool bVaryColorsByPoint =
false;
626 && bVaryColorsByPoint )
627 return beans::PropertyState_DIRECT_VALUE;
629 else if( rPropertyName ==
"Lines"
630 || rPropertyName ==
"SymbolType"
631 || rPropertyName ==
"SymbolSize" )
636 if( aDefault==aValue )
637 aState = beans::PropertyState_DEFAULT_VALUE;
640 catch(
const beans::UnknownPropertyException& )
644 catch(
const uno::RuntimeException& )
648 catch(
const lang::WrappedTargetException& e )
650 css::uno::Any
a(e.TargetException);
651 throw css::lang::WrappedTargetRuntimeException(
652 "wrapped Exception " + e.Message,
653 css::uno::Reference<css::uno::XInterface>(),
a);
655 catch(
const uno::Exception& e )
658 throw css::lang::WrappedTargetRuntimeException(
659 "wrapped Exception " + e.Message,
660 css::uno::Reference<css::uno::XInterface>(),
a);
680 sal_Int32
nHandle = getInfoHelper().getHandleByName( rPropertyName );
685 if( xInnerPropertySet.is() )
687 const WrappedProperty* pWrappedProperty = getWrappedProperty( rPropertyName );
688 if( pWrappedProperty )
691 aRet = xInnerPropertySet->getPropertyValue( rPropertyName );
695 catch(
const beans::UnknownPropertyException& )
712 return StaticSeriesWrapperPropertyArray();
714 return StaticPointWrapperPropertyArray();
719 std::vector< std::unique_ptr<WrappedProperty> > aWrappedProperties;
738 aWrappedProperties.emplace_back(
new WrappedProperty(
"FillColor",
"Color") );
739 aWrappedProperties.emplace_back(
new WrappedLineStyleProperty(
this ) );
740 aWrappedProperties.emplace_back(
new WrappedLineColorProperty(
this ) );
745 aWrappedProperties.emplace_back(
new WrappedProperty(
"FillStyle",
"FillStyle" ) );
746 aWrappedProperties.emplace_back(
new WrappedProperty(
"FillTransparence",
"Transparency") );
749 aWrappedProperties.emplace_back(
new WrappedProperty(
"FillTransparenceGradientName",
"TransparencyGradientName") );
750 aWrappedProperties.emplace_back(
new WrappedProperty(
"FillGradientName",
"GradientName") );
751 aWrappedProperties.emplace_back(
new WrappedProperty(
"FillGradientStepCount",
"GradientStepCount") );
752 aWrappedProperties.emplace_back(
new WrappedProperty(
"FillHatchName",
"HatchName") );
753 aWrappedProperties.emplace_back(
new WrappedProperty(
"FillBitmapName",
"FillBitmapName") );
754 aWrappedProperties.emplace_back(
new WrappedProperty(
"FillBackground",
"FillBackground") );
757 aWrappedProperties.emplace_back(
new WrappedProperty(
"FillBitmapMode",
"FillBitmapMode") );
758 aWrappedProperties.emplace_back(
new WrappedProperty(
"FillBitmapSizeX",
"FillBitmapSizeX") );
759 aWrappedProperties.emplace_back(
new WrappedProperty(
"FillBitmapSizeY",
"FillBitmapSizeY") );
760 aWrappedProperties.emplace_back(
new WrappedProperty(
"FillBitmapLogicalSize",
"FillBitmapLogicalSize") );
761 aWrappedProperties.emplace_back(
new WrappedProperty(
"FillBitmapOffsetX",
"FillBitmapOffsetX") );
762 aWrappedProperties.emplace_back(
new WrappedProperty(
"FillBitmapOffsetY",
"FillBitmapOffsetY") );
763 aWrappedProperties.emplace_back(
new WrappedProperty(
"FillBitmapRectanglePoint",
"FillBitmapRectanglePoint") );
764 aWrappedProperties.emplace_back(
new WrappedProperty(
"FillBitmapPositionOffsetX",
"FillBitmapPositionOffsetX") );
765 aWrappedProperties.emplace_back(
new WrappedProperty(
"FillBitmapPositionOffsetY",
"FillBitmapPositionOffsetY") );
767 aWrappedProperties.emplace_back(
new WrappedProperty(
"SolidType",
"Geometry3D") );
768 aWrappedProperties.emplace_back(
new WrappedSegmentOffsetProperty() );
769 aWrappedProperties.emplace_back(
new WrappedProperty(
"D3DPercentDiagonal",
"PercentDiagonal") );
773 return aWrappedProperties;
778 if(rPropertyName ==
"Lines")
781 throw lang::IllegalArgumentException(
"Property Lines requires value of type sal_Bool",
nullptr, 0 );
784 sal_Int32
nHandle = getInfoHelper().getHandleByName( rPropertyName );
785 static const sal_Int32 nErrorCategoryHandle = getInfoHelper().getHandleByName(
"ErrorCategory");
786 if( nErrorCategoryHandle ==
nHandle )
788 css::chart::ChartErrorCategory aNewValue = css::chart::ChartErrorCategory_NONE;
789 rValue >>= aNewValue;
791 bool bSetHighAndLowValues =
false;
794 case css::chart::ChartErrorCategory_CONSTANT_VALUE:
797 bSetHighAndLowValues =
true;
799 case css::chart::ChartErrorCategory_PERCENT:
801 bSetHighAndLowValues =
true;
803 case css::chart::ChartErrorCategory_ERROR_MARGIN:
805 bSetHighAndLowValues =
true;
813 if(bSetHighAndLowValues)
817 case css::chart::ChartErrorCategory_CONSTANT_VALUE:
821 case css::chart::ChartErrorCategory_PERCENT:
824 case css::chart::ChartErrorCategory_ERROR_MARGIN:
840 if( rPropertyName ==
"FillColor" )
843 bool bVaryColorsByPoint =
false;
846 && bVaryColorsByPoint )
849 if( xPointState.is() && xPointState->getPropertyState(
"Color") == beans::PropertyState_DEFAULT_VALUE )
855 if( xColorScheme.is() )
867 return "com.sun.star.comp.chart.DataSeries";
878 "com.sun.star.chart.ChartDataRowProperties",
879 "com.sun.star.chart.ChartDataPointProperties",
880 "com.sun.star.xml.UserDefinedAttributesSupplier",
881 "com.sun.star.beans.PropertySet",
882 "com.sun.star.drawing.FillProperties",
883 "com.sun.star.drawing.LineProperties",
884 "com.sun.star.style.CharacterProperties"
std::shared_ptr< Chart2ModelContact > m_spChart2ModelContact
PropertiesInfo aProperties
css::uno::Any m_aDefaultValue
static bool isSupportingAreaProperties(const rtl::Reference< ::chart::ChartType > &xChartType, sal_Int32 nDimensionCount)
static bool isSeriesAttachedToMainAxis(const rtl::Reference< ::chart::DataSeries > &xDataSeries)
virtual css::uno::Any SAL_CALL getPropertyDefault(const OUString &aPropertyName) override
virtual void SAL_CALL setPropertyToDefault(const OUString &PropertyName) override
virtual css::uno::Any SAL_CALL getPropertyValue(const OUString &PropertyName) override
virtual void SAL_CALL setPropertyValue(const OUString &aPropertyName, const css::uno::Any &aValue) override
virtual css::beans::PropertyState SAL_CALL getPropertyState(const OUString &PropertyName) override
virtual css::uno::Any convertOuterToInnerValue(const css::uno::Any &rOuterValue) const
virtual css::uno::Any getPropertyDefault(const css::uno::Reference< css::beans::XPropertyState > &xInnerPropertyState) const
virtual css::uno::Any getPropertyValue(const css::uno::Reference< css::beans::XPropertySet > &xInnerPropertySet) const
virtual css::uno::Any convertInnerToOuterValue(const css::uno::Any &rInnerValue) const
virtual void setPropertyValue(const css::uno::Any &rOuterValue, const css::uno::Reference< css::beans::XPropertySet > &xInnerPropertySet) const
virtual css::uno::Reference< css::beans::XPropertySet > getInnerPropertySet() override
virtual void SAL_CALL setPropertyValue(const OUString &aPropertyName, const css::uno::Any &aValue) override
virtual OUString SAL_CALL getImplementationName() override
XServiceInfo declarations.
virtual void SAL_CALL addEventListener(const css::uno::Reference< css::lang::XEventListener > &xListener) override
DataSeriesPointWrapper(std::shared_ptr< Chart2ModelContact > spChart2ModelContact)
virtual void SAL_CALL disposing(const css::lang::EventObject &Source) override
virtual ~DataSeriesPointWrapper() override
std::shared_ptr< Chart2ModelContact > m_spChart2ModelContact
bool isSupportingAreaProperties()
rtl::Reference< ::chart::DataSeries > getDataSeries()
virtual void SAL_CALL removeEventListener(const css::uno::Reference< css::lang::XEventListener > &aListener) override
virtual void SAL_CALL setPropertyToDefault(const OUString &PropertyName) override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
virtual void SAL_CALL dispose() override
::comphelper::OInterfaceContainerHelper4< css::lang::XEventListener > m_aEventListenerContainer
virtual std::vector< std::unique_ptr< WrappedProperty > > createWrappedProperties() override
virtual css::awt::Size getCurrentSizeForReference() override
rtl::Reference< ::chart::DataSeries > m_xDataSeries
virtual css::uno::Any getReferenceSize() override
virtual void SAL_CALL initialize(const css::uno::Sequence< css::uno::Any > &aArguments) override
virtual css::beans::PropertyState SAL_CALL getPropertyState(const OUString &PropertyName) override
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
css::uno::Reference< css::beans::XPropertySet > getDataPointProperties()
virtual const css::uno::Sequence< css::beans::Property > & getPropertySequence() override
sal_Int32 m_nSeriesIndexInNewAPI
virtual void updateReferenceSize() override
virtual css::uno::Any SAL_CALL getPropertyDefault(const OUString &aPropertyName) override
virtual css::uno::Any SAL_CALL getPropertyValue(const OUString &PropertyName) override
static void addWrappedProperties(std::vector< std::unique_ptr< WrappedProperty > > &rList, ReferenceSizePropertyProvider *pRefSizePropProvider)
static void addWrappedPropertiesForSeries(std::vector< std::unique_ptr< WrappedProperty > > &rList, const std::shared_ptr< Chart2ModelContact > &spChart2ModelContact)
static void addProperties(std::vector< css::beans::Property > &rOutProperties)
static void addWrappedProperties(std::vector< std::unique_ptr< WrappedProperty > > &rList, const std::shared_ptr< Chart2ModelContact > &spChart2ModelContact)
static void addWrappedPropertiesForSeries(std::vector< std::unique_ptr< WrappedProperty > > &rList, const std::shared_ptr< Chart2ModelContact > &spChart2ModelContact)
static void addWrappedPropertiesForSeries(std::vector< std::unique_ptr< WrappedProperty > > &rList, const std::shared_ptr< Chart2ModelContact > &spChart2ModelContact)
sal_Int32 addInterface(std::unique_lock< std::mutex > &rGuard, const css::uno::Reference< ListenerT > &rxIFace)
void disposeAndClear(::std::unique_lock<::std::mutex > &rGuard, const css::lang::EventObject &rEvt)
sal_Int32 removeInterface(std::unique_lock< std::mutex > &rGuard, const css::uno::Reference< ListenerT > &rxIFace)
Sequence< PropertyValue > aArguments
OOO_DLLPUBLIC_CHARTTOOLS void AddPropertiesToVector(std::vector< css::beans::Property > &rOutProperties)
@ PROP_DATASERIES_VARY_COLORS_BY_POINT
void setPropertyValue(tPropertyValueMap &rOutMap, tPropertyValueMapKey key, const Value &value)
Set a property to a certain value in the given map.
css::uno::Sequence< DstElementType > containerToSequence(const SrcType &i_Container)
bool CPPUHELPER_DLLPUBLIC supportsService(css::lang::XServiceInfo *implementation, rtl::OUString const &name)
Any SAL_CALL getCaughtException()
constexpr std::enable_if_t< std::is_signed_v< T >, std::make_unsigned_t< T > > make_unsigned(T value)
constexpr OUStringLiteral CHART_UNONAME_LABEL_BORDER_WIDTH
constexpr OUStringLiteral CHART_UNONAME_LABEL_BORDER_TRANS
constexpr OUStringLiteral CHART_UNONAME_LINK_TO_SRC_NUMFMT
constexpr OUStringLiteral CHART_UNONAME_LABEL_FILL_COLOR
constexpr OUStringLiteral CHART_UNONAME_LABEL_FILL_STYLE
constexpr OUStringLiteral CHART_UNONAME_NUMFMT
constexpr OUStringLiteral CHART_UNONAME_LABEL_FILL_BACKGROUND
constexpr OUStringLiteral CHART_UNONAME_LABEL_BORDER_COLOR
constexpr OUStringLiteral CHART_UNONAME_LABEL_BORDER_STYLE
constexpr OUStringLiteral CHART_UNONAME_LABEL_FILL_HATCH_NAME