LibreOffice Module extensions (master) 1
|
#include <servprov.hxx>
Public Member Functions | |
OleConverter (const Reference< XMultiServiceFactory > &smgr) | |
OleConverter (const Reference< XMultiServiceFactory > &smgr, sal_uInt8 unoWrapperClass, sal_uInt8 comWrapperClass) | |
virtual | ~OleConverter () override |
Any SAL_CALL | createBridge (const Any &modelDepObject, const Sequence< sal_Int8 > &ProcessId, sal_Int16 sourceModelType, sal_Int16 destModelType) override |
void SAL_CALL | initialize (const Sequence< Any > &aArguments) override |
OUString SAL_CALL | getImplementationName () override |
sal_Bool SAL_CALL | supportsService (OUString const &ServiceName) override |
css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
Reference< XInterface > | createUnoWrapperInstance () override |
Reference< XInterface > | createComWrapperInstance () override |
Public Member Functions inherited from UnoConversionUtilities< OleConverter > | |
UnoConversionUtilities (const Reference< XMultiServiceFactory > &smgr) | |
UnoConversionUtilities (const Reference< XMultiServiceFactory > &xFactory, sal_uInt8 unoWrapperClass, sal_uInt8 comWrapperClass) | |
virtual | ~UnoConversionUtilities () |
void | anyToVariant (VARIANT *pVariant, const Any &rAny) |
converts only into oleautomation types, that is there is no VT_I1, VT_UI2, VT_UI4 a sal_Unicode character is converted into a BSTR. More... | |
void | anyToVariant (VARIANT *pVariant, const Any &rAny, VARTYPE type) |
SAFEARRAY * | createUnoSequenceWrapper (const Any &rSeq) |
SAFEARRAY * | createUnoSequenceWrapper (const Any &rSeq, VARTYPE elemtype) |
void | createUnoObjectWrapper (const Any &rObj, VARIANT *pVar) |
void | variantToAny (const VARIANT *pVariant, Any &rAny, bool bReduceValueRange=true) |
void | variantToAny (const VARIANTARG *pArg, Any &rAny, const Type &ptype, bool bReduceValueRange=true) |
This method converts variants arguments in calls from COM -> UNO. More... | |
Any | createOleObjectWrapper (VARIANT *pVar, const Type &aType=Type()) |
bool | convertValueObject (const VARIANTARG *var, Any &any) |
void | dispatchExObject2Sequence (const VARIANTARG *pvar, Any &anySeq, const Type &type) |
Sequence< Any > | createOleArrayWrapperOfDim (SAFEARRAY *pArray, unsigned int dimCount, unsigned int actDim, LONG *index, VARTYPE type, const Type &unotype) |
Sequence< Any > | createOleArrayWrapper (SAFEARRAY *pArray, VARTYPE type, const Type &unotype=Type()) |
VARTYPE | mapTypeClassToVartype (TypeClass type) |
Reference< XSingleServiceFactory > | getInvocationFactory (const Any &anyObject) |
virtual Reference< XInterface > | createUnoWrapperInstance ()=0 |
virtual Reference< XInterface > | createComWrapperInstance ()=0 |
Sequence< Type > | getImplementedInterfaces (IUnknown *pUnk) |
Additional Inherited Members | |
Static Public Member Functions inherited from UnoConversionUtilities< OleConverter > | |
static bool | isJScriptArray (const VARIANT *pvar) |
Protected Member Functions inherited from UnoConversionUtilities< OleConverter > | |
Reference< XInterface > | createAdapter (const Sequence< Type > &types, const Reference< XInterface > &receiver) |
void | getElementCountAndTypeOfSequence (const Any &rSeq, sal_Int32 dim, Sequence< sal_Int32 > &seqElementCounts, TypeDescription &typeDesc) |
Reference< XTypeConverter > | getTypeConverter () |
Static Protected Member Functions inherited from UnoConversionUtilities< OleConverter > | |
static bool | incrementMultidimensionalIndex (sal_Int32 dimensions, const sal_Int32 *parDimensionLength, sal_Int32 *parMultidimensionalIndex) |
static size_t | getOleElementSize (VARTYPE type) |
static Type | getElementTypeOfSequence (const Type &seqType) |
Protected Attributes inherited from UnoConversionUtilities< OleConverter > | |
const sal_uInt8 | m_nUnoWrapperClass |
const sal_uInt8 | m_nComWrapperClass |
Reference< XMultiServiceFactory > | m_smgr |
Reference< XMultiServiceFactory > | m_smgrRemote |
Reference< XSingleServiceFactory > | m_xInvocationFactoryLocal |
Reference< XSingleServiceFactory > | m_xInvocationFactoryRemote |
Definition at line 93 of file servprov.hxx.
|
explicit |
Definition at line 184 of file servprov.cxx.
OleConverter::OleConverter | ( | const Reference< XMultiServiceFactory > & | smgr, |
sal_uInt8 | unoWrapperClass, | ||
sal_uInt8 | comWrapperClass | ||
) |
Definition at line 191 of file servprov.cxx.
|
overridevirtual |
Definition at line 197 of file servprov.cxx.
|
override |
Definition at line 202 of file servprov.cxx.
References Any, UnoConversionUtilities< OleConverter >::anyToVariant(), OLE, UNO, v, and UnoConversionUtilities< OleConverter >::variantToAny().
|
overridevirtual |
Implements UnoConversionUtilities< OleConverter >.
Definition at line 343 of file servprov.cxx.
References UnoConversionUtilities< OleConverter >::m_nComWrapperClass, UnoConversionUtilities< OleConverter >::m_nUnoWrapperClass, and UnoConversionUtilities< OleConverter >::m_smgr.
|
overridevirtual |
Implements UnoConversionUtilities< OleConverter >.
Definition at line 325 of file servprov.cxx.
References INTERFACE_OLE_WRAPPER_IMPL, UnoConversionUtilities< OleConverter >::m_nComWrapperClass, UnoConversionUtilities< OleConverter >::m_nUnoWrapperClass, UnoConversionUtilities< OleConverter >::m_smgr, and UNO_OBJECT_WRAPPER_REMOTE_OPT.
|
override |
Definition at line 288 of file servprov.cxx.
References INTERFACE_OLE_WRAPPER_IMPL, and UnoConversionUtilities< OleConverter >::m_nUnoWrapperClass.
|
override |
Definition at line 300 of file servprov.cxx.
References INTERFACE_OLE_WRAPPER_IMPL, and UnoConversionUtilities< OleConverter >::m_nUnoWrapperClass.
Definition at line 313 of file servprov.cxx.
References aArguments, and UnoConversionUtilities< OleConverter >::m_smgrRemote.
|
override |
Definition at line 295 of file servprov.cxx.
References ServiceName, and cppu::supportsService().