22#include <com/sun/star/awt/Size.hpp>
23#include <com/sun/star/drawing/XShape.hpp>
24#include <com/sun/star/text/WrapTextMode.hpp>
38 class XComponentContext;
57 css::uno::Reference<css::drawing::XShape>
m_xShape;
70 const css::uno::Reference<css::drawing::XShape>&
getShape()
const {
return m_xShape; };
75 void importStream(
const css::uno::Reference<css::uno::XComponentContext>& xComponentContext,
76 const css::uno::Reference<css::text::XTextDocument>& xTextDocument,
77 const css::uno::Reference<css::text::XTextContent>& xOLE);
86 OUString
copyOLEOStream(css::uno::Reference<css::text::XTextDocument>
const& xTextDocument);
89 css::uno::Reference<css::graphic::XGraphic>
getReplacement()
const;
void sprm(Sprm &sprm) override
Receives a SPRM.
An SPRM: Section, Paragraph and Run Modifier.
OUString m_sVisAreaHeight
virtual ~OLEHandler() override
OUString const & GetDrawAspect() const
virtual void lcl_sprm(Sprm &sprm) override
virtual void lcl_attribute(Id Name, Value &val) override
css::uno::Reference< css::io::XInputStream > m_xInputStream
OUString getCLSID() const
Get the CLSID of the OLE object, in case we can find one based on m_sProgId.
OUString m_aURL
The stream URL right after the import of the raw data.
OLEHandler(DomainMapper &rDomainMapper)
const css::uno::Reference< css::drawing::XShape > & getShape() const
void importStream(const css::uno::Reference< css::uno::XComponentContext > &xComponentContext, const css::uno::Reference< css::text::XTextDocument > &xTextDocument, const css::uno::Reference< css::text::XTextContent > &xOLE)
In case of a valid CLSID, import the native data to the previously created empty OLE object.
css::text::WrapTextMode m_nWrapMode
css::uno::Reference< css::graphic::XGraphic > getReplacement() const
OUString const & GetVisAreaWidth() const
DomainMapper & m_rDomainMapper
css::uno::Reference< css::drawing::XShape > m_xShape
css::awt::Size getSize() const
OUString const & GetVisAreaHeight() const
OUString copyOLEOStream(css::uno::Reference< css::text::XTextDocument > const &xTextDocument)