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

Provides static helper functions for form controls. More...

#include <xlescher.hxx>

Static Public Member Functions

static css::uno::Reference< css::awt::XControlModel > GetControlModel (css::uno::Reference< css::drawing::XShape > const &xShape)
 Returns the API control model from the passed API shape object. More...
 
static bool FillMacroDescriptor (css::script::ScriptEventDescriptor &rDescriptor, XclTbxEventType eEventType, const OUString &rXclMacroName, SfxObjectShell *pDocShell)
 Fills the macro descriptor according to the passed macro name. More...
 
static OUString ExtractFromMacroDescriptor (const css::script::ScriptEventDescriptor &rDescriptor, XclTbxEventType eEventType)
 Tries to extract an Excel macro name from the passed macro descriptor. More...
 

Detailed Description

Provides static helper functions for form controls.

Definition at line 415 of file xlescher.hxx.

Member Function Documentation

◆ ExtractFromMacroDescriptor()

OUString XclControlHelper::ExtractFromMacroDescriptor ( const css::script::ScriptEventDescriptor &  rDescriptor,
XclTbxEventType  eEventType 
)
static

Tries to extract an Excel macro name from the passed macro descriptor.

Definition at line 324 of file xlescher.cxx.

References XclTools::GetXclMacroName().

◆ FillMacroDescriptor()

bool XclControlHelper::FillMacroDescriptor ( css::script::ScriptEventDescriptor &  rDescriptor,
XclTbxEventType  eEventType,
const OUString &  rXclMacroName,
SfxObjectShell pDocShell 
)
static

Fills the macro descriptor according to the passed macro name.

Definition at line 310 of file xlescher.cxx.

References XclTools::GetSbMacroUrl().

Referenced by XclImpTbxObjBase::FillMacroDescriptor().

◆ GetControlModel()

Reference< XControlModel > XclControlHelper::GetControlModel ( css::uno::Reference< css::drawing::XShape > const &  xShape)
static

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