LibreOffice Module basic (master) 1
Classes | Typedefs | Functions
sbxmod.cxx File Reference
#include <utility>
#include <vcl/svapp.hxx>
#include <tools/stream.hxx>
#include <comphelper/diagnose_ex.hxx>
#include <svl/SfxBroadcaster.hxx>
#include <basic/codecompletecache.hxx>
#include <basic/sbx.hxx>
#include <basic/sbuno.hxx>
#include <sbjsmeth.hxx>
#include <sbjsmod.hxx>
#include <sbintern.hxx>
#include <sbprop.hxx>
#include <image.hxx>
#include <opcodes.hxx>
#include <runtime.hxx>
#include <token.hxx>
#include <sbunoobj.hxx>
#include <sal/log.hxx>
#include <basic/sberrors.hxx>
#include <sbobjmod.hxx>
#include <basic/vbahelper.hxx>
#include <comphelper/sequence.hxx>
#include <cppuhelper/implbase.hxx>
#include <unotools/eventcfg.hxx>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/script/ModuleType.hpp>
#include <com/sun/star/script/vba/XVBACompatibility.hpp>
#include <com/sun/star/script/vba/VBAScriptEventId.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/document/XDocumentEventBroadcaster.hpp>
#include <com/sun/star/document/XDocumentEventListener.hpp>
#include <sys/resource.h>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <comphelper/processfactory.hxx>
#include <comphelper/asyncquithandler.hxx>
#include <map>
#include <com/sun/star/reflection/ProxyFactory.hpp>
#include <com/sun/star/uno/XAggregation.hpp>
#include <com/sun/star/script/XInvocation.hpp>
#include <com/sun/star/awt/DialogProvider.hpp>
#include <com/sun/star/awt/XTopWindow.hpp>
#include <com/sun/star/awt/XWindow.hpp>
#include <ooo/vba/VbQueryClose.hpp>
#include <memory>
#include <sbxmod.hxx>
#include <parser.hxx>
#include <limits>
Include dependency graph for sbxmod.cxx:

Go to the source code of this file.

Classes

class  FormObjEventListenerImpl
 

Typedefs

typedef ::cppu::WeakImplHelper< XInvocation > DocObjectWrapper_BASE
 
typedef std::map< sal_Int16, Any > OutParamMap
 
typedef ::cppu::WeakImplHelper< awt::XTopWindowListener, awt::XWindowListener, document::XDocumentEventListener > FormObjEventListener_BASE
 

Functions

uno::Reference< frame::XModel > getDocumentModel (StarBASIC *pb)
 
static uno::Reference< vba::XVBACompatibility > getVBACompatibility (const uno::Reference< frame::XModel > &rxModel)
 
static bool getDefaultVBAMode (StarBASIC *pb)
 
static void SendHint_ (SbxObject *pObj, SfxHintId nId, SbMethod *p)
 
static void SendHint (SbxObject *pObj, SfxHintId nId, SbMethod *p)
 
static void ClearUnoObjectsInRTL_Impl_Rek (StarBASIC *pBasic)
 
static void ClearUnoObjectsInRTL_Impl (StarBASIC *pBasic)
 
 IMPL_LINK (ErrorHdlResetter, BasicErrorHdl, StarBASIC *,, bool)
 

Typedef Documentation

◆ DocObjectWrapper_BASE

typedef ::cppu::WeakImplHelper< XInvocation > DocObjectWrapper_BASE

Definition at line 84 of file sbxmod.cxx.

◆ FormObjEventListener_BASE

typedef ::cppu::WeakImplHelper< awt::XTopWindowListener, awt::XWindowListener, document::XDocumentEventListener > FormObjEventListener_BASE

Definition at line 2205 of file sbxmod.cxx.

◆ OutParamMap

typedef std::map< sal_Int16, Any > OutParamMap

Definition at line 85 of file sbxmod.cxx.

Function Documentation

◆ ClearUnoObjectsInRTL_Impl()

static void ClearUnoObjectsInRTL_Impl ( StarBASIC pBasic)
static

Definition at line 962 of file sbxmod.cxx.

References clearUnoMethods(), ClearUnoObjectsInRTL_Impl_Rek(), and p.

Referenced by SbModule::Run().

◆ ClearUnoObjectsInRTL_Impl_Rek()

static void ClearUnoObjectsInRTL_Impl_Rek ( StarBASIC pBasic)
static

◆ getDefaultVBAMode()

static bool getDefaultVBAMode ( StarBASIC pb)
static

Definition at line 407 of file sbxmod.cxx.

References getDocumentModel(), getVBACompatibility(), and xModel.

Referenced by SbModule::SetSource32().

◆ getDocumentModel()

uno::Reference< frame::XModel > getDocumentModel ( StarBASIC pb)

◆ getVBACompatibility()

static uno::Reference< vba::XVBACompatibility > getVBACompatibility ( const uno::Reference< frame::XModel > &  rxModel)
static

Definition at line 393 of file sbxmod.cxx.

Referenced by getDefaultVBAMode(), SbUserFormModule::InitObject(), and SbModule::Run().

◆ IMPL_LINK()

IMPL_LINK ( ErrorHdlResetter  ,
BasicErrorHdl  ,
StarBASIC ,
bool   
)

Definition at line 1702 of file sbxmod.cxx.

References mbError.

◆ SendHint()

static void SendHint ( SbxObject pObj,
SfxHintId  nId,
SbMethod p 
)
static

Definition at line 913 of file sbxmod.cxx.

References SbxVariable::GetParent(), nId, p, and SendHint_().

Referenced by SbModule::Run().

◆ SendHint_()

static void SendHint_ ( SbxObject pObj,
SfxHintId  nId,
SbMethod p 
)
static