20#ifndef INCLUDED_EDITENG_UNONRULE_HXX
21#define INCLUDED_EDITENG_UNONRULE_HXX
23#include <com/sun/star/container/XIndexReplace.hpp>
24#include <com/sun/star/ucb/XAnyCompare.hpp>
27#include <com/sun/star/lang/XServiceInfo.hpp>
28#include <com/sun/star/util/XCloneable.hpp>
40 css::util::XCloneable, css::lang::XServiceInfo >
49 virtual
void SAL_CALL replaceByIndex( sal_Int32
Index, const css::
uno::Any& Element ) override;
52 virtual sal_Int32 SAL_CALL getCount() override ;
53 virtual css::
uno::Any SAL_CALL getByIndex( sal_Int32
Index ) override;
56 virtual css::
uno::
Type SAL_CALL getElementType() override;
57 virtual
sal_Bool SAL_CALL hasElements() override;
60 virtual sal_Int16 SAL_CALL compare( const css::
uno::Any& Any1, const css::
uno::Any& Any2 ) override;
63 virtual css::
uno::Reference< css::util::XCloneable > SAL_CALL createClone( ) override;
66 virtual OUString SAL_CALL getImplementationName( ) override;
67 virtual
sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) override;
68 virtual css::
uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) override;
72 css::
uno::Sequence<css::beans::PropertyValue> getNumberingRuleByIndex( sal_Int32 nIndex) const;
75 void setNumberingRuleByIndex(const css::
uno::Sequence<css::beans::PropertyValue>& rProperties, sal_Int32 nIndex);
77 static sal_Int16 Compare( const css::
uno::Any& rAny1, const css::
uno::Any& rAny2 );
#define EDITENG_DLLPUBLIC
EDITENG_DLLPUBLIC css::uno::Reference< css::container::XIndexReplace > SvxCreateNumRule(const SvxNumRule &rRule)
EDITENG_DLLPUBLIC css::uno::Reference< css::ucb::XAnyCompare > SvxCreateNumRuleCompare() noexcept
const SvxNumRule & SvxGetNumRule(css::uno::Reference< css::container::XIndexReplace > const &xRule)