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 133 of file vbasheetobject.hxx.

Constructor & Destructor Documentation

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 294 of file vbasheetobject.cxx.

References Reference.

Member Function Documentation

sal_Bool SAL_CALL ScVbaControlObjectBase::getAutoSize ( )
overridevirtual

Definition at line 383 of file vbasheetobject.cxx.

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

Definition at line 396 of file vbasheetobject.cxx.

References mxControlProps, mxFormIC, nCount, and nIndex.

Referenced by getOnAction(), and setOnAction().

OUString SAL_CALL ScVbaControlObjectBase::getName ( )
overridevirtual

Definition at line 309 of file vbasheetobject.cxx.

References mxControlProps.

OUString SAL_CALL ScVbaControlObjectBase::getOnAction ( )
overridevirtual
sal_Bool SAL_CALL ScVbaControlObjectBase::getPrintObject ( )
overridevirtual

Definition at line 371 of file vbasheetobject.cxx.

References mxControlProps.

void ScVbaControlObjectBase::NotifyMacroEventRead ( )

Notify that the document contains a macro event handler.

Definition at line 339 of file vbasheetobject.cxx.

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

Referenced by setOnAction().

void SAL_CALL ScVbaControlObjectBase::setAutoSize ( sal_Bool  bAutoSize)
overridevirtual

Definition at line 389 of file vbasheetobject.cxx.

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

Definition at line 314 of file vbasheetobject.cxx.

References mxControlProps.

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

Definition at line 376 of file vbasheetobject.cxx.

References mxControlProps.

Member Data Documentation

bool ScVbaControlObjectBase::mbNotifyMacroEventRead
protected

Definition at line 166 of file vbasheetobject.hxx.

Referenced by NotifyMacroEventRead().

css::uno::Reference< css::beans::XPropertySet > ScVbaControlObjectBase::mxControlProps
protected
css::uno::Reference< css::container::XIndexContainer > ScVbaControlObjectBase::mxFormIC
protected

Definition at line 164 of file vbasheetobject.hxx.

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


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