LibreOffice Module embeddedobj (master) 1
|
#include <com/sun/star/uno/Any.hxx>
#include <com/sun/star/uno/Reference.hxx>
#include <com/sun/star/uno/Sequence.hxx>
#include <com/sun/star/embed/Aspects.hpp>
#include <com/sun/star/io/XInputStream.hpp>
#include <com/sun/star/io/XOutputStream.hpp>
#include <com/sun/star/graphic/GraphicProvider.hpp>
#include <com/sun/star/graphic/XGraphicProvider.hpp>
#include <com/sun/star/graphic/XGraphic.hpp>
#include <com/sun/star/beans/PropertyValue.hpp>
#include <unotools/streamwrap.hxx>
#include <comphelper/processfactory.hxx>
#include <comphelper/propertyvalue.hxx>
#include <comphelper/seqstream.hxx>
#include <tools/stream.hxx>
#include <vcl/graphicfilter.hxx>
#include "graphconvert.hxx"
#include "mtnotification.hxx"
#include <oleembobj.hxx>
Go to the source code of this file.
Functions | |
bool | ConvertBufferToFormat (void *pBuf, sal_uInt32 nBufSize, const OUString &aMimeType, uno::Any &aResult) |
bool ConvertBufferToFormat | ( | void * | pBuf, |
sal_uInt32 | nBufSize, | ||
const OUString & | aMimeType, | ||
uno::Any & | aResult | ||
) |
Definition at line 45 of file graphconvert.cxx.
References aData, aMimeType, GraphicFilter::CanImportGraphic(), ERRCODE_NONE, SvMemoryStream::GetData(), GraphicFilter::GetGraphicFilter(), comphelper::getProcessComponentContext(), GRFILTER_FORMAT_DONTKNOW, comphelper::makePropertyValue(), SvMemoryStream::TellEnd(), and u.
Referenced by OleComponentNative_Impl::ConvertDataForFlavor().