diff options
author | Michael Stahl <mstahl@redhat.com> | 2011-12-02 23:54:33 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2011-12-03 00:48:15 +0100 |
commit | e8a54ef88dacccb9759dd394473d52b53ff1cbd7 (patch) | |
tree | 6b6a18d6d11b365a46de3359e49f8ea2b2fd562e /avmedia/inc | |
parent | 51ea69880ca32220fa1c6b3e95c8916e3409184c (diff) |
add avmedia::EmbedMedia
This new function is used by sc,sd,sw to embed media in the document storage.
Diffstat (limited to 'avmedia/inc')
-rw-r--r-- | avmedia/inc/avmedia/mediaitem.hxx | 7 |
1 files changed, 7 insertions, 0 deletions
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 <tools/rtti.hxx> #include <svl/poolitem.hxx> #include <com/sun/star/media/ZoomLevel.hpp> +#include <com/sun/star/frame/XModel.hpp> #include <avmedia/avmediadllapi.h> #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 |