LibreOffice Module chart2 (master) 1
|
Note: virtual const sal_uInt16 * GetWhichPairs() const; is still pure virtual. More...
#include <MultipleItemConverter.hxx>
Public Member Functions | |
virtual | ~MultipleItemConverter () override |
virtual void | FillItemSet (SfxItemSet &rOutItemSet) const override |
applies all properties that can be mapped to items into the given item set. More... | |
virtual bool | ApplyItemSet (const SfxItemSet &rItemSet) override |
applies all properties that are results of a conversion from all items in rItemSet to the internal XPropertySet. More... | |
virtual bool | GetItemProperty (tWhichIdType nWhichId, tPropertyNameWithMemberId &rOutProperty) const override |
implemented empty (returns always false) More... | |
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 | |
MultipleItemConverter (SfxItemPool &rItemPool) | |
Protected Member Functions inherited from chart::wrapper::ItemConverter | |
virtual const WhichRangesContainer & | GetWhichPairs () 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... | |
SfxItemPool & | GetItemPool () 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 |
Protected Attributes | |
std::vector< std::unique_ptr< ItemConverter > > | m_aConverters |
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, tMemberIdType > | tPropertyNameWithMemberId |
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... | |
Note: virtual const sal_uInt16 * GetWhichPairs() const; is still pure virtual.
Definition at line 30 of file MultipleItemConverter.hxx.
|
overridevirtual |
Definition at line 32 of file MultipleItemConverter.cxx.
|
protected |
Definition at line 28 of file MultipleItemConverter.cxx.
|
overridevirtual |
applies all properties that are results of a conversion from all items in rItemSet to the internal XPropertySet.
Call this method after a dialog was closed with OK
Reimplemented from chart::wrapper::ItemConverter.
Definition at line 54 of file MultipleItemConverter.cxx.
References m_aConverters.
Referenced by chart::ChartController::executeDispatch_InsertErrorBars(), and chart::ChartController::executeDispatch_InsertMenu_DataLabels().
|
overridevirtual |
applies all properties that can be mapped to items into the given item set.
Call this method before opening a dialog.
rOutItemSet | the SfxItemSet is filled with all items that are a result of a conversion from a property of the internal XPropertySet. |
Reimplemented from chart::wrapper::ItemConverter.
Definition at line 36 of file MultipleItemConverter.cxx.
References chart::wrapper::ItemConverter::CreateEmptyItemSet(), chart::wrapper::ItemConverter::InvalidateUnequalItems(), and m_aConverters.
Referenced by chart::ChartController::executeDispatch_InsertErrorBars(), and chart::ChartController::executeDispatch_InsertMenu_DataLabels().
|
overridevirtual |
implemented empty (returns always false)
Implements chart::wrapper::ItemConverter.
Definition at line 65 of file MultipleItemConverter.cxx.
|
protected |
Definition at line 44 of file MultipleItemConverter.hxx.
Referenced by chart::wrapper::AllAxisItemConverter::AllAxisItemConverter(), chart::wrapper::AllDataLabelItemConverter::AllDataLabelItemConverter(), chart::wrapper::AllGridItemConverter::AllGridItemConverter(), chart::wrapper::AllSeriesStatisticsConverter::AllSeriesStatisticsConverter(), chart::wrapper::AllTitleItemConverter::AllTitleItemConverter(), ApplyItemSet(), and FillItemSet().