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

#include <vbauserform.hxx>

Inheritance diagram for ScVbaUserForm:
[legend]
Collaboration diagram for ScVbaUserForm:
[legend]

Public Member Functions

 ScVbaUserForm (css::uno::Sequence< css::uno::Any > const &aArgs, css::uno::Reference< css::uno::XComponentContext >const &xContext)
 
virtual ~ScVbaUserForm () override
 
virtual void SAL_CALL RePaint () override
 
virtual void SAL_CALL Show () override
 
virtual void SAL_CALL setValue (const OUString &aPropertyName, const css::uno::Any &aValue) override
 
virtual css::uno::Any SAL_CALL getValue (const OUString &aPropertyName) override
 
virtual OUString SAL_CALL getCaption () override
 
virtual void SAL_CALL setCaption (const OUString &_caption) override
 
virtual double SAL_CALL getInnerWidth () override
 
virtual void SAL_CALL setInnerWidth (double fInnerWidth) override
 
virtual double SAL_CALL getInnerHeight () override
 
virtual void SAL_CALL setInnerHeight (double fInnerHeight) override
 
virtual void SAL_CALL Hide () override
 
virtual void SAL_CALL UnloadObject () override
 
virtual css::uno::Any SAL_CALL Controls (const css::uno::Any &index) override
 
virtual sal_Bool SAL_CALL getVisible () override
 
virtual void SAL_CALL setVisible (sal_Bool bVis) override
 
virtual css::uno::Reference< css::beans::XIntrospectionAccess > SAL_CALL getIntrospection () override
 
virtual css::uno::Any SAL_CALL invoke (const OUString &aFunctionName, const css::uno::Sequence< css::uno::Any > &aParams, css::uno::Sequence< ::sal_Int16 > &aOutParamIndex, css::uno::Sequence< css::uno::Any > &aOutParam) override
 
virtual sal_Bool SAL_CALL hasMethod (const OUString &aName) override
 
virtual sal_Bool SAL_CALL hasProperty (const OUString &aName) override
 
virtual OUString getServiceImplName () override
 
virtual css::uno::Sequence< OUString > getServiceNames () override
 

Static Public Member Functions

static css::uno::Reference< css::awt::XControl > nestedSearch (const OUString &aPropertyName, css::uno::Reference< css::awt::XControlContainer > const &xContainer)
 

Private Attributes

css::uno::Reference< css::awt::XDialog > m_xDialog
 
bool mbDispose
 
OUString m_sLibName
 

Detailed Description

Definition at line 32 of file vbauserform.hxx.

Constructor & Destructor Documentation

◆ ScVbaUserForm()

ScVbaUserForm::ScVbaUserForm ( css::uno::Sequence< css::uno::Any > const &  aArgs,
css::uno::Reference< css::uno::XComponentContext >const &  xContext 
)
Exceptions
css::lang::IllegalArgumentException
css::uno::RuntimeException

Definition at line 44 of file vbauserform.cxx.

References m_sLibName, m_xControl, m_xDialog, and m_xProps.

◆ ~ScVbaUserForm()

ScVbaUserForm::~ScVbaUserForm ( )
overridevirtual

Definition at line 56 of file vbauserform.cxx.

Member Function Documentation

◆ Controls()

uno::Any SAL_CALL ScVbaUserForm::Controls ( const css::uno::Any &  index)
overridevirtual

Definition at line 273 of file vbauserform.cxx.

References index, m_xDialog, m_xModel, and mxContext.

◆ getCaption()

OUString SAL_CALL ScVbaUserForm::getCaption ( )
overridevirtual

Definition at line 104 of file vbauserform.cxx.

References m_xProps.

◆ getInnerHeight()

double SAL_CALL ScVbaUserForm::getInnerHeight ( )
overridevirtual

Definition at line 143 of file vbauserform.cxx.

◆ getInnerWidth()

double SAL_CALL ScVbaUserForm::getInnerWidth ( )
overridevirtual

Definition at line 133 of file vbauserform.cxx.

◆ getIntrospection()

uno::Reference< beans::XIntrospectionAccess > SAL_CALL ScVbaUserForm::getIntrospection ( )
overridevirtual

Definition at line 189 of file vbauserform.cxx.

