|
LibreOffice Module extensions (master) 1
|
#include <memory>#include <com/sun/star/script/CannotConvertException.hpp>#include <com/sun/star/script/XInvocationAdapterFactory.hpp>#include <com/sun/star/script/XInvocationAdapterFactory2.hpp>#include <com/sun/star/script/XTypeConverter.hpp>#include <com/sun/star/script/FailReason.hpp>#include <com/sun/star/bridge/ModelDependent.hpp>#include <com/sun/star/bridge/XBridgeSupplier2.hpp>#include <com/sun/star/bridge/oleautomation/Date.hpp>#include <com/sun/star/bridge/oleautomation/Currency.hpp>#include <com/sun/star/bridge/oleautomation/SCode.hpp>#include <com/sun/star/bridge/oleautomation/Decimal.hpp>#include <com/sun/star/lang/XInitialization.hpp>#include <typelib/typedescription.hxx>#include <o3tl/any.hxx>#include <o3tl/char16_t2wchar_t.hxx>#include "ole2uno.hxx"#include <cppuhelper/weakref.hxx>#include "unotypewrapper.hxx"#include <unordered_map>Go to the source code of this file.
Classes | |
| class | UnoConversionUtilities< class > |
| All methods are allowed to throw at least a BridgeRuntimeError. More... | |
Macros | |
| #define | INTERFACE_OLE_WRAPPER_IMPL 1 |
| #define | UNO_OBJECT_WRAPPER_REMOTE_OPT 2 |
| #define | INVOCATION_SERVICE "com.sun.star.script.Invocation" |
| #define | IUNKNOWN_WRAPPER_IMPL 1 |
| #define | INTERFACE_ADAPTER_FACTORY "com.sun.star.script.InvocationAdapterFactory" |
| #define | SUPPORTED_INTERFACES_PROP L"_implementedInterfaces" |
| #define | SUPPORTED_INTERFACES_PROP2 L"Bridge_ImplementedInterfaces" |
Typedefs | |
| typedef unsigned char | BYTE |
Functions | |
| void | reduceRange (Any &any) |
| template<class T > | |
| bool | convertSelfToCom (T &unoInterface, VARIANT *pVar) |
Variables | |
| std::unordered_map< sal_uIntPtr, sal_uIntPtr > | AdapterToWrapperMap |
| std::unordered_map< sal_uIntPtr, sal_uIntPtr > | WrapperToAdapterMap |
| std::unordered_map< sal_uIntPtr, WeakReference< XInterface > > | ComPtrToWrapperMap |
| std::unordered_map< sal_uIntPtr, WeakReference< XInterface > > | UnoObjToWrapperMap |
| #define INTERFACE_ADAPTER_FACTORY "com.sun.star.script.InvocationAdapterFactory" |
Definition at line 55 of file unoconversionutilities.hxx.
| #define INTERFACE_OLE_WRAPPER_IMPL 1 |
Definition at line 46 of file unoconversionutilities.hxx.
| #define INVOCATION_SERVICE "com.sun.star.script.Invocation" |
Definition at line 49 of file unoconversionutilities.hxx.
| #define IUNKNOWN_WRAPPER_IMPL 1 |
Definition at line 53 of file unoconversionutilities.hxx.
| #define SUPPORTED_INTERFACES_PROP L"_implementedInterfaces" |
Definition at line 57 of file unoconversionutilities.hxx.
| #define SUPPORTED_INTERFACES_PROP2 L"Bridge_ImplementedInterfaces" |
Definition at line 59 of file unoconversionutilities.hxx.
| #define UNO_OBJECT_WRAPPER_REMOTE_OPT 2 |
Definition at line 47 of file unoconversionutilities.hxx.
| typedef unsigned char BYTE |
Definition at line 44 of file unoconversionutilities.hxx.
| bool convertSelfToCom | ( | T & | unoInterface, |
| VARIANT * | pVar | ||
| ) |
Definition at line 259 of file unoconversionutilities.hxx.
Referenced by UnoConversionUtilities< class >::createUnoObjectWrapper().
|
inline |
Definition at line 101 of file unoconversionutilities.hxx.
Referenced by UnoConversionUtilities< class >::variantToAny().
|
extern |
Definition at line 71 of file oleobjw.cxx.
Referenced by UnoConversionUtilities< class >::createAdapter(), UnoConversionUtilities< class >::createUnoObjectWrapper(), and IUnknownWrapper::~IUnknownWrapper().
|
extern |
Definition at line 80 of file oleobjw.cxx.
Referenced by UnoConversionUtilities< class >::createOleObjectWrapper(), and IUnknownWrapper::~IUnknownWrapper().
|
extern |
Definition at line 108 of file unoobjw.cxx.
Referenced by UnoConversionUtilities< class >::createUnoObjectWrapper(), and InterfaceOleWrapper::~InterfaceOleWrapper().
|
extern |
Definition at line 78 of file oleobjw.cxx.
Referenced by UnoConversionUtilities< class >::createAdapter(), UnoConversionUtilities< class >::createOleObjectWrapper(), and IUnknownWrapper::~IUnknownWrapper().