LibreOffice Module chart2 (master) 1
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
chart::wrapper::SeriesOptionsItemConverter Class Referencefinal

#include <SeriesOptionsItemConverter.hxx>

Inheritance diagram for chart::wrapper::SeriesOptionsItemConverter:
[legend]
Collaboration diagram for chart::wrapper::SeriesOptionsItemConverter:
[legend]

Public Member Functions

 SeriesOptionsItemConverter (const rtl::Reference<::chart::ChartModel > &xChartModel, css::uno::Reference< css::uno::XComponentContext > xContext, const rtl::Reference<::chart::DataSeries > &rPropertySet, SfxItemPool &rItemPool)
 
virtual ~SeriesOptionsItemConverter () override
 
- Public Member Functions inherited from chart::wrapper::ItemConverter
 ItemConverter (css::uno::Reference< css::beans::XPropertySet > xPropertySet, SfxItemPool &rItemPool)
 Construct an item converter that uses the given property set for reading/writing converted items. More...
 
virtual ~ItemConverter () override
 
virtual void FillItemSet (SfxItemSet &rOutItemSet) const
 applies all properties that can be mapped to items into the given item set. More...
 
virtual bool ApplyItemSet (const SfxItemSet &rItemSet)
 applies all properties that are results of a conversion from all items in rItemSet to the internal XPropertySet. More...
 
SfxItemSet CreateEmptyItemSet () const
 creates an empty item set using the given pool or a common pool if empty (see GetItemPool) and allowing all items given in the ranges returned by GetWhichPairs. More...
 

Protected Member Functions

virtual const WhichRangesContainerGetWhichPairs () const override
 implement this method to provide an array of which-ranges More...
 
virtual bool GetItemProperty (tWhichIdType nWhichId, tPropertyNameWithMemberId &rOutProperty) const override
 implement this method to return a Property object for a given which id. More...
 
virtual void FillSpecialItem (sal_uInt16 nWhichId, SfxItemSet &rOutItemSet) const override
 for items that can not be mapped directly to a property. More...
 
virtual bool ApplySpecialItem (sal_uInt16 nWhichId, const SfxItemSet &rItemSet) override
 for items that can not be mapped directly to a property. More...
 
- Protected Member Functions inherited from chart::wrapper::ItemConverter
virtual const WhichRangesContainerGetWhichPairs () const =0
 implement this method to provide an array of which-ranges More...
 
virtual bool GetItemProperty (tWhichIdType nWhichId, tPropertyNameWithMemberId &rOutProperty) const =0
 implement this method to return a Property object for a given which id. More...
 
virtual void FillSpecialItem (sal_uInt16 nWhichId, SfxItemSet &rOutItemSet) const
 for items that can not be mapped directly to a property. More...
 
virtual bool ApplySpecialItem (sal_uInt16 nWhichId, const SfxItemSet &rItemSet)
 for items that can not be mapped directly to a property. More...
 
SfxItemPoolGetItemPool () const
 Returns the pool. More...
 
const css::uno::Reference< css::beans::XPropertySet > & GetPropertySet () const
 Returns the XPropertySet that was given in the CTOR and is used to apply items in ApplyItemSet(). More...
 
virtual void _disposing (const css::lang::EventObject &rSource) override
 
void resetPropertySet (const css::uno::Reference< css::beans::XPropertySet > &xPropSet)
 sets a new property set, that you get with GetPropertySet(). More...
 
- Protected Member Functions inherited from utl::OEventListenerAdapter
 OEventListenerAdapter ()
 
virtual ~OEventListenerAdapter ()
 
void startComponentListening (const css::uno::Reference< css::lang::XComponent > &_rxComp)
 
void stopComponentListening (const css::uno::Reference< css::lang::XComponent > &_rxComp)
 
void stopAllComponentListening ()
 
virtual void _disposing (const css::lang::EventObject &_rSource)=0
 

Private Attributes

rtl::Reference<::chart::ChartModel > m_xChartModel
 
css::uno::Reference< css::uno::XComponentContext > m_xCC
 
bool m_bAttachToMainAxis
 
bool m_bSupportingOverlapAndGapWidthProperties
 
bool m_bSupportingBarConnectors
 
sal_Int32 m_nBarOverlap
 
sal_Int32 m_nGapWidth
 
bool m_bConnectBars
 
bool m_bSupportingAxisSideBySide
 
bool m_bGroupBarsPerAxis
 
bool m_bSupportingStartingAngle
 
sal_Int32 m_nStartingAngle
 
bool m_bClockwise
 
rtl::Reference< ::chart::BaseCoordinateSystemm_xCooSys
 
css::uno::Sequence< sal_Int32 > m_aSupportedMissingValueTreatments
 
sal_Int32 m_nMissingValueTreatment
 
bool m_bSupportingPlottingOfHiddenCells
 
bool m_bIncludeHiddenCells
 
bool m_bHideLegendEntry
 

Additional Inherited Members

- Public Types inherited from chart::wrapper::ItemConverter
typedef sal_uInt16 tWhichIdType
 
typedef OUString tPropertyNameType
 
typedef sal_uInt8 tMemberIdType
 
typedef std::pair< tPropertyNameType, tMemberIdTypetPropertyNameWithMemberId
 
- Static Public Member Functions inherited from chart::wrapper::ItemConverter
static void InvalidateUnequalItems (SfxItemSet &rDestSet, const SfxItemSet &rSourceSet)
 Invalidates all items in rDestSet, that are set (state SfxItemState::SET) in both item sets (rDestSet and rSourceSet) and have differing content. More...
 

Detailed Description

