LibreOffice Module basic (master) 1
Classes | Functions | Variables
sb.cxx File Reference
#include <sb.hxx>
#include <o3tl/safeint.hxx>
#include <rtl/ustrbuf.hxx>
#include <tools/stream.hxx>
#include <tools/debug.hxx>
#include <vcl/errinf.hxx>
#include <comphelper/solarmutex.hxx>
#include <basic/sbx.hxx>
#include <vcl/svapp.hxx>
#include <comphelper/processfactory.hxx>
#include <image.hxx>
#include <sbunoobj.hxx>
#include <sbjsmeth.hxx>
#include <sbjsmod.hxx>
#include <sbintern.hxx>
#include <runtime.hxx>
#include <basic/sberrors.hxx>
#include <basic/sbuno.hxx>
#include <sbprop.hxx>
#include <sbobjmod.hxx>
#include <stdobj.hxx>
#include <basic.hrc>
#include <cppuhelper/implbase.hxx>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/util/XCloseBroadcaster.hpp>
#include <com/sun/star/util/XCloseListener.hpp>
#include <sal/log.hxx>
#include <errobject.hxx>
#include <memory>
#include <unordered_map>
#include <com/sun/star/script/ModuleType.hpp>
#include <com/sun/star/script/ModuleInfo.hpp>
#include <strings.hrc>
Include dependency graph for sb.cxx:

Go to the source code of this file.

Classes

class  DocBasicItem
 
struct  ClassModuleRunInitItem
 
class  ModuleInitDependencyMap
 

Functions

SbxObjectRef cloneTypeObjectImpl (const SbxObject &rTypeObj)
 
SbxObjectRef createUserTypeImpl (const OUString &rClassName)
 

Variables

constexpr OUStringLiteral SB_RTLNAME = u"@SBRTL"
 
const SFX_VB_ErrorItem SFX_VB_ErrorTab []
 
constexpr OUStringLiteral pCountStr = u"Count"
 
constexpr OUStringLiteral pAddStr = u"Add"
 
constexpr OUStringLiteral pItemStr = u"Item"
 
constexpr OUStringLiteral pRemoveStr = u"Remove"
 
constexpr sal_uInt16 nCountHash = SbxVariable::MakeHashCode(pCountStr)
 
constexpr sal_uInt16 nAddHash = SbxVariable::MakeHashCode(pAddStr)
 
constexpr sal_uInt16 nItemHash = SbxVariable::MakeHashCode(pItemStr)
 
constexpr sal_uInt16 nRemoveHash = SbxVariable::MakeHashCode(pRemoveStr)
 

Function Documentation

◆ cloneTypeObjectImpl()

SbxObjectRef cloneTypeObjectImpl ( const SbxObject rTypeObj)

Definition at line 520 of file sb.cxx.

Referenced by SbTypeFactory::CreateObject(), SbiParser::DefType(), and SbiImage::Load().

◆ createUserTypeImpl()

SbxObjectRef createUserTypeImpl ( const OUString &  rClassName)

Definition at line 600 of file sb.cxx.

References GetSbData().

Referenced by SbiRuntime::StepTCREATE().

Variable Documentation

◆ nAddHash

constexpr sal_uInt16 nAddHash = SbxVariable::MakeHashCode(pAddStr)
constexpr

Definition at line 1948 of file sb.cxx.

Referenced by BasicCollection::Notify().

◆ nCountHash

constexpr sal_uInt16 nCountHash = SbxVariable::MakeHashCode(pCountStr)
constexpr

Definition at line 1947 of file sb.cxx.

Referenced by BasicCollection::Notify().

◆ nItemHash

constexpr sal_uInt16 nItemHash = SbxVariable::MakeHashCode(pItemStr)
constexpr

Definition at line 1949 of file sb.cxx.

Referenced by BasicCollection::Notify().

◆ nRemoveHash

constexpr sal_uInt16 nRemoveHash = SbxVariable::MakeHashCode(pRemoveStr)
constexpr

Definition at line 1950 of file sb.cxx.

Referenced by BasicCollection::Notify().

◆ pAddStr

constexpr OUStringLiteral pAddStr = u"Add"
constexpr

Definition at line 1944 of file sb.cxx.

Referenced by BasicCollection::Initialize(), and BasicCollection::Notify().

◆ pCountStr

constexpr OUStringLiteral pCountStr = u"Count"
constexpr

Definition at line 1943 of file sb.cxx.

Referenced by BasicCollection::Initialize(), and BasicCollection::Notify().

◆ pItemStr

constexpr OUStringLiteral pItemStr = u"Item"
constexpr

Definition at line 1945 of file sb.cxx.

Referenced by BasicCollection::Initialize(), and BasicCollection::Notify().

◆ pRemoveStr

constexpr OUStringLiteral pRemoveStr = u"Remove"
constexpr

Definition at line 1946 of file sb.cxx.

Referenced by BasicCollection::Initialize(), and BasicCollection::Notify().

◆ SB_RTLNAME

constexpr OUStringLiteral SB_RTLNAME = u"@SBRTL"
constexpr

Definition at line 58 of file sb.cxx.

Referenced by StarBASIC::Find(), and StarBASIC::StarBASIC().

◆ SFX_VB_ErrorTab

const SFX_VB_ErrorItem SFX_VB_ErrorTab[]

Definition at line 284 of file sb.cxx.

Referenced by StarBASIC::GetSfxFromVBError(), and StarBASIC::GetVBErrorCode().