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

#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

ScAutoFormatFieldObjGetObjectByIndex_Impl (sal_uInt16 nIndex)
 

Private Attributes

SfxItemPropertySet aPropSet
 
sal_uInt16 nFormatIndex
 

Detailed Description

Definition at line 87 of file afmtuno.hxx.

Constructor & Destructor Documentation

ScAutoFormatObj::ScAutoFormatObj ( sal_uInt16  nIndex)

Definition at line 335 of file afmtuno.cxx.

ScAutoFormatObj::~ScAutoFormatObj ( )
overridevirtual

Member Function Documentation

virtual void SAL_CALL ScAutoFormatObj::addPropertyChangeListener ( const OUString &  aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  xListener 
)
overridevirtual
virtual void SAL_CALL ScAutoFormatObj::addVetoableChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  aListener 
)
overridevirtual
uno::Reference< container::XEnumeration > SAL_CALL ScAutoFormatObj::createEnumeration ( )
overridevirtual

Definition at line 378 of file afmtuno.cxx.

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

Definition at line 395 of file afmtuno.cxx.

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

sal_Int32 SAL_CALL ScAutoFormatObj::getCount ( )
overridevirtual

Definition at line 386 of file afmtuno.cxx.

References IsInserted(), and SC_AF_FIELD_COUNT.

Referenced by getByIndex(), and hasElements().

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

Definition at line 407 of file afmtuno.cxx.

References cppu::UnoType< class >::get().

virtual OUString SAL_CALL ScAutoFormatObj::getImplementationName ( )
overridevirtual
OUString SAL_CALL ScAutoFormatObj::getName ( )
overridevirtual
ScAutoFormatFieldObj * ScAutoFormatObj::GetObjectByIndex_Impl ( sal_uInt16  nIndex)
private

Definition at line 368 of file afmtuno.cxx.

References IsInserted(), nFormatIndex, and SC_AF_FIELD_COUNT.

Referenced by getByIndex().

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

Definition at line 471 of file afmtuno.cxx.

References aPropSet, and SfxItemPropertySet::getPropertyMap().

uno::Any SAL_CALL ScAutoFormatObj::getPropertyValue ( const OUString &  PropertyName)
overridevirtual
virtual css::uno::Sequence< OUString > SAL_CALL ScAutoFormatObj::getSupportedServiceNames ( )
overridevirtual
sal_Bool SAL_CALL ScAutoFormatObj::hasElements ( )
overridevirtual

Definition at line 413 of file afmtuno.cxx.

References getCount().

void ScAutoFormatObj::InitFormat ( sal_uInt16  nNewIndex)

Definition at line 356 of file afmtuno.cxx.

References nFormatIndex, and SC_AFMTOBJ_INVALID.

Referenced by ScAutoFormatsObj::insertByName().

bool ScAutoFormatObj::IsInserted ( ) const
inline
virtual void SAL_CALL ScAutoFormatObj::removePropertyChangeListener ( const OUString &  aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  aListener 
)
overridevirtual
virtual void SAL_CALL ScAutoFormatObj::removeVetoableChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  aListener 
)
overridevirtual
void SAL_CALL ScAutoFormatObj::setName ( const OUString &  aName)
overridevirtual
void SAL_CALL ScAutoFormatObj::setPropertyValue ( const OUString &  aPropertyName,
const css::uno::Any &  aValue 
)
overridevirtual
virtual sal_Bool SAL_CALL ScAutoFormatObj::supportsService ( const OUString &  ServiceName)
overridevirtual

Member Data Documentation

SfxItemPropertySet ScAutoFormatObj::aPropSet
private

Definition at line 96 of file afmtuno.hxx.

Referenced by getPropertySetInfo().

sal_uInt16 ScAutoFormatObj::nFormatIndex
private

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