41 const uno::Reference< xml::sax::XFastAttributeList >& xAttrList,
46 const OUString sValue = aIter.toString();
48 switch( aIter.getToken() )
78 const css::uno::Reference< css::xml::sax::XFastAttributeList >& )
117 SvXMLImport& rImport, sal_Int32 ,
118 const uno::Reference< xml::sax::XFastAttributeList >& xAttrList,
125 m_pItem->SetGraphicPos( GPOS_NONE );
131 SvXMLImport& rImport, sal_Int32 ,
132 const uno::Reference< xml::sax::XFastAttributeList > & xAttrList,
134 sal_uInt16 nWhich ) :
154 uno::Reference<graphic::XGraphic> xGraphic;
165 if (!sValue.isEmpty())
css::uno::Reference< css::graphic::XGraphic > GetXGraphic() const
static bool QueryXMLValue(const SfxPoolItem &rItem, OUString &rValue, sal_uInt16 nMemberId, const SvXMLUnitConverter &rUnitConverter)
void AddAttribute(sal_uInt16 nPrefix, const OUString &rName, const OUString &rValue)
bool AddEmbeddedXGraphicAsBase64(css::uno::Reference< css::graphic::XGraphic > const &rxGraphic)
OUString AddEmbeddedXGraphic(css::uno::Reference< css::graphic::XGraphic > const &rxGraphic, OUString &rOutMimeType, OUString const &rRequestedName=OUString())
SvXMLImport & GetImport()
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.
const Graphic * GetGraphic(OUString const &referer=OUString()) const
SwXMLExport & GetExport()
void exportXML(const SvxBrushItem &rItem)
SwXMLBrushItemExport(SwXMLExport &rExport)
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &AttrList) override
std::unique_ptr< SvxBrushItem > m_pItem
SwXMLBrushItemImportContext(SvXMLImport &rImport, sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList, const SvXMLUnitConverter &rUnitConv, const SvxBrushItem &rItem)
css::uno::Reference< css::graphic::XGraphic > m_xGraphic
void ProcessAttrs(const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList, const SvXMLUnitConverter &rUnitConv)
virtual void SAL_CALL endFastElement(sal_Int32 nElement) override
virtual ~SwXMLBrushItemImportContext() override
css::uno::Reference< css::io::XOutputStream > m_xBase64Stream
const SvXMLUnitConverter & GetTwipUnitConverter() const
#define MID_GRAPHIC_REPEAT
#define MID_GRAPHIC_POSITION
#define MID_GRAPHIC_FILTER
FastAttributeList & castToFastAttributeList(const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList)
#define XMLOFF_WARN_UNKNOWN_ELEMENT(area, token)
#define XMLOFF_WARN_UNKNOWN(area, rIter)
#define XML_ELEMENT(prefix, name)
constexpr sal_Int32 TOKEN_MASK
constexpr sal_uInt16 XML_NAMESPACE_XLINK
constexpr sal_uInt16 XML_NAMESPACE_STYLE