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 (rtl::Reference< XMLPropertySetMapper > xMapper, 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...
 
virtual bool handleSpecialItem (XMLPropertyState &rProperty, ::std::vector< XMLPropertyState > &rProperties, const OUString &rValue, const SvXMLUnitConverter &rUnitConverter, const SvXMLNamespaceMap &rNamespaceMap) const
 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
 This method is called when all attributes have benn processed. 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

SvXMLImport & mrImport
 

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 void * operator new (std::size_t nSize)
 
static void * operator 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
SvXMLImport & GetImport () 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 80 of file XMLChartPropertySetMapper.hxx.

Constructor & Destructor Documentation

◆ XMLChartImportPropertyMapper()

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

◆ ~XMLChartImportPropertyMapper()

XMLChartImportPropertyMapper::~XMLChartImportPropertyMapper ( )
overridevirtual

Definition at line 878 of file PropertyMaps.cxx.

Member Function Documentation

◆ finished()

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 1043 of file PropertyMaps.cxx.

◆ handleSpecialItem()

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

this method is called for every item that has the MID_FLAG_SPECIAL_ITEM_IMPORT flag set

Reimplemented from SvXMLImportPropertyMapper.

Definition at line 882 of file PropertyMaps.cxx.

References sax::Converter::convertBool(), sax::Converter::convertDouble(), SvXMLUnitConverter::convertMeasureToCore(), SvXMLImportPropertyMapper::handleSpecialItem(), xmloff::token::IsXMLToken(), SvXMLImportPropertyMapper::maPropMapper, XMLPropertyState::maValue, XMLPropertyState::mnIndex, mrImport, nValue, SCH_XML_SETFLAG, SCH_XML_UNSETFLAG, xmloff::token::XML_AVERAGED_ABSCISSA, xmloff::token::XML_CENTRAL, xmloff::token::XML_EXPONENTIAL, xmloff::token::XML_LINEAR, xmloff::token::XML_LOGARITHMIC, xmloff::token::XML_MOVING_AVERAGE, xmloff::token::XML_NONE, xmloff::token::XML_POLYNOMIAL, xmloff::token::XML_POWER, xmloff::token::XML_PRIOR, XML_SCH_CONTEXT_SPECIAL_DATA_LABEL_NUMBER, XML_SCH_CONTEXT_SPECIAL_DATA_LABEL_SERIES, XML_SCH_CONTEXT_SPECIAL_DATA_LABEL_SYMBOL, XML_SCH_CONTEXT_SPECIAL_DATA_LABEL_TEXT, XML_SCH_CONTEXT_SPECIAL_ERRORBAR_RANGE, XML_SCH_CONTEXT_SPECIAL_MOVING_AVERAGE_TYPE, XML_SCH_CONTEXT_SPECIAL_REGRESSION_TYPE, XML_SCH_CONTEXT_SPECIAL_SYMBOL_HEIGHT, XML_SCH_CONTEXT_SPECIAL_SYMBOL_IMAGE_NAME, XML_SCH_CONTEXT_SPECIAL_SYMBOL_WIDTH, XML_SCH_CONTEXT_SPECIAL_TEXT_ROTATION, XML_SCH_CONTEXT_SPECIAL_TICKS_MAJ_INNER, XML_SCH_CONTEXT_SPECIAL_TICKS_MAJ_OUTER, XML_SCH_CONTEXT_SPECIAL_TICKS_MIN_INNER, XML_SCH_CONTEXT_SPECIAL_TICKS_MIN_OUTER, xmloff::token::XML_VALUE, and xmloff::token::XML_VALUE_AND_PERCENTAGE.

Member Data Documentation

◆ mrImport

SvXMLImport& XMLChartImportPropertyMapper::mrImport
private

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