◆ getServiceImplName()

OUString ScVbaUserForm::getServiceImplName ( )
overridevirtual

Definition at line 177 of file vbauserform.cxx.

◆ getServiceNames()

uno::Sequence< OUString > ScVbaUserForm::getServiceNames ( )
overridevirtual

Definition at line 183 of file vbauserform.cxx.

◆ getValue()

uno::Any SAL_CALL ScVbaUserForm::getValue ( const OUString &  aPropertyName)
overridevirtual

◆ getVisible()

sal_Bool SAL_CALL ScVbaUserForm::getVisible ( )
overridevirtual

Definition at line 117 of file vbauserform.cxx.

References m_xDialog.

◆ hasMethod()

sal_Bool SAL_CALL ScVbaUserForm::hasMethod ( const OUString &  aName)
overridevirtual

Definition at line 268 of file vbauserform.cxx.

◆ hasProperty()

sal_Bool SAL_CALL ScVbaUserForm::hasProperty ( const OUString &  aName)
overridevirtual

Definition at line 285 of file vbauserform.cxx.

References aName, m_xDialog, and SAL_INFO.

◆ Hide()

void SAL_CALL ScVbaUserForm::Hide ( )
overridevirtual

Definition at line 154 of file vbauserform.cxx.

References m_xDialog, and mbDispose.

Referenced by setVisible().

◆ invoke()

uno::Any SAL_CALL ScVbaUserForm::invoke ( const OUString &  aFunctionName,
const css::uno::Sequence< css::uno::Any > &  aParams,
css::uno::Sequence< ::sal_Int16 > &  aOutParamIndex,
css::uno::Sequence< css::uno::Any > &  aOutParam 
)
overridevirtual

Definition at line 195 of file vbauserform.cxx.

◆ nestedSearch()

uno::Reference< awt::XControl > ScVbaUserForm::nestedSearch ( const OUString &  aPropertyName,
css::uno::Reference< css::awt::XControlContainer > const &  xContainer 
)
static

Definition at line 221 of file vbauserform.cxx.

References nestedSearch().

Referenced by getValue(), and nestedSearch().

◆ RePaint()

void SAL_CALL ScVbaUserForm::RePaint ( )
overridevirtual

Definition at line 162 of file vbauserform.cxx.

◆ setCaption()

void ScVbaUserForm::setCaption ( const OUString &  _caption)
overridevirtual

Definition at line 111 of file vbauserform.cxx.

References m_xProps.

◆ setInnerHeight()

void SAL_CALL ScVbaUserForm::setInnerHeight ( double  fInnerHeight)
overridevirtual

Definition at line 148 of file vbauserform.cxx.

◆ setInnerWidth()

void SAL_CALL ScVbaUserForm::setInnerWidth ( double  fInnerWidth)
overridevirtual

Definition at line 138 of file vbauserform.cxx.

◆ setValue()

void SAL_CALL ScVbaUserForm::setValue ( const OUString &  aPropertyName,
const css::uno::Any &  aValue 
)
overridevirtual

◆ setVisible()

void SAL_CALL ScVbaUserForm::setVisible ( sal_Bool  bVis)
overridevirtual

Definition at line 125 of file vbauserform.cxx.

References Hide(), and Show().

◆ Show()

void SAL_CALL ScVbaUserForm::Show ( )
overridevirtual

Definition at line 61 of file vbauserform.cxx.

References m_xDialog, m_xModel, mbDispose, SAL_INFO, xController, and xFrame.

Referenced by setVisible().

◆ UnloadObject()

void SAL_CALL ScVbaUserForm::UnloadObject ( )
overridevirtual

Definition at line 169 of file vbauserform.cxx.

References m_xDialog, and mbDispose.

Member Data Documentation

◆ m_sLibName

OUString ScVbaUserForm::m_sLibName
private

Definition at line 37 of file vbauserform.hxx.

Referenced by getValue(), and ScVbaUserForm().

◆ m_xDialog

css::uno::Reference< css::awt::XDialog > ScVbaUserForm::m_xDialog
private

◆ mbDispose

bool ScVbaUserForm::mbDispose
private

Definition at line 36 of file vbauserform.hxx.

Referenced by Hide(), Show(), and UnloadObject().


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