LibreOffice Module extensions (master) 1
Functions | Variables
unoobjw.cxx File Reference
#include "ole2uno.hxx"
#include <stdio.h>
#include <list>
#include <sstream>
#include <unordered_map>
#include <vector>
#include <atlbase.h>
#include <atlcom.h>
#include <comdef.h>
#include <osl/diagnose.h>
#include <salhelper/simplereferenceobject.hxx>
#include <rtl/ref.hxx>
#include <rtl/ustring.hxx>
#include <sal/log.hxx>
#include <com/sun/star/beans/MethodConcept.hpp>
#include <com/sun/star/beans/PropertyConcept.hpp>
#include <com/sun/star/lang/NoSuchMethodException.hpp>
#include <com/sun/star/script/CannotConvertException.hpp>
#include <com/sun/star/script/FailReason.hpp>
#include <com/sun/star/reflection/theCoreReflection.hpp>
#include <com/sun/star/reflection/ParamInfo.hpp>
#include <com/sun/star/beans/XExactName.hpp>
#include <com/sun/star/container/NoSuchElementException.hpp>
#include <com/sun/star/container/XEnumeration.hpp>
#include <com/sun/star/container/XEnumerationAccess.hpp>
#include <com/sun/star/beans/XMaterialHolder.hpp>
#include <com/sun/star/script/XInvocation2.hpp>
#include <com/sun/star/script/MemberType.hpp>
#include <com/sun/star/reflection/XIdlReflection.hpp>
#include <ooo/vba/XCollection.hpp>
#include <ooo/vba/XConnectable.hpp>
#include <ooo/vba/XConnectionPoint.hpp>
#include <ooo/vba/XSink.hpp>
#include <ooo/vba/msforms/XCheckBox.hpp>
#include <osl/interlck.h>
#include <com/sun/star/uno/genfunc.h>
#include <comphelper/automationinvokedzone.hxx>
#include <comphelper/processfactory.hxx>
#include <comphelper/profilezone.hxx>
#include <comphelper/windowsdebugoutput.hxx>
#include <comphelper/windowserrorstring.hxx>
#include <o3tl/char16_t2wchar_t.hxx>
#include <o3tl/safeint.hxx>
#include "comifaces.hxx"
#include "jscriptclasses.hxx"
#include "unotypewrapper.hxx"
#include "oleobjw.hxx"
#include "unoobjw.hxx"
#include "servprov.hxx"
Include dependency graph for unoobjw.cxx:

Go to the source code of this file.

Functions

static bool writeBackOutParameter (VARIANTARG *pDest, VARIANT *pSource)
 
static bool writeBackOutParameter2 (VARIANTARG *pDest, VARIANT *pSource)
 
static HRESULT mapCannotConvertException (const CannotConvertException &e, unsigned int *puArgErr)
 
static void writeExcepinfo (EXCEPINFO *pInfo, const OUString &message)
 
COM_DECLSPEC_NOTHROW STDMETHODIMP_ (ULONG) InterfaceOleWrapper
 
bool getType (const BSTR name, Type &type)
 
VARTYPE getVarType (const Any &value)
 

Variables

std::unordered_map< sal_uIntPtr, WeakReference< XInterface > > UnoObjToWrapperMap
 

Function Documentation

◆ getType()

bool getType ( const BSTR  name,
Type type 
)

◆ getVarType()

VARTYPE getVarType ( const Any &  value)

Definition at line 3423 of file unoobjw.cxx.

References value, and VT_EMPTY.

Referenced by UnoConversionUtilities< class >::createUnoObjectWrapper().

◆ mapCannotConvertException()

static HRESULT mapCannotConvertException ( const CannotConvertException &  e,
unsigned int puArgErr 
)
static

◆ STDMETHODIMP_()

COM_DECLSPEC_NOTHROW STDMETHODIMP_ ( ULONG  )

Definition at line 194 of file unoobjw.cxx.

References m_refCount.

◆ writeBackOutParameter()

static bool writeBackOutParameter ( VARIANTARG *  pDest,
VARIANT *  pSource 
)
static

◆ writeBackOutParameter2()

static bool writeBackOutParameter2 ( VARIANTARG *  pDest,
VARIANT *  pSource 
)
static

Definition at line 1572 of file unoobjw.cxx.

References hr, VT_ARRAY, VT_BYREF, and writeBackOutParameter().

Referenced by InterfaceOleWrapper::doInvoke().

◆ writeExcepinfo()

static void writeExcepinfo ( EXCEPINFO *  pInfo,
const OUString &  message 
)
static

Variable Documentation

◆ UnoObjToWrapperMap

std::unordered_map<sal_uIntPtr, WeakReference<XInterface> > UnoObjToWrapperMap