LibreOffice Module sc (master) 1
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
ScVbaFormatCondition Class Referencefinal

#include <vbaformatcondition.hxx>

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

Public Member Functions

 ScVbaFormatCondition (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext, const css::uno::Reference< css::sheet::XSheetConditionalEntry > &_xSheetConditionalEntry, css::uno::Reference< ov::excel::XStyle >, css::uno::Reference< ov::excel::XFormatConditions > _xFormatConditions, css::uno::Reference< css::beans::XPropertySet > _xPropertySet)
 
void notifyRange ()
 
virtual void SAL_CALL Delete () override
 
virtual void SAL_CALL Modify (::sal_Int32 Type, const css::uno::Any &Operator, const css::uno::Any &Formula1, const css::uno::Any &Formula2) override
 
virtual ::sal_Int32 SAL_CALL Type () override
 
virtual ::sal_Int32 SAL_CALL Operator () override
 
virtual css::uno::Reference< ::ooo::vba::excel::XInterior > SAL_CALL Interior () override
 
virtual css::uno::Any SAL_CALL Borders (const css::uno::Any &Index) override
 
virtual css::uno::Reference< ::ooo::vba::excel::XFont > SAL_CALL Font () override
 
virtual OUString getServiceImplName () override
 
virtual css::uno::Sequence< OUString > getServiceNames () override
 
virtual sal_Int32 Operator (bool _bIncludeFormulaValue)
 
virtual sal_Int32 SAL_CALL Operator () override=0
 
- Public Member Functions inherited from ScVbaCondition< Ifc >
 ScVbaCondition (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext, css::uno::Reference< css::sheet::XSheetCondition > _xSheetCondition)
 
virtual OUString SAL_CALL Formula1 () override
 
virtual OUString SAL_CALL Formula2 () override
 
virtual sal_Int32 Operator (bool _bIncludeFormulaValue)
 
virtual sal_Int32 SAL_CALL Operator () override=0
 
- Public Member Functions inherited from InheritedHelperInterfaceWeakImpl< 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
 

Static Public Member Functions

static css::sheet::ConditionOperator retrieveAPIType (sal_Int32 _nVBAType, const css::uno::Reference< css::sheet::XSheetCondition > &_xSheetCondition)
 
- Static Public Member Functions inherited from ScVbaCondition< Ifc >
static css::sheet::ConditionOperator retrieveAPIOperator (const css::uno::Any &_aOperator)
 

Private Attributes

OUString msStyleName
 
css::uno::Reference< css::sheet::XSheetConditionalEntries > mxSheetConditionalEntries
 
css::uno::Reference< ov::excel::XFormatConditions > moFormatConditions
 
css::uno::Reference< ov::excel::XStyle > mxStyle
 
css::uno::Reference< css::beans::XPropertySetmxParentRangePropertySet
 

Additional Inherited Members

- Protected Attributes inherited from ScVbaCondition< Ifc >
css::uno::Reference< css::sheet::XCellRangeAddressable > mxAddressable
 
css::uno::Reference< css::sheet::XSheetCondition > mxSheetCondition
 
- 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 vbaformatcondition.hxx.

Constructor & Destructor Documentation

◆ ScVbaFormatCondition()

ScVbaFormatCondition::ScVbaFormatCondition ( const css::uno::Reference< ov::XHelperInterface > &  xParent,
const css::uno::Reference< css::uno::XComponentContext > &  xContext,
const css::uno::Reference< css::sheet::XSheetConditionalEntry > &  _xSheetConditionalEntry,
css::uno::Reference< ov::excel::XStyle >  ,
css::uno::Reference< ov::excel::XFormatConditions >  _xFormatConditions,
css::uno::Reference< css::beans::XPropertySet _xPropertySet 
)
Exceptions
css::uno::RuntimeException
css::script::BasicErrorException

Definition at line 39 of file vbaformatcondition.cxx.

References _xPropertySet, ScVbaFormatConditions::getSheetConditionalEntries(), lcl_getScVbaFormatConditionsPtr(), moFormatConditions, msStyleName, mxSheetConditionalEntries, mxStyle, and Reference.

Member Function Documentation

◆ Borders()

uno::Any SAL_CALL ScVbaFormatCondition::Borders ( const css::uno::Any &  Index)
overridevirtual

Definition at line 89 of file vbaformatcondition.cxx.

References mxStyle.

◆ Delete()

void SAL_CALL ScVbaFormatCondition::Delete ( )
overridevirtual

◆ Font()

uno::Reference< excel::XFont > SAL_CALL ScVbaFormatCondition::Font ( )
overridevirtual

Definition at line 84 of file vbaformatcondition.cxx.

References mxStyle.

◆ getServiceImplName()

OUString ScVbaFormatCondition::getServiceImplName ( )
overridevirtual

◆ getServiceNames()

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

◆ Interior()

uno::Reference< excel::XInterior > SAL_CALL ScVbaFormatCondition::Interior ( )
overridevirtual

Definition at line 78 of file vbaformatcondition.cxx.

References mxStyle.

◆ Modify()

void SAL_CALL ScVbaFormatCondition::Modify ( ::sal_Int32  Type,
const css::uno::Any &  Operator,
const css::uno::Any &  Formula1,
const css::uno::Any &  Formula2 
)
overridevirtual

◆ notifyRange()

void ScVbaFormatCondition::notifyRange ( )
Exceptions
css::script::BasicErrorException

Definition at line 130 of file vbaformatcondition.cxx.

References ERRCODE_BASIC_METHOD_FAILED, mxParentRangePropertySet, mxSheetConditionalEntries, and SC_UNONAME_CONDFMT.

Referenced by Delete().

◆ Operator() [1/3]

sal_Int32 SAL_CALL ScVbaFormatCondition::Operator ( )
overridevirtual

Implements ScVbaCondition< Ifc >.

Definition at line 124 of file vbaformatcondition.cxx.

References ScVbaCondition< Ifc >::Operator().

◆ Operator() [2/3]

virtual sal_Int32 SAL_CALL ScVbaCondition< Ifc >::Operator ( )
overridevirtual

Implements ScVbaCondition< Ifc >.

◆ Operator() [3/3]

sal_Int32 ScVbaCondition< Ifc >::Operator ( bool  _bIncludeFormulaValue)
virtual
Exceptions
css::script::BasicErrorException

Reimplemented from ScVbaCondition< Ifc >.

Definition at line 43 of file vbacondition.cxx.

◆ retrieveAPIType()

sheet::ConditionOperator ScVbaFormatCondition::retrieveAPIType ( sal_Int32  _nVBAType,
const css::uno::Reference< css::sheet::XSheetCondition > &  _xSheetCondition 
)
static
Exceptions
css::script::BasicErrorException

Definition at line 94 of file vbaformatcondition.cxx.

References ERRCODE_BASIC_METHOD_FAILED.

◆ Type()

sal_Int32 SAL_CALL ScVbaFormatCondition::Type ( )
override

Definition at line 113 of file vbaformatcondition.cxx.

References ScVbaCondition< Ifc >::mxSheetCondition.

Member Data Documentation

◆ moFormatConditions

css::uno::Reference< ov::excel::XFormatConditions> ScVbaFormatCondition::moFormatConditions
private

Definition at line 34 of file vbaformatcondition.hxx.

Referenced by Delete(), Modify(), and ScVbaFormatCondition().

◆ msStyleName

OUString ScVbaFormatCondition::msStyleName
private

Definition at line 32 of file vbaformatcondition.hxx.

Referenced by Delete(), Modify(), and ScVbaFormatCondition().

◆ mxParentRangePropertySet

css::uno::Reference< css::beans::XPropertySet > ScVbaFormatCondition::mxParentRangePropertySet
private

Definition at line 36 of file vbaformatcondition.hxx.

Referenced by notifyRange().

◆ mxSheetConditionalEntries

css::uno::Reference< css::sheet::XSheetConditionalEntries > ScVbaFormatCondition::mxSheetConditionalEntries
private

Definition at line 33 of file vbaformatcondition.hxx.

Referenced by notifyRange(), and ScVbaFormatCondition().

◆ mxStyle

css::uno::Reference< ov::excel::XStyle > ScVbaFormatCondition::mxStyle
private

Definition at line 35 of file vbaformatcondition.hxx.

Referenced by Borders(), Font(), Interior(), Modify(), and ScVbaFormatCondition().


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