summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-12-18 21:25:46 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2016-01-12 08:59:25 +0000
commitf78d49351ff7689d2fdef8a39634821841eeaf81 (patch)
tree8efe5fb2f8c7231ede6e3f3e8783b6dd345bbb41 /include
parenta20c344627a71c079c6b9abc1fd629a636b37cc8 (diff)
factor out oox::GetOLEObjectStream() without sw dependencies
Change-Id: I32fa4b6b6d755b613b46b32d3b5961976335c76e (cherry picked from commit 55bf7e4210e159bbeeaebeb0e092b3700a19d666) Reviewed-on: https://gerrit.libreoffice.org/21349 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/oox/export/shapes.hxx16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/oox/export/shapes.hxx b/include/oox/export/shapes.hxx
index 67e52cbcc99b..3269df1af917 100644
--- a/include/oox/export/shapes.hxx
+++ b/include/oox/export/shapes.hxx
@@ -36,8 +36,24 @@ namespace drawing {
class XShape;
class XShapes;
}
+namespace embed {
+ class XEmbeddedObject;
+}
}}}
+namespace oox {
+
+OOX_DLLPUBLIC css::uno::Reference<css::io::XInputStream> GetOLEObjectStream(
+ css::uno::Reference<css::uno::XComponentContext> const& xContext,
+ css::uno::Reference<css::embed::XEmbeddedObject> const& xObj,
+ OUString const& i_rProgID,
+ OUString & o_rMediaType,
+ OUString & o_rRelationType,
+ OUString & o_rSuffix,
+ const char *& o_rpProgID);
+
+}
+
namespace oox { namespace drawingml {
class OOX_DLLPUBLIC URLTransformer