|
LibreOffice Module extensions (master) 1
|
#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"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 |
| bool getType | ( | const BSTR | name, |
| Type & | type | ||
| ) |
Definition at line 1557 of file unoobjw.cxx.
References name, type, typelib_typedescription_getByName(), and typelib_typedescription_release().
Referenced by UnoConversionUtilities< class >::convertValueObject(), InterfaceOleWrapper::InvokeGeneral(), and UnoConversionUtilities< class >::variantToAny().
| VARTYPE getVarType | ( | const Any & | value | ) |
Definition at line 3423 of file unoobjw.cxx.
References value, and VT_EMPTY.
Referenced by UnoConversionUtilities< class >::createUnoObjectWrapper().
|
static |
Definition at line 3367 of file unoobjw.cxx.
Referenced by InterfaceOleWrapper::doInvoke(), and InterfaceOleWrapper::doSetProperty().
| COM_DECLSPEC_NOTHROW STDMETHODIMP_ | ( | ULONG | ) |
Definition at line 194 of file unoobjw.cxx.
References m_refCount.
|
static |
|
static |
Definition at line 1572 of file unoobjw.cxx.
References hr, VT_ARRAY, VT_BYREF, and writeBackOutParameter().
Referenced by InterfaceOleWrapper::doInvoke().
|
static |
Definition at line 116 of file unoobjw.cxx.
References UNO_2_OLE_EXCEPTIONCODE.
Referenced by InterfaceOleWrapper::doGetProperty(), InterfaceOleWrapper::doInvoke(), InterfaceOleWrapper::Invoke(), UnoObjectWrapperRemoteOpt::Invoke(), and InterfaceOleWrapper::InvokeGeneral().
| std::unordered_map<sal_uIntPtr, WeakReference<XInterface> > UnoObjToWrapperMap |
Definition at line 108 of file unoobjw.cxx.
Referenced by UnoConversionUtilities< class >::createUnoObjectWrapper(), and InterfaceOleWrapper::~InterfaceOleWrapper().