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

#include <vbavalidation.hxx>

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

Public Member Functions

 ScVbaValidation (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext, css::uno::Reference< css::table::XCellRange > xRange)
 
virtual sal_Bool SAL_CALL getIgnoreBlank () override
 
virtual void SAL_CALL setIgnoreBlank (sal_Bool _ignoreblank) override
 
virtual sal_Bool SAL_CALL getInCellDropdown () override
 
virtual void SAL_CALL setInCellDropdown (sal_Bool _incelldropdown) override
 
virtual sal_Bool SAL_CALL getShowInput () override
 
virtual void SAL_CALL setShowInput (sal_Bool _showinput) override
 
virtual sal_Bool SAL_CALL getShowError () override
 
virtual void SAL_CALL setShowError (sal_Bool _showerror) override
 
virtual OUString SAL_CALL getInputTitle () override
 
virtual void SAL_CALL setInputTitle (const OUString &_inputtitle) override
 
virtual OUString SAL_CALL getErrorTitle () override
 
virtual void SAL_CALL setErrorTitle (const OUString &_errortitle) override
 
virtual OUString SAL_CALL getInputMessage () override
 
virtual void SAL_CALL setInputMessage (const OUString &_inputmessage) override
 
virtual OUString SAL_CALL getErrorMessage () override
 
virtual void SAL_CALL setErrorMessage (const OUString &_errormessage) override
 
virtual OUString SAL_CALL getFormula1 () override
 
virtual OUString SAL_CALL getFormula2 () override
 
virtual sal_Int32 SAL_CALL getType () override
 
virtual void SAL_CALL Delete () override
 
virtual void SAL_CALL Add (const css::uno::Any &Type, const css::uno::Any &AlertStyle, const css::uno::Any &Operator, const css::uno::Any &Formula1, const css::uno::Any &Formula2) override
 
virtual OUString getServiceImplName () override
 
virtual css::uno::Sequence< OUString > getServiceNames () override
 
- Public Member Functions inherited from InheritedHelperInterfaceWeakImpl< typename... Ifc >
 InheritedHelperInterfaceWeakImpl (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext)
 
- Public Member Functions inherited from InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > >
 InheritedHelperInterfaceImpl (const css::uno::Reference< ov::XHelperInterface > &xParent, css::uno::Reference< css::uno::XComponentContext > xContext)
 
virtual OUString getServiceImplName ()=0
 
virtual css::uno::Sequence< OUString > getServiceNames ()=0
 
virtual ::sal_Int32 SAL_CALL getCreator () override
 
virtual css::uno::Reference< ov::XHelperInterface > SAL_CALL getParent () override
 
virtual css::uno::Any SAL_CALL Application () override
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &ServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 

Private Attributes

css::uno::Reference< css::table::XCellRange > m_xRange
 

Additional Inherited Members

- Protected Attributes inherited from InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > >
css::uno::WeakReference< ov::XHelperInterface > mxParent
 
css::uno::Reference< css::uno::XComponentContext > mxContext
 

Detailed Description

Definition at line 30 of file vbavalidation.hxx.

Constructor & Destructor Documentation

◆ ScVbaValidation()

ScVbaValidation::ScVbaValidation ( const css::uno::Reference< ov::XHelperInterface > &  xParent,
const css::uno::Reference< css::uno::XComponentContext > &  xContext,
css::uno::Reference< css::table::XCellRange >  xRange 
)
inline

Definition at line 35 of file vbavalidation.hxx.

Member Function Documentation

◆ Add()

void SAL_CALL ScVbaValidation::Add ( const css::uno::Any &  Type,
const css::uno::Any &  AlertStyle,
const css::uno::Any &  Operator,
const css::uno::Any &  Formula1,
const css::uno::Any &  Formula2 
)
overridevirtual

◆ Delete()

void SAL_CALL ScVbaValidation::Delete ( )
overridevirtual

◆ getErrorMessage()

OUString SAL_CALL ScVbaValidation::getErrorMessage ( )
overridevirtual

Definition at line 177 of file vbavalidation.cxx.

