1 #ifndef SC_VBA_LISTCONTROLHELPER
2 #define SC_VBA_LISTCONTROLHELPER
4 #include <vbahelper/vbahelper.hxx>
6 class ListControlHelper
8 css::uno::Reference
< css::beans::XPropertySet
> m_xProps
;
11 ListControlHelper( const css::uno::Reference
< css::beans::XPropertySet
>& rxControl
) : m_xProps( rxControl
){}
12 virtual ~ListControlHelper() {}
13 virtual void SAL_CALL
AddItem( const css::uno::Any
& pvargItem
, const css::uno::Any
& pvargIndex
) throw (css::uno::RuntimeException
);
14 virtual void SAL_CALL
removeItem( const css::uno::Any
& index
) throw (css::uno::RuntimeException
);
15 virtual void SAL_CALL
setRowSource( const rtl::OUString
& _rowsource
) throw (css::uno::RuntimeException
);
16 virtual ::sal_Int32 SAL_CALL
getListCount() throw (css::uno::RuntimeException
);
17 virtual css::uno::Any SAL_CALL
List( const css::uno::Any
& pvargIndex
, const css::uno::Any
& pvarColumn
) throw (css::uno::RuntimeException
);
18 virtual void SAL_CALL
Clear( ) throw (css::uno::RuntimeException
);