|
LibreOffice Module sc (master) 1
|
#include <sheetevents.hxx>
Public Member Functions | |
| ScSheetEvents () | |
| ScSheetEvents (const ScSheetEvents &rOther) | |
| ~ScSheetEvents () | |
| ScSheetEvents & | operator= (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 |
Definition at line 32 of file sheetevents.hxx.
| 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().
|
private |
Definition at line 74 of file sheetevents.cxx.
References mpScriptNames.
Referenced by operator=(), and ~ScSheetEvents().
|
static |
Definition at line 24 of file sheetevents.cxx.
Referenced by ScSheetEventsObj::getElementNames(), and lcl_GetEventFromName().
| const OUString * ScSheetEvents::GetScript | ( | ScSheetEventId | nEvent | ) | const |
Definition at line 99 of file sheetevents.cxx.
References mpScriptNames.
Referenced by ScSheetEventsObj::getByName(), ScDocument::HasSheetEventScript(), lcl_CallActivate(), ScTabViewObj::MousePressed(), ScModelObj::NotifyChanges(), and ScTabViewObj::SelectionChanged().
|
static |
Definition at line 58 of file sheetevents.cxx.
References GetVbaSheetEventId().
Referenced by ScDocument::HasSheetEventScript().
|
static |
Definition at line 39 of file sheetevents.cxx.
Referenced by GetVbaDocumentEventId(), ScModelObj::HandleCalculateEvents(), ScDocument::HasSheetEventScript(), lcl_CallActivate(), ScTabViewObj::MousePressed(), ScTabViewObj::MouseReleased(), and ScTabViewObj::SelectionChanged().
| 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.
|
private |
Definition at line 34 of file sheetevents.hxx.
Referenced by Clear(), GetScript(), operator=(), and SetScript().