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

#include <nameuno.hxx>

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

Public Member Functions

 ScLabelRangesObj (ScDocShell *pDocSh, bool bCol)
 
virtual ~ScLabelRangesObj () override
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override
 
virtual void SAL_CALL addNew (const css::table::CellRangeAddress &aLabelArea, const css::table::CellRangeAddress &aDataArea) override
 XLabelRanges. More...
 
virtual void SAL_CALL removeByIndex (sal_Int32 nIndex) 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 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

ScLabelRangeObjGetObjectByIndex_Impl (size_t nIndex)
 

Private Attributes

ScDocShellpDocShell
 
bool bColumn
 

Detailed Description

Definition at line 281 of file nameuno.hxx.

Constructor & Destructor Documentation

ScLabelRangesObj::ScLabelRangesObj ( ScDocShell pDocSh,
bool  bCol 
)

Definition at line 1002 of file nameuno.cxx.

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

ScLabelRangesObj::~ScLabelRangesObj ( )
overridevirtual

Definition at line 1009 of file nameuno.cxx.

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

Member Function Documentation

void SAL_CALL ScLabelRangesObj::addNew ( const css::table::CellRangeAddress &  aLabelArea,
const css::table::CellRangeAddress &  aDataArea 
)
overridevirtual
uno::Reference< container::XEnumeration > SAL_CALL ScLabelRangesObj::createEnumeration ( )
overridevirtual

XEnumerationAccess.

Definition at line 1110 of file nameuno.cxx.

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

Definition at line 1131 of file nameuno.cxx.

References GetObjectByIndex_Impl().

sal_Int32 SAL_CALL ScLabelRangesObj::getCount ( )
overridevirtual
uno::Type SAL_CALL ScLabelRangesObj::getElementType ( )
overridevirtual

XElementAccess.

Definition at line 1141 of file nameuno.cxx.

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

virtual OUString SAL_CALL ScLabelRangesObj::getImplementationName ( )
overridevirtual

XServiceInfo.

ScLabelRangeObj * ScLabelRangesObj::GetObjectByIndex_Impl ( size_t  nIndex)
private
virtual css::uno::Sequence< OUString > SAL_CALL ScLabelRangesObj::getSupportedServiceNames ( )
overridevirtual
sal_Bool SAL_CALL ScLabelRangesObj::hasElements ( )
overridevirtual

Definition at line 1148 of file nameuno.cxx.

References getCount().

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

Reimplemented from SfxListener.

Definition at line 1017 of file nameuno.cxx.

References SfxHint::GetId(), and pDocShell.

void SAL_CALL ScLabelRangesObj::removeByIndex ( sal_Int32  nIndex)
overridevirtual
virtual sal_Bool SAL_CALL ScLabelRangesObj::supportsService ( const OUString &  ServiceName)
overridevirtual

Member Data Documentation

bool ScLabelRangesObj::bColumn
private

Definition at line 289 of file nameuno.hxx.

Referenced by addNew(), getCount(), GetObjectByIndex_Impl(), and removeByIndex().

ScDocShell* ScLabelRangesObj::pDocShell
private

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