19 #ifndef INCLUDED_XMLOFF_XMLIMPPR_HXX
20 #define INCLUDED_XMLOFF_XMLIMPPR_HXX
22 #include <rtl/ref.hxx>
26 #include <rtl/ustring.hxx>
86 void ChainImportMapper(
94 ::std::vector< XMLPropertyState >& rProperties,
95 const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList,
99 sal_Int32 nStartIdx, sal_Int32 nEndIdx )
const;
102 virtual bool handleSpecialItem(
104 ::std::vector< XMLPropertyState >& rProperties,
110 virtual void finished(
111 ::std::vector< XMLPropertyState >& rProperties,
112 sal_Int32 nStartIndex, sal_Int32 nEndIndex )
const;
114 void CheckSpecialContext(
115 const ::std::vector< XMLPropertyState >& rProperties,
116 const css::uno::Reference< css::beans::XPropertySet >& rPropSet,
119 bool FillPropertySet(
120 const ::std::vector< XMLPropertyState >& rProperties,
121 const css::uno::Reference< css::beans::XPropertySet >& rPropSet,
124 void FillPropertySequence(
125 const ::std::vector< XMLPropertyState >& aProperties,
126 css::uno::Sequence< css::beans::PropertyValue >& rValues )
130 getPropertySetMapper()
const;
135 static bool FillPropertySet_(
136 const ::std::vector<XMLPropertyState> & rProperties,
137 const css::uno::Reference< css::beans::XPropertySet> & rPropSet,
138 const css::uno::Reference< css::beans::XPropertySetInfo> & rPropSetInfo,
148 static bool FillMultiPropertySet_(
149 const ::std::vector<XMLPropertyState> & rProperties,
150 const css::uno::Reference< css::beans::XMultiPropertySet> & rMultiPropSet,
151 const css::uno::Reference< css::beans::XPropertySetInfo> & rPropSetInfo,
160 static bool FillTolerantMultiPropertySet_(
161 const ::std::vector<XMLPropertyState> & rProperties,
162 const css::uno::Reference< css::beans::XTolerantMultiPropertySet> & rTolPropSet,
171 static void PrepareForMultiPropertySet_(
172 const ::std::vector<XMLPropertyState> & rProperties,
173 const css::uno::Reference< css::beans::XPropertySetInfo> & rPropSetInfo,
176 css::uno::Sequence< OUString >& rNames,
177 css::uno::Sequence< css::uno::Any >& rValues);
180 void importXMLAttribute(
181 std::vector< XMLPropertyState >& rProperties,
184 sal_uInt32 nPropType,
187 css::uno::Reference< css::container::XNameContainer >& xAttrContainer,
188 const OUString& sAttrName,
189 const OUString& aNamespaceURI,
190 const OUString& sValue)
const;
200 #endif // INCLUDED_XMLOFF_XMLIMPPR_HXX
the SvXMLTypeConverter converts values of various types from their internal representation to the tex...
const rtl::Reference< XMLPropertySetMapper > & getPropertySetMapper() const
css::uno::Any const & rValue
SvXMLImport & GetImport() const
class SAL_NO_VTABLE XPropertySet
rtl::Reference< XMLPropertySetMapper > maPropMapper
void operator=(SimpleReferenceObject) SAL_DELETED_FUNCTION
Smart struct to transport an Any with an index to the appropriate property-name.
This struct is used as an optional parameter to the static _FillPropertySet() methods.
rtl::Reference< SvXMLImportPropertyMapper > mxNextMapper