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 (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::XAttributeList > &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
 
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
SvXMLImportGetImport () const
 
- Protected Attributes inherited from SvXMLImportPropertyMapper
rtl::Reference< XMLPropertySetMappermaPropMapper
 

Detailed Description

Definition at line 50 of file xmlstyli.hxx.

Constructor & Destructor Documentation

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

Definition at line 205 of file xmlstyli.cxx.

ScXMLRowImportPropertyMapper::~ScXMLRowImportPropertyMapper ( )
overridevirtual

Definition at line 212 of file xmlstyli.cxx.

Member Function Documentation

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 216 of file xmlstyli.cxx.

References cppu::any2bool(), 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: