19#ifndef INCLUDED_SW_SOURCE_FILTER_XML_XMLIMPIT_HXX
20#define INCLUDED_SW_SOURCE_FILTER_XML_XMLIMPIT_HXX
22#include <com/sun/star/xml/sax/XFastAttributeList.hpp>
42 css::uno::Reference< css::xml::sax::XFastAttributeList >
const & xAttrList,
51 const OUString& rValue,
58 const OUString& rValue,
74 const OUString& rValue,
79 css::uno::Reference< css::xml::sax::XFastAttributeList >
const & xAttrList,
81 std::unique_ptr<SvXMLAttrContainerItem>& pUnknownItem );
SvXMLImportItemMapper(SvXMLItemMapEntriesRef aMapEntries)
virtual void setMapEntries(SvXMLItemMapEntriesRef rMapEntries)
void importXMLUnknownAttributes(SfxItemSet &rSet, css::uno::Reference< css::xml::sax::XFastAttributeList > const &xAttrList, const SvXMLUnitConverter &rUnitConverter, std::unique_ptr< SvXMLAttrContainerItem > &pUnknownItem)
SvXMLItemMapEntriesRef mrMapEntries
static bool PutXMLValue(SfxPoolItem &rItem, const OUString &rValue, sal_uInt16 nMemberId, const SvXMLUnitConverter &rUnitConverter)
This method is called for every item that should be set based upon an XML attribute value.
virtual bool handleSpecialItem(const SvXMLItemMapEntry &rEntry, SfxPoolItem &rItem, SfxItemSet &rSet, const OUString &rValue, const SvXMLUnitConverter &rUnitConverter)
this method is called for every item that has the MID_SW_FLAG_SPECIAL_ITEM_IMPORT flag set
const SvXMLItemMapEntriesRef & getMapEntries() const
virtual void finished(SfxItemSet &rSet, SvXMLUnitConverter const &rUnitConverter) const
This method is called when all attributes have benn processed.
virtual ~SvXMLImportItemMapper()
void importXML(SfxItemSet &rSet, css::uno::Reference< css::xml::sax::XFastAttributeList > const &xAttrList, const SvXMLUnitConverter &rUnitConverter, const SvXMLNamespaceMap &rNamespaceMap)
fills the given itemset with the attributes in the given list
virtual bool handleNoItem(const SvXMLItemMapEntry &rEntry, SfxItemSet &rSet, const OUString &rValue, const SvXMLUnitConverter &rUnitConverter, const SvXMLNamespaceMap &rNamespaceMap)
this method is called for every item that has the MID_SW_FLAG_NO_ITEM_IMPORT flag set