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

#include <vbaformatconditions.hxx>

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

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< ov::excel::XFormatConditions... > >
 ScVbaCollectionBase (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)
 
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 sal_Bool SAL_CALL hasElements () override
 
- Public Member Functions inherited from InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< ov::excel::XFormatConditions... >... >
 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 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::XPropertySetmxParentRangePropertySet
 

Additional Inherited Members

- Protected Member Functions inherited from ScVbaCollectionBase< ::cppu::WeakImplHelper< ov::excel::XFormatConditions... > >
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< ov::excel::XFormatConditions... > >
css::uno::Reference< css::container::XIndexAccess > m_xIndexAccess
 
css::uno::Reference< css::container::XNameAccess > m_xNameAccess
 
bool mbIgnoreCase
 
- Protected Attributes inherited from InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< ov::excel::XFormatConditions... >... >
css::uno::WeakReference< ov::XHelperInterface > mxParent
 
css::uno::Reference< css::uno::XComponentContext > mxContext
 

Detailed Description

Definition at line 35 of file vbaformatconditions.hxx.

Constructor & Destructor Documentation

ScVbaFormatConditions::ScVbaFormatConditions ( )
delete

Member Function Documentation

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 
)
Exceptions
css::script::BasicErrorException
css::uno::RuntimeException

Referenced by ScVbaFormatCondition::Modify().

virtual css::uno::Reference< ov::excel::XFormatCondition > SAL_CALL ScVbaFormatConditions::Add ( ::sal_Int32  Type,
const css::uno::Any &  Operator,
const css::uno::Any &  Formula1,
const css::uno::Any &  Formula2 
)
overridevirtual
uno::Any ScVbaFormatConditions::createCollectionObject ( const css::uno::Any &  )
overridevirtual
uno::Reference< container::XEnumeration > SAL_CALL ScVbaFormatConditions::createEnumeration ( )
overridevirtual
void SAL_CALL ScVbaFormatConditions::Delete ( )
overridevirtual
OUString ScVbaFormatConditions::getA1Formula ( const css::uno::Any &  _aFormula)
static
Exceptions
css::script::BasicErrorException

Definition at line 225 of file vbaformatconditions.cxx.

References ERRCODE_BASIC_BAD_PARAMETER.

uno::Type SAL_CALL ScVbaFormatConditions::getElementType ( )
overridevirtual
OUString ScVbaFormatConditions::getServiceImplName ( )
overridevirtual
uno::Sequence< OUString > ScVbaFormatConditions::getServiceNames ( )
overridevirtual
const css::uno::Reference< css::sheet::XSheetConditionalEntries >& ScVbaFormatConditions::getSheetConditionalEntries ( ) const
inline
OUString ScVbaFormatConditions::getStyleName ( )
void ScVbaFormatConditions::notifyRange ( )
Exceptions
css::script::BasicErrorException

Definition at line 212 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 
)
Exceptions
css::script::BasicErrorException

Definition at line 245 of file vbaformatconditions.cxx.

References ScVbaStyles::Delete(), ERRCODE_BASIC_METHOD_FAILED, i, mxSheetConditionalEntries, and mxStyles.

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

Member Data Documentation

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

Definition at line 40 of file vbaformatconditions.hxx.

Referenced by createCollectionObject(), createEnumeration(), and notifyRange().

css::uno::Reference< ov::excel::XRange > ScVbaFormatConditions::mxRangeParent
private

Definition at line 39 of file vbaformatconditions.hxx.

Referenced by createCollectionObject(), and createEnumeration().

css::uno::Reference< css::sheet::XSheetConditionalEntries > ScVbaFormatConditions::mxSheetConditionalEntries
private
css::uno::Reference< ov::excel::XStyles > ScVbaFormatConditions::mxStyles
private

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