Definition at line 35 of file SeriesOptionsItemConverter.hxx.

Constructor & Destructor Documentation

◆ SeriesOptionsItemConverter()

chart::wrapper::SeriesOptionsItemConverter::SeriesOptionsItemConverter ( const rtl::Reference<::chart::ChartModel > &  xChartModel,
css::uno::Reference< css::uno::XComponentContext >  xContext,
const rtl::Reference<::chart::DataSeries > &  rPropertySet,
SfxItemPool rItemPool 
)

◆ ~SeriesOptionsItemConverter()

chart::wrapper::SeriesOptionsItemConverter::~SeriesOptionsItemConverter ( )
overridevirtual

Definition at line 157 of file SeriesOptionsItemConverter.cxx.

Member Function Documentation

◆ ApplySpecialItem()

bool chart::wrapper::SeriesOptionsItemConverter::ApplySpecialItem ( sal_uInt16  nWhichId,
const SfxItemSet rItemSet 
)
overrideprotectedvirtual

◆ FillSpecialItem()

void chart::wrapper::SeriesOptionsItemConverter::FillSpecialItem ( sal_uInt16  nWhichId,
SfxItemSet rOutItemSet 
) const
overrideprotectedvirtual

◆ GetItemProperty()

bool chart::wrapper::SeriesOptionsItemConverter::GetItemProperty ( tWhichIdType  nWhichId,
tPropertyNameWithMemberId rOutProperty 
) const
overrideprotectedvirtual

implement this method to return a Property object for a given which id.

Parameters
rOutPropertyIf true is returned, this contains the property name and the corresponding Member-Id.
Returns
true, if the item can be mapped to a property.

Implements chart::wrapper::ItemConverter.

Definition at line 167 of file SeriesOptionsItemConverter.cxx.

◆ GetWhichPairs()

const WhichRangesContainer & chart::wrapper::SeriesOptionsItemConverter::GetWhichPairs ( ) const
overrideprotectedvirtual

implement this method to provide an array of which-ranges

Implements chart::wrapper::ItemConverter.

Definition at line 161 of file SeriesOptionsItemConverter.cxx.

References nSeriesOptionsWhichPairs.

Member Data Documentation

◆ m_aSupportedMissingValueTreatments

css::uno::Sequence< sal_Int32 > chart::wrapper::SeriesOptionsItemConverter::m_aSupportedMissingValueTreatments
private

◆ m_bAttachToMainAxis

bool chart::wrapper::SeriesOptionsItemConverter::m_bAttachToMainAxis
private

◆ m_bClockwise

bool chart::wrapper::SeriesOptionsItemConverter::m_bClockwise
private

Definition at line 70 of file SeriesOptionsItemConverter.hxx.

Referenced by FillSpecialItem(), and SeriesOptionsItemConverter().

◆ m_bConnectBars

bool chart::wrapper::SeriesOptionsItemConverter::m_bConnectBars
private

◆ m_bGroupBarsPerAxis

bool chart::wrapper::SeriesOptionsItemConverter::m_bGroupBarsPerAxis
private

◆ m_bHideLegendEntry

bool chart::wrapper::SeriesOptionsItemConverter::m_bHideLegendEntry
private

◆ m_bIncludeHiddenCells

bool chart::wrapper::SeriesOptionsItemConverter::m_bIncludeHiddenCells
private

◆ m_bSupportingAxisSideBySide

bool chart::wrapper::SeriesOptionsItemConverter::m_bSupportingAxisSideBySide
private

◆ m_bSupportingBarConnectors

bool chart::wrapper::SeriesOptionsItemConverter::m_bSupportingBarConnectors
private

◆ m_bSupportingOverlapAndGapWidthProperties

bool chart::wrapper::SeriesOptionsItemConverter::m_bSupportingOverlapAndGapWidthProperties
private

◆ m_bSupportingPlottingOfHiddenCells

bool chart::wrapper::SeriesOptionsItemConverter::m_bSupportingPlottingOfHiddenCells
private

◆ m_bSupportingStartingAngle

bool chart::wrapper::SeriesOptionsItemConverter::m_bSupportingStartingAngle
private

◆ m_nBarOverlap

sal_Int32 chart::wrapper::SeriesOptionsItemConverter::m_nBarOverlap
private

◆ m_nGapWidth

sal_Int32 chart::wrapper::SeriesOptionsItemConverter::m_nGapWidth
private

◆ m_nMissingValueTreatment

sal_Int32 chart::wrapper::SeriesOptionsItemConverter::m_nMissingValueTreatment
private

◆ m_nStartingAngle

sal_Int32 chart::wrapper::SeriesOptionsItemConverter::m_nStartingAngle
private

◆ m_xCC

css::uno::Reference< css::uno::XComponentContext> chart::wrapper::SeriesOptionsItemConverter::m_xCC
private

Definition at line 54 of file SeriesOptionsItemConverter.hxx.

Referenced by ApplySpecialItem().

◆ m_xChartModel

rtl::Reference<::chart::ChartModel> chart::wrapper::SeriesOptionsItemConverter::m_xChartModel
private

Definition at line 53 of file SeriesOptionsItemConverter.hxx.

Referenced by ApplySpecialItem(), and SeriesOptionsItemConverter().

◆ m_xCooSys

rtl::Reference< ::chart::BaseCoordinateSystem > chart::wrapper::SeriesOptionsItemConverter::m_xCooSys
private

Definition at line 71 of file SeriesOptionsItemConverter.hxx.

Referenced by ApplySpecialItem(), and SeriesOptionsItemConverter().


The documentation for this class was generated from the following files: