27 #include <com/sun/star/io/XOutputStream.hpp>
28 #include <com/sun/star/graphic/XGraphic.hpp>
37 ::std::vector< XMLPropertyState > &rProps ) :
39 rImport, nElement, rProp, rProps )
48 const uno::Reference< xml::sax::XFastAttributeList >& xAttrList )
52 const OUString sValue = aIter.toString();
54 switch( aIter.getToken() )
73 const css::uno::Reference< css::xml::sax::XFastAttributeList >& )
90 uno::Reference<graphic::XGraphic>
xGraphic;
css::uno::Reference< css::graphic::XGraphic > loadGraphicFromBase64(css::uno::Reference< css::io::XOutputStream > const &rxOutputStream)
css::uno::Reference< css::io::XOutputStream > mxBase64Stream
SvXMLImport & GetImport()
virtual void SAL_CALL endFastElement(sal_Int32 nElement) override
endFastElement is called before a context will be destructed, but after an elements context has been ...
FastAttributeList & castToFastAttributeList(const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList)
css::uno::Reference< css::graphic::XGraphic > loadGraphicByURL(OUString const &rURL)
XMLSymbolImageContext(SvXMLImport &rImport, sal_Int32 nElement, const XMLPropertyState &rProp,::std::vector< XMLPropertyState > &rProps)
virtual ~XMLSymbolImageContext() override
#define XMLOFF_WARN_UNKNOWN(area, rIter)
css::uno::Reference< css::io::XOutputStream > GetStreamForGraphicObjectURLFromBase64() const
virtual void SAL_CALL startFastElement(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &AttrList) override
virtual void SAL_CALL endFastElement(sal_Int32 nElement) override
endFastElement is called before a context will be destructed, but after an elements context has been ...
void SetInsert(bool bIns)
Handling of tokens in XML:
#define XML_ELEMENT(prefix, name)
Smart struct to transport an Any with an index to the appropriate property-name.
constexpr sal_Int32 TOKEN_MASK
#define XMLOFF_WARN_UNKNOWN_ELEMENT(area, token)
Reference< XGraphic > xGraphic