LibreOffice Module xmloff (master)  1
Public Member Functions | Private Attributes | List of all members
XMLChartImportPropertyMapper Class Referencefinal

#include <XMLChartPropertySetMapper.hxx>

Inheritance diagram for XMLChartImportPropertyMapper:
[legend]
Collaboration diagram for XMLChartImportPropertyMapper:
[legend]

Public Member Functions

 XMLChartImportPropertyMapper (const rtl::Reference< XMLPropertySetMapper > &rMapper, const SvXMLImport &rImport)
 
virtual ~XMLChartImportPropertyMapper () override
 
virtual bool handleSpecialItem (XMLPropertyState &rProperty,::std::vector< XMLPropertyState > &rProperties, const OUString &rValue, const SvXMLUnitConverter &rUnitConverter, const SvXMLNamespaceMap &rNamespaceMap) const override
 this method is called for every item that has the MID_FLAG_SPECIAL_ITEM_IMPORT flag set More...
 
virtual void finished (::std::vector< XMLPropertyState > &rProperties, sal_Int32 nStartIndex, sal_Int32 nEndIndex) const override
 This method is called when all attributes have benn processed. More...
 
- Public Member Functions inherited from SvXMLImportPropertyMapper
 SvXMLImportPropertyMapper (const rtl::Reference< XMLPropertySetMapper > &rMapper, SvXMLImport &rImport)
 
virtual ~SvXMLImportPropertyMapper () override
 
void ChainImportMapper (const rtl::Reference< SvXMLImportPropertyMapper > &rMapper)
 
void importXML (::std::vector< XMLPropertyState > &rProperties, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList, const SvXMLUnitConverter &rUnitConverter, const SvXMLNamespaceMap &rNamespaceMap, sal_uInt32 nPropType, sal_Int32 nStartIdx, sal_Int32 nEndIdx) const
 fills the given itemset with the attributes in the given list the map is only searched within the range [nStartIdx, nEndIdx[ More...
 
void CheckSpecialContext (const ::std::vector< XMLPropertyState > &rProperties, const css::uno::Reference< css::beans::XPropertySet > &rPropSet, ContextID_Index_Pair *pSpecialContextIds) const
 
bool FillPropertySet (const ::std::vector< XMLPropertyState > &rProperties, const css::uno::Reference< css::beans::XPropertySet > &rPropSet, ContextID_Index_Pair *pSpecialContextIds=nullptr) const
 
void FillPropertySequence (const ::std::vector< XMLPropertyState > &aProperties, css::uno::Sequence< css::beans::PropertyValue > &rValues) const
 
const rtl::Reference< XMLPropertySetMapper > & getPropertySetMapper () const
 
- Public Member Functions inherited from salhelper::SimpleReferenceObject
 SimpleReferenceObject ()
 
void acquire ()
 
void release ()
 

Private Attributes

SvXMLImportmrImport
 

Additional Inherited Members

- Static Public Member Functions inherited from SvXMLImportPropertyMapper
static bool FillPropertySet_ (const ::std::vector< XMLPropertyState > &rProperties, const css::uno::Reference< css::beans::XPropertySet > &rPropSet, const css::uno::Reference< css::beans::XPropertySetInfo > &rPropSetInfo, const rtl::Reference< XMLPropertySetMapper > &rPropMapper, SvXMLImport &rImport, ContextID_Index_Pair *pSpecialContextIds)
 implementation helper for FillPropertySet: fill an XPropertySet. More...
 
static bool FillMultiPropertySet_ (const ::std::vector< XMLPropertyState > &rProperties, const css::uno::Reference< css::beans::XMultiPropertySet > &rMultiPropSet, const css::uno::Reference< css::beans::XPropertySetInfo > &rPropSetInfo, const rtl::Reference< XMLPropertySetMapper > &rPropMapper, ContextID_Index_Pair *pSpecialContextIds)
 implementation helper for FillPropertySet: fill an XMultiPropertySet. More...
 
static bool FillTolerantMultiPropertySet_ (const ::std::vector< XMLPropertyState > &rProperties, const css::uno::Reference< css::beans::XTolerantMultiPropertySet > &rTolPropSet, const rtl::Reference< XMLPropertySetMapper > &rPropMapper, SvXMLImport &rImport, ContextID_Index_Pair *pSpecialContextIds)
 implementation helper for FillPropertySet: fill an XTolerantMultiPropertySet. More...
 
static void PrepareForMultiPropertySet_ (const ::std::vector< XMLPropertyState > &rProperties, const css::uno::Reference< css::beans::XPropertySetInfo > &rPropSetInfo, const rtl::Reference< XMLPropertySetMapper > &rPropMapper, ContextID_Index_Pair *pSpecialContextIds, css::uno::Sequence< OUString > &rNames, css::uno::Sequence< css::uno::Any > &rValues)
 
- Static Public Member Functions inherited from salhelper::SimpleReferenceObject
static voidoperator new (std::size_t nSize)
 
static voidoperator new (std::size_t nSize, std::nothrow_t const &rNothrow)
 
static void operator delete (void *pPtr)
 
static void operator delete (void *pPtr, std::nothrow_t const &rNothrow)
 
- Protected Member Functions inherited from SvXMLImportPropertyMapper
SvXMLImportGetImport () const
 
- Protected Member Functions inherited from salhelper::SimpleReferenceObject
virtual ~SimpleReferenceObject () COVERITY_NOEXCEPT_FALSE
 
- Protected Attributes inherited from SvXMLImportPropertyMapper
rtl::Reference< XMLPropertySetMappermaPropMapper
 
- Protected Attributes inherited from salhelper::SimpleReferenceObject
oslInterlockedCount m_nCount
 

Detailed Description

Definition at line 81 of file XMLChartPropertySetMapper.hxx.

Constructor & Destructor Documentation

XMLChartImportPropertyMapper::XMLChartImportPropertyMapper ( const rtl::Reference< XMLPropertySetMapper > &  rMapper,
const SvXMLImport rImport 
)
XMLChartImportPropertyMapper::~XMLChartImportPropertyMapper ( )
overridevirtual

Definition at line 560 of file PropertyMaps.cxx.

Member Function Documentation

void XMLChartImportPropertyMapper::finished ( ::std::vector< XMLPropertyState > &  rProperties,
sal_Int32  nStartIndex,
sal_Int32  nEndIndex 
) const
overridevirtual

This method is called when all attributes have benn processed.

It may be used to remove items that are incomplete

Reimplemented from SvXMLImportPropertyMapper.

Definition at line 703 of file PropertyMaps.cxx.

bool XMLChartImportPropertyMapper::handleSpecialItem ( XMLPropertyState rProperty,
::std::vector< XMLPropertyState > &  rProperties,
const OUString &  rValue,
const SvXMLUnitConverter rUnitConverter,
const SvXMLNamespaceMap rNamespaceMap 
) const
overridevirtual

Member Data Documentation

SvXMLImport& XMLChartImportPropertyMapper::mrImport
private

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