19 #ifndef INCLUDED_SC_SOURCE_UI_VBA_VBAFORMATCONDITION_HXX
20 #define INCLUDED_SC_SOURCE_UI_VBA_VBAFORMATCONDITION_HXX
21 #include <ooo/vba/excel/XFormatCondition.hpp>
22 #include <ooo/vba/excel/XFormatConditions.hpp>
23 #include <ooo/vba/excel/XStyle.hpp>
24 #include <com/sun/star/sheet/XSheetConditionalEntries.hpp>
25 #include <com/sun/star/sheet/XSheetConditionalEntry.hpp>
26 #include <com/sun/star/sheet/XSheetCondition.hpp>
27 #include <com/sun/star/beans/XPropertySet.hpp>
36 css::uno::Reference< ov::excel::XStyle >
mxStyle;
43 const css::uno::Reference< css::uno::XComponentContext > & xContext,
44 const css::uno::Reference< css::sheet::XSheetConditionalEntry >& _xSheetConditionalEntry,
45 const css::uno::Reference< ov::excel::XStyle >&,
46 const css::uno::Reference< ov::excel::XFormatConditions >& _xFormatConditions,
47 const css::uno::Reference< css::beans::XPropertySet >& _xPropertySet );
52 static css::sheet::ConditionOperator
retrieveAPIType(sal_Int32 _nVBAType,
const css::uno::Reference< css::sheet::XSheetCondition >& _xSheetCondition );
55 virtual void SAL_CALL
Delete( )
override;
57 virtual ::sal_Int32 SAL_CALL
Type( )
override;
59 virtual ::sal_Int32 SAL_CALL
Operator( )
override;
60 virtual css::uno::Reference< ::ooo::vba::excel::XInterior > SAL_CALL
Interior( )
override;
61 virtual css::uno::Any SAL_CALL
Borders(
const css::uno::Any&
Index )
override;
62 virtual css::uno::Reference< ::ooo::vba::excel::XFont > SAL_CALL
Font( )
override;
virtual OUString SAL_CALL Formula2() override
virtual sal_Int32 SAL_CALL Operator() override=0
virtual OUString SAL_CALL Formula1() override