24#include <unonames.hxx>
28#include <osl/diagnose.h>
34#include <rtl/math.hxx>
70 pConv->FillItemSet(rOutItemSet);
83 bResult = pConv->ApplyItemSet(rItemSet) || bResult;
99 auto aIt = rMap.find(nWhichId);
100 if (aIt == rMap.cend())
103 rOutProperty = (*aIt).second;
constexpr TypedWhichId< SfxBoolItem > SCHATTR_DATA_TABLE_OUTLINE(SCHATTR_DATA_TABLE_START+2)
constexpr TypedWhichId< SfxBoolItem > SCHATTR_DATA_TABLE_HORIZONTAL_BORDER(SCHATTR_DATA_TABLE_START+0)
constexpr TypedWhichId< SfxBoolItem > SCHATTR_DATA_TABLE_KEYS(SCHATTR_DATA_TABLE_START+3)
constexpr TypedWhichId< SfxBoolItem > SCHATTR_DATA_TABLE_VERTICAL_BORDER(SCHATTR_DATA_TABLE_START+1)
const WhichRangesContainer nDataTableWhichPairs(svl::Items< SCHATTR_DATA_TABLE_START, SCHATTR_DATA_TABLE_END, XATTR_LINE_FIRST, XATTR_LINE_LAST, XATTR_FILL_FIRST, XATTR_FILL_LAST, EE_ITEMS_START, EE_ITEMS_END >)
DataTableItemConverter(const css::uno::Reference< css::beans::XPropertySet > &rPropertySet, SfxItemPool &rItemPool, SdrModel &rDrawModel, const rtl::Reference<::chart::ChartModel > &xChartDoc)
virtual const WhichRangesContainer & GetWhichPairs() const override
implement this method to provide an array of which-ranges
virtual void FillItemSet(SfxItemSet &rOutItemSet) const override
applies all properties that can be mapped to items into the given item set.
virtual ~DataTableItemConverter() override
std::vector< std::unique_ptr< ItemConverter > > m_aConverters
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...
virtual bool GetItemProperty(tWhichIdType nWhichId, tPropertyNameWithMemberId &rOutProperty) const override
implement this method to return a Property object for a given which id.
This class serves for conversion between properties of an XPropertySet and SfxItems in SfxItemSets.
virtual void FillItemSet(SfxItemSet &rOutItemSet) const
applies all properties that can be mapped to items into the given item set.
std::pair< tPropertyNameType, tMemberIdType > tPropertyNameWithMemberId
virtual bool ApplyItemSet(const SfxItemSet &rItemSet)
applies all properties that are results of a conversion from all items in rItemSet to the internal XP...
std::map< ItemConverter::tWhichIdType, std::pair< ItemConverter::tPropertyNameType, ItemConverter::tMemberIdType > > ItemPropertyMapType