LibreOffice Module sc (master) 1
|
#include <vbaformatconditions.hxx>
Public Member Functions | |
void | notifyRange () |
css::uno::Reference< ov::excel::XFormatCondition > | Add (::sal_Int32 Type, const css::uno::Any &Operator, const css::uno::Any &Formula1, const css::uno::Any &Formula2, const css::uno::Reference< ov::excel::XStyle > &_xCalcStyle) |
OUString | getStyleName () |
void | removeFormatCondition (const OUString &_sStyleName, bool _bRemoveStyle) |
const css::uno::Reference< css::sheet::XSheetConditionalEntries > & | getSheetConditionalEntries () const |
virtual void SAL_CALL | Delete () override |
virtual css::uno::Reference< ov::excel::XFormatCondition > SAL_CALL | Add (::sal_Int32 Type, const css::uno::Any &Operator, const css::uno::Any &Formula1, const css::uno::Any &Formula2) override |
virtual css::uno::Type SAL_CALL | getElementType () override |
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL | createEnumeration () override |
virtual css::uno::Any | createCollectionObject (const css::uno::Any &) override |
virtual OUString | getServiceImplName () override |
virtual css::uno::Sequence< OUString > | getServiceNames () override |
ScVbaFormatConditions ()=delete | |
Public Member Functions inherited from CollTestImplHelper< ov::excel::XFormatConditions > | |
CollTestImplHelper (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext, const css::uno::Reference< css::container::XIndexAccess > &xIndexAccess, bool bIgnoreCase=false) | |
Public Member Functions inherited from ScVbaCollectionBase< ::cppu::WeakImplHelper< Ifc... > > | |
ScVbaCollectionBase (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext, css::uno::Reference< css::container::XIndexAccess > xIndexAccess, bool bIgnoreCase=false) | |
virtual ::sal_Int32 SAL_CALL | getCount () override |
virtual css::uno::Any SAL_CALL | Item (const css::uno::Any &Index1, const css::uno::Any &) override |
OUString SAL_CALL | getDefaultMethodName () override |
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL | createEnumeration () override=0 |
virtual css::uno::Type SAL_CALL | getElementType () override=0 |
virtual sal_Bool SAL_CALL | hasElements () override |
virtual css::uno::Any | createCollectionObject (const css::uno::Any &aSource)=0 |
Public Member Functions inherited from InheritedHelperInterfaceImpl< 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 OUString | getA1Formula (const css::uno::Any &_aFormula) |
Private Attributes | |
css::uno::Reference< css::sheet::XSheetConditionalEntries > | mxSheetConditionalEntries |
css::uno::Reference< ov::excel::XStyles > | mxStyles |
css::uno::Reference< ov::excel::XRange > | mxRangeParent |
css::uno::Reference< css::beans::XPropertySet > | mxParentRangePropertySet |
Additional Inherited Members | |
Protected Member Functions inherited from ScVbaCollectionBase< ::cppu::WeakImplHelper< Ifc... > > | |
virtual css::uno::Any | getItemByStringIndex (const OUString &sIndex) |
virtual css::uno::Any | getItemByIntIndex (const sal_Int32 nIndex) |
void | UpdateCollectionIndex (const css::uno::Reference< css::container::XIndexAccess > &xIndexAccess) |
Protected Attributes inherited from ScVbaCollectionBase< ::cppu::WeakImplHelper< Ifc... > > | |
css::uno::Reference< css::container::XIndexAccess > | m_xIndexAccess |
css::uno::Reference< css::container::XNameAccess > | m_xNameAccess |
bool | mbIgnoreCase |
Protected Attributes inherited from InheritedHelperInterfaceImpl< Ifc... > | |
css::uno::WeakReference< ov::XHelperInterface > | mxParent |
css::uno::Reference< css::uno::XComponentContext > | mxContext |
Definition at line 34 of file vbaformatconditions.hxx.
|
delete |
|
overridevirtual |
css::uno::Reference< ov::excel::XFormatCondition > ScVbaFormatConditions::Add | ( | ::sal_Int32 | Type, |
const css::uno::Any & | Operator, | ||
const css::uno::Any & | Formula1, | ||
const css::uno::Any & | Formula2, | ||
const css::uno::Reference< ov::excel::XStyle > & | _xCalcStyle | ||
) |
css::script::BasicErrorException | |
css::uno::RuntimeException |
Referenced by ScVbaFormatCondition::Modify().
|
overridevirtual |
Implements ScVbaCollectionBase< ::cppu::WeakImplHelper< Ifc... > >.
Definition at line 75 of file vbaformatconditions.cxx.
References InheritedHelperInterfaceImpl< Ifc... >::mxContext, mxParentRangePropertySet, mxRangeParent, mxStyles, and xSheetConditionToFormatCondition().
|
overridevirtual |
Implements ScVbaCollectionBase< ::cppu::WeakImplHelper< Ifc... > >.
Definition at line 207 of file vbaformatconditions.cxx.
References ScVbaCollectionBase< ::cppu::WeakImplHelper< Ifc... > >::m_xIndexAccess, InheritedHelperInterfaceImpl< Ifc... >::mxContext, mxParentRangePropertySet, mxRangeParent, and mxStyles.
|
overridevirtual |
Definition at line 36 of file vbaformatconditions.cxx.
References ScVbaStyles::Delete(), ERRCODE_BASIC_METHOD_FAILED, i, mxSheetConditionalEntries, mxStyles, nCount, and notifyRange().
|
static |
css::script::BasicErrorException |
Definition at line 226 of file vbaformatconditions.cxx.
References ERRCODE_BASIC_BAD_PARAMETER, and sFormula.
|
overridevirtual |
Implements ScVbaCollectionBase< ::cppu::WeakImplHelper< Ifc... > >.
Definition at line 59 of file vbaformatconditions.cxx.
References cppu::UnoType< typename T >::get().
|
overridevirtual |
Implements InheritedHelperInterfaceImpl< Ifc... >.
Definition at line 275 of file vbaformatconditions.cxx.
|
overridevirtual |
Implements InheritedHelperInterfaceImpl< Ifc... >.
Definition at line 281 of file vbaformatconditions.cxx.
References aServiceNames.
|
inline |
Definition at line 51 of file vbaformatconditions.hxx.
References mxSheetConditionalEntries.
Referenced by ScVbaFormatCondition::ScVbaFormatCondition().
OUString ScVbaFormatConditions::getStyleName | ( | ) |
Definition at line 236 of file vbaformatconditions.cxx.
References ERRCODE_BASIC_METHOD_FAILED, ScVbaStyles::getStyleNames(), mxStyles, and u.
void ScVbaFormatConditions::notifyRange | ( | ) |
css::script::BasicErrorException |
Definition at line 213 of file vbaformatconditions.cxx.
References ERRCODE_BASIC_METHOD_FAILED, mxParentRangePropertySet, mxSheetConditionalEntries, and SC_UNONAME_CONDFMT.
Referenced by Delete().
void ScVbaFormatConditions::removeFormatCondition | ( | const OUString & | _sStyleName, |
bool | _bRemoveStyle | ||
) |
css::script::BasicErrorException |
Definition at line 246 of file vbaformatconditions.cxx.
References ScVbaStyles::Delete(), ERRCODE_BASIC_METHOD_FAILED, i, mxSheetConditionalEntries, and mxStyles.
Referenced by ScVbaFormatCondition::Delete(), and ScVbaFormatCondition::Modify().
|
private |
Definition at line 39 of file vbaformatconditions.hxx.
Referenced by createCollectionObject(), createEnumeration(), and notifyRange().
|
private |
Definition at line 38 of file vbaformatconditions.hxx.
Referenced by createCollectionObject(), and createEnumeration().
|
private |
Definition at line 36 of file vbaformatconditions.hxx.
Referenced by Delete(), getSheetConditionalEntries(), notifyRange(), and removeFormatCondition().
|
private |
Definition at line 37 of file vbaformatconditions.hxx.
Referenced by createCollectionObject(), createEnumeration(), Delete(), getStyleName(), and removeFormatCondition().