LibreOffice Module xmloff (master)  1
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
XMLPageExportPropertyMapper Class Reference

#include <sdpropls.hxx>

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

Public Member Functions

 XMLPageExportPropertyMapper (const rtl::Reference< XMLPropertySetMapper > &rMapper, SvXMLExport &rExport)
 
virtual ~XMLPageExportPropertyMapper () override
 
virtual void handleElementItem (SvXMLExport &rExport, const XMLPropertyState &rProperty, SvXmlExportFlags nFlags, const ::std::vector< XMLPropertyState > *pProperties, sal_uInt32 nIdx) const override
 this method is called for every item that has the MID_FLAG_ELEMENT_EXPORT flag set More...
 
- Public Member Functions inherited from SvXMLExportPropertyMapper
 SvXMLExportPropertyMapper (const rtl::Reference< XMLPropertySetMapper > &rMapper)
 
virtual ~SvXMLExportPropertyMapper () override
 
void ChainExportMapper (const rtl::Reference< SvXMLExportPropertyMapper > &rMapper)
 
std::vector< XMLPropertyStateFilter (const css::uno::Reference< css::beans::XPropertySet > &rPropSet, bool bEnableFoFontFamily=false) const
 Filter all properties we don't want to export: Take all properties of the XPropertySet which are also found in the XMLPropertyMapEntry-array and which are not set directly (so, the value isn't default and isn't inherited) After this process It'll called 'Contextfilter' for application-specific filter-processes. More...
 
std::vector< XMLPropertyStateFilterDefaults (const css::uno::Reference< css::beans::XPropertySet > &rPropSet) const
 Like Filter(), except that: More...
 
bool LessPartial (const ::std::vector< XMLPropertyState > &aProperties1, const ::std::vector< XMLPropertyState > &aProperties2) const
 Provides a partial ordering over two arrays of XMLPropertyState, Partial because implementing a full order requires quite a lot of code. More...
 
bool Equals (const ::std::vector< XMLPropertyState > &aProperties1, const ::std::vector< XMLPropertyState > &aProperties2) const
 Compare two arrays of XMLPropertyState. More...
 
void exportXML (SvXMLExport &rExport, const ::std::vector< XMLPropertyState > &rProperties, SvXmlExportFlags nFlags, bool bUseExtensionNamespaceForGraphicProperties=false) const
 fills the given attribute list with the items in the given set void SvXMLExportPropertyMapper::exportXML( SvXMLAttributeList& rAttrList, const ::std::vector< XMLPropertyState >& rProperties, const SvXMLUnitConverter& rUnitConverter, const SvXMLNamespaceMap& rNamespaceMap, sal_uInt16 nFlags ) const { _exportXML( rAttrList, rProperties, rUnitConverter, rNamespaceMap, nFlags, 0, -1, -1 ); } More...
 
void exportXML (SvXMLExport &rExport, const ::std::vector< XMLPropertyState > &rProperties, sal_Int32 nPropMapStartIdx, sal_Int32 nPropMapEndIdx, SvXmlExportFlags nFlags, bool bExtensionNamespace=false) const
 like above but only properties whose property map index is within the specified range are exported More...
 
virtual void handleSpecialItem (SvXMLAttributeList &rAttrList, const XMLPropertyState &rProperty, const SvXMLUnitConverter &rUnitConverter, const SvXMLNamespaceMap &rNamespaceMap, const ::std::vector< XMLPropertyState > *pProperties, sal_uInt32 nIdx) const
 this method is called for every item that has the MID_FLAG_SPECIAL_ITEM_EXPORT flag set More...
 
const rtl::Reference< XMLPropertySetMapper > & getPropertySetMapper () const
 
void SetStyleName (const OUString &rStyleName)
 
const OUString & GetStyleName () const
 
- Public Member Functions inherited from salhelper::SimpleReferenceObject
 SimpleReferenceObject ()
 
void acquire ()
 
void release ()
 

Protected Member Functions

virtual void ContextFilter (bool bEnableFoFontFamily,::std::vector< XMLPropertyState > &rProperties, const css::uno::Reference< css::beans::XPropertySet > &rPropSet) const override
 Application-specific filter. More...
 
- Protected Member Functions inherited from SvXMLExportPropertyMapper
std::vector< XMLPropertyStateFilter_ (const css::uno::Reference< css::beans::XPropertySet > &rPropSet, bool bDefault, bool bDisableFoFontFamily) const
 Filter all properties we don't want to export: Take all properties of the XPropertySet which are also found in the XMLPropertyMapEntry-array and which are not set directly (so, the value isn't default and isn't inherited, apart from bDefault is true) After this process It'll called 'Contextfilter' for application-specific filter-processes. More...
 
void _exportXML (sal_uInt16 nPropType, sal_uInt16 &rPropTypeFlags, SvXMLAttributeList &rAttrList, const ::std::vector< XMLPropertyState > &rProperties, const SvXMLUnitConverter &rUnitConverter, const SvXMLNamespaceMap &rNamespaceMap, std::vector< sal_uInt16 > *pIndexArray, sal_Int32 nPropMapStartIdx, sal_Int32 nPropMapEndIdx) const
 fills the given attribute list with the items in the given set More...
 
void _exportXML (SvXMLAttributeList &rAttrList, const XMLPropertyState &rProperty, const SvXMLUnitConverter &rUnitConverter, const SvXMLNamespaceMap &rNamespaceMap, const ::std::vector< XMLPropertyState > *pProperties, sal_uInt32 nIdx) const
 
void exportElementItems (SvXMLExport &rExport, const ::std::vector< XMLPropertyState > &rProperties, SvXmlExportFlags nFlags, const std::vector< sal_uInt16 > &rIndexArray) const
 
- Protected Member Functions inherited from salhelper::SimpleReferenceObject
virtual ~SimpleReferenceObject () COVERITY_NOEXCEPT_FALSE
 

Private Attributes

SvXMLExportmrExport
 

Additional Inherited Members

- 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 Attributes inherited from salhelper::SimpleReferenceObject
oslInterlockedCount m_nCount
 

Detailed Description

Definition at line 110 of file sdpropls.hxx.

Constructor & Destructor Documentation

XMLPageExportPropertyMapper::XMLPageExportPropertyMapper ( const rtl::Reference< XMLPropertySetMapper > &  rMapper,
SvXMLExport rExport 
)

Definition at line 1695 of file sdpropls.cxx.

XMLPageExportPropertyMapper::~XMLPageExportPropertyMapper ( )
overridevirtual

Definition at line 1701 of file sdpropls.cxx.

Member Function Documentation

void XMLPageExportPropertyMapper::ContextFilter ( bool  bEnableFoFontFamily,
::std::vector< XMLPropertyState > &  rProperties,
const css::uno::Reference< css::beans::XPropertySet > &  rPropSet 
) const
overrideprotectedvirtual
void XMLPageExportPropertyMapper::handleElementItem ( SvXMLExport rExport,
const XMLPropertyState rProperty,
SvXmlExportFlags  nFlags,
const ::std::vector< XMLPropertyState > *  pProperties,
sal_uInt32  nIdx 
) const
overridevirtual

Member Data Documentation

SvXMLExport& XMLPageExportPropertyMapper::mrExport
private

Definition at line 113 of file sdpropls.hxx.

Referenced by ContextFilter(), and handleElementItem().


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