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

#include <docuno.hxx>

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

Public Member Functions

 ScTableRowsObj (ScDocShell *pDocSh, SCTAB nT, SCROW nSR, SCROW nER)
 
virtual ~ScTableRowsObj () override
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override
 
virtual void SAL_CALL insertByIndex (sal_Int32 nIndex, sal_Int32 nCount) override
 XTableRows. More...
 
virtual void SAL_CALL removeByIndex (sal_Int32 nIndex, sal_Int32 nCount) override
 
virtual sal_Int32 SAL_CALL getCount () override
 XIndexAccess. More...
 
virtual css::uno::Any SAL_CALL getByIndex (sal_Int32 Index) override
 
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createEnumeration () override
 XEnumerationAccess. More...
 
virtual css::uno::Type SAL_CALL getElementType () override
 XElementAccess. More...
 
virtual sal_Bool SAL_CALL hasElements () override
 
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo () override
 XPropertySet. More...
 
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
 XServiceInfo. More...
 
virtual sal_Bool SAL_CALL supportsService (const OUString &ServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
- Public Member Functions inherited from SfxListener
 SfxListener ()
 
 SfxListener (const SfxListener &rCopy)
 
virtual ~SfxListener () COVERITY_NOEXCEPT_FALSE
 
void StartListening (SfxBroadcaster &rBroadcaster, DuplicateHandling eDuplicateHanding=DuplicateHandling::Unexpected)
 
void EndListening (SfxBroadcaster &rBroadcaster, bool bRemoveAllDuplicates=false)
 
void EndListeningAll ()
 
bool IsListening (SfxBroadcaster &rBroadcaster) const
 
sal_uInt16 GetBroadcasterCount () const
 
SfxBroadcasterGetBroadcasterJOE (sal_uInt16 nNo) const
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint)
 
void RemoveBroadcaster_Impl (SfxBroadcaster &rBC)
 
virtual bool IsSdrView () const
 

Private Member Functions

rtl::Reference< ScTableRowObjGetObjectByIndex_Impl (sal_Int32 nIndex) const
 

Private Attributes

ScDocShellpDocShell
 
SCTAB nTab
 
SCROW nStartRow
 
SCROW nEndRow
 

Detailed Description

Definition at line 583 of file docuno.hxx.

Constructor & Destructor Documentation

◆ ScTableRowsObj()

ScTableRowsObj::ScTableRowsObj ( ScDocShell pDocSh,
SCTAB  nT,
SCROW  nSR,
SCROW  nER 
)

Definition at line 4345 of file docuno.cxx.

◆ ~ScTableRowsObj()

ScTableRowsObj::~ScTableRowsObj ( )
overridevirtual

Definition at line 4354 of file docuno.cxx.

References ScDocShell::GetDocument(), pDocShell, and ScDocument::RemoveUnoObject().

Member Function Documentation

◆ addPropertyChangeListener()

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

◆ addVetoableChangeListener()

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

◆ createEnumeration()

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

XEnumerationAccess.

Definition at line 4422 of file docuno.cxx.

◆ getByIndex()

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

Definition at line 4436 of file docuno.cxx.

References GetObjectByIndex_Impl(), and nIndex.

◆ getCount()

sal_Int32 SAL_CALL ScTableRowsObj::getCount ( )
overridevirtual

XIndexAccess.

Definition at line 4430 of file docuno.cxx.

References nEndRow, and nStartRow.

Referenced by hasElements().

◆ getElementType()

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

XElementAccess.

Definition at line 4446 of file docuno.cxx.

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

◆ getImplementationName()

virtual OUString SAL_CALL ScTableRowsObj::getImplementationName ( )
overridevirtual

XServiceInfo.

◆ GetObjectByIndex_Impl()

rtl::Reference< ScTableRowObj > ScTableRowsObj::GetObjectByIndex_Impl ( sal_Int32  nIndex) const
private

Definition at line 4376 of file docuno.cxx.

References nEndRow, nIndex, nStartRow, nTab, and pDocShell.

Referenced by getByIndex().

◆ getPropertySetInfo()

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

XPropertySet.

Definition at line 4459 of file docuno.cxx.

References lcl_GetRowsPropertyMap().

◆ getPropertyValue()

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

◆ getSupportedServiceNames()

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

◆ hasElements()

sal_Bool SAL_CALL ScTableRowsObj::hasElements ( )
overridevirtual

Definition at line 4451 of file docuno.cxx.

References getCount().

◆ insertByIndex()

void SAL_CALL ScTableRowsObj::insertByIndex ( sal_Int32  nIndex,
sal_Int32  nCount 
)
overridevirtual

◆ Notify()

void ScTableRowsObj::Notify ( SfxBroadcaster rBC,
const SfxHint rHint 
)
overridevirtual

update of references for sheet and its start/end

Reimplemented from SfxListener.

Definition at line 4362 of file docuno.cxx.

References SfxHint::GetId(), and pDocShell.

◆ removeByIndex()

void SAL_CALL ScTableRowsObj::removeByIndex ( sal_Int32  nIndex,
sal_Int32  nCount 
)
overridevirtual

◆ removePropertyChangeListener()

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

◆ removeVetoableChangeListener()

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

◆ setPropertyValue()

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

◆ supportsService()

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

Member Data Documentation

◆ nEndRow

SCROW ScTableRowsObj::nEndRow
private

◆ nStartRow

SCROW ScTableRowsObj::nStartRow
private

◆ nTab

SCTAB ScTableRowsObj::nTab
private

◆ pDocShell

ScDocShell* ScTableRowsObj::pDocShell
private

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