LibreOffice Module sc (master) 1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
ScSheetEvents Class Reference

#include <sheetevents.hxx>

Public Member Functions

 ScSheetEvents ()
 
 ScSheetEvents (const ScSheetEvents &rOther)
 
 ~ScSheetEvents ()
 
ScSheetEventsoperator= (const ScSheetEvents &rOther)
 
const OUString * GetScript (ScSheetEventId nEvent) const
 
void SetScript (ScSheetEventId nEvent, const OUString *pNew)
 

Static Public Member Functions

static OUString GetEventName (ScSheetEventId nEvent)
 
static sal_Int32 GetVbaSheetEventId (ScSheetEventId nEvent)
 
static sal_Int32 GetVbaDocumentEventId (ScSheetEventId nEvent)
 

Private Member Functions

void Clear ()
 

Private Attributes

std::unique_ptr< std::optional< OUString >[]> mpScriptNames
 

Detailed Description

Definition at line 32 of file sheetevents.hxx.

Constructor & Destructor Documentation

◆ ScSheetEvents() [1/2]

ScSheetEvents::ScSheetEvents ( )

Definition at line 65 of file sheetevents.cxx.

◆ ScSheetEvents() [2/2]

ScSheetEvents::ScSheetEvents ( const ScSheetEvents rOther)

Definition at line 79 of file sheetevents.cxx.

◆ ~ScSheetEvents()

ScSheetEvents::~ScSheetEvents ( )

Definition at line 69 of file sheetevents.cxx.

References Clear().

Member Function Documentation

◆ Clear()

void ScSheetEvents::Clear ( )
private

Definition at line 74 of file sheetevents.cxx.

References mpScriptNames.

Referenced by operator=(), and ~ScSheetEvents().

◆ GetEventName()

OUString ScSheetEvents::GetEventName ( ScSheetEventId  nEvent)
static

Definition at line 24 of file sheetevents.cxx.

Referenced by ScSheetEventsObj::getElementNames(), and lcl_GetEventFromName().

◆ GetScript()

const OUString * ScSheetEvents::GetScript ( ScSheetEventId  nEvent) const

◆ GetVbaDocumentEventId()

sal_Int32 ScSheetEvents::GetVbaDocumentEventId ( ScSheetEventId  nEvent)
static

Definition at line 58 of file sheetevents.cxx.

References GetVbaSheetEventId().

Referenced by ScDocument::HasSheetEventScript().

◆ GetVbaSheetEventId()

sal_Int32 ScSheetEvents::GetVbaSheetEventId ( ScSheetEventId  nEvent)
static

◆ operator=()

ScSheetEvents & ScSheetEvents::operator= ( const ScSheetEvents rOther)

Definition at line 84 of file sheetevents.cxx.

References Clear(), COUNT, and mpScriptNames.

◆ SetScript()

void ScSheetEvents::SetScript ( ScSheetEventId  nEvent,
const OUString *  pNew 
)

Definition at line 110 of file sheetevents.cxx.

References COUNT, and mpScriptNames.

Member Data Documentation

◆ mpScriptNames

std::unique_ptr<std::optional<OUString>[]> ScSheetEvents::mpScriptNames
private

Definition at line 34 of file sheetevents.hxx.

Referenced by Clear(), GetScript(), operator=(), and SetScript().


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