19#ifndef INCLUDED_XMLOFF_XMLIMPPR_HXX
20#define INCLUDED_XMLOFF_XMLIMPPR_HXX
26#include <rtl/ustring.hxx>
82 SvXMLImport& rImport);
88 void ChainImportMapper(
96 ::std::vector< XMLPropertyState >& rProperties,
97 const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList,
100 sal_uInt32 nPropType,
101 sal_Int32 nStartIdx, sal_Int32 nEndIdx )
const;
104 virtual bool handleSpecialItem(
106 ::std::vector< XMLPropertyState >& rProperties,
107 const OUString& rValue,
112 virtual void finished(
113 ::std::vector< XMLPropertyState >& rProperties,
114 sal_Int32 nStartIndex, sal_Int32 nEndIndex )
const;
116 void CheckSpecialContext(
117 const ::std::vector< XMLPropertyState >& rProperties,
118 const css::uno::Reference< css::beans::XPropertySet >& rPropSet,
121 bool FillPropertySet(
122 const ::std::vector< XMLPropertyState >& rProperties,
123 const css::uno::Reference< css::beans::XPropertySet >& rPropSet,
126 void FillPropertySequence(
127 const ::std::vector< XMLPropertyState >& aProperties,
128 css::uno::Sequence< css::beans::PropertyValue >& rValues )
132 getPropertySetMapper()
const;
137 static bool FillPropertySet_(
138 const ::std::vector<XMLPropertyState> & rProperties,
139 const css::uno::Reference< css::beans::XPropertySet> & rPropSet,
140 const css::uno::Reference< css::beans::XPropertySetInfo> & rPropSetInfo,
142 SvXMLImport& rImport,
150 static bool FillMultiPropertySet_(
151 const ::std::vector<XMLPropertyState> & rProperties,
152 const css::uno::Reference< css::beans::XMultiPropertySet> & rMultiPropSet,
153 const css::uno::Reference< css::beans::XPropertySetInfo> & rPropSetInfo,
162 static bool FillTolerantMultiPropertySet_(
163 const ::std::vector<XMLPropertyState> & rProperties,
164 const css::uno::Reference< css::beans::XTolerantMultiPropertySet> & rTolPropSet,
166 SvXMLImport& rImport,
173 static void PrepareForMultiPropertySet_(
174 const ::std::vector<XMLPropertyState> & rProperties,
175 const css::uno::Reference< css::beans::XPropertySetInfo> & rPropSetInfo,
178 css::uno::Sequence< OUString >& rNames,
179 css::uno::Sequence< css::uno::Any >& rValues);
182 void importXMLAttribute(
183 std::vector< XMLPropertyState >& rProperties,
186 sal_uInt32 nPropType,
189 css::uno::Reference< css::container::XNameContainer >& xAttrContainer,
190 const OUString& sAttrName,
191 const OUString& aNamespaceURI,
192 const OUString& sValue)
const;
205 css::uno::Reference<css::beans::XPropertySet>
const& xProps,
const SvXMLImport & m_rImport
rtl::Reference< SvXMLImportPropertyMapper > mxNextMapper
const rtl::Reference< XMLPropertySetMapper > & getPropertySetMapper() const
SvXMLImport & GetImport() const
rtl::Reference< XMLPropertySetMapper > maPropMapper
SvXMLImportPropertyMapper(SvXMLImportPropertyMapper const &)=delete
the SvXMLTypeConverter converts values of various types from their internal representation to the tex...
void operator=(SimpleReferenceObject) SAL_DELETED_FUNCTION
XMLOFF_DLLPUBLIC bool importXML(css::uno::Reference< css::xml::sax::XFastAttributeList > const &xAttrList, css::uno::Any &rValue, OUString &rStrName, SvXMLImport &rImport)
class SAL_NO_VTABLE XPropertySet
enum SAL_DLLPUBLIC_RTTI FillStyle
bool IsIgnoreFillStyleNamedItem(css::uno::Reference< css::beans::XPropertySet > const &xProps, drawing::FillStyle const nExpectedFillStyle)
This struct is used as an optional parameter to the static _FillPropertySet() methods.
css::drawing::FillStyle nExpectedFillStyle
Smart struct to transport an Any with an index to the appropriate property-name.