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
 
void RemoveBroadcaster_Impl (SfxBroadcaster &rBC)
 

Private Member Functions

ScTableRowObjGetObjectByIndex_Impl (sal_Int32 nIndex) const
 

Private Attributes

ScDocShellpDocShell
 
SCTAB nTab
 
SCROW nStartRow
 
SCROW nEndRow
 

Detailed Description

Definition at line 575 of file docuno.hxx.

Constructor & Destructor Documentation

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

Definition at line 4180 of file docuno.cxx.

ScTableRowsObj::~ScTableRowsObj ( )
overridevirtual

Definition at line 4189 of file docuno.cxx.

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

Member Function Documentation

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

XEnumerationAccess.

Definition at line 4257 of file docuno.cxx.

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

Definition at line 4271 of file docuno.cxx.

References GetObjectByIndex_Impl(), and xRow.

sal_Int32 SAL_CALL ScTableRowsObj::getCount ( )
overridevirtual

XIndexAccess.

Definition at line 4265 of file docuno.cxx.

References nEndRow, and nStartRow.

Referenced by hasElements().

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

XElementAccess.

Definition at line 4281 of file docuno.cxx.

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

virtual OUString SAL_CALL ScTableRowsObj::getImplementationName ( )
overridevirtual

XServiceInfo.

ScTableRowObj * ScTableRowsObj::GetObjectByIndex_Impl ( sal_Int32  nIndex) const
private

Definition at line 4211 of file docuno.cxx.

References nEndRow, nStartRow, nTab, and pDocShell.

Referenced by getByIndex().

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

XPropertySet.

Definition at line 4295 of file docuno.cxx.

References lcl_GetRowsPropertyMap().

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

Definition at line 4287 of file docuno.cxx.

References getCount().

void SAL_CALL ScTableRowsObj::insertByIndex ( sal_Int32  nIndex,
sal_Int32  nCount 
)
overridevirtual
void ScTableRowsObj::Notify ( SfxBroadcaster rBC,
const SfxHint rHint 
)
overridevirtual

update of references for sheet and its start/end

Reimplemented from SfxListener.

Definition at line 4197 of file docuno.cxx.

References SfxHint::GetId(), and pDocShell.

void SAL_CALL ScTableRowsObj::removeByIndex ( sal_Int32  nIndex,
sal_Int32  nCount 
)
overridevirtual
virtual void SAL_CALL ScTableRowsObj::removePropertyChangeListener ( const OUString &  aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  aListener 
)
overridevirtual
virtual void SAL_CALL ScTableRowsObj::removeVetoableChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  aListener 
)
overridevirtual
void SAL_CALL ScTableRowsObj::setPropertyValue ( const OUString &  aPropertyName,
const css::uno::Any &  aValue 
)
overridevirtual
virtual sal_Bool SAL_CALL ScTableRowsObj::supportsService ( const OUString &  ServiceName)
overridevirtual

Member Data Documentation

SCROW ScTableRowsObj::nEndRow
private
SCROW ScTableRowsObj::nStartRow
private
SCTAB ScTableRowsObj::nTab
private
ScDocShell* ScTableRowsObj::pDocShell
private

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