LibreOffice Module extensions (master) 1
Public Member Functions | Protected Attributes | List of all members
OleClient Class Reference

#include <servprov.hxx>

Inheritance diagram for OleClient:
[legend]
Collaboration diagram for OleClient:
[legend]

Public Member Functions

 OleClient (const Reference< XMultiServiceFactory > &smgr)
 
 ~OleClient () override
 
Reference< XInterface > SAL_CALL createInstance (const OUString &ServiceSpecifier) override
 
Reference< XInterface > SAL_CALL createInstanceWithArguments (const OUString &ServiceSpecifier, const Sequence< Any > &Arguments) override
 
Sequence< OUString > SAL_CALL getAvailableServiceNames () override
 
OUString SAL_CALL getImplementationName () override
 
sal_Bool SAL_CALL supportsService (OUString const &ServiceName) override
 
css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
Reference< XInterfacecreateUnoWrapperInstance () override
 
Reference< XInterfacecreateComWrapperInstance () override
 
- Public Member Functions inherited from UnoConversionUtilities< OleClient >
 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< AnycreateOleArrayWrapperOfDim (SAFEARRAY *pArray, unsigned int dimCount, unsigned int actDim, LONG *index, VARTYPE type, const Type &unotype)
 
Sequence< AnycreateOleArrayWrapper (SAFEARRAY *pArray, VARTYPE type, const Type &unotype=Type())
 
VARTYPE mapTypeClassToVartype (TypeClass type)
 
Reference< XSingleServiceFactory > getInvocationFactory (const Any &anyObject)
 
virtual Reference< XInterfacecreateUnoWrapperInstance ()=0
 
virtual Reference< XInterfacecreateComWrapperInstance ()=0
 
Sequence< TypegetImplementedInterfaces (IUnknown *pUnk)
 

Protected Attributes

Reference< XBridgeSupplier2 > m_bridgeSupplier
 
- Protected Attributes inherited from UnoConversionUtilities< OleClient >
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
 

Additional Inherited Members

- Static Public Member Functions inherited from UnoConversionUtilities< OleClient >
static bool isJScriptArray (const VARIANT *pvar)
 
- Protected Member Functions inherited from UnoConversionUtilities< OleClient >
Reference< XInterfacecreateAdapter (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< OleClient >
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)
 

Detailed Description

Definition at line 126 of file servprov.hxx.

Constructor & Destructor Documentation

◆ OleClient()

OleClient::OleClient ( const Reference< XMultiServiceFactory > &  smgr)
explicit

Definition at line 350 of file servprov.cxx.

References a, Any, and m_bridgeSupplier.

◆ ~OleClient()

OleClient::~OleClient ( )
override

Definition at line 362 of file servprov.cxx.

Member Function Documentation

◆ createComWrapperInstance()

Reference< XInterface > OleClient::createComWrapperInstance ( )
overridevirtual

◆ createInstance()

Reference< XInterface > SAL_CALL OleClient::createInstance ( const OUString &  ServiceSpecifier)
override

◆ createInstanceWithArguments()

Reference< XInterface > SAL_CALL OleClient::createInstanceWithArguments ( const OUString &  ServiceSpecifier,
const Sequence< Any > &  Arguments 
)
override

Definition at line 437 of file servprov.cxx.

References createInstance().

◆ createUnoWrapperInstance()

Reference< XInterface > OleClient::createUnoWrapperInstance ( )
overridevirtual

◆ getAvailableServiceNames()

Sequence< OUString > SAL_CALL OleClient::getAvailableServiceNames ( )
override

Definition at line 366 of file servprov.cxx.

◆ getImplementationName()

OUString OleClient::getImplementationName ( )
override

Definition at line 373 of file servprov.cxx.

◆ getSupportedServiceNames()

css::uno::Sequence< OUString > OleClient::getSupportedServiceNames ( )
override

Definition at line 383 of file servprov.cxx.

◆ supportsService()

sal_Bool OleClient::supportsService ( OUString const &  ServiceName)
override

Definition at line 378 of file servprov.cxx.

References ServiceName, and cppu::supportsService().

Member Data Documentation

◆ m_bridgeSupplier

Reference<XBridgeSupplier2> OleClient::m_bridgeSupplier
protected

Definition at line 149 of file servprov.hxx.

Referenced by OleClient().


The documentation for this class was generated from the following files: