LibreOffice Module sc (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
ScAutoFormatObj Class Referencefinal

#include <afmtuno.hxx>

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

Public Member Functions

 ScAutoFormatObj (sal_uInt16 nIndex)
 
virtual ~ScAutoFormatObj () override
 
bool IsInserted () const
 
void InitFormat (sal_uInt16 nNewIndex)
 
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 css::uno::Reference< css::container::XEnumeration > SAL_CALL createEnumeration () override
 
virtual OUString SAL_CALL getName () override
 
virtual void SAL_CALL setName (const OUString &aName) override
 
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo () override
 
virtual void SAL_CALL setPropertyValue (const OUString &aPropertyName, const css::uno::Any &aValue) override
 
virtual css::uno::Any SAL_CALL getPropertyValue (const OUString &PropertyName) override
 
virtual void SAL_CALL addPropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
 
virtual void SAL_CALL removePropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override
 
virtual void SAL_CALL addVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
 
virtual void SAL_CALL removeVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) 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
 

Private Member Functions

rtl::Reference< ScAutoFormatFieldObjGetObjectByIndex_Impl (sal_uInt16 nIndex)
 

Private Attributes

SfxItemPropertySet aPropSet
 
sal_uInt16 nFormatIndex
 

Detailed Description

Definition at line 86 of file afmtuno.hxx.

Constructor & Destructor Documentation

◆ ScAutoFormatObj()

ScAutoFormatObj::ScAutoFormatObj ( sal_uInt16  nIndex)

Definition at line 329 of file afmtuno.cxx.

References nIndex.

◆ ~ScAutoFormatObj()

ScAutoFormatObj::~ScAutoFormatObj ( )
overridevirtual

Member Function Documentation

◆ addPropertyChangeListener()

virtual void SAL_CALL ScAutoFormatObj::addPropertyChangeListener ( const OUString &  aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  xListener 
)
overridevirtual

◆ addVetoableChangeListener()

virtual void SAL_CALL ScAutoFormatObj::addVetoableChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  aListener 
)
overridevirtual

◆ createEnumeration()

uno::Reference< container::XEnumeration > SAL_CALL ScAutoFormatObj::createEnumeration ( )
overridevirtual

Definition at line 368 of file afmtuno.cxx.

◆ getByIndex()

uno::Any SAL_CALL ScAutoFormatObj::getByIndex ( sal_Int32  Index)
overridevirtual

Definition at line 385 of file afmtuno.cxx.

References getCount(), GetObjectByIndex_Impl(), IsInserted(), and nIndex.

◆ getCount()

sal_Int32 SAL_CALL ScAutoFormatObj::getCount ( )
overridevirtual

Definition at line 376 of file afmtuno.cxx.

References IsInserted(), and SC_AF_FIELD_COUNT.

Referenced by getByIndex(), and hasElements().

◆ getElementType()

uno::Type SAL_CALL ScAutoFormatObj::getElementType ( )
overridevirtual

Definition at line 397 of file afmtuno.cxx.

References cppu::UnoType< typename T >::get().

◆ getImplementationName()

virtual OUString SAL_CALL ScAutoFormatObj::getImplementationName ( )
overridevirtual

◆ getName()

OUString SAL_CALL ScAutoFormatObj::getName ( )
overridevirtual

◆ GetObjectByIndex_Impl()

rtl::Reference< ScAutoFormatFieldObj > ScAutoFormatObj::GetObjectByIndex_Impl ( sal_uInt16  nIndex)
private

Definition at line 358 of file afmtuno.cxx.

References IsInserted(), nFormatIndex, nIndex, and SC_AF_FIELD_COUNT.

Referenced by getByIndex().

◆ getPropertySetInfo()

uno::Reference< beans::XPropertySetInfo > SAL_CALL ScAutoFormatObj::getPropertySetInfo ( )
overridevirtual

Definition at line 460 of file afmtuno.cxx.

References aPropSet, and SfxItemPropertySet::getPropertyMap().

◆ getPropertyValue()

uno::Any SAL_CALL ScAutoFormatObj::getPropertyValue ( const OUString &  PropertyName)
overridevirtual

◆ getSupportedServiceNames()

virtual css::uno::Sequence< OUString > SAL_CALL ScAutoFormatObj::getSupportedServiceNames ( )
overridevirtual

◆ hasElements()

sal_Bool SAL_CALL ScAutoFormatObj::hasElements ( )
overridevirtual

Definition at line 402 of file afmtuno.cxx.

References getCount().

◆ InitFormat()

void ScAutoFormatObj::InitFormat ( sal_uInt16  nNewIndex)

Definition at line 350 of file afmtuno.cxx.

References nFormatIndex, and SC_AFMTOBJ_INVALID.

Referenced by ScAutoFormatsObj::insertByName().

◆ IsInserted()

bool ScAutoFormatObj::IsInserted ( ) const
inline

◆ removePropertyChangeListener()

virtual void SAL_CALL ScAutoFormatObj::removePropertyChangeListener ( const OUString &  aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  aListener 
)
overridevirtual

◆ removeVetoableChangeListener()

virtual void SAL_CALL ScAutoFormatObj::removeVetoableChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  aListener 
)
overridevirtual

◆ setName()

void SAL_CALL ScAutoFormatObj::setName ( const OUString &  aName)
overridevirtual

◆ setPropertyValue()

void SAL_CALL ScAutoFormatObj::setPropertyValue ( const OUString &  aPropertyName,
const css::uno::Any &  aValue 
)
overridevirtual

◆ supportsService()

virtual sal_Bool SAL_CALL ScAutoFormatObj::supportsService ( const OUString &  ServiceName)
overridevirtual

Member Data Documentation

◆ aPropSet

SfxItemPropertySet ScAutoFormatObj::aPropSet
private

Definition at line 94 of file afmtuno.hxx.

Referenced by getPropertySetInfo().

◆ nFormatIndex

sal_uInt16 ScAutoFormatObj::nFormatIndex
private

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