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 416 of file xlescher.hxx.

Member Function Documentation

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 330 of file xlescher.cxx.

References XclTools::GetXclMacroName().

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 316 of file xlescher.cxx.

References XclTools::GetSbMacroUrl().

Referenced by XclImpTbxObjBase::FillMacroDescriptor().

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

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