References lcl_getValidationProps(), m_xRange, and SC_UNONAME_ERRMESS.

◆ getErrorTitle()

OUString SAL_CALL ScVbaValidation::getErrorTitle ( )
overridevirtual

Definition at line 126 of file vbavalidation.cxx.

References lcl_getValidationProps(), m_xRange, and SC_UNONAME_ERRTITLE.

◆ getFormula1()

OUString SAL_CALL ScVbaValidation::getFormula1 ( )
overridevirtual

◆ getFormula2()

OUString SAL_CALL ScVbaValidation::getFormula2 ( )
overridevirtual

Definition at line 317 of file vbavalidation.cxx.

References lcl_getValidationProps(), and m_xRange.

◆ getIgnoreBlank()

sal_Bool SAL_CALL ScVbaValidation::getIgnoreBlank ( )
overridevirtual

Definition at line 55 of file vbavalidation.cxx.

References lcl_getValidationProps(), m_xRange, and SC_UNONAME_IGNOREBL.

◆ getInCellDropdown()

sal_Bool SAL_CALL ScVbaValidation::getInCellDropdown ( )
overridevirtual

Definition at line 72 of file vbavalidation.cxx.

References lcl_getValidationProps(), m_xRange, and SC_UNONAME_SHOWLIST.

◆ getInputMessage()

OUString SAL_CALL ScVbaValidation::getInputMessage ( )
overridevirtual

Definition at line 143 of file vbavalidation.cxx.

References lcl_getValidationProps(), m_xRange, and SC_UNONAME_INPMESS.

◆ getInputTitle()

OUString SAL_CALL ScVbaValidation::getInputTitle ( )
overridevirtual

Definition at line 160 of file vbavalidation.cxx.

References lcl_getValidationProps(), m_xRange, and SC_UNONAME_INPTITLE.

◆ getServiceImplName()

OUString ScVbaValidation::getServiceImplName ( )
overridevirtual

◆ getServiceNames()

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

◆ getShowError()

sal_Bool SAL_CALL ScVbaValidation::getShowError ( )
overridevirtual

Definition at line 109 of file vbavalidation.cxx.

References lcl_getValidationProps(), m_xRange, and SC_UNONAME_SHOWERR.

◆ getShowInput()

sal_Bool SAL_CALL ScVbaValidation::getShowInput ( )
overridevirtual

Definition at line 92 of file vbavalidation.cxx.

References lcl_getValidationProps(), m_xRange, and SC_UNONAME_SHOWINP.

◆ getType()

sal_Int32 SAL_CALL ScVbaValidation::getType ( )
overridevirtual

Definition at line 324 of file vbavalidation.cxx.

References lcl_getValidationProps(), m_xRange, and SC_UNONAME_TYPE.

◆ setErrorMessage()

void SAL_CALL ScVbaValidation::setErrorMessage ( const OUString &  _errormessage)
overridevirtual

◆ setErrorTitle()

void ScVbaValidation::setErrorTitle ( const OUString &  _errortitle)
overridevirtual

◆ setIgnoreBlank()

void SAL_CALL ScVbaValidation::setIgnoreBlank ( sal_Bool  _ignoreblank)
overridevirtual

◆ setInCellDropdown()

void SAL_CALL ScVbaValidation::setInCellDropdown ( sal_Bool  _incelldropdown)
overridevirtual

◆ setInputMessage()

void SAL_CALL ScVbaValidation::setInputMessage ( const OUString &  _inputmessage)
overridevirtual

◆ setInputTitle()

void SAL_CALL ScVbaValidation::setInputTitle ( const OUString &  _inputtitle)
overridevirtual

◆ setShowError()

void SAL_CALL ScVbaValidation::setShowError ( sal_Bool  _showerror)
overridevirtual

◆ setShowInput()

void SAL_CALL ScVbaValidation::setShowInput ( sal_Bool  _showinput)
overridevirtual

Member Data Documentation

◆ m_xRange

css::uno::Reference< css::table::XCellRange > ScVbaValidation::m_xRange
private

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