diff options
Diffstat (limited to 'include/comphelper/graphicmimetype.hxx')
-rw-r--r-- | include/comphelper/graphicmimetype.hxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/comphelper/graphicmimetype.hxx b/include/comphelper/graphicmimetype.hxx index 3f2b5308b2d6..970342f2e5f5 100644 --- a/include/comphelper/graphicmimetype.hxx +++ b/include/comphelper/graphicmimetype.hxx @@ -13,12 +13,20 @@ #include <comphelper/comphelperdllapi.h> #include <rtl/ustring.hxx> +#include <com/sun/star/graphic/XGraphic.hpp> +#include <com/sun/star/io/XInputStream.hpp> +#include <com/sun/star/uno/Reference.hxx> + namespace comphelper { class COMPHELPER_DLLPUBLIC GraphicMimeTypeHelper { public: static OUString GetMimeTypeForExtension(const OString& rExt); + static OUString GetMimeTypeForXGraphic(css::uno::Reference<css::graphic::XGraphic> xGraphic); + static OUString GetMimeTypeForImageUrl(const OUString& rImageUrl); + static OUString + GetMimeTypeForImageStream(css::uno::Reference<css::io::XInputStream> xInputStream); }; } |