LibreOffice Module comphelper (master)  1
Static Public Member Functions | List of all members
comphelper::GraphicMimeTypeHelper Class Reference

#include <graphicmimetype.hxx>

Static Public Member Functions

static OUString GetMimeTypeForExtension (std::string_view rExt)
 
static OUString GetMimeTypeForXGraphic (const css::uno::Reference< css::graphic::XGraphic > &xGraphic)
 
static OUString GetMimeTypeForImageStream (const css::uno::Reference< css::io::XInputStream > &xInputStream)
 
static OUString GetMimeTypeForConvertDataFormat (ConvertDataFormat convertDataFormat)
 
static char const * GetExtensionForConvertDataFormat (ConvertDataFormat nFormat)
 

Detailed Description

Definition at line 34 of file graphicmimetype.hxx.

Member Function Documentation

char const * comphelper::GraphicMimeTypeHelper::GetExtensionForConvertDataFormat ( ConvertDataFormat  nFormat)
static

Definition at line 123 of file graphicmimetype.cxx.

References pExt.

OUString comphelper::GraphicMimeTypeHelper::GetMimeTypeForConvertDataFormat ( ConvertDataFormat  convertDataFormat)
static

Definition at line 92 of file graphicmimetype.cxx.

OUString comphelper::GraphicMimeTypeHelper::GetMimeTypeForExtension ( std::string_view  rExt)
static

Definition at line 39 of file graphicmimetype.cxx.

References aMimeType, i, nCount, pExt, and SAL_N_ELEMENTS.

OUString comphelper::GraphicMimeTypeHelper::GetMimeTypeForImageStream ( const css::uno::Reference< css::io::XInputStream > &  xInputStream)
static

Definition at line 79 of file graphicmimetype.cxx.

References comphelper::getProcessComponentContext(), and xGraphic.

OUString comphelper::GraphicMimeTypeHelper::GetMimeTypeForXGraphic ( const css::uno::Reference< css::graphic::XGraphic > &  xGraphic)
static

Definition at line 66 of file graphicmimetype.cxx.


The documentation for this class was generated from the following files: