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 33 of file sheetevents.hxx.

Constructor & Destructor Documentation

ScSheetEvents::ScSheetEvents ( )

Definition at line 65 of file sheetevents.cxx.

ScSheetEvents::ScSheetEvents ( const ScSheetEvents rOther)

Definition at line 79 of file sheetevents.cxx.

ScSheetEvents::~ScSheetEvents ( )

Definition at line 69 of file sheetevents.cxx.

References Clear().

Member Function Documentation

void ScSheetEvents::Clear ( )
private

Definition at line 74 of file sheetevents.cxx.

References mpScriptNames.

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

OUString ScSheetEvents::GetEventName ( ScSheetEventId  nEvent)
static

Definition at line 24 of file sheetevents.cxx.

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

const OUString * ScSheetEvents::GetScript ( ScSheetEventId  nEvent) const
sal_Int32 ScSheetEvents::GetVbaDocumentEventId ( ScSheetEventId  nEvent)
static

Definition at line 58 of file sheetevents.cxx.

References GetVbaSheetEventId().

Referenced by ScDocument::HasSheetEventScript().

sal_Int32 ScSheetEvents::GetVbaSheetEventId ( ScSheetEventId  nEvent)
static
ScSheetEvents & ScSheetEvents::operator= ( const ScSheetEvents rOther)

Definition at line 84 of file sheetevents.cxx.

References Clear(), COUNT, and mpScriptNames.

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

Definition at line 110 of file sheetevents.cxx.

References COUNT, and mpScriptNames.

Member Data Documentation

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

Definition at line 35 of file sheetevents.hxx.

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


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