LibreOffice Module editeng (master) 1
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
SvxUnoNumberingRules Class Referencefinal

#include <unonrule.hxx>

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

Public Member Functions

 SvxUnoNumberingRules (SvxNumRule aRule)
 
virtual ~SvxUnoNumberingRules () noexcept override
 
virtual void SAL_CALL replaceByIndex (sal_Int32 Index, const css::uno::Any &Element) override
 
virtual sal_Int32 SAL_CALL getCount () override
 
virtual css::uno::Any SAL_CALL getByIndex (sal_Int32 Index) override
 
virtual css::uno::Type SAL_CALL getElementType () override
 
virtual sal_Bool SAL_CALL hasElements () override
 
virtual sal_Int16 SAL_CALL compare (const css::uno::Any &Any1, const css::uno::Any &Any2) override
 
virtual css::uno::Reference< css::util::XCloneable > SAL_CALL createClone () 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
 
css::uno::Sequence< css::beans::PropertyValue > getNumberingRuleByIndex (sal_Int32 nIndex) const
 
void setNumberingRuleByIndex (const css::uno::Sequence< css::beans::PropertyValue > &rProperties, sal_Int32 nIndex)
 
const SvxNumRulegetNumRule () const
 
- Public Member Functions inherited from cppu::WeakAggImplHelper4< css::container::XIndexReplace, css::ucb::XAnyCompare, css::util::XCloneable, css::lang::XServiceInfo >
virtual css::uno::Any SAL_CALL queryInterface (css::uno::Type const &rType) SAL_OVERRIDE
 
virtual css::uno::Any SAL_CALL queryAggregation (css::uno::Type const &rType) SAL_OVERRIDE
 
virtual void SAL_CALL acquire () SAL_NOEXCEPT SAL_OVERRIDE
 
virtual void SAL_CALL release () SAL_NOEXCEPT SAL_OVERRIDE
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () SAL_OVERRIDE
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () SAL_OVERRIDE
 
- Public Member Functions inherited from cppu::OWeakAggObject
 OWeakAggObject ()
 
virtual void SAL_CALL acquire () SAL_NOEXCEPT SAL_OVERRIDE
 
virtual void SAL_CALL release () SAL_NOEXCEPT SAL_OVERRIDE
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &rType) SAL_OVERRIDE
 
virtual void SAL_CALL setDelegator (const css::uno::Reference< css::uno::XInterface > &Delegator) SAL_OVERRIDE
 
virtual css::uno::Any SAL_CALL queryAggregation (const css::uno::Type &rType) SAL_OVERRIDE
 
- Public Member Functions inherited from cppu::OWeakObject
 OWeakObject ()
 
 OWeakObject (const OWeakObject &)
 
OWeakObject &SAL_CALL operator= (const OWeakObject &)
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &rType) SAL_OVERRIDE
 
virtual void SAL_CALL acquire () SAL_NOEXCEPT SAL_OVERRIDE
 
virtual void SAL_CALL release () SAL_NOEXCEPT SAL_OVERRIDE
 
virtual css::uno::Reference< css::uno::XAdapter > SAL_CALL queryAdapter () SAL_OVERRIDE
 
SAL_CALL operator css::uno::Reference< css::uno::XInterface > ()
 

Static Public Member Functions

static sal_Int16 Compare (const css::uno::Any &rAny1, const css::uno::Any &rAny2)
 

Private Attributes

SvxNumRule maRule
 

Additional Inherited Members

- Protected Member Functions inherited from cppu::OWeakAggObject
virtual ~OWeakAggObject () SAL_OVERRIDE
 
- Protected Member Functions inherited from cppu::OWeakObject
virtual ~OWeakObject () COVERITY_NOEXCEPT_FALSE
 
void disposeWeakConnectionPoint ()
 
- Protected Attributes inherited from cppu::OWeakAggObject
css::uno::WeakReferenceHelper xDelegator
 
- Protected Attributes inherited from cppu::OWeakObject
oslInterlockedCount m_refCount
 

Detailed Description

Definition at line 39 of file unonrule.hxx.

Constructor & Destructor Documentation

◆ SvxUnoNumberingRules()

SvxUnoNumberingRules::SvxUnoNumberingRules ( SvxNumRule  aRule)

Definition at line 91 of file unonrule.cxx.

Referenced by createClone().

◆ ~SvxUnoNumberingRules()

SvxUnoNumberingRules::~SvxUnoNumberingRules ( )
overridevirtualnoexcept

Definition at line 96 of file unonrule.cxx.

Member Function Documentation

◆ compare()

sal_Int16 SAL_CALL SvxUnoNumberingRules::compare ( const css::uno::Any &  Any1,
const css::uno::Any &  Any2 
)
overridevirtual

Definition at line 145 of file unonrule.cxx.

References Compare().

◆ Compare()

sal_Int16 SvxUnoNumberingRules::Compare ( const css::uno::Any &  rAny1,
const css::uno::Any &  rAny2 
)
static

Definition at line 501 of file unonrule.cxx.

References SvxNumRule::GetLevel(), SvxNumRule::GetLevelCount(), getNumRule(), and i.

Referenced by compare().

◆ createClone()

Reference< XCloneable > SAL_CALL SvxUnoNumberingRules::createClone ( )
overridevirtual

Definition at line 151 of file unonrule.cxx.

References maRule, and SvxUnoNumberingRules().

◆ getByIndex()

Any SAL_CALL SvxUnoNumberingRules::getByIndex ( sal_Int32  Index)
overridevirtual

Definition at line 123 of file unonrule.cxx.

References Any, SvxNumRule::GetLevelCount(), getNumberingRuleByIndex(), and maRule.

◆ getCount()

sal_Int32 SAL_CALL SvxUnoNumberingRules::getCount ( )
overridevirtual

Definition at line 116 of file unonrule.cxx.

References SvxNumRule::GetLevelCount(), and maRule.

◆ getElementType()

Type SAL_CALL SvxUnoNumberingRules::getElementType ( )
overridevirtual

Definition at line 134 of file unonrule.cxx.

◆ getImplementationName()

OUString SAL_CALL SvxUnoNumberingRules::getImplementationName ( )
overridevirtual

Definition at line 156 of file unonrule.cxx.

◆ getNumberingRuleByIndex()

Sequence< beans::PropertyValue > SvxUnoNumberingRules::getNumberingRuleByIndex ( sal_Int32  nIndex) const

◆ getNumRule()

const SvxNumRule & SvxUnoNumberingRules::getNumRule ( ) const
inline

Definition at line 79 of file unonrule.hxx.

Referenced by Compare(), and SvxGetNumRule().

◆ getSupportedServiceNames()

Sequence< OUString > SAL_CALL SvxUnoNumberingRules::getSupportedServiceNames ( )
overridevirtual

Definition at line 166 of file unonrule.cxx.

◆ hasElements()

sal_Bool SAL_CALL SvxUnoNumberingRules::hasElements ( )
overridevirtual

Definition at line 139 of file unonrule.cxx.

◆ replaceByIndex()

void SAL_CALL SvxUnoNumberingRules::replaceByIndex ( sal_Int32  Index,
const css::uno::Any &  Element 
)
overridevirtual

Definition at line 101 of file unonrule.cxx.

References aSeq, SvxNumRule::GetLevelCount(), maRule, and setNumberingRuleByIndex().

◆ setNumberingRuleByIndex()

void SvxUnoNumberingRules::setNumberingRuleByIndex ( const css::uno::Sequence< css::beans::PropertyValue > &  rProperties,
sal_Int32  nIndex 
)

◆ supportsService()

sal_Bool SAL_CALL SvxUnoNumberingRules::supportsService ( const OUString &  ServiceName)
overridevirtual

Definition at line 161 of file unonrule.cxx.

References ServiceName, and cppu::supportsService().

Member Data Documentation

◆ maRule

SvxNumRule SvxUnoNumberingRules::maRule
private

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