LibreOffice Module basic (master) 1
Classes | Typedefs | Functions
sbunoobj.hxx File Reference
#include <basic/sbxobj.hxx>
#include <basic/sbxmeth.hxx>
#include <sbxprop.hxx>
#include <sbxfac.hxx>
#include <basic/sbx.hxx>
#include <com/sun/star/beans/XMaterialHolder.hpp>
#include <com/sun/star/beans/XExactName.hpp>
#include <com/sun/star/beans/XIntrospectionAccess.hpp>
#include <com/sun/star/lang/XComponent.hpp>
#include <com/sun/star/script/XInvocation.hpp>
#include <com/sun/star/reflection/XIdlClass.hpp>
#include <com/sun/star/reflection/XServiceTypeDescription2.hpp>
#include <rtl/ustring.hxx>
#include <o3tl/string_view.hxx>
#include <string_view>
#include <unordered_map>
#include <utility>
#include <vector>
#include <map>
Include dependency graph for sbunoobj.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  StructRefInfo
 
class  SbUnoStructRefObject
 
struct  SbUnoStructRefObject::caseLessComp
 
class  SbUnoObject
 
class  SbUnoMethod
 
class  SbUnoProperty
 
class  SbUnoFactory
 
class  SbUnoClass
 
class  SbUnoService
 
class  SbUnoServiceCtor
 
class  SbUnoSingleton
 
class  SbUnoAnyObject
 
class  AutomationNamedArgsSbxArray
 
class  BasicCollection
 
class  VBAConstantHelper
 

Typedefs

typedef tools::SvRef< SbUnoObjectSbUnoObjectRef
 

Functions

void registerComponentToBeDisposedForBasic (const css::uno::Reference< css::lang::XComponent > &xComponent, StarBASIC *pBasic)
 
void clearUnoMethods ()
 
void clearUnoMethodsForBasic (StarBASIC const *pBasic)
 
SbUnoClassfindUnoClass (const OUString &rName)
 
SbUnoServicefindUnoService (const OUString &rName)
 
SbUnoSingletonfindUnoSingleton (const OUString &rName)
 
void RTL_Impl_CreateUnoStruct (SbxArray &rPar)
 
void RTL_Impl_CreateUnoService (SbxArray &rPar)
 
void RTL_Impl_CreateUnoServiceWithArguments (SbxArray &rPar)
 
void RTL_Impl_CreateUnoValue (SbxArray &rPar)
 
void RTL_Impl_GetProcessServiceManager (SbxArray &rPar)
 
void RTL_Impl_HasInterfaces (SbxArray &rPar)
 
void RTL_Impl_IsUnoStruct (SbxArray &rPar)
 
void RTL_Impl_EqualUnoObjects (SbxArray &rPar)
 
void RTL_Impl_GetDefaultContext (SbxArray &rPar)
 
void disposeComVariablesForBasic (StarBASIC const *pBasic)
 
void clearNativeObjectWrapperVector ()
 
SbxVariablegetDefaultProp (SbxVariable *pRef)
 
css::uno::Reference< css::uno::XInterface > createComListener (const css::uno::Any &aControlAny, const OUString &aVBAType, std::u16string_view aPrefix, const SbxObjectRef &xScopeObj)
 
bool checkUnoObjectType (SbUnoObject &refVal, const OUString &aClass)
 
SbUnoObjectcreateOLEObject_Impl (const OUString &aType)
 
bool handleToStringForCOMObjects (SbxObject *pObj, SbxValue *pVal)
 
void registerComListenerVariableForBasic (SbxVariable *pVar, StarBASIC *pBasic)
 

Typedef Documentation

◆ SbUnoObjectRef

Definition at line 145 of file sbunoobj.hxx.

Function Documentation

◆ checkUnoObjectType()

bool checkUnoObjectType ( SbUnoObject refVal,
const OUString &  aClass 
)

◆ clearNativeObjectWrapperVector()

void clearNativeObjectWrapperVector ( )

Definition at line 456 of file sbunoobj.cxx.

Referenced by SbModule::Run().

◆ clearUnoMethods()

void clearUnoMethods ( )

Definition at line 154 of file sbunoobj.cxx.

Referenced by ClearUnoObjectsInRTL_Impl().

◆ clearUnoMethodsForBasic()

void clearUnoMethodsForBasic ( StarBASIC const *  pBasic)

Definition at line 155 of file sbunoobj.cxx.

Referenced by StarBASIC::~StarBASIC().

◆ createComListener()

css::uno::Reference< css::uno::XInterface > createComListener ( const css::uno::Any aControlAny,
const OUString &  aVBAType,
std::u16string_view  aPrefix,
const SbxObjectRef xScopeObj 
)

◆ createOLEObject_Impl()

SbUnoObject * createOLEObject_Impl ( const OUString &  aType)

◆ disposeComVariablesForBasic()

void disposeComVariablesForBasic ( StarBASIC const *  pBasic)

◆ findUnoClass()

SbUnoClass * findUnoClass ( const OUString &  rName)

Definition at line 3298 of file sbunoobj.cxx.

References Any, and getTypeProvider_Impl().

Referenced by SbUnoClass::Find(), and SbiRuntime::FindElement().

◆ findUnoService()

SbUnoService * findUnoService ( const OUString &  rName)

Definition at line 3448 of file sbunoobj.cxx.

References Any, and getTypeProvider_Impl().

Referenced by SbUnoClass::Find().

◆ findUnoSingleton()

SbUnoSingleton * findUnoSingleton ( const OUString &  rName)

Definition at line 3681 of file sbunoobj.cxx.

References Any, and getTypeProvider_Impl().

Referenced by SbUnoClass::Find().

◆ getDefaultProp()

SbxVariable * getDefaultProp ( SbxVariable pRef)

◆ handleToStringForCOMObjects()

bool handleToStringForCOMObjects ( SbxObject pObj,
SbxValue pVal 
)

◆ registerComListenerVariableForBasic()

void registerComListenerVariableForBasic ( SbxVariable pVar,
StarBASIC pBasic 
)

◆ registerComponentToBeDisposedForBasic()

void registerComponentToBeDisposedForBasic ( const css::uno::Reference< css::lang::XComponent > &  xComponent,
StarBASIC pBasic 
)

◆ RTL_Impl_CreateUnoService()

void RTL_Impl_CreateUnoService ( SbxArray rPar)

◆ RTL_Impl_CreateUnoServiceWithArguments()

void RTL_Impl_CreateUnoServiceWithArguments ( SbxArray rPar)

◆ RTL_Impl_CreateUnoStruct()

void RTL_Impl_CreateUnoStruct ( SbxArray rPar)

◆ RTL_Impl_CreateUnoValue()

void RTL_Impl_CreateUnoValue ( SbxArray rPar)

◆ RTL_Impl_EqualUnoObjects()

void RTL_Impl_EqualUnoObjects ( SbxArray rPar)

◆ RTL_Impl_GetDefaultContext()

void RTL_Impl_GetDefaultContext ( SbxArray rPar)

◆ RTL_Impl_GetProcessServiceManager()

void RTL_Impl_GetProcessServiceManager ( SbxArray rPar)

◆ RTL_Impl_HasInterfaces()

void RTL_Impl_HasInterfaces ( SbxArray rPar)

◆ RTL_Impl_IsUnoStruct()

void RTL_Impl_IsUnoStruct ( SbxArray rPar)