namespace com::sun::star::beans { class XMultiPropertySet; } namespace com::sun::star::beans { class XPropertySet; } namespace com::sun::star::beans { class XPropertySetInfo; } namespace com::sun::star::beans { class XTolerantMultiPropertySet; } namespace com::sun::star::beans { struct PropertyValue; } namespace com::sun::star::container { class XNameContainer; } namespace com::sun::star::uno { class Any; } namespace com::sun::star::uno { template <typename > class Reference; } namespace com::sun::star::uno { template <typename > class Sequence; } namespace com::sun::star::xml::sax { class XFastAttributeList; } #ifdefined __GNUC__ // gcc does not like visibility annotation on enum namespace com::sun::star::drawing { enumclass FillStyle; } #else namespace com::sun::star::drawing { enumclass SAL_DLLPUBLIC_RTTI FillStyle; } #endif
struct XMLPropertyState; class XMLPropertySetMapper;
class SvXMLUnitConverter; class SvXMLNamespaceMap; class SvXMLImport;
/** This struct is used as an optional parameter to the static *_FillPropertySet()methods. * *Itshouldnotbeusedinanyothercontext.
*/ struct ContextID_Index_Pair
{
sal_Int16 /*const*/ nContextID;
sal_Int32 nIndex;
css::drawing::FillStyle /*const*/ nExpectedFillStyle;
};
class XMLOFF_DLLPUBLIC SvXMLImportPropertyMapper
{
std::unique_ptr< SvXMLImportPropertyMapper> mxNextMapper;
SvXMLImport& m_rImport; // access to error handling
// Add an ImportPropertyMapper at the end of the import mapper chain. // The added mapper MUST not be used outside the Mapper chain any longer, // because its PropertyMapper will be replaced. void ChainImportMapper(
std::unique_ptr< SvXMLImportPropertyMapper> rMapper );
/** fills the given itemset with the attributes in the given list *themapisonlysearchedwithintherange *[nStartIdx,nEndIdx[
*/ void importXML(
::std::vector< XMLPropertyState >& rProperties, const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList, const SvXMLUnitConverter& rUnitConverter, const SvXMLNamespaceMap& rNamespaceMap,
sal_uInt32 nPropType,
sal_Int32 nStartIdx, sal_Int32 nEndIdx ) const;
/** this method is called for every item that has the MID_FLAG_SPECIAL_ITEM_IMPORT flag set */ virtualbool handleSpecialItem(
XMLPropertyState& rProperty,
::std::vector< XMLPropertyState >& rProperties, const OUString& rValue, const SvXMLUnitConverter& rUnitConverter, const SvXMLNamespaceMap& rNamespaceMap ) const;
/** This method is called when all attributes have benn processed. It may be used to remove items that are incomplete */ virtualvoid finished(
::std::vector< XMLPropertyState >& rProperties,
sal_Int32 nStartIndex, sal_Int32 nEndIndex ) const;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.