LibreOffice Module sc (master) 1
|
#include <vbaformatcondition.hxx>
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::XPropertySet > | mxParentRangePropertySet |
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 |
Definition at line 30 of file vbaformatcondition.hxx.
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 | ||
) |
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.
|
overridevirtual |
Definition at line 89 of file vbaformatcondition.cxx.
References mxStyle.
|
overridevirtual |
Definition at line 55 of file vbaformatcondition.cxx.
References lcl_getScVbaFormatConditionsPtr(), moFormatConditions, msStyleName, notifyRange(), and ScVbaFormatConditions::removeFormatCondition().
|
overridevirtual |
Definition at line 84 of file vbaformatcondition.cxx.
References mxStyle.
|
overridevirtual |
Implements InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > >.
Definition at line 143 of file vbaformatcondition.cxx.
|
overridevirtual |
Implements InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > >.
Definition at line 149 of file vbaformatcondition.cxx.
References aServiceNames.
|
overridevirtual |
Definition at line 78 of file vbaformatcondition.cxx.
References mxStyle.
|
overridevirtual |
Definition at line 63 of file vbaformatcondition.cxx.
References ScVbaFormatConditions::Add(), ERRCODE_BASIC_METHOD_FAILED, lcl_getScVbaFormatConditionsPtr(), moFormatConditions, msStyleName, mxStyle, and ScVbaFormatConditions::removeFormatCondition().
void ScVbaFormatCondition::notifyRange | ( | ) |
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().
|
overridevirtual |
Implements ScVbaCondition< Ifc >.
Definition at line 124 of file vbaformatcondition.cxx.
References ScVbaCondition< Ifc >::Operator().
|
overridevirtual |
Implements ScVbaCondition< Ifc >.
|
virtual |
css::script::BasicErrorException |
Reimplemented from ScVbaCondition< Ifc >.
Definition at line 43 of file vbacondition.cxx.
|
static |
css::script::BasicErrorException |
Definition at line 94 of file vbaformatcondition.cxx.
References ERRCODE_BASIC_METHOD_FAILED.
|
override |
Definition at line 113 of file vbaformatcondition.cxx.
References ScVbaCondition< Ifc >::mxSheetCondition.
|
private |
Definition at line 34 of file vbaformatcondition.hxx.
Referenced by Delete(), Modify(), and ScVbaFormatCondition().
|
private |
Definition at line 32 of file vbaformatcondition.hxx.
Referenced by Delete(), Modify(), and ScVbaFormatCondition().
|
private |
Definition at line 36 of file vbaformatcondition.hxx.
Referenced by notifyRange().
|
private |
Definition at line 33 of file vbaformatcondition.hxx.
Referenced by notifyRange(), and ScVbaFormatCondition().
|
private |
Definition at line 35 of file vbaformatcondition.hxx.
Referenced by Borders(), Font(), Interior(), Modify(), and ScVbaFormatCondition().