summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2017-05-23 10:20:03 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2017-05-23 12:06:08 +0200
commitb1319842a49cdf6512bbd9e81081e2a9edbd6089 (patch)
treef8ba58209bb407cc5e9ad8ad7e4921ced2a40f69 /include
parentloplugin:comparisonwithconstant in bridges (diff)
downloadcore-b1319842a49cdf6512bbd9e81081e2a9edbd6089.tar.gz
core-b1319842a49cdf6512bbd9e81081e2a9edbd6089.zip
oox: add GraphicHelper::importGraphics()
Similar to GraphicHelper::importGraphic(), but can import multiple streams with one function call. Change-Id: I5fd398bb6649259e86967f8db5cc1e212f50bc8e Reviewed-on: https://gerrit.libreoffice.org/37942 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'include')
-rw-r--r--include/oox/helper/graphichelper.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/oox/helper/graphichelper.hxx b/include/oox/helper/graphichelper.hxx
index 3102585ed881..17f896683ab4 100644
--- a/include/oox/helper/graphichelper.hxx
+++ b/include/oox/helper/graphichelper.hxx
@@ -114,6 +114,10 @@ public:
const css::uno::Reference< css::io::XInputStream >& rxInStrm,
const WMF_EXTERNALHEADER* pExtHeader = nullptr ) const;
+ /** Imports graphics from the passed input streams. */
+ std::vector< css::uno::Reference<css::graphic::XGraphic> >
+ importGraphics(const std::vector< css::uno::Reference<css::io::XInputStream> >& rStreams) const;
+
/** Imports a graphic from the passed binary memory block. */
css::uno::Reference< css::graphic::XGraphic >
importGraphic( const StreamDataSequence& rGraphicData ) const;