LibreOffice Module basic (master) 1
Public Member Functions | Private Attributes | List of all members
DocBasicItem Class Reference
Inheritance diagram for DocBasicItem:
[legend]
Collaboration diagram for DocBasicItem:
[legend]

Public Member Functions

 DocBasicItem (StarBASIC &rDocBasic)
 
virtual ~DocBasicItem () override
 
const SbxObjectRefgetClassModules () const
 
bool isDocClosed () const
 
void clearDependingVarsOnDelete (StarBASIC &rDeletedBasic)
 
void startListening ()
 
void stopListening ()
 
void setDisposed (bool bDisposed)
 
virtual void SAL_CALL queryClosing (const lang::EventObject &rSource, sal_Bool bGetsOwnership) override
 
virtual void SAL_CALL notifyClosing (const lang::EventObject &rSource) override
 
virtual void SAL_CALL disposing (const lang::EventObject &rSource) override
 

Private Attributes

StarBASICmrDocBasic
 
SbxObjectRef mxClassModules
 
bool mbDocClosed
 
bool mbDisposed
 

Detailed Description

Definition at line 68 of file sb.cxx.

Constructor & Destructor Documentation

◆ DocBasicItem()

DocBasicItem::DocBasicItem ( StarBASIC rDocBasic)
explicit

Definition at line 99 of file sb.cxx.

◆ ~DocBasicItem()

DocBasicItem::~DocBasicItem ( )
overridevirtual

Member Function Documentation

◆ clearDependingVarsOnDelete()

void DocBasicItem::clearDependingVarsOnDelete ( StarBASIC rDeletedBasic)

Definition at line 131 of file sb.cxx.

References StarBASIC::implClearDependingVarsOnDelete(), and mrDocBasic.

◆ disposing()

void SAL_CALL DocBasicItem::disposing ( const lang::EventObject &  rSource)
overridevirtual

Definition at line 173 of file sb.cxx.

References stopListening().

◆ getClassModules()

const SbxObjectRef & DocBasicItem::getClassModules ( ) const
inline

Definition at line 74 of file sb.cxx.

References mxClassModules.

◆ isDocClosed()

bool DocBasicItem::isDocClosed ( ) const
inline

Definition at line 75 of file sb.cxx.

References mbDocClosed.

◆ notifyClosing()

void SAL_CALL DocBasicItem::notifyClosing ( const lang::EventObject &  rSource)
overridevirtual

Definition at line 167 of file sb.cxx.

References mbDocClosed, and stopListening().

◆ queryClosing()

void SAL_CALL DocBasicItem::queryClosing ( const lang::EventObject &  rSource,
sal_Bool  bGetsOwnership 
)
overridevirtual

Definition at line 163 of file sb.cxx.

◆ setDisposed()

void DocBasicItem::setDisposed ( bool  bDisposed)
inline

Definition at line 82 of file sb.cxx.

References mbDisposed.

◆ startListening()

void DocBasicItem::startListening ( )

Definition at line 136 of file sb.cxx.

References Any, StarBASIC::GetUNOConstant(), mbDisposed, and mrDocBasic.

◆ stopListening()

void DocBasicItem::stopListening ( )

Definition at line 148 of file sb.cxx.

References Any, StarBASIC::GetUNOConstant(), mbDisposed, and mrDocBasic.

Referenced by disposing(), notifyClosing(), and ~DocBasicItem().

Member Data Documentation

◆ mbDisposed

bool DocBasicItem::mbDisposed
private

Definition at line 95 of file sb.cxx.

Referenced by setDisposed(), startListening(), and stopListening().

◆ mbDocClosed

bool DocBasicItem::mbDocClosed
private

Definition at line 94 of file sb.cxx.

Referenced by isDocClosed(), and notifyClosing().

◆ mrDocBasic

StarBASIC& DocBasicItem::mrDocBasic
private

Definition at line 92 of file sb.cxx.

Referenced by clearDependingVarsOnDelete(), startListening(), and stopListening().

◆ mxClassModules

SbxObjectRef DocBasicItem::mxClassModules
private

Definition at line 93 of file sb.cxx.

Referenced by getClassModules(), and ~DocBasicItem().


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