23#include <com/sun/star/uno/Sequence.h>
34namespace chart {
class ChartModel; }
35namespace chart {
class DataSeries; }
45 const css::uno::Reference<css::uno::XComponentContext>& xContext,
46 const css::uno::Reference<css::beans::XPropertySet>& rPropertySet,
50 const css::uno::Reference<css::lang::XMultiServiceFactory>& xNamedPropertyContainerFactory,
52 const css::awt::Size* pRefSize =
nullptr,
53 bool bDataSeries =
false,
54 bool bUseSpecialFillColor =
false,
55 sal_Int32 nSpecialFillColor = 0,
56 bool bOverwriteLabelsForAttributedDataPointsAlso =
false,
57 sal_Int32 nNumberFormat = 0,
58 sal_Int32 nPercentNumberFormat = 0,
59 sal_Int32 nPointIndex = -1 );
virtual bool ApplySpecialItem(sal_uInt16 nWhichId, const SfxItemSet &rItemSet) override
for items that can not be mapped directly to a property.
sal_Int32 m_nNumberFormat
virtual void FillSpecialItem(sal_uInt16 nWhichId, SfxItemSet &rOutItemSet) const override
for items that can not be mapped directly to a property.
virtual ~DataPointItemConverter() override
virtual bool GetItemProperty(tWhichIdType nWhichId, tPropertyNameWithMemberId &rOutProperty) const override
implement this method to return a Property object for a given which id.
virtual bool ApplyItemSet(const SfxItemSet &rItemSet) override
applies all properties that are results of a conversion from all items in rItemSet to the internal XP...
bool m_bForbidPercentValue
sal_Int32 m_nPercentNumberFormat
virtual void FillItemSet(SfxItemSet &rOutItemSet) const override
applies all properties that can be mapped to items into the given item set.
virtual const WhichRangesContainer & GetWhichPairs() const override
implement this method to provide an array of which-ranges
rtl::Reference<::chart::DataSeries > m_xSeries
std::vector< std::unique_ptr< ItemConverter > > m_aConverters
bool m_bUseSpecialFillColor
DataPointItemConverter(const rtl::Reference<::chart::ChartModel > &xChartModel, const css::uno::Reference< css::uno::XComponentContext > &xContext, const css::uno::Reference< css::beans::XPropertySet > &rPropertySet, const rtl::Reference<::chart::DataSeries > &xSeries, SfxItemPool &rItemPool, SdrModel &rDrawModel, const css::uno::Reference< css::lang::XMultiServiceFactory > &xNamedPropertyContainerFactory, GraphicObjectType eMapTo, const css::awt::Size *pRefSize=nullptr, bool bDataSeries=false, bool bUseSpecialFillColor=false, sal_Int32 nSpecialFillColor=0, bool bOverwriteLabelsForAttributedDataPointsAlso=false, sal_Int32 nNumberFormat=0, sal_Int32 nPercentNumberFormat=0, sal_Int32 nPointIndex=-1)
Color m_nSpecialFillColor
css::uno::Sequence< sal_Int32 > m_aAvailableLabelPlacements
bool m_bOverwriteLabelsForAttributedDataPointsAlso
This class serves for conversion between properties of an XPropertySet and SfxItems in SfxItemSets.
std::pair< tPropertyNameType, tMemberIdType > tPropertyNameWithMemberId