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

#include <servprov.hxx>

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

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< XInterfacecreateUnoWrapperInstance () override
 
Reference< XInterfacecreateComWrapperInstance () 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< 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)
 

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< 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< 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
 

Detailed Description

Definition at line 93 of file servprov.hxx.

Constructor & Destructor Documentation

◆ OleConverter() [1/2]

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

Definition at line 184 of file servprov.cxx.

◆ OleConverter() [2/2]

OleConverter::OleConverter ( const Reference< XMultiServiceFactory > &  smgr,
sal_uInt8  unoWrapperClass,
sal_uInt8  comWrapperClass 
)

Definition at line 191 of file servprov.cxx.

◆ ~OleConverter()

OleConverter::~OleConverter ( )
overridevirtual

Definition at line 197 of file servprov.cxx.

Member Function Documentation

◆ createBridge()

Any SAL_CALL OleConverter::createBridge ( const Any modelDepObject,
const Sequence< sal_Int8 > &  ProcessId,
sal_Int16  sourceModelType,
sal_Int16  destModelType 
)
override

◆ createComWrapperInstance()

Reference< XInterface > OleConverter::createComWrapperInstance ( )
overridevirtual

◆ createUnoWrapperInstance()

Reference< XInterface > OleConverter::createUnoWrapperInstance ( )
overridevirtual

◆ getImplementationName()

OUString OleConverter::getImplementationName ( )
override

◆ getSupportedServiceNames()

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

◆ initialize()

void SAL_CALL OleConverter::initialize ( const Sequence< Any > &  aArguments)
override

◆ supportsService()

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

Definition at line 295 of file servprov.cxx.

References ServiceName, and cppu::supportsService().


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