LibreOffice Module basic (master) 1
|
#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>
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 ::cppu::WeakImplHelper< XInvocation > DocObjectWrapper_BASE |
Definition at line 84 of file sbxmod.cxx.
typedef ::cppu::WeakImplHelper< awt::XTopWindowListener, awt::XWindowListener, document::XDocumentEventListener > FormObjEventListener_BASE |
Definition at line 2205 of file sbxmod.cxx.
typedef std::map< sal_Int16, Any > OutParamMap |
Definition at line 85 of file sbxmod.cxx.
|
static |
Definition at line 962 of file sbxmod.cxx.
References clearUnoMethods(), ClearUnoObjectsInRTL_Impl_Rek(), and p.
Referenced by SbModule::Run().
|
static |
Definition at line 922 of file sbxmod.cxx.
References ClearUnoObjectsInRTL_Impl_Rek(), SbxArray::Count(), SbxObject::Find(), SbxArray::Get(), SbxObject::GetObjects(), StarBASIC::GetRtl(), i, Method, and nCount.
Referenced by ClearUnoObjectsInRTL_Impl(), and ClearUnoObjectsInRTL_Impl_Rek().
|
static |
Definition at line 407 of file sbxmod.cxx.
References getDocumentModel(), getVBACompatibility(), and xModel.
Referenced by SbModule::SetSource32().
uno::Reference< frame::XModel > getDocumentModel | ( | StarBASIC * | pb | ) |
Definition at line 381 of file sbxmod.cxx.
References StarBASIC::GetUNOConstant(), StarBASIC::IsDocBasic(), and xModel.
Referenced by getDefaultVBAMode(), SbModule::Run(), and SbModule::SetVBASupport().
|
static |
Definition at line 393 of file sbxmod.cxx.
Referenced by getDefaultVBAMode(), SbUserFormModule::InitObject(), and SbModule::Run().
IMPL_LINK | ( | ErrorHdlResetter | , |
BasicErrorHdl | , | ||
StarBASIC * | , | ||
bool | |||
) |
Definition at line 1702 of file sbxmod.cxx.
References mbError.
Definition at line 913 of file sbxmod.cxx.
References SbxVariable::GetParent(), nId, p, and SendHint_().
Referenced by SbModule::Run().
Definition at line 898 of file sbxmod.cxx.
References SfxBroadcaster::Broadcast(), SbxArray::Count(), SbxArray::Get(), SbxVariable::GetBroadcaster(), SbxObject::GetObjects(), i, SbxVariable::IsBroadcaster(), nId, p, and SendHint_().
Referenced by SendHint(), and SendHint_().