LibreOffice Module sc (master) 1
Public Member Functions | List of all members
ScXMLRowImportPropertyMapper Class Reference

#include <xmlstyli.hxx>

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

Public Member Functions

 ScXMLRowImportPropertyMapper (const rtl::Reference< XMLPropertySetMapper > &rMapper, SvXMLImport &rImport)
 
virtual ~ScXMLRowImportPropertyMapper () override
 
virtual void finished (::std::vector< XMLPropertyState > &rProperties, sal_Int32 nStartIndex, sal_Int32 nEndIndex) const override
 This method is called when all attributes have been 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
 
virtual bool handleSpecialItem (XMLPropertyState &rProperty, ::std::vector< XMLPropertyState > &rProperties, const OUString &rValue, const SvXMLUnitConverter &rUnitConverter, const SvXMLNamespaceMap &rNamespaceMap) const
 
virtual void finished (::std::vector< XMLPropertyState > &rProperties, sal_Int32 nStartIndex, sal_Int32 nEndIndex) const
 
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
 

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)
 
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)
 
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)
 
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)
 
- Protected Member Functions inherited from SvXMLImportPropertyMapper
SvXMLImport & GetImport () const
 
- Protected Attributes inherited from SvXMLImportPropertyMapper
rtl::Reference< XMLPropertySetMappermaPropMapper
 

Detailed Description

Definition at line 50 of file xmlstyli.hxx.

Constructor & Destructor Documentation

◆ ScXMLRowImportPropertyMapper()

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

Definition at line 209 of file xmlstyli.cxx.

◆ ~ScXMLRowImportPropertyMapper()

ScXMLRowImportPropertyMapper::~ScXMLRowImportPropertyMapper ( )
overridevirtual

Definition at line 216 of file xmlstyli.cxx.

Member Function Documentation

◆ finished()

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

This method is called when all attributes have been processed.

It may be used to remove items that are incomplete

Reimplemented from SvXMLImportPropertyMapper.

Definition at line 220 of file xmlstyli.cxx.

References CTF_SC_ROWBREAKBEFORE, CTF_SC_ROWHEIGHT, CTF_SC_ROWOPTIMALHEIGHT, SvXMLImportPropertyMapper::finished(), SvXMLImportPropertyMapper::getPropertySetMapper(), SvXMLImportPropertyMapper::maPropMapper, XMLPropertyState::maValue, and XMLPropertyState::mnIndex.


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