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, const css::uno::Reference< ov::excel::XStyle > &, const css::uno::Reference< ov::excel::XFormatConditions > &_xFormatConditions, const 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
 
- Public Member Functions inherited from ScVbaCondition< Ifc >
 ScVbaCondition (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext, const 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)
 
- 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, const css::uno::Reference< css::uno::XComponentContext > &xContext)
 
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 31 of file vbaformatcondition.hxx.

Constructor & Destructor Documentation

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,
const css::uno::Reference< ov::excel::XStyle > &  ,
const css::uno::Reference< ov::excel::XFormatConditions > &  _xFormatConditions,
const css::uno::Reference< css::beans::XPropertySet > &  _xPropertySet 
)
Exceptions
css::uno::RuntimeException
css::script::BasicErrorException

Definition at line 38 of file vbaformatcondition.cxx.

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

Member Function Documentation

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

Definition at line 88 of file vbaformatcondition.cxx.

References mxStyle.

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

Definition at line 83 of file vbaformatcondition.cxx.

References mxStyle.

OUString ScVbaFormatCondition::getServiceImplName ( )
overridevirtual
uno::Sequence< OUString > ScVbaFormatCondition::getServiceNames ( )
overridevirtual
uno::Reference< excel::XInterior > SAL_CALL ScVbaFormatCondition::Interior ( )
overridevirtual

Definition at line 77 of file vbaformatcondition.cxx.

References mxStyle.

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

Definition at line 129 of file vbaformatcondition.cxx.

References ERRCODE_BASIC_METHOD_FAILED, mxParentRangePropertySet, mxSheetConditionalEntries, and SC_UNONAME_CONDFMT.

Referenced by Delete().

sal_Int32 SAL_CALL ScVbaFormatCondition::Operator ( )
overridevirtual

Implements ScVbaCondition< Ifc >.

Definition at line 123 of file vbaformatcondition.cxx.

References ScVbaCondition< Ifc >::Operator().

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

Definition at line 93 of file vbaformatcondition.cxx.

References ERRCODE_BASIC_METHOD_FAILED.

sal_Int32 SAL_CALL ScVbaFormatCondition::Type ( )
override

Definition at line 112 of file vbaformatcondition.cxx.

References ScVbaCondition< Ifc >::mxSheetCondition.

Member Data Documentation

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

Definition at line 35 of file vbaformatcondition.hxx.

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

OUString ScVbaFormatCondition::msStyleName
private

Definition at line 33 of file vbaformatcondition.hxx.

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

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

Definition at line 37 of file vbaformatcondition.hxx.

Referenced by notifyRange().

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

Definition at line 34 of file vbaformatcondition.hxx.

Referenced by notifyRange(), and ScVbaFormatCondition().

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

Definition at line 36 of file vbaformatcondition.hxx.

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


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