diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2017-05-23 10:20:03 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2017-05-23 12:06:08 +0200 |
commit | b1319842a49cdf6512bbd9e81081e2a9edbd6089 (patch) | |
tree | f8ba58209bb407cc5e9ad8ad7e4921ced2a40f69 /include | |
parent | loplugin:comparisonwithconstant in bridges (diff) | |
download | core-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.hxx | 4 |
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; |