22#define EDITOR_LIST_APPEND (SAL_MAX_UINT16)
23#define EDITOR_LIST_ENTRY_NOTFOUND (SAL_MAX_UINT16)
27#include <com/sun/star/uno/Sequence.hxx>
28#include <com/sun/star/beans/XPropertyChangeListener.hpp>
53 template<
class CONTAINER >
66 static OUString
getHelpId( std::u16string_view _rHelpURL );
67 static OUString
getHelpURL( std::u16string_view );
73 template<
class ELEMENT >
77 typedef css::uno::Sequence< ELEMENT >
UnoBase;
91 iterator end() {
return UnoBase::getArray() + UnoBase::getLength(); }
93 sal_Int32
size()
const {
return UnoBase::getLength(); }
94 bool empty()
const {
return !UnoBase::hasElements(); }
100#define DECLARE_XCOMPONENT() \
101 virtual void SAL_CALL dispose( ) override; \
102 virtual void SAL_CALL addEventListener( const css::uno::Reference< css::lang::XEventListener >& xListener ) override; \
103 virtual void SAL_CALL removeEventListener( const css::uno::Reference< css::lang::XEventListener >& aListener ) override;
105#define IMPLEMENT_FORWARD_XCOMPONENT( classname, baseclass ) \
106 void SAL_CALL classname::dispose( ) \
108 baseclass::WeakComponentImplHelperBase::dispose(); \
110 void SAL_CALL classname::addEventListener( const css::uno::Reference< css::lang::XEventListener >& Listener ) \
112 baseclass::WeakComponentImplHelperBase::addEventListener( Listener ); \
114 void SAL_CALL classname::removeEventListener( const css::uno::Reference< css::lang::XEventListener >& Listener ) \
116 baseclass::WeakComponentImplHelperBase::removeEventListener( Listener ); \
small helper to translate help ids into help urls
static OUString getHelpId(std::u16string_view _rHelpURL)
static OUString getHelpURL(std::u16string_view)
const_iterator end() const
const ELEMENT * const_iterator
const_iterator begin() const
StlSyntaxSequence(sal_Int32 len)
StlSyntaxSequence(const UnoBase &rSeq)
css::uno::Sequence< ELEMENT > UnoBase
a property handler for any virtual string properties
::comphelper::OInterfaceContainerHelper3< css::beans::XPropertyChangeListener > PropertyChangeListeners
void clearContainer(CONTAINER &_rContainer)