From e8a54ef88dacccb9759dd394473d52b53ff1cbd7 Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Fri, 2 Dec 2011 23:54:33 +0100 Subject: add avmedia::EmbedMedia This new function is used by sc,sd,sw to embed media in the document storage. --- avmedia/inc/avmedia/mediaitem.hxx | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'avmedia/inc') diff --git a/avmedia/inc/avmedia/mediaitem.hxx b/avmedia/inc/avmedia/mediaitem.hxx index cf9f09b01702..a1908105e235 100644 --- a/avmedia/inc/avmedia/mediaitem.hxx +++ b/avmedia/inc/avmedia/mediaitem.hxx @@ -34,6 +34,7 @@ #include #include #include +#include #include #define AVMEDIA_SETMASK_NONE ((sal_uInt32)(0x00000000)) @@ -124,6 +125,12 @@ private: typedef ::avmedia::MediaItem avmedia_MediaItem; +bool AVMEDIA_DLLPUBLIC EmbedMedia( + ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel> + const& xModel, + ::rtl::OUString const& rSourceURL, + ::rtl::OUString & o_rEmbeddedURL); + } #endif -- cgit