LibreOffice Module sc (master) 1
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ScVbaControlObjectBase Class Reference

#include <vbasheetobject.hxx>

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

Public Member Functions

 ScVbaControlObjectBase (const css::uno::Reference< ov::XHelperInterface > &rxParent, const css::uno::Reference< css::uno::XComponentContext > &rxContext, const css::uno::Reference< css::frame::XModel > &rxModel, const css::uno::Reference< css::container::XIndexContainer > &rxFormIC, const css::uno::Reference< css::drawing::XControlShape > &rxControlShape)
 
virtual OUString SAL_CALL getName () override
 
virtual void SAL_CALL setName (const OUString &rName) override
 
virtual OUString SAL_CALL getOnAction () override
 
virtual void SAL_CALL setOnAction (const OUString &rMacroName) override
 
virtual sal_Bool SAL_CALL getPrintObject () override
 
virtual void SAL_CALL setPrintObject (sal_Bool bPrintObject) override
 
virtual sal_Bool SAL_CALL getAutoSize () override
 
virtual void SAL_CALL setAutoSize (sal_Bool bAutoSize) override
 
void NotifyMacroEventRead ()
 Notify that the document contains a macro event handler. More...
 

Protected Member Functions

sal_Int32 getModelIndexInForm () const
 

Protected Attributes

css::uno::Reference< css::container::XIndexContainer > mxFormIC
 
css::uno::Reference< css::beans::XPropertySetmxControlProps
 
bool mbNotifyMacroEventRead
 

Detailed Description

Definition at line 132 of file vbasheetobject.hxx.

Constructor & Destructor Documentation

◆ ScVbaControlObjectBase()

ScVbaControlObjectBase::ScVbaControlObjectBase ( const css::uno::Reference< ov::XHelperInterface > &  rxParent,
const css::uno::Reference< css::uno::XComponentContext > &  rxContext,
const css::uno::Reference< css::frame::XModel > &  rxModel,
const css::uno::Reference< css::container::XIndexContainer > &  rxFormIC,
const css::uno::Reference< css::drawing::XControlShape > &  rxControlShape 
)
explicit
Exceptions
css::uno::RuntimeException

Definition at line 304 of file vbasheetobject.cxx.

References Reference.

Member Function Documentation

◆ getAutoSize()

sal_Bool SAL_CALL ScVbaControlObjectBase::getAutoSize ( )
overridevirtual

Definition at line 392 of file vbasheetobject.cxx.

◆ getModelIndexInForm()

sal_Int32 ScVbaControlObjectBase::getModelIndexInForm ( ) const
protected
Exceptions
css::uno::RuntimeException

Definition at line 405 of file vbasheetobject.cxx.

References mxControlProps, mxFormIC, nCount, and nIndex.

Referenced by getOnAction(), and setOnAction().

◆ getName()

OUString SAL_CALL ScVbaControlObjectBase::getName ( )
overridevirtual

Definition at line 319 of file vbasheetobject.cxx.

References mxControlProps.

◆ getOnAction()

OUString SAL_CALL ScVbaControlObjectBase::getOnAction ( )
overridevirtual

Definition at line 329 of file vbasheetobject.cxx.

References extractMacroName(), getModelIndexInForm(), mxFormIC, and nIndex.

◆ getPrintObject()

sal_Bool SAL_CALL ScVbaControlObjectBase::getPrintObject ( )
overridevirtual

Definition at line 380 of file vbasheetobject.cxx.

References mxControlProps.

◆ NotifyMacroEventRead()

void ScVbaControlObjectBase::NotifyMacroEventRead ( )

Notify that the document contains a macro event handler.

Definition at line 348 of file vbasheetobject.cxx.

References mbNotifyMacroEventRead, mxModel, and comphelper::DocumentInfo::notifyMacroEventRead().

Referenced by setOnAction().

◆ setAutoSize()

void SAL_CALL ScVbaControlObjectBase::setAutoSize ( sal_Bool  bAutoSize)
overridevirtual

Definition at line 398 of file vbasheetobject.cxx.

◆ setName()

void SAL_CALL ScVbaControlObjectBase::setName ( const OUString &  rName)
overridevirtual

Definition at line 324 of file vbasheetobject.cxx.

References mxControlProps.

◆ setOnAction()

void SAL_CALL ScVbaControlObjectBase::setOnAction ( const OUString &  rMacroName)
overridevirtual

◆ setPrintObject()

void SAL_CALL ScVbaControlObjectBase::setPrintObject ( sal_Bool  bPrintObject)
overridevirtual

Definition at line 385 of file vbasheetobject.cxx.

References mxControlProps.

Member Data Documentation

◆ mbNotifyMacroEventRead

bool ScVbaControlObjectBase::mbNotifyMacroEventRead
protected

Definition at line 165 of file vbasheetobject.hxx.

Referenced by NotifyMacroEventRead().

◆ mxControlProps

css::uno::Reference< css::beans::XPropertySet > ScVbaControlObjectBase::mxControlProps
protected

◆ mxFormIC

css::uno::Reference< css::container::XIndexContainer > ScVbaControlObjectBase::mxFormIC
protected

Definition at line 163 of file vbasheetobject.hxx.

Referenced by getModelIndexInForm(), getOnAction(), and setOnAction